motion-v 0.12.0-beta.2 → 0.13.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 (398) hide show
  1. package/dist/cjs/index.js +478 -1218
  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/animation/hooks/use-reduced-motion.mjs +9 -0
  5. package/dist/es/components/animate-presence/AnimatePresence.vue.mjs +27 -19
  6. package/dist/es/components/animate-presence/use-pop-layout.mjs +1 -1
  7. package/dist/es/components/motion/Motion.vue.mjs +1 -0
  8. package/dist/es/components/reorder/utils.mjs +1 -1
  9. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/animate/index.mjs +1 -2
  10. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/animate/resolve-subjects.mjs +1 -2
  11. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/animate/single-value.mjs +1 -1
  12. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/animate/subject.mjs +1 -1
  13. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/animators/AcceleratedAnimation.mjs +4 -7
  14. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/animators/BaseAnimation.mjs +3 -1
  15. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/animators/MainThreadAnimation.mjs +5 -4
  16. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/animators/drivers/driver-frameloop.mjs +1 -2
  17. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/animators/utils/can-animate.mjs +2 -2
  18. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/animators/waapi/NativeAnimation.mjs +3 -6
  19. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/animators/waapi/animate-elements.mjs +4 -4
  20. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/animators/waapi/animate-style.mjs +1 -2
  21. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/animators/waapi/index.mjs +9 -2
  22. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/animators/waapi/utils/supports-partial-keyframes.mjs +2 -2
  23. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/animators/waapi/utils/supports-waapi.mjs +2 -2
  24. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/generators/spring/find.mjs +2 -2
  25. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/generators/spring/index.mjs +3 -4
  26. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/generators/utils/velocity.mjs +2 -1
  27. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/interfaces/motion-value.mjs +4 -5
  28. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/interfaces/visual-element-target.mjs +1 -3
  29. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/sequence/create.mjs +4 -5
  30. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/sequence/utils/edit.mjs +2 -1
  31. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/easing/cubic-bezier.mjs +2 -2
  32. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/easing/utils/map.mjs +3 -3
  33. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/animation/mix-values.mjs +3 -3
  34. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/node/create-projection-node.mjs +27 -7
  35. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/shared/stack.mjs +2 -1
  36. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/VisualElement.mjs +4 -5
  37. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/resize/handle-element.mjs +1 -2
  38. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/scroll/index.mjs +3 -3
  39. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/scroll/info.mjs +3 -3
  40. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/scroll/observe.mjs +1 -1
  41. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/scroll/on-scroll-handler.mjs +2 -1
  42. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/scroll/track.mjs +1 -1
  43. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/utils/css-variables-conversion.mjs +1 -1
  44. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/utils/unit-conversion.mjs +3 -18
  45. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/viewport/index.mjs +1 -2
  46. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/html/HTMLVisualElement.mjs +2 -3
  47. package/dist/es/external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/render/html/utils/parse-transform.mjs +82 -0
  48. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/svg/SVGVisualElement.mjs +1 -1
  49. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/utils/KeyframesResolver.mjs +1 -1
  50. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/utils/flat-tree.mjs +2 -1
  51. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/utils/motion-values.mjs +4 -3
  52. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/utils/setters.mjs +1 -1
  53. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/utils/delay.mjs +3 -4
  54. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/utils/interpolate.mjs +3 -3
  55. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/utils/mix/color.mjs +1 -1
  56. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/utils/mix/complex.mjs +1 -1
  57. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/utils/offsets/fill.mjs +2 -2
  58. package/dist/es/features/gestures/drag/VisualElementDragControls.mjs +2 -2
  59. package/dist/es/features/gestures/drag/index.mjs +2 -2
  60. package/dist/es/features/gestures/focus/index.mjs +1 -1
  61. package/dist/es/features/gestures/hover/index.mjs +1 -3
  62. package/dist/es/features/gestures/in-view/index.mjs +2 -2
  63. package/dist/es/features/gestures/pan/PanSession.mjs +3 -3
  64. package/dist/es/features/gestures/pan/index.mjs +3 -3
  65. package/dist/es/features/gestures/press/index.mjs +30 -19
  66. package/dist/es/features/layout/config.mjs +2 -2
  67. package/dist/es/features/layout/layout.mjs +2 -2
  68. package/dist/es/features/layout/projection.mjs +2 -2
  69. package/dist/es/index.mjs +32 -42
  70. package/dist/es/state/animate-updates.mjs +6 -5
  71. package/dist/es/state/create-visual-element.mjs +2 -2
  72. package/dist/es/state/motion-state.mjs +3 -3
  73. package/dist/es/state/utils.mjs +0 -1
  74. package/dist/es/utils/use-animation-frame.mjs +1 -1
  75. package/dist/es/utils/use-in-view.mjs +6 -3
  76. package/dist/es/value/use-combine-values.mjs +1 -2
  77. package/dist/es/value/use-computed.mjs +1 -1
  78. package/dist/es/value/use-scroll.mjs +26 -24
  79. package/dist/es/value/use-spring.mjs +2 -3
  80. package/dist/es/value/use-time.mjs +1 -1
  81. package/dist/es/value/use-transform.mjs +3 -5
  82. package/dist/es/value/use-velocity.mjs +1 -2
  83. package/dist/nuxt/index.cjs +39 -27
  84. package/dist/nuxt/index.d.cts +7 -3
  85. package/dist/nuxt/index.d.mts +7 -3
  86. package/dist/nuxt/index.mjs +39 -27
  87. package/package.json +4 -3
  88. package/dist/es/animation/hooks/animation-controls.d.ts +0 -8
  89. package/dist/es/animation/hooks/use-animate.d.ts +0 -8
  90. package/dist/es/animation/hooks/use-animation-controls.d.ts +0 -33
  91. package/dist/es/animation/index.d.ts +0 -2
  92. package/dist/es/animation/types.d.ts +0 -68
  93. package/dist/es/animation/utils.d.ts +0 -2
  94. package/dist/es/components/LayoutGroup.d.ts +0 -43
  95. package/dist/es/components/RowValue.d.ts +0 -18
  96. package/dist/es/components/animate-presence/AnimatePresence.d.ts +0 -49
  97. package/dist/es/components/animate-presence/index.d.ts +0 -2
  98. package/dist/es/components/animate-presence/types.d.ts +0 -9
  99. package/dist/es/components/animate-presence/use-pop-layout.d.ts +0 -7
  100. package/dist/es/components/animate-presence/use-presence.d.ts +0 -2
  101. package/dist/es/components/animate-presence/utils.d.ts +0 -0
  102. package/dist/es/components/context.d.ts +0 -16
  103. package/dist/es/components/group.d.ts +0 -7
  104. package/dist/es/components/hooks/use-motion-elm.d.ts +0 -13
  105. package/dist/es/components/index.d.ts +0 -6
  106. package/dist/es/components/motion/Motion.d.ts +0 -32
  107. package/dist/es/components/motion/NameSpace.d.ts +0 -14
  108. package/dist/es/components/motion/Primitive.d.ts +0 -48
  109. package/dist/es/components/motion/Slot.d.ts +0 -5
  110. package/dist/es/components/motion/index.d.ts +0 -2
  111. package/dist/es/components/motion/renderSlotFragments.d.ts +0 -2
  112. package/dist/es/components/motion/utils.d.ts +0 -7
  113. package/dist/es/components/motion-config/MotionConfig.d.ts +0 -39
  114. package/dist/es/components/motion-config/context.d.ts +0 -11
  115. package/dist/es/components/motion-config/index.d.ts +0 -2
  116. package/dist/es/components/motion-config/types.d.ts +0 -16
  117. package/dist/es/components/presence.d.ts +0 -7
  118. package/dist/es/components/reorder/Group.d.ts +0 -71
  119. package/dist/es/components/reorder/Item.d.ts +0 -36
  120. package/dist/es/components/reorder/context.d.ts +0 -8
  121. package/dist/es/components/reorder/index.d.ts +0 -8942
  122. package/dist/es/components/reorder/types.d.ts +0 -5
  123. package/dist/es/components/reorder/utils.d.ts +0 -6
  124. package/dist/es/components/use-force-update.d.ts +0 -2
  125. package/dist/es/components/use-layout-group.d.ts +0 -23
  126. package/dist/es/components/use-slot-change-index.d.ts +0 -1
  127. package/dist/es/constants/index.d.ts +0 -9
  128. package/dist/es/constants/index.mjs +0 -31
  129. package/dist/es/events/add-dom-event.d.ts +0 -1
  130. package/dist/es/events/add-pointer-event.d.ts +0 -2
  131. package/dist/es/events/event-info.d.ts +0 -4
  132. package/dist/es/events/index.d.ts +0 -5
  133. package/dist/es/events/types.d.ts +0 -5
  134. package/dist/es/events/utils/index.d.ts +0 -1
  135. package/dist/es/events/utils/is-primary-pointer.d.ts +0 -1
  136. package/dist/es/external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/frameloop/batcher.mjs +0 -63
  137. package/dist/es/external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/frameloop/frame.mjs +0 -10
  138. package/dist/es/external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/frameloop/index-legacy.mjs +0 -11
  139. package/dist/es/external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/frameloop/microtask.mjs +0 -6
  140. package/dist/es/external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/frameloop/order.mjs +0 -17
  141. package/dist/es/external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/frameloop/render-step.mjs +0 -70
  142. package/dist/es/external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/frameloop/sync-time.mjs +0 -21
  143. package/dist/es/external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/stats/buffer.mjs +0 -7
  144. package/dist/es/external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/utils/GlobalConfig.mjs +0 -7
  145. package/dist/es/external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/value/index.mjs +0 -282
  146. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/animation/controls/BaseGroup.mjs +0 -79
  147. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/animation/controls/Group.mjs +0 -9
  148. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/animation/generators/utils/calc-duration.mjs +0 -15
  149. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs +0 -17
  150. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/animation/generators/utils/is-generator.mjs +0 -6
  151. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/animation/utils/get-value-transition.mjs +0 -6
  152. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/animation/waapi/NativeAnimationControls.mjs +0 -81
  153. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/animation/waapi/utils/attach-timeline.mjs +0 -7
  154. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/animation/waapi/utils/easing.mjs +0 -37
  155. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/animation/waapi/utils/linear.mjs +0 -13
  156. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/gestures/drag/state/is-active.mjs +0 -11
  157. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/gestures/hover.mjs +0 -30
  158. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/gestures/press/index.mjs +0 -74
  159. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.mjs +0 -13
  160. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/gestures/press/utils/keyboard.mjs +0 -32
  161. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/gestures/press/utils/state.mjs +0 -4
  162. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/gestures/utils/capture-pointer.mjs +0 -12
  163. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs +0 -12
  164. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/gestures/utils/is-primary-pointer.mjs +0 -10
  165. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/gestures/utils/setup.mjs +0 -15
  166. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/utils/is-bezier-definition.mjs +0 -4
  167. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/utils/resolve-elements.mjs +0 -17
  168. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/utils/supports/flags.mjs +0 -6
  169. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/utils/supports/linear-easing.mjs +0 -12
  170. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/utils/supports/memo.mjs +0 -13
  171. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/utils/supports/scroll-timeline.mjs +0 -6
  172. package/dist/es/features/animation/animation.d.ts +0 -13
  173. package/dist/es/features/feature-manager.d.ts +0 -12
  174. package/dist/es/features/feature.d.ts +0 -11
  175. package/dist/es/features/gestures/base.d.ts +0 -8
  176. package/dist/es/features/gestures/drag/VisualElementDragControls.d.ts +0 -57
  177. package/dist/es/features/gestures/drag/index.d.ts +0 -10
  178. package/dist/es/features/gestures/drag/lock.d.ts +0 -4
  179. package/dist/es/features/gestures/drag/types.d.ts +0 -225
  180. package/dist/es/features/gestures/drag/use-drag-controls.d.ts +0 -73
  181. package/dist/es/features/gestures/drag/utils/constraints.d.ts +0 -55
  182. package/dist/es/features/gestures/drag/utils/is.d.ts +0 -1
  183. package/dist/es/features/gestures/focus/index.d.ts +0 -7
  184. package/dist/es/features/gestures/focus/types.d.ts +0 -13
  185. package/dist/es/features/gestures/hover/index.d.ts +0 -7
  186. package/dist/es/features/gestures/hover/types.d.ts +0 -15
  187. package/dist/es/features/gestures/in-view/index.d.ts +0 -9
  188. package/dist/es/features/gestures/in-view/types.d.ts +0 -25
  189. package/dist/es/features/gestures/index.d.ts +0 -5
  190. package/dist/es/features/gestures/pan/PanSession.d.ts +0 -139
  191. package/dist/es/features/gestures/pan/index.d.ts +0 -16
  192. package/dist/es/features/gestures/pan/types.d.ts +0 -7
  193. package/dist/es/features/gestures/press/index.d.ts +0 -9
  194. package/dist/es/features/gestures/press/types.d.ts +0 -20
  195. package/dist/es/features/gestures/types.d.ts +0 -22
  196. package/dist/es/features/index.d.ts +0 -6
  197. package/dist/es/features/layout/config.d.ts +0 -8
  198. package/dist/es/features/layout/layout.d.ts +0 -11
  199. package/dist/es/features/layout/projection.d.ts +0 -9
  200. package/dist/es/features/layout/types.d.ts +0 -21
  201. package/dist/es/features/layout/utils.d.ts +0 -4
  202. package/dist/es/index.d.ts +0 -15
  203. package/dist/es/projection/conversion.d.ts +0 -14
  204. package/dist/es/projection/geometry/delta-apply.d.ts +0 -2
  205. package/dist/es/projection/geometry/delta-calc.d.ts +0 -2
  206. package/dist/es/projection/geometry/models.d.ts +0 -3
  207. package/dist/es/projection/node/types.d.ts +0 -16
  208. package/dist/es/projection/utils/each-axis.d.ts +0 -3
  209. package/dist/es/projection/utils/measure.d.ts +0 -3
  210. package/dist/es/render/utils/setters.d.ts +0 -3
  211. package/dist/es/shared/test.d.ts +0 -1
  212. package/dist/es/state/animate-updates.d.ts +0 -20
  213. package/dist/es/state/animate-variants-children.d.ts +0 -15
  214. package/dist/es/state/animation/index.d.ts +0 -0
  215. package/dist/es/state/animation/types.d.ts +0 -0
  216. package/dist/es/state/create-visual-element.d.ts +0 -1
  217. package/dist/es/state/event.d.ts +0 -6
  218. package/dist/es/state/index.d.ts +0 -1
  219. package/dist/es/state/motion-state.d.ts +0 -50
  220. package/dist/es/state/style.d.ts +0 -11
  221. package/dist/es/state/transform.d.ts +0 -25
  222. package/dist/es/state/utils/is-present.d.ts +0 -2
  223. package/dist/es/state/utils/is-variant-labels.d.ts +0 -2
  224. package/dist/es/state/utils.d.ts +0 -19
  225. package/dist/es/types/framer-motion.d.ts +0 -43
  226. package/dist/es/types/index.d.ts +0 -4
  227. package/dist/es/types/motion-values.d.ts +0 -93
  228. package/dist/es/types/state.d.ts +0 -79
  229. package/dist/es/types/transform.d.ts +0 -23
  230. package/dist/es/utils/clamp.d.ts +0 -1
  231. package/dist/es/utils/createContext.d.ts +0 -8
  232. package/dist/es/utils/delay.d.ts +0 -1
  233. package/dist/es/utils/get-context-window.d.ts +0 -2
  234. package/dist/es/utils/index.d.ts +0 -7
  235. package/dist/es/utils/mix/number.d.ts +0 -1
  236. package/dist/es/utils/motion-value.d.ts +0 -2
  237. package/dist/es/utils/noop.d.ts +0 -1
  238. package/dist/es/utils/progress.d.ts +0 -1
  239. package/dist/es/utils/time-conversion.d.ts +0 -8
  240. package/dist/es/utils/use-animation-frame.d.ts +0 -2
  241. package/dist/es/utils/use-dom-ref.d.ts +0 -1
  242. package/dist/es/utils/use-in-view.d.ts +0 -3
  243. package/dist/es/value/index.d.ts +0 -9
  244. package/dist/es/value/types/numbers/units.d.ts +0 -30
  245. package/dist/es/value/use-combine-values.d.ts +0 -6
  246. package/dist/es/value/use-computed.d.ts +0 -2
  247. package/dist/es/value/use-motion-template.d.ts +0 -21
  248. package/dist/es/value/use-motion-value-event.d.ts +0 -3
  249. package/dist/es/value/use-scroll.d.ts +0 -12
  250. package/dist/es/value/use-spring.d.ts +0 -4
  251. package/dist/es/value/use-time.d.ts +0 -1
  252. package/dist/es/value/use-transform.d.ts +0 -59
  253. package/dist/es/value/use-velocity.d.ts +0 -13
  254. package/dist/es/value/use-will-change/add-will-change.d.ts +0 -2
  255. package/dist/es/value/use-will-change/is.d.ts +0 -2
  256. package/dist/es/value/use-will-change/types.d.ts +0 -4
  257. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/animate/sequence.mjs +0 -0
  258. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/animators/utils/accelerated-values.mjs +0 -0
  259. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.mjs +0 -0
  260. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/animators/waapi/utils/style.mjs +0 -0
  261. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/generators/inertia.mjs +0 -0
  262. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/generators/keyframes.mjs +0 -0
  263. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/generators/spring/defaults.mjs +0 -0
  264. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/optimized-appear/data-id.mjs +0 -0
  265. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/optimized-appear/get-appear-id.mjs +0 -0
  266. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/sequence/utils/calc-repeat-duration.mjs +0 -0
  267. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/sequence/utils/calc-time.mjs +0 -0
  268. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/sequence/utils/normalize-times.mjs +0 -0
  269. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/sequence/utils/sort.mjs +0 -0
  270. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/utils/create-visual-element.mjs +0 -0
  271. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/utils/default-transitions.mjs +0 -0
  272. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/utils/is-animatable.mjs +0 -0
  273. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/utils/is-animation-controls.mjs +0 -0
  274. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/utils/is-dom-keyframes.mjs +0 -0
  275. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/utils/is-keyframes-target.mjs +0 -0
  276. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/utils/is-none.mjs +0 -0
  277. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/utils/is-transition-defined.mjs +0 -0
  278. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/utils/stagger.mjs +0 -0
  279. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/easing/anticipate.mjs +0 -0
  280. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/easing/back.mjs +0 -0
  281. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/easing/circ.mjs +0 -0
  282. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/easing/ease.mjs +0 -0
  283. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/easing/modifiers/mirror.mjs +0 -0
  284. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/easing/modifiers/reverse.mjs +0 -0
  285. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/easing/steps.mjs +0 -0
  286. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/easing/utils/get-easing-for-segment.mjs +0 -0
  287. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/easing/utils/is-easing-array.mjs +0 -0
  288. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/events/add-dom-event.mjs +0 -0
  289. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/motion/features/definitions.mjs +0 -0
  290. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/motion/utils/is-forced-motion-value.mjs +0 -0
  291. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/geometry/conversion.mjs +0 -0
  292. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/geometry/copy.mjs +0 -0
  293. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/geometry/delta-apply.mjs +0 -0
  294. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/geometry/delta-calc.mjs +0 -0
  295. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/geometry/delta-remove.mjs +0 -0
  296. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/geometry/models.mjs +0 -0
  297. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/geometry/utils.mjs +0 -0
  298. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/node/DocumentProjectionNode.mjs +0 -0
  299. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/node/HTMLProjectionNode.mjs +0 -0
  300. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/node/state.mjs +0 -0
  301. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/styles/scale-border-radius.mjs +0 -0
  302. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/styles/scale-box-shadow.mjs +0 -0
  303. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/styles/scale-correction.mjs +0 -0
  304. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/styles/transform.mjs +0 -0
  305. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/utils/each-axis.mjs +0 -0
  306. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/utils/has-transform.mjs +0 -0
  307. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/utils/measure.mjs +0 -0
  308. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/DOMKeyframesResolver.mjs +0 -0
  309. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/DOMVisualElement.mjs +1 -1
  310. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/resize/handle-window.mjs +0 -0
  311. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/resize/index.mjs +0 -0
  312. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/scroll/offsets/edge.mjs +0 -0
  313. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/scroll/offsets/index.mjs +0 -0
  314. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/scroll/offsets/inset.mjs +0 -0
  315. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/scroll/offsets/offset.mjs +0 -0
  316. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/scroll/offsets/presets.mjs +0 -0
  317. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/utils/camel-to-dash.mjs +0 -0
  318. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/utils/is-css-variable.mjs +0 -0
  319. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/utils/is-svg-element.mjs +0 -0
  320. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/value-types/animatable-none.mjs +0 -0
  321. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/value-types/defaults.mjs +0 -0
  322. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/value-types/dimensions.mjs +0 -0
  323. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/value-types/find.mjs +0 -0
  324. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/value-types/get-as-type.mjs +0 -0
  325. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/value-types/number-browser.mjs +0 -0
  326. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/value-types/number.mjs +0 -0
  327. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/value-types/test.mjs +0 -0
  328. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/value-types/transform.mjs +0 -0
  329. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/value-types/type-auto.mjs +0 -0
  330. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/value-types/type-int.mjs +0 -0
  331. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/html/utils/build-styles.mjs +0 -0
  332. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/html/utils/build-transform.mjs +0 -0
  333. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/html/utils/keys-position.mjs +0 -0
  334. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/html/utils/keys-transform.mjs +0 -0
  335. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/html/utils/make-none-animatable.mjs +0 -0
  336. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/html/utils/render.mjs +0 -0
  337. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/html/utils/scrape-motion-values.mjs +0 -0
  338. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/object/ObjectVisualElement.mjs +0 -0
  339. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/store.mjs +0 -0
  340. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/svg/utils/build-attrs.mjs +0 -0
  341. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/svg/utils/camel-case-attrs.mjs +0 -0
  342. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/svg/utils/is-svg-tag.mjs +0 -0
  343. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/svg/utils/measure.mjs +0 -0
  344. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/svg/utils/path.mjs +0 -0
  345. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/svg/utils/render.mjs +0 -0
  346. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/svg/utils/scrape-motion-values.mjs +0 -0
  347. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/svg/utils/transform-origin.mjs +0 -0
  348. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/utils/compare-by-depth.mjs +0 -0
  349. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/utils/is-controlling-variants.mjs +0 -0
  350. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/utils/is-variant-label.mjs +0 -0
  351. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/utils/resolve-dynamic-variants.mjs +0 -0
  352. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/utils/resolve-variants.mjs +0 -0
  353. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/utils/variant-props.mjs +0 -0
  354. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/utils/clamp.mjs +0 -0
  355. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/utils/distance.mjs +0 -0
  356. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/utils/hsla-to-rgba.mjs +0 -0
  357. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/utils/is-browser.mjs +0 -0
  358. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/utils/is-numerical-string.mjs +0 -0
  359. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/utils/is-zero-value-string.mjs +0 -0
  360. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/utils/mix/immediate.mjs +0 -0
  361. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/utils/mix/index.mjs +0 -0
  362. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/utils/mix/number.mjs +0 -0
  363. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/utils/mix/visibility.mjs +0 -0
  364. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/utils/offsets/default.mjs +0 -0
  365. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/utils/offsets/time.mjs +0 -0
  366. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/utils/pipe.mjs +0 -0
  367. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/utils/reduced-motion/index.mjs +0 -0
  368. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/utils/reduced-motion/state.mjs +0 -0
  369. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/utils/resolve-value.mjs +0 -0
  370. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/utils/transform.mjs +0 -0
  371. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/utils/wrap.mjs +0 -0
  372. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/value/types/color/hex.mjs +0 -0
  373. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/value/types/color/hsla.mjs +0 -0
  374. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/value/types/color/index.mjs +0 -0
  375. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/value/types/color/rgba.mjs +0 -0
  376. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/value/types/color/utils.mjs +0 -0
  377. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/value/types/complex/filter.mjs +0 -0
  378. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/value/types/complex/index.mjs +0 -0
  379. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/value/types/numbers/index.mjs +0 -0
  380. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/value/types/numbers/units.mjs +0 -0
  381. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/value/types/utils/color-regex.mjs +0 -0
  382. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/value/types/utils/float-regex.mjs +0 -0
  383. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/value/types/utils/is-nullish.mjs +0 -0
  384. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/value/types/utils/sanitize.mjs +0 -0
  385. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/value/types/utils/single-color-regex.mjs +0 -0
  386. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/value/use-will-change/add-will-change.mjs +0 -0
  387. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/value/use-will-change/is.mjs +0 -0
  388. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/value/utils/is-motion-value.mjs +0 -0
  389. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/value/utils/resolve-motion-value.mjs +0 -0
  390. /package/dist/es/external/.pnpm/{framer-motion@12.4.10/external/framer-motion/dist/es/utils → motion-utils@12.5.0/external/motion-utils/dist/es}/array.mjs +0 -0
  391. /package/dist/es/external/.pnpm/{motion-utils@12.4.10 → motion-utils@12.5.0}/external/motion-utils/dist/es/errors.mjs +0 -0
  392. /package/dist/es/external/.pnpm/{motion-utils@12.4.10 → motion-utils@12.5.0}/external/motion-utils/dist/es/memo.mjs +0 -0
  393. /package/dist/es/external/.pnpm/{motion-utils@12.4.10 → motion-utils@12.5.0}/external/motion-utils/dist/es/noop.mjs +0 -0
  394. /package/dist/es/external/.pnpm/{motion-utils@12.4.10 → motion-utils@12.5.0}/external/motion-utils/dist/es/progress.mjs +0 -0
  395. /package/dist/es/external/.pnpm/{framer-motion@12.4.10/external/framer-motion/dist/es/utils → motion-utils@12.5.0/external/motion-utils/dist/es}/subscription-manager.mjs +0 -0
  396. /package/dist/es/external/.pnpm/{motion-utils@12.4.10 → motion-utils@12.5.0}/external/motion-utils/dist/es/time-conversion.mjs +0 -0
  397. /package/dist/es/external/.pnpm/{framer-motion@12.4.10/external/framer-motion/dist/es/utils → motion-utils@12.5.0/external/motion-utils/dist/es}/velocity-per-second.mjs +0 -0
  398. /package/dist/es/external/.pnpm/{framer-motion@12.4.10/external/framer-motion/dist/es/utils → motion-utils@12.5.0/external/motion-utils/dist/es}/warn-once.mjs +0 -0
@@ -1,9 +0,0 @@
1
- import { MotionState } from '../../../state/motion-state';
2
- import { Feature } from '../..';
3
- import { EventInfo } from 'framer-motion';
4
- export declare function extractEventInfo(event: PointerEvent): EventInfo;
5
- export declare class PressGesture extends Feature {
6
- isActive(): boolean;
7
- constructor(state: MotionState);
8
- mount(): void;
9
- }
@@ -1,20 +0,0 @@
1
- import { Variant, VariantLabels } from '../../../types';
2
- import { EventInfo } from 'framer-motion';
3
- export type PressEvent = (event: PointerEvent, info: EventInfo) => void;
4
- export interface PressProps {
5
- /**
6
- * If `true`, the press gesture will attach its start listener to window.
7
- */
8
- globalPressTarget?: boolean;
9
- /**
10
- * @deprecated Use `whilePress` instead.
11
- */
12
- press?: VariantLabels | Variant;
13
- /**
14
- * Variant to apply when the element is pressed.
15
- */
16
- whilePress?: VariantLabels | Variant;
17
- onPressStart?: PressEvent;
18
- onPress?: PressEvent;
19
- onPressCancel?: PressEvent;
20
- }
@@ -1,22 +0,0 @@
1
- import { Options } from '../../types';
2
- import { InertiaOptions } from 'framer-motion';
3
- export interface StateHandlers {
4
- enable: VoidFunction;
5
- disable: VoidFunction;
6
- }
7
- export interface Gesture {
8
- isActive: (options: Options) => void;
9
- subscribe: (element: HTMLElement, stateHandlers: StateHandlers, options: Options) => () => void;
10
- }
11
- export interface DragOptions {
12
- constraints?: {
13
- top?: number;
14
- right?: number;
15
- bottom?: number;
16
- left?: number;
17
- };
18
- dragSnapToOrigin?: boolean;
19
- dragElastic?: number;
20
- dragMomentum?: boolean;
21
- dragTransition?: InertiaOptions;
22
- }
@@ -1,6 +0,0 @@
1
- export * from './feature';
2
- export * from './gestures';
3
- export * from './layout/layout';
4
- export * from './gestures/pan';
5
- export * from './feature-manager';
6
- export * from './animation/animation';
@@ -1,8 +0,0 @@
1
- export declare const defaultScaleCorrector: {
2
- borderRadius: any;
3
- borderTopLeftRadius: any;
4
- borderTopRightRadius: any;
5
- borderBottomLeftRadius: any;
6
- borderBottomRightRadius: any;
7
- boxShadow: any;
8
- };
@@ -1,11 +0,0 @@
1
- import { Feature } from '../feature';
2
- import { MotionState } from '../../state/motion-state';
3
- export declare class LayoutFeature extends Feature {
4
- constructor(state: MotionState);
5
- beforeUpdate(): void;
6
- update(): void;
7
- didUpdate(): void;
8
- mount(): void;
9
- beforeUnmount(): void;
10
- unmount(): void;
11
- }
@@ -1,9 +0,0 @@
1
- import { Feature } from '../feature';
2
- export declare class ProjectionFeature extends Feature {
3
- constructor(state: any);
4
- initProjection(): void;
5
- beforeMount(): void;
6
- setOptions(): void;
7
- update(): void;
8
- mount(): void;
9
- }
@@ -1,21 +0,0 @@
1
- import { Box } from 'framer-motion';
2
- export interface LayoutLifecycles {
3
- onBeforeLayoutMeasure?: (box: Box) => void;
4
- onLayoutMeasure?: (box: Box, prevBox: Box) => void;
5
- /**
6
- * @internal
7
- */
8
- onLayoutAnimationStart?: () => void;
9
- /**
10
- * @internal
11
- */
12
- onLayoutAnimationComplete?: () => void;
13
- }
14
- export interface LayoutOptions extends LayoutLifecycles {
15
- 'layout'?: boolean | 'position' | 'size' | 'preserve-aspect';
16
- 'layoutId'?: string;
17
- 'layoutScroll'?: boolean;
18
- 'layoutRoot'?: boolean;
19
- 'data-framer-portal-id'?: string;
20
- 'crossfade'?: boolean;
21
- }
@@ -1,4 +0,0 @@
1
- import { IProjectionNode, VisualElement } from 'framer-motion';
2
- export declare function getClosestProjectingNode(visualElement?: VisualElement<unknown, unknown, {
3
- allowProjection?: boolean;
4
- }>): IProjectionNode | undefined;
@@ -1,15 +0,0 @@
1
- export * from 'framer-motion/dom';
2
- export { addScaleCorrector } from '../node_modules/framer-motion/dist/es/projection/styles/scale-correction.mjs';
3
- export { motionValue as useMotionValue } from 'framer-motion/dom';
4
- export * from './components';
5
- export { default as LayoutGroup } from './components/LayoutGroup';
6
- export { useLayoutGroup } from './components/use-layout-group';
7
- export type { LayoutGroupProps } from './components/use-layout-group';
8
- export * from './components/context';
9
- export * from './value';
10
- export * from './constants';
11
- export * from './types';
12
- export * from './animation';
13
- export * from './utils';
14
- export { useDragControls } from './features/gestures/drag/use-drag-controls';
15
- export type { PanInfo } from './features/gestures/pan/PanSession';
@@ -1,14 +0,0 @@
1
- import { BoundingBox, Box, TransformPoint } from 'framer-motion';
2
- /**
3
- * Bounding boxes tend to be defined as top, left, right, bottom. For various operations
4
- * it's easier to consider each axis individually. This function returns a bounding box
5
- * as a map of single-axis min/max values.
6
- */
7
- export declare function convertBoundingBoxToBox({ top, left, right, bottom, }: BoundingBox): Box;
8
- /**
9
- * Applies a TransformPoint function to a bounding box. TransformPoint is usually a function
10
- * provided by Framer to allow measured points to be corrected for device scaling. This is used
11
- * when measuring DOM elements and DOM event points.
12
- */
13
- export declare function transformBoxPoints(point: BoundingBox, transformPoint?: TransformPoint): BoundingBox;
14
- export declare function convertBoxToBoundingBox({ x, y }: Box): BoundingBox;
@@ -1,2 +0,0 @@
1
- import { Axis } from 'framer-motion';
2
- export declare function translateAxis(axis: Axis, distance: number): void;
@@ -1,2 +0,0 @@
1
- import { Axis } from 'framer-motion';
2
- export declare function calcLength(axis: Axis): number;
@@ -1,3 +0,0 @@
1
- import { Axis, Box } from 'framer-motion';
2
- export declare const createAxis: () => Axis;
3
- export declare function createBox(): Box;
@@ -1,16 +0,0 @@
1
- import { Box, Delta, ResolvedValues } from 'framer-motion';
2
- export interface Measurements {
3
- animationId: number;
4
- measuredBox: Box;
5
- layoutBox: Box;
6
- latestValues: ResolvedValues;
7
- source: number;
8
- }
9
- export interface LayoutUpdateData {
10
- layout: Box;
11
- snapshot: Measurements;
12
- delta: Delta;
13
- layoutDelta: Delta;
14
- hasLayoutChanged: boolean;
15
- hasRelativeTargetChanged: boolean;
16
- }
@@ -1,3 +0,0 @@
1
- type Callback = (axis: 'x' | 'y') => void;
2
- export declare function eachAxis(callback: Callback): void[];
3
- export {};
@@ -1,3 +0,0 @@
1
- import { IProjectionNode, TransformPoint } from 'framer-motion';
2
- export declare function measureViewportBox(instance: HTMLElement, transformPoint?: TransformPoint): import('framer-motion').Box;
3
- export declare function measurePageBox(element: HTMLElement, rootProjectionNode: IProjectionNode, transformPagePoint?: TransformPoint): import('framer-motion').Box;
@@ -1,3 +0,0 @@
1
- import { TargetResolver } from '../../types';
2
- import { TargetAndTransition, VisualElement } from 'framer-motion';
3
- export declare function setTarget(visualElement: VisualElement, definition: string | TargetAndTransition | TargetResolver): void;
@@ -1 +0,0 @@
1
- export declare const delay: (ms: number) => Promise<unknown>;
@@ -1,20 +0,0 @@
1
- import { $Transition, Options } from '../types';
2
- import { MotionState } from './motion-state';
3
- declare const STATE_TYPES: readonly ["initial", "animate", "whileInView", "whileHover", "whilePress", "whileDrag", "whileFocus", "exit"];
4
- export type StateType = typeof STATE_TYPES[number];
5
- /**
6
- * 核心动画更新函数,处理所有动画状态变化和执行
7
- * @param controlActiveState - 需要更新的动画状态
8
- * @param controlDelay - 动画延迟时间
9
- * @param directAnimate - 直接动画目标值
10
- * @param directTransition - 直接动画过渡配置
11
- */
12
- export declare function animateUpdates(this: MotionState, { controlActiveState, controlDelay, directAnimate, directTransition, isFallback, isExit, }?: {
13
- controlActiveState?: Partial<Record<string, boolean>>;
14
- controlDelay?: number;
15
- directAnimate?: Options['animate'];
16
- directTransition?: $Transition;
17
- isFallback?: boolean;
18
- isExit?: boolean;
19
- }): any;
20
- export {};
@@ -1,15 +0,0 @@
1
- import { MotionState } from './motion-state';
2
- import { $Transition, AnimationFactory } from '../types';
3
- export type ActiveVariant = {
4
- [key: string]: {
5
- definition: string;
6
- transition: $Transition;
7
- };
8
- };
9
- export declare function animateVariantsChildren(state: MotionState, activeState: ActiveVariant, isFirstAnimate?: boolean): {
10
- animations: any[];
11
- getAnimations: () => Promise<void>;
12
- } | {
13
- animations: AnimationFactory[];
14
- getAnimations: () => Promise<unknown[]>;
15
- };
File without changes
File without changes
@@ -1 +0,0 @@
1
- export declare function createVisualElement(Component: string, options: any): any;
@@ -1,6 +0,0 @@
1
- import { Variant } from '../types';
2
- export type MotionEventNames = 'motionstart' | 'motioncomplete';
3
- export declare function motionEvent(name: MotionEventNames, target: Variant, isExit?: boolean): CustomEvent<{
4
- target: Variant;
5
- isExit: boolean;
6
- }>;
@@ -1 +0,0 @@
1
- export * from './motion-state';
@@ -1,50 +0,0 @@
1
- import { MotionStateContext, Options } from '../types';
2
- import { DOMKeyframesDefinition, VisualElement } from 'framer-motion';
3
- import { frame } from 'framer-motion/dom';
4
- import { StateType, animateUpdates } from './animate-updates';
5
- export declare const mountedStates: WeakMap<Element, MotionState>;
6
- /**
7
- * Core class that manages animation state and orchestrates animations.
8
- * Handles component lifecycle methods in the correct order based on component tree position.
9
- */
10
- export declare class MotionState {
11
- readonly id: string;
12
- element: HTMLElement | null;
13
- private parent?;
14
- options: Options;
15
- isSafeToRemove: boolean;
16
- isVShow: boolean;
17
- private children?;
18
- activeStates: Partial<Record<StateType, boolean>>;
19
- /**
20
- * Current animation process reference
21
- * Tracks the ongoing animation process for mount/update animations
22
- * Enables delayed animation loading and parent-child animation orchestration
23
- * Allows parent variant elements to control child element animations
24
- */
25
- currentProcess: ReturnType<typeof frame.render> | null;
26
- depth: number;
27
- baseTarget: DOMKeyframesDefinition;
28
- target: DOMKeyframesDefinition;
29
- private featureManager;
30
- visualElement: VisualElement<Element>;
31
- constructor(options: Options, parent?: MotionState);
32
- private _context;
33
- get context(): MotionStateContext;
34
- private initTarget;
35
- updateOptions(): void;
36
- beforeMount(): void;
37
- mount(element: HTMLElement, options: Options, notAnimate?: boolean): void;
38
- clearAnimation(): void;
39
- startAnimation(): void;
40
- beforeUnmount(): void;
41
- unmount(unMountChildren?: boolean): void;
42
- private unmountChild;
43
- beforeUpdate(): void;
44
- update(options: Options): void;
45
- setActive(name: StateType, isActive: boolean, isAnimate?: boolean): void;
46
- animateUpdates: typeof animateUpdates;
47
- isMounted(): boolean;
48
- getOptions(): Options<any>;
49
- willUpdate(label: string): void;
50
- }
@@ -1,11 +0,0 @@
1
- import { DOMKeyframesDefinition } from 'framer-motion';
2
- import { MotionStyle } from '../types';
3
- export declare const style: {
4
- get: (element: Element, name: string) => string | undefined;
5
- set: (element: Element, name: string, value: string | number) => void;
6
- };
7
- export declare function createStyles(keyframes?: MotionStyle | DOMKeyframesDefinition): any;
8
- export declare function convertSvgStyleToAttributes(keyframes?: MotionStyle | DOMKeyframesDefinition): {
9
- attributes: Record<string, any>;
10
- style: Record<string, any>;
11
- };
@@ -1,25 +0,0 @@
1
- import { CssPropertyDefinition } from '../types';
2
- /**
3
- * A list of all transformable axes. We'll use this list to generated a version
4
- * of each axes for each transform.
5
- */
6
- export declare const axes: string[];
7
- export declare const transformDefinitions: Map<string, CssPropertyDefinition>;
8
- export declare const isTransform: (name: string) => boolean;
9
- export declare const transformAlias: {
10
- x: string;
11
- y: string;
12
- z: string;
13
- };
14
- export declare function compareTransformOrder([a]: [string, any], [b]: [string, any]): number;
15
- export declare function buildTransformTemplate(transforms: [string, any][]): string;
16
- export declare function getFirstAnimateTransform(initialFrame: any, animateFrame: any): any;
17
- export declare const transformResetValue: {
18
- translate: number[];
19
- rotate: number;
20
- scale: number;
21
- skew: number;
22
- x: number;
23
- y: number;
24
- z: number;
25
- };
@@ -1,2 +0,0 @@
1
- import { VisualElement } from 'framer-motion';
2
- export declare function isPresent(visualElement: VisualElement): boolean;
@@ -1,2 +0,0 @@
1
- import { VariantLabels } from '../../types';
2
- export declare function isVariantLabels(value: any): value is VariantLabels;
@@ -1,19 +0,0 @@
1
- import { $Transition, Options } from '../types';
2
- import { Variant } from 'framer-motion';
3
- import { IntrinsicElementAttributes } from 'vue';
4
- export declare function resolveVariant(definition?: Options['animate'], variants?: Options['variants'], custom?: Options['custom']): Variant | undefined;
5
- export declare function hasChanged(a: any, b: any): boolean;
6
- export declare function shallowCompare(next: any[], prev: any[]): boolean;
7
- export declare function addUniqueItem<T>(array: T[], item: T): void;
8
- export declare function removeItem<T>(array: T[], item: T): void;
9
- export declare function getOptions(options: $Transition, key: string): $Transition;
10
- export declare function isCssVar(name: string): boolean;
11
- export declare const noopReturn: <V>(v: V) => V;
12
- export declare function isNumber(value: any): boolean;
13
- type ElementType = keyof IntrinsicElementAttributes;
14
- export declare const svgElements: readonly ["animate", "circle", "defs", "desc", "ellipse", "g", "image", "line", "filter", "marker", "mask", "metadata", "path", "pattern", "polygon", "polyline", "rect", "stop", "svg", "switch", "symbol", "text", "tspan", "use", "view", "clipPath", "feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence", "foreignObject", "linearGradient", "radialGradient", "textPath"];
15
- type UnionStringArray<T extends Readonly<string[]>> = T[number];
16
- export type SVGElements = UnionStringArray<typeof svgElements>;
17
- export declare function isSVGElement(as: ElementType): as is SVGElements;
18
- export declare function isAnimateChanged(oldOptions: Options, newOptions: Options): boolean;
19
- export {};
@@ -1,43 +0,0 @@
1
- import { Inertia, Keyframes, None, Repeat, Spring, Tween } from 'framer-motion';
2
- export type { Point } from 'framer-motion';
3
- export interface FrameData {
4
- delta: number;
5
- timestamp: number;
6
- isProcessing: boolean;
7
- }
8
- export interface MotionValueEventCallbacks<V> {
9
- animationStart: () => void;
10
- animationComplete: () => void;
11
- animationCancel: () => void;
12
- change: (latestValue: V) => void;
13
- renderRequest: () => void;
14
- }
15
- export type SupportedEdgeUnit = 'px' | 'vw' | 'vh' | '%';
16
- export type EdgeUnit = `${number}${SupportedEdgeUnit}`;
17
- export type NamedEdges = 'start' | 'end' | 'center';
18
- export type EdgeString = NamedEdges | EdgeUnit | `${number}`;
19
- export type Edge = EdgeString | number;
20
- export type ProgressIntersection = [number, number];
21
- export type Intersection = `${Edge} ${Edge}`;
22
- export type ScrollOffset = Array<Edge | Intersection | ProgressIntersection>;
23
- export interface ScrollInfoOptions {
24
- container?: HTMLElement;
25
- target?: Element;
26
- axis?: 'x' | 'y';
27
- offset?: ScrollOffset;
28
- }
29
- export interface Orchestration {
30
- delay?: number;
31
- when?: false | 'beforeChildren' | 'afterChildren' | string;
32
- delayChildren?: number;
33
- staggerChildren?: number;
34
- staggerDirection?: number;
35
- }
36
- type PermissiveTransitionDefinition = {
37
- [key: string]: any;
38
- };
39
- type TransitionDefinition = Tween | Spring | Keyframes | Inertia | None | PermissiveTransitionDefinition;
40
- type TransitionMap = Orchestration & TransitionDefinition & {
41
- [key: string]: TransitionDefinition;
42
- };
43
- export type $Transition = (Orchestration & Repeat & TransitionDefinition) | (Orchestration & Repeat & TransitionMap);
@@ -1,4 +0,0 @@
1
- export * from './transform';
2
- export * from './framer-motion';
3
- export * from './motion-values';
4
- export * from './state';
@@ -1,93 +0,0 @@
1
- import { MotionValue } from 'framer-motion/dom';
2
- import { ElementType, Options } from './state';
3
- import { AriaAttributes, Events, IntrinsicElementAttributes, SVGAttributes } from 'vue';
4
- type EventHandlers<E> = {
5
- [K in keyof E]?: E[K] extends (...args: any) => any ? E[K] : (payload: E[K]) => void;
6
- };
7
- type EventKeys = keyof EventHandlers<Events>;
8
- interface SVGAttributesWithoutMotionProps extends Pick<SVGAttributes, Exclude<keyof SVGAttributes, keyof Options | keyof AriaAttributes | EventKeys>> {
9
- }
10
- /**
11
- * @public
12
- */
13
- export interface CustomValueType {
14
- mix: (from: any, to: any) => (p: number) => number | string;
15
- toValue: () => number | string;
16
- }
17
- export type MakeCustomValueType<T> = {
18
- [K in keyof T]: T[K] | CustomValueType;
19
- };
20
- export type MakeMotion<T> = MakeCustomValueType<{
21
- [K in keyof T]: T[K] | MotionValue<number> | MotionValue<string> | MotionValue<any>;
22
- }>;
23
- /**
24
- * Blanket-accept any SVG attribute as a `MotionValue`
25
- * @public
26
- */
27
- export type SVGAttributesAsMotionValues = MakeMotion<SVGAttributesWithoutMotionProps>;
28
- export interface SVGAttributesWithMotionValues {
29
- svg: SVGAttributesAsMotionValues;
30
- animate: SVGAttributesAsMotionValues;
31
- animateMotion: SVGAttributesAsMotionValues;
32
- animateTransform: SVGAttributesAsMotionValues;
33
- circle: SVGAttributesAsMotionValues;
34
- clipPath: SVGAttributesAsMotionValues;
35
- defs: SVGAttributesAsMotionValues;
36
- desc: SVGAttributesAsMotionValues;
37
- ellipse: SVGAttributesAsMotionValues;
38
- feBlend: SVGAttributesAsMotionValues;
39
- feColorMatrix: SVGAttributesAsMotionValues;
40
- feComponentTransfer: SVGAttributesAsMotionValues;
41
- feComposite: SVGAttributesAsMotionValues;
42
- feConvolveMatrix: SVGAttributesAsMotionValues;
43
- feDiffuseLighting: SVGAttributesAsMotionValues;
44
- feDisplacementMap: SVGAttributesAsMotionValues;
45
- feDistantLight: SVGAttributesAsMotionValues;
46
- feDropShadow: SVGAttributesAsMotionValues;
47
- feFlood: SVGAttributesAsMotionValues;
48
- feFuncA: SVGAttributesAsMotionValues;
49
- feFuncB: SVGAttributesAsMotionValues;
50
- feFuncG: SVGAttributesAsMotionValues;
51
- feFuncR: SVGAttributesAsMotionValues;
52
- feGaussianBlur: SVGAttributesAsMotionValues;
53
- feImage: SVGAttributesAsMotionValues;
54
- feMerge: SVGAttributesAsMotionValues;
55
- feMergeNode: SVGAttributesAsMotionValues;
56
- feMorphology: SVGAttributesAsMotionValues;
57
- feOffset: SVGAttributesAsMotionValues;
58
- fePointLight: SVGAttributesAsMotionValues;
59
- feSpecularLighting: SVGAttributesAsMotionValues;
60
- feSpotLight: SVGAttributesAsMotionValues;
61
- feTile: SVGAttributesAsMotionValues;
62
- feTurbulence: SVGAttributesAsMotionValues;
63
- filter: SVGAttributesAsMotionValues;
64
- foreignObject: SVGAttributesAsMotionValues;
65
- g: SVGAttributesAsMotionValues;
66
- image: SVGAttributesAsMotionValues;
67
- line: SVGAttributesAsMotionValues;
68
- linearGradient: SVGAttributesAsMotionValues;
69
- marker: SVGAttributesAsMotionValues;
70
- mask: SVGAttributesAsMotionValues;
71
- metadata: SVGAttributesAsMotionValues;
72
- mpath: SVGAttributesAsMotionValues;
73
- path: SVGAttributesAsMotionValues;
74
- pattern: SVGAttributesAsMotionValues;
75
- polygon: SVGAttributesAsMotionValues;
76
- polyline: SVGAttributesAsMotionValues;
77
- radialGradient: SVGAttributesAsMotionValues;
78
- rect: SVGAttributesAsMotionValues;
79
- stop: SVGAttributesAsMotionValues;
80
- switch: SVGAttributesAsMotionValues;
81
- symbol: SVGAttributesAsMotionValues;
82
- text: SVGAttributesAsMotionValues;
83
- textPath: SVGAttributesAsMotionValues;
84
- tspan: SVGAttributesAsMotionValues;
85
- use: SVGAttributesAsMotionValues;
86
- view: SVGAttributesAsMotionValues;
87
- }
88
- export type SetMotionValueType<T, Keys extends keyof T> = {
89
- [K in keyof T]: K extends Keys ? SVGAttributesAsMotionValues : T[K];
90
- };
91
- type IntrinsicElementAttributesAsMotionValues = SetMotionValueType<IntrinsicElementAttributes, keyof SVGAttributesWithMotionValues>;
92
- export type MotionHTMLAttributes<C extends ElementType> = Omit<IntrinsicElementAttributesAsMotionValues[C], keyof Options | 'style' | 'as' | 'asChild'>;
93
- export {};
@@ -1,79 +0,0 @@
1
- import { DOMKeyframesDefinition, ResolvedValues, Target, TargetAndTransition } from 'framer-motion';
2
- import { MotionValue, TransformProperties, animate } from 'framer-motion/dom';
3
- import { IntrinsicElementAttributes } from 'vue';
4
- import { LayoutOptions } from '../features/layout/types';
5
- import { DragProps } from '../features/gestures/drag/types';
6
- import { PressProps } from '../features/gestures/press/types';
7
- import { HoverProps } from '../features/gestures/hover/types';
8
- import { InViewProps } from '../features/gestures/in-view/types';
9
- import { LayoutGroupState } from '../components/context';
10
- import { PanProps } from '../features/gestures/pan/types';
11
- import { MotionConfigState } from '../components/motion-config/types';
12
- import { $Transition } from './framer-motion';
13
- import { FocusProps } from '../features/gestures/focus/types';
14
- import { AnimationControls } from '../animation/types';
15
- type AnimationPlaybackControls = ReturnType<typeof animate>;
16
- export type TargetResolver = (custom: any, current: Target, velocity: Target) => TargetAndTransition | string;
17
- export interface Variant extends DOMKeyframesDefinition {
18
- transition?: $Transition;
19
- attrX?: DOMKeyframesDefinition['x'];
20
- attrY?: DOMKeyframesDefinition['y'];
21
- attrScale?: DOMKeyframesDefinition['scale'];
22
- }
23
- /**
24
- * Either a string, or array of strings, that reference variants defined via the `variants` prop.
25
- * @public
26
- */
27
- export type VariantLabels = string | string[];
28
- interface BoundingBox {
29
- top: number;
30
- right: number;
31
- bottom: number;
32
- left: number;
33
- }
34
- export interface DragOptions {
35
- constraints?: false | Partial<BoundingBox>;
36
- dragSnapToOrigin?: boolean;
37
- }
38
- type TransformPropertiesWithoutTransition = Omit<TransformProperties, 'transition'>;
39
- export type MotionStyle = Partial<{
40
- [K in keyof Omit<Variant & TransformPropertiesWithoutTransition, 'attrX' | 'attrY' | 'attrScale'>]: string | number | undefined | MotionValue;
41
- }>;
42
- export type ElementType = keyof IntrinsicElementAttributes;
43
- export interface Options<T = any> extends LayoutOptions, PressProps, HoverProps, InViewProps, DragProps, PanProps, FocusProps {
44
- custom?: T;
45
- as?: ElementType;
46
- initial?: VariantLabels | Variant | boolean;
47
- animate?: VariantLabels | Variant | AnimationControls;
48
- exit?: VariantLabels | Variant;
49
- variants?: {
50
- [k: string]: Variant | ((custom: T) => Variant);
51
- };
52
- style?: MotionStyle;
53
- transformTemplate?: (transform: TransformProperties, generatedTransform: string) => string;
54
- transition?: $Transition & {
55
- layout?: $Transition;
56
- };
57
- layoutGroup?: LayoutGroupState;
58
- motionConfig?: MotionConfigState;
59
- onAnimationComplete?: (definition: Options['animate']) => void;
60
- onUpdate?: (latest: ResolvedValues) => void;
61
- }
62
- export interface MotionStateContext {
63
- initial?: VariantLabels | boolean;
64
- animate?: VariantLabels;
65
- inView?: VariantLabels;
66
- hover?: VariantLabels;
67
- press?: VariantLabels;
68
- exit?: VariantLabels;
69
- }
70
- export type AnimationFactory = () => AnimationPlaybackControls | undefined;
71
- export interface CssPropertyDefinition {
72
- syntax: `<${string}>`;
73
- initialValue: string | number;
74
- toDefaultUnit: (v: number) => string | number;
75
- }
76
- export type CssPropertyDefinitionMap = {
77
- [key: string]: CssPropertyDefinition;
78
- };
79
- export {};
@@ -1,23 +0,0 @@
1
- import { EasingFunction } from 'framer-motion';
2
- export interface TransformOptions<T> {
3
- /**
4
- * Clamp values to within the given range. Defaults to `true`
5
- *
6
- * @public
7
- */
8
- clamp?: boolean;
9
- /**
10
- * Easing functions to use on the interpolations between each value in the input and output ranges.
11
- *
12
- * If provided as an array, the array must be one item shorter than the input and output ranges, as the easings apply to the transition **between** each.
13
- *
14
- * @public
15
- */
16
- ease?: EasingFunction | EasingFunction[];
17
- /**
18
- * Provide a function that can interpolate between any two values in the provided range.
19
- *
20
- * @public
21
- */
22
- mixer?: (from: T, to: T) => (v: number) => any;
23
- }
@@ -1 +0,0 @@
1
- export declare function clamp(min: number, max: number, v: number): number;
@@ -1,8 +0,0 @@
1
- /**
2
- * @param providerComponentName - The name(s) of the component(s) providing the context.
3
- *
4
- * There are situations where context can come from multiple components. In such cases, you might need to give an array of component names to provide your context, instead of just a single string.
5
- *
6
- * @param contextName The description for injection key symbol.
7
- */
8
- export declare function createContext<ContextValue>(providerComponentName: string | string[], contextName?: string): readonly [<T extends ContextValue | null | undefined = ContextValue>(fallback?: T) => T extends null ? ContextValue | null : ContextValue, (contextValue: ContextValue) => ContextValue];
@@ -1 +0,0 @@
1
- export declare function delay(fn: () => void): Promise<void>;