@betterinternship/components 3.0.0 → 3.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (540) hide show
  1. package/dist/components/animated-count.js +1 -3
  2. package/dist/components/animated-count.js.map +1 -1
  3. package/dist/components/tabs.js +40 -0
  4. package/dist/components/tabs.js.map +1 -0
  5. package/dist/index.d.ts +1 -0
  6. package/dist/index.js +1 -0
  7. package/dist/index.js.map +1 -1
  8. package/package.json +7 -2
  9. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +0 -118
  10. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js.map +0 -1
  11. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +0 -77
  12. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js.map +0 -1
  13. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +0 -190
  14. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js.map +0 -1
  15. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +0 -46
  16. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js.map +0 -1
  17. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +0 -15
  18. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js.map +0 -1
  19. package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +0 -7
  20. package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js.map +0 -1
  21. package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +0 -7
  22. package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js.map +0 -1
  23. package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +0 -14
  24. package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js.map +0 -1
  25. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +0 -15
  26. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js.map +0 -1
  27. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +0 -7
  28. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js.map +0 -1
  29. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +0 -18
  30. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js.map +0 -1
  31. package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +0 -11
  32. package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js.map +0 -1
  33. package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +0 -10
  34. package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js.map +0 -1
  35. package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +0 -9
  36. package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js.map +0 -1
  37. package/dist/node_modules/framer-motion/dist/es/events/event-info.js +0 -14
  38. package/dist/node_modules/framer-motion/dist/es/events/event-info.js.map +0 -1
  39. package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +0 -586
  40. package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js.map +0 -1
  41. package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +0 -51
  42. package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js.map +0 -1
  43. package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +0 -130
  44. package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js.map +0 -1
  45. package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +0 -42
  46. package/dist/node_modules/framer-motion/dist/es/gestures/focus.js.map +0 -1
  47. package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +0 -31
  48. package/dist/node_modules/framer-motion/dist/es/gestures/hover.js.map +0 -1
  49. package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +0 -285
  50. package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js.map +0 -1
  51. package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +0 -51
  52. package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js.map +0 -1
  53. package/dist/node_modules/framer-motion/dist/es/gestures/press.js +0 -38
  54. package/dist/node_modules/framer-motion/dist/es/gestures/press.js.map +0 -1
  55. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +0 -71
  56. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js.map +0 -1
  57. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +0 -41
  58. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js.map +0 -1
  59. package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +0 -14
  60. package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js.map +0 -1
  61. package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +0 -49
  62. package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js.map +0 -1
  63. package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +0 -18
  64. package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js.map +0 -1
  65. package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +0 -22
  66. package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js.map +0 -1
  67. package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +0 -138
  68. package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js.map +0 -1
  69. package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +0 -12
  70. package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js.map +0 -1
  71. package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +0 -16
  72. package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js.map +0 -1
  73. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +0 -77
  74. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js.map +0 -1
  75. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +0 -50
  76. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js.map +0 -1
  77. package/dist/node_modules/framer-motion/dist/es/motion/index.js +0 -113
  78. package/dist/node_modules/framer-motion/dist/es/motion/index.js.map +0 -1
  79. package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +0 -4
  80. package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js.map +0 -1
  81. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +0 -52
  82. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js.map +0 -1
  83. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +0 -166
  84. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js.map +0 -1
  85. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +0 -81
  86. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js.map +0 -1
  87. package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +0 -59
  88. package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js.map +0 -1
  89. package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +0 -46
  90. package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js.map +0 -1
  91. package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js +0 -14
  92. package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js.map +0 -1
  93. package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +0 -8
  94. package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js.map +0 -1
  95. package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +0 -19
  96. package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js.map +0 -1
  97. package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +0 -28
  98. package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js.map +0 -1
  99. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +0 -37
  100. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js.map +0 -1
  101. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +0 -31
  102. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js.map +0 -1
  103. package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js +0 -12
  104. package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js.map +0 -1
  105. package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +0 -59
  106. package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js.map +0 -1
  107. package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +0 -9
  108. package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js.map +0 -1
  109. package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +0 -34
  110. package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js.map +0 -1
  111. package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +0 -26
  112. package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js.map +0 -1
  113. package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js +0 -12
  114. package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js.map +0 -1
  115. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +0 -9
  116. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js.map +0 -1
  117. package/dist/node_modules/framer-motion/dist/es/utils/distance.js +0 -10
  118. package/dist/node_modules/framer-motion/dist/es/utils/distance.js.map +0 -1
  119. package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +0 -7
  120. package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js.map +0 -1
  121. package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +0 -4
  122. package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js.map +0 -1
  123. package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +0 -8
  124. package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js.map +0 -1
  125. package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.js +0 -49
  126. package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.js.map +0 -1
  127. package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js +0 -61
  128. package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js.map +0 -1
  129. package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +0 -20
  130. package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js.map +0 -1
  131. package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +0 -8
  132. package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js.map +0 -1
  133. package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +0 -200
  134. package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js.map +0 -1
  135. package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js +0 -386
  136. package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js.map +0 -1
  137. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +0 -181
  138. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js.map +0 -1
  139. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +0 -88
  140. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js.map +0 -1
  141. package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js +0 -12
  142. package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js.map +0 -1
  143. package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js +0 -18
  144. package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js.map +0 -1
  145. package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js +0 -88
  146. package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js.map +0 -1
  147. package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js +0 -52
  148. package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js.map +0 -1
  149. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js +0 -331
  150. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js.map +0 -1
  151. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +0 -18
  152. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js.map +0 -1
  153. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js +0 -20
  154. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js.map +0 -1
  155. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +0 -6
  156. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js.map +0 -1
  157. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js +0 -10
  158. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js.map +0 -1
  159. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js +0 -106
  160. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js.map +0 -1
  161. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js +0 -109
  162. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js.map +0 -1
  163. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js +0 -60
  164. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js.map +0 -1
  165. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js +0 -27
  166. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js.map +0 -1
  167. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +0 -142
  168. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js.map +0 -1
  169. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js +0 -148
  170. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js.map +0 -1
  171. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js +0 -12
  172. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js.map +0 -1
  173. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js +0 -10
  174. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js.map +0 -1
  175. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js +0 -13
  176. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js.map +0 -1
  177. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js +0 -6
  178. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js.map +0 -1
  179. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js +0 -8
  180. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js.map +0 -1
  181. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js +0 -16
  182. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js.map +0 -1
  183. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js +0 -31
  184. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js.map +0 -1
  185. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js +0 -47
  186. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js.map +0 -1
  187. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js +0 -7
  188. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js.map +0 -1
  189. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js +0 -8
  190. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js.map +0 -1
  191. package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js +0 -27
  192. package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js.map +0 -1
  193. package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js +0 -16
  194. package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js.map +0 -1
  195. package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js +0 -44
  196. package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js.map +0 -1
  197. package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js +0 -43
  198. package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js.map +0 -1
  199. package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js +0 -41
  200. package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js.map +0 -1
  201. package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +0 -14
  202. package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js.map +0 -1
  203. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js +0 -31
  204. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js.map +0 -1
  205. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js +0 -27
  206. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js.map +0 -1
  207. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js +0 -27
  208. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js.map +0 -1
  209. package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js +0 -7
  210. package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js.map +0 -1
  211. package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js +0 -19
  212. package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js.map +0 -1
  213. package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js +0 -15
  214. package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js.map +0 -1
  215. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js +0 -4
  216. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js.map +0 -1
  217. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js +0 -29
  218. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js.map +0 -1
  219. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js +0 -16
  220. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js.map +0 -1
  221. package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js +0 -29
  222. package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js.map +0 -1
  223. package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js +0 -55
  224. package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js.map +0 -1
  225. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js +0 -13
  226. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js.map +0 -1
  227. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js +0 -16
  228. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js.map +0 -1
  229. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js +0 -13
  230. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js.map +0 -1
  231. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +0 -13
  232. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js.map +0 -1
  233. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js +0 -21
  234. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js.map +0 -1
  235. package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js +0 -7
  236. package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js.map +0 -1
  237. package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +0 -73
  238. package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js.map +0 -1
  239. package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js +0 -7
  240. package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js.map +0 -1
  241. package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js +0 -7
  242. package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js.map +0 -1
  243. package/dist/node_modules/motion-dom/dist/es/frameloop/order.js +0 -13
  244. package/dist/node_modules/motion-dom/dist/es/frameloop/order.js.map +0 -1
  245. package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +0 -84
  246. package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js.map +0 -1
  247. package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +0 -32
  248. package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js.map +0 -1
  249. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +0 -10
  250. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js.map +0 -1
  251. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +0 -29
  252. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js.map +0 -1
  253. package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +0 -70
  254. package/dist/node_modules/motion-dom/dist/es/gestures/hover.js.map +0 -1
  255. package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +0 -97
  256. package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js.map +0 -1
  257. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +0 -34
  258. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js.map +0 -1
  259. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +0 -39
  260. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js.map +0 -1
  261. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +0 -4
  262. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js.map +0 -1
  263. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +0 -21
  264. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js.map +0 -1
  265. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +0 -19
  266. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js.map +0 -1
  267. package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +0 -16
  268. package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js.map +0 -1
  269. package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js +0 -69
  270. package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js.map +0 -1
  271. package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js +0 -34
  272. package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js.map +0 -1
  273. package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js +0 -32
  274. package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js.map +0 -1
  275. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js +0 -125
  276. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js.map +0 -1
  277. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js +0 -59
  278. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js.map +0 -1
  279. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js +0 -55
  280. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js.map +0 -1
  281. package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js +0 -18
  282. package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js.map +0 -1
  283. package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js +0 -32
  284. package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js.map +0 -1
  285. package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js +0 -14
  286. package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js.map +0 -1
  287. package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js +0 -28
  288. package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js.map +0 -1
  289. package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js +0 -1660
  290. package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js.map +0 -1
  291. package/dist/node_modules/motion-dom/dist/es/projection/node/state.js +0 -20
  292. package/dist/node_modules/motion-dom/dist/es/projection/node/state.js.map +0 -1
  293. package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js +0 -85
  294. package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js.map +0 -1
  295. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js +0 -42
  296. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js.map +0 -1
  297. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js +0 -36
  298. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js.map +0 -1
  299. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js +0 -18
  300. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js.map +0 -1
  301. package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js +0 -53
  302. package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js.map +0 -1
  303. package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js +0 -4
  304. package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js.map +0 -1
  305. package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js +0 -6
  306. package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js.map +0 -1
  307. package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js +0 -25
  308. package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js.map +0 -1
  309. package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js +0 -27
  310. package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js.map +0 -1
  311. package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js +0 -18
  312. package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js.map +0 -1
  313. package/dist/node_modules/motion-dom/dist/es/render/Feature.js +0 -15
  314. package/dist/node_modules/motion-dom/dist/es/render/Feature.js.map +0 -1
  315. package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js +0 -564
  316. package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js.map +0 -1
  317. package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js +0 -43
  318. package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js.map +0 -1
  319. package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js +0 -4
  320. package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js.map +0 -1
  321. package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js +0 -84
  322. package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js.map +0 -1
  323. package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js +0 -10
  324. package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js.map +0 -1
  325. package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js +0 -6
  326. package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js.map +0 -1
  327. package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js +0 -55
  328. package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js.map +0 -1
  329. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js +0 -66
  330. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js.map +0 -1
  331. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js +0 -72
  332. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js.map +0 -1
  333. package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js +0 -18
  334. package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js.map +0 -1
  335. package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js +0 -22
  336. package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js.map +0 -1
  337. package/dist/node_modules/motion-dom/dist/es/render/store.js +0 -4
  338. package/dist/node_modules/motion-dom/dist/es/render/store.js.map +0 -1
  339. package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js +0 -52
  340. package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js.map +0 -1
  341. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js +0 -64
  342. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js.map +0 -1
  343. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js +0 -31
  344. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js.map +0 -1
  345. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js +0 -4
  346. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js.map +0 -1
  347. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js +0 -32
  348. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js.map +0 -1
  349. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js +0 -13
  350. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js.map +0 -1
  351. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js +0 -20
  352. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js.map +0 -1
  353. package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js +0 -387
  354. package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js.map +0 -1
  355. package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js +0 -33
  356. package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js.map +0 -1
  357. package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js +0 -8
  358. package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js.map +0 -1
  359. package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js +0 -14
  360. package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js.map +0 -1
  361. package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js +0 -12
  362. package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js.map +0 -1
  363. package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js +0 -6
  364. package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js.map +0 -1
  365. package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js +0 -9
  366. package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js.map +0 -1
  367. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js +0 -14
  368. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js.map +0 -1
  369. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js +0 -36
  370. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js.map +0 -1
  371. package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js +0 -56
  372. package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js.map +0 -1
  373. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js +0 -20
  374. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js.map +0 -1
  375. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js +0 -6
  376. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js.map +0 -1
  377. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js +0 -9
  378. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js.map +0 -1
  379. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js +0 -37
  380. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js.map +0 -1
  381. package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js +0 -32
  382. package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js.map +0 -1
  383. package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js +0 -15
  384. package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js.map +0 -1
  385. package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js +0 -13
  386. package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js.map +0 -1
  387. package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js +0 -64
  388. package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js.map +0 -1
  389. package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js +0 -32
  390. package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js.map +0 -1
  391. package/dist/node_modules/motion-dom/dist/es/resize/index.js +0 -9
  392. package/dist/node_modules/motion-dom/dist/es/resize/index.js.map +0 -1
  393. package/dist/node_modules/motion-dom/dist/es/utils/border-radius.js +0 -15
  394. package/dist/node_modules/motion-dom/dist/es/utils/border-radius.js.map +0 -1
  395. package/dist/node_modules/motion-dom/dist/es/utils/delay.js +0 -21
  396. package/dist/node_modules/motion-dom/dist/es/utils/delay.js.map +0 -1
  397. package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js +0 -80
  398. package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js.map +0 -1
  399. package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js +0 -14
  400. package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js.map +0 -1
  401. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js +0 -12
  402. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js.map +0 -1
  403. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js +0 -12
  404. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js.map +0 -1
  405. package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js +0 -48
  406. package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js.map +0 -1
  407. package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js +0 -94
  408. package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js.map +0 -1
  409. package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js +0 -6
  410. package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js.map +0 -1
  411. package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js +0 -15
  412. package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js.map +0 -1
  413. package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js +0 -27
  414. package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js.map +0 -1
  415. package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js +0 -17
  416. package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js.map +0 -1
  417. package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +0 -18
  418. package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js.map +0 -1
  419. package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +0 -8
  420. package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js.map +0 -1
  421. package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +0 -16
  422. package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js.map +0 -1
  423. package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +0 -10
  424. package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js.map +0 -1
  425. package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +0 -6
  426. package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js.map +0 -1
  427. package/dist/node_modules/motion-dom/dist/es/value/index.js +0 -320
  428. package/dist/node_modules/motion-dom/dist/es/value/index.js.map +0 -1
  429. package/dist/node_modules/motion-dom/dist/es/value/types/auto.js +0 -10
  430. package/dist/node_modules/motion-dom/dist/es/value/types/auto.js.map +0 -1
  431. package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js +0 -41
  432. package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js.map +0 -1
  433. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js +0 -43
  434. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js.map +0 -1
  435. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js +0 -23
  436. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js.map +0 -1
  437. package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js +0 -33
  438. package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js.map +0 -1
  439. package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js +0 -26
  440. package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js.map +0 -1
  441. package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js +0 -30
  442. package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js.map +0 -1
  443. package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js +0 -31
  444. package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js.map +0 -1
  445. package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js +0 -114
  446. package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js.map +0 -1
  447. package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js +0 -13
  448. package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js.map +0 -1
  449. package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js +0 -16
  450. package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js.map +0 -1
  451. package/dist/node_modules/motion-dom/dist/es/value/types/int.js +0 -9
  452. package/dist/node_modules/motion-dom/dist/es/value/types/int.js.map +0 -1
  453. package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js +0 -34
  454. package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js.map +0 -1
  455. package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js +0 -71
  456. package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js.map +0 -1
  457. package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js +0 -38
  458. package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js.map +0 -1
  459. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js +0 -18
  460. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js.map +0 -1
  461. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js +0 -19
  462. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js.map +0 -1
  463. package/dist/node_modules/motion-dom/dist/es/value/types/test.js +0 -7
  464. package/dist/node_modules/motion-dom/dist/es/value/types/test.js.map +0 -1
  465. package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js +0 -18
  466. package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js.map +0 -1
  467. package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js +0 -4
  468. package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js.map +0 -1
  469. package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js +0 -16
  470. package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js.map +0 -1
  471. package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js +0 -4
  472. package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js.map +0 -1
  473. package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js +0 -11
  474. package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js.map +0 -1
  475. package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js +0 -6
  476. package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js.map +0 -1
  477. package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js +0 -6
  478. package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js.map +0 -1
  479. package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js +0 -4
  480. package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js.map +0 -1
  481. package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js +0 -4
  482. package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js.map +0 -1
  483. package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js +0 -11
  484. package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js.map +0 -1
  485. package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js +0 -21
  486. package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js.map +0 -1
  487. package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js +0 -8
  488. package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js.map +0 -1
  489. package/dist/node_modules/motion-utils/dist/es/array.js +0 -12
  490. package/dist/node_modules/motion-utils/dist/es/array.js.map +0 -1
  491. package/dist/node_modules/motion-utils/dist/es/clamp.js +0 -10
  492. package/dist/node_modules/motion-utils/dist/es/clamp.js.map +0 -1
  493. package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js +0 -10
  494. package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js.map +0 -1
  495. package/dist/node_modules/motion-utils/dist/es/easing/back.js +0 -10
  496. package/dist/node_modules/motion-utils/dist/es/easing/back.js.map +0 -1
  497. package/dist/node_modules/motion-utils/dist/es/easing/circ.js +0 -9
  498. package/dist/node_modules/motion-utils/dist/es/easing/circ.js.map +0 -1
  499. package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js +0 -53
  500. package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js.map +0 -1
  501. package/dist/node_modules/motion-utils/dist/es/easing/ease.js +0 -8
  502. package/dist/node_modules/motion-utils/dist/es/easing/ease.js.map +0 -1
  503. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js +0 -7
  504. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js.map +0 -1
  505. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js +0 -7
  506. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js.map +0 -1
  507. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js +0 -5
  508. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js.map +0 -1
  509. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js +0 -7
  510. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js.map +0 -1
  511. package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js +0 -42
  512. package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js.map +0 -1
  513. package/dist/node_modules/motion-utils/dist/es/errors.js +0 -20
  514. package/dist/node_modules/motion-utils/dist/es/errors.js.map +0 -1
  515. package/dist/node_modules/motion-utils/dist/es/format-error-message.js +0 -8
  516. package/dist/node_modules/motion-utils/dist/es/format-error-message.js.map +0 -1
  517. package/dist/node_modules/motion-utils/dist/es/global-config.js +0 -4
  518. package/dist/node_modules/motion-utils/dist/es/global-config.js.map +0 -1
  519. package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js +0 -7
  520. package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js.map +0 -1
  521. package/dist/node_modules/motion-utils/dist/es/is-object.js +0 -4
  522. package/dist/node_modules/motion-utils/dist/es/is-object.js.map +0 -1
  523. package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js +0 -7
  524. package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js.map +0 -1
  525. package/dist/node_modules/motion-utils/dist/es/memo.js +0 -12
  526. package/dist/node_modules/motion-utils/dist/es/memo.js.map +0 -1
  527. package/dist/node_modules/motion-utils/dist/es/noop.js +0 -5
  528. package/dist/node_modules/motion-utils/dist/es/noop.js.map +0 -1
  529. package/dist/node_modules/motion-utils/dist/es/pipe.js +0 -11
  530. package/dist/node_modules/motion-utils/dist/es/pipe.js.map +0 -1
  531. package/dist/node_modules/motion-utils/dist/es/progress.js +0 -15
  532. package/dist/node_modules/motion-utils/dist/es/progress.js.map +0 -1
  533. package/dist/node_modules/motion-utils/dist/es/subscription-manager.js +0 -41
  534. package/dist/node_modules/motion-utils/dist/es/subscription-manager.js.map +0 -1
  535. package/dist/node_modules/motion-utils/dist/es/time-conversion.js +0 -13
  536. package/dist/node_modules/motion-utils/dist/es/time-conversion.js.map +0 -1
  537. package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +0 -8
  538. package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js.map +0 -1
  539. package/dist/node_modules/motion-utils/dist/es/warn-once.js +0 -12
  540. package/dist/node_modules/motion-utils/dist/es/warn-once.js.map +0 -1
@@ -1,386 +0,0 @@
1
- import { time } from '../frameloop/sync-time.js';
2
- import { mix } from '../utils/mix/index.js';
3
- import { frameloopDriver } from './drivers/frame.js';
4
- import { inertia } from './generators/inertia.js';
5
- import { keyframes } from './generators/keyframes.js';
6
- import { calcGeneratorDuration } from './generators/utils/calc-duration.js';
7
- import { getGeneratorVelocity } from './generators/utils/velocity.js';
8
- import { getFinalKeyframe } from './keyframes/get-final.js';
9
- import { replaceTransitionType } from './utils/replace-transition-type.js';
10
- import { WithPromise } from './utils/WithPromise.js';
11
- import { invariant } from '../../../../motion-utils/dist/es/errors.js';
12
- import { pipe } from '../../../../motion-utils/dist/es/pipe.js';
13
- import { millisecondsToSeconds, secondsToMilliseconds } from '../../../../motion-utils/dist/es/time-conversion.js';
14
- import { clamp } from '../../../../motion-utils/dist/es/clamp.js';
15
-
16
- const percentToProgress = (percent) => percent / 100;
17
- class JSAnimation extends WithPromise {
18
- constructor(options) {
19
- super();
20
- this.state = "idle";
21
- this.startTime = null;
22
- this.isStopped = false;
23
- /**
24
- * The current time of the animation.
25
- */
26
- this.currentTime = 0;
27
- /**
28
- * The time at which the animation was paused.
29
- */
30
- this.holdTime = null;
31
- /**
32
- * Playback speed as a factor. 0 would be stopped, -1 reverse and 2 double speed.
33
- */
34
- this.playbackSpeed = 1;
35
- /**
36
- * Reusable state object for the delay phase to avoid
37
- * allocating a new object every frame.
38
- */
39
- this.delayState = {
40
- done: false,
41
- value: undefined,
42
- };
43
- /**
44
- * This method is bound to the instance to fix a pattern where
45
- * animation.stop is returned as a reference from a useEffect.
46
- */
47
- this.stop = () => {
48
- const { motionValue } = this.options;
49
- if (motionValue && motionValue.updatedAt !== time.now()) {
50
- this.tick(time.now());
51
- }
52
- this.isStopped = true;
53
- if (this.state === "idle")
54
- return;
55
- this.teardown();
56
- this.options.onStop?.();
57
- };
58
- this.options = options;
59
- this.initAnimation();
60
- this.play();
61
- if (options.autoplay === false)
62
- this.pause();
63
- }
64
- initAnimation() {
65
- const { options } = this;
66
- replaceTransitionType(options);
67
- const { type = keyframes, repeat = 0, repeatDelay = 0, repeatType, velocity = 0, } = options;
68
- let { keyframes: keyframes$1 } = options;
69
- const generatorFactory = type || keyframes;
70
- if (process.env.NODE_ENV !== "production" &&
71
- generatorFactory !== keyframes) {
72
- invariant(keyframes$1.length <= 2, `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${keyframes$1}`, "spring-two-frames");
73
- }
74
- if (generatorFactory !== keyframes &&
75
- typeof keyframes$1[0] !== "number") {
76
- this.mixKeyframes = pipe(percentToProgress, mix(keyframes$1[0], keyframes$1[1]));
77
- keyframes$1 = [0, 100];
78
- }
79
- const generator = generatorFactory({ ...options, keyframes: keyframes$1 });
80
- /**
81
- * If we have a mirror repeat type we need to create a second generator that outputs the
82
- * mirrored (not reversed) animation and later ping pong between the two generators.
83
- */
84
- if (repeatType === "mirror") {
85
- this.mirroredGenerator = generatorFactory({
86
- ...options,
87
- keyframes: [...keyframes$1].reverse(),
88
- velocity: -velocity,
89
- });
90
- }
91
- /**
92
- * If duration is undefined and we have repeat options,
93
- * we need to calculate a duration from the generator.
94
- *
95
- * We set it to the generator itself to cache the duration.
96
- * Any timeline resolver will need to have already precalculated
97
- * the duration by this step.
98
- */
99
- if (generator.calculatedDuration === null) {
100
- generator.calculatedDuration = calcGeneratorDuration(generator);
101
- }
102
- const { calculatedDuration } = generator;
103
- this.calculatedDuration = calculatedDuration;
104
- this.resolvedDuration = calculatedDuration + repeatDelay;
105
- this.totalDuration = this.resolvedDuration * (repeat + 1) - repeatDelay;
106
- this.generator = generator;
107
- }
108
- updateTime(timestamp) {
109
- const animationTime = Math.round(timestamp - this.startTime) * this.playbackSpeed;
110
- // Update currentTime
111
- if (this.holdTime !== null) {
112
- this.currentTime = this.holdTime;
113
- }
114
- else {
115
- // Rounding the time because floating point arithmetic is not always accurate, e.g. 3000.367 - 1000.367 =
116
- // 2000.0000000000002. This is a problem when we are comparing the currentTime with the duration, for
117
- // example.
118
- this.currentTime = animationTime;
119
- }
120
- }
121
- tick(timestamp, sample = false) {
122
- const { generator, totalDuration, mixKeyframes, mirroredGenerator, resolvedDuration, calculatedDuration, } = this;
123
- if (this.startTime === null)
124
- return generator.next(0);
125
- const { delay = 0, keyframes, repeat, repeatType, repeatDelay, type, onUpdate, finalKeyframe, } = this.options;
126
- /**
127
- * requestAnimationFrame timestamps can come through as lower than
128
- * the startTime as set by performance.now(). Here we prevent this,
129
- * though in the future it could be possible to make setting startTime
130
- * a pending operation that gets resolved here.
131
- */
132
- if (this.speed > 0) {
133
- this.startTime = Math.min(this.startTime, timestamp);
134
- }
135
- else if (this.speed < 0) {
136
- this.startTime = Math.min(timestamp - totalDuration / this.speed, this.startTime);
137
- }
138
- if (sample) {
139
- this.currentTime = timestamp;
140
- }
141
- else {
142
- this.updateTime(timestamp);
143
- }
144
- // Rebase on delay
145
- const timeWithoutDelay = this.currentTime - delay * (this.playbackSpeed >= 0 ? 1 : -1);
146
- const isInDelayPhase = this.playbackSpeed >= 0
147
- ? timeWithoutDelay < 0
148
- : timeWithoutDelay > totalDuration;
149
- this.currentTime = Math.max(timeWithoutDelay, 0);
150
- // If this animation has finished, set the current time to the total duration.
151
- if (this.state === "finished" && this.holdTime === null) {
152
- this.currentTime = totalDuration;
153
- }
154
- let elapsed = this.currentTime;
155
- let frameGenerator = generator;
156
- if (repeat) {
157
- /**
158
- * Get the current progress (0-1) of the animation. If t is >
159
- * than duration we'll get values like 2.5 (midway through the
160
- * third iteration)
161
- */
162
- const progress = Math.min(this.currentTime, totalDuration) / resolvedDuration;
163
- /**
164
- * Get the current iteration (0 indexed). For instance the floor of
165
- * 2.5 is 2.
166
- */
167
- let currentIteration = Math.floor(progress);
168
- /**
169
- * Get the current progress of the iteration by taking the remainder
170
- * so 2.5 is 0.5 through iteration 2
171
- */
172
- let iterationProgress = progress % 1.0;
173
- /**
174
- * If iteration progress is 1 we count that as the end
175
- * of the previous iteration.
176
- */
177
- if (!iterationProgress && progress >= 1) {
178
- iterationProgress = 1;
179
- }
180
- iterationProgress === 1 && currentIteration--;
181
- currentIteration = Math.min(currentIteration, repeat + 1);
182
- /**
183
- * Reverse progress if we're not running in "normal" direction
184
- */
185
- const isOddIteration = Boolean(currentIteration % 2);
186
- if (isOddIteration) {
187
- if (repeatType === "reverse") {
188
- iterationProgress = 1 - iterationProgress;
189
- if (repeatDelay) {
190
- iterationProgress -= repeatDelay / resolvedDuration;
191
- }
192
- }
193
- else if (repeatType === "mirror") {
194
- frameGenerator = mirroredGenerator;
195
- }
196
- }
197
- elapsed = clamp(0, 1, iterationProgress) * resolvedDuration;
198
- }
199
- /**
200
- * If we're in negative time, set state as the initial keyframe.
201
- * This prevents delay: x, duration: 0 animations from finishing
202
- * instantly.
203
- */
204
- let state;
205
- if (isInDelayPhase) {
206
- this.delayState.value = keyframes[0];
207
- state = this.delayState;
208
- }
209
- else {
210
- state = frameGenerator.next(elapsed);
211
- }
212
- if (mixKeyframes && !isInDelayPhase) {
213
- state.value = mixKeyframes(state.value);
214
- }
215
- let { done } = state;
216
- if (!isInDelayPhase && calculatedDuration !== null) {
217
- done =
218
- this.playbackSpeed >= 0
219
- ? this.currentTime >= totalDuration
220
- : this.currentTime <= 0;
221
- }
222
- const isAnimationFinished = this.holdTime === null &&
223
- (this.state === "finished" || (this.state === "running" && done));
224
- // TODO: The exception for inertia could be cleaner here
225
- if (isAnimationFinished && type !== inertia) {
226
- state.value = getFinalKeyframe(keyframes, this.options, finalKeyframe, this.speed);
227
- }
228
- if (onUpdate) {
229
- onUpdate(state.value);
230
- }
231
- if (isAnimationFinished) {
232
- this.finish();
233
- }
234
- return state;
235
- }
236
- /**
237
- * Allows the returned animation to be awaited or promise-chained. Currently
238
- * resolves when the animation finishes at all but in a future update could/should
239
- * reject if its cancels.
240
- */
241
- then(resolve, reject) {
242
- return this.finished.then(resolve, reject);
243
- }
244
- get duration() {
245
- return millisecondsToSeconds(this.calculatedDuration);
246
- }
247
- get iterationDuration() {
248
- const { delay = 0 } = this.options || {};
249
- return this.duration + millisecondsToSeconds(delay);
250
- }
251
- get time() {
252
- return millisecondsToSeconds(this.currentTime);
253
- }
254
- set time(newTime) {
255
- newTime = secondsToMilliseconds(newTime);
256
- this.currentTime = newTime;
257
- if (this.startTime === null ||
258
- this.holdTime !== null ||
259
- this.playbackSpeed === 0) {
260
- this.holdTime = newTime;
261
- }
262
- else if (this.driver) {
263
- this.startTime = this.driver.now() - newTime / this.playbackSpeed;
264
- }
265
- if (this.driver) {
266
- this.driver.start(false);
267
- }
268
- else {
269
- this.startTime = 0;
270
- this.state = "paused";
271
- this.holdTime = newTime;
272
- this.tick(newTime);
273
- }
274
- }
275
- /**
276
- * Returns the generator's velocity at the current time in units/second.
277
- * Uses the analytical derivative when available (springs), avoiding
278
- * the MotionValue's frame-dependent velocity estimation.
279
- */
280
- getGeneratorVelocity() {
281
- const t = this.currentTime;
282
- if (t <= 0)
283
- return this.options.velocity || 0;
284
- if (this.generator.velocity) {
285
- return this.generator.velocity(t);
286
- }
287
- // Fallback: finite difference
288
- const current = this.generator.next(t).value;
289
- return getGeneratorVelocity((s) => this.generator.next(s).value, t, current);
290
- }
291
- get speed() {
292
- return this.playbackSpeed;
293
- }
294
- set speed(newSpeed) {
295
- const hasChanged = this.playbackSpeed !== newSpeed;
296
- if (hasChanged && this.driver) {
297
- this.updateTime(time.now());
298
- }
299
- this.playbackSpeed = newSpeed;
300
- if (hasChanged && this.driver) {
301
- this.time = millisecondsToSeconds(this.currentTime);
302
- }
303
- }
304
- play() {
305
- if (this.isStopped)
306
- return;
307
- const { driver = frameloopDriver, startTime } = this.options;
308
- if (!this.driver) {
309
- this.driver = driver((timestamp) => this.tick(timestamp));
310
- }
311
- this.options.onPlay?.();
312
- const now = this.driver.now();
313
- if (this.state === "finished") {
314
- this.updateFinished();
315
- this.startTime = now;
316
- }
317
- else if (this.holdTime !== null) {
318
- this.startTime = now - this.holdTime;
319
- }
320
- else if (!this.startTime) {
321
- this.startTime = startTime ?? now;
322
- }
323
- if (this.state === "finished" && this.speed < 0) {
324
- this.startTime += this.calculatedDuration;
325
- }
326
- this.holdTime = null;
327
- /**
328
- * Set playState to running only after we've used it in
329
- * the previous logic.
330
- */
331
- this.state = "running";
332
- this.driver.start();
333
- }
334
- pause() {
335
- this.state = "paused";
336
- this.updateTime(time.now());
337
- this.holdTime = this.currentTime;
338
- }
339
- complete() {
340
- if (this.state !== "running") {
341
- this.play();
342
- }
343
- this.state = "finished";
344
- this.holdTime = null;
345
- }
346
- finish() {
347
- this.notifyFinished();
348
- this.teardown();
349
- this.state = "finished";
350
- this.options.onComplete?.();
351
- }
352
- cancel() {
353
- this.holdTime = null;
354
- this.startTime = 0;
355
- this.tick(0);
356
- this.teardown();
357
- this.options.onCancel?.();
358
- }
359
- teardown() {
360
- this.state = "idle";
361
- this.stopDriver();
362
- this.startTime = this.holdTime = null;
363
- }
364
- stopDriver() {
365
- if (!this.driver)
366
- return;
367
- this.driver.stop();
368
- this.driver = undefined;
369
- }
370
- sample(sampleTime) {
371
- this.startTime = 0;
372
- return this.tick(sampleTime, true);
373
- }
374
- attachTimeline(timeline) {
375
- if (this.options.allowFlatten) {
376
- this.options.type = "keyframes";
377
- this.options.ease = "linear";
378
- this.initAnimation();
379
- }
380
- this.driver?.stop();
381
- return timeline.observe(this);
382
- }
383
- }
384
-
385
- export { JSAnimation };
386
- //# sourceMappingURL=JSAnimation.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"JSAnimation.js","sources":["../../../../../../node_modules/motion-dom/dist/es/animation/JSAnimation.mjs"],"sourcesContent":["import { invariant, pipe, clamp, millisecondsToSeconds, secondsToMilliseconds } from 'motion-utils';\nimport { time } from '../frameloop/sync-time.mjs';\nimport { mix } from '../utils/mix/index.mjs';\nimport { frameloopDriver } from './drivers/frame.mjs';\nimport { inertia } from './generators/inertia.mjs';\nimport { keyframes } from './generators/keyframes.mjs';\nimport { calcGeneratorDuration } from './generators/utils/calc-duration.mjs';\nimport { getGeneratorVelocity } from './generators/utils/velocity.mjs';\nimport { getFinalKeyframe } from './keyframes/get-final.mjs';\nimport { replaceTransitionType } from './utils/replace-transition-type.mjs';\nimport { WithPromise } from './utils/WithPromise.mjs';\n\nconst percentToProgress = (percent) => percent / 100;\nclass JSAnimation extends WithPromise {\n constructor(options) {\n super();\n this.state = \"idle\";\n this.startTime = null;\n this.isStopped = false;\n /**\n * The current time of the animation.\n */\n this.currentTime = 0;\n /**\n * The time at which the animation was paused.\n */\n this.holdTime = null;\n /**\n * Playback speed as a factor. 0 would be stopped, -1 reverse and 2 double speed.\n */\n this.playbackSpeed = 1;\n /**\n * Reusable state object for the delay phase to avoid\n * allocating a new object every frame.\n */\n this.delayState = {\n done: false,\n value: undefined,\n };\n /**\n * This method is bound to the instance to fix a pattern where\n * animation.stop is returned as a reference from a useEffect.\n */\n this.stop = () => {\n const { motionValue } = this.options;\n if (motionValue && motionValue.updatedAt !== time.now()) {\n this.tick(time.now());\n }\n this.isStopped = true;\n if (this.state === \"idle\")\n return;\n this.teardown();\n this.options.onStop?.();\n };\n this.options = options;\n this.initAnimation();\n this.play();\n if (options.autoplay === false)\n this.pause();\n }\n initAnimation() {\n const { options } = this;\n replaceTransitionType(options);\n const { type = keyframes, repeat = 0, repeatDelay = 0, repeatType, velocity = 0, } = options;\n let { keyframes: keyframes$1 } = options;\n const generatorFactory = type || keyframes;\n if (process.env.NODE_ENV !== \"production\" &&\n generatorFactory !== keyframes) {\n invariant(keyframes$1.length <= 2, `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${keyframes$1}`, \"spring-two-frames\");\n }\n if (generatorFactory !== keyframes &&\n typeof keyframes$1[0] !== \"number\") {\n this.mixKeyframes = pipe(percentToProgress, mix(keyframes$1[0], keyframes$1[1]));\n keyframes$1 = [0, 100];\n }\n const generator = generatorFactory({ ...options, keyframes: keyframes$1 });\n /**\n * If we have a mirror repeat type we need to create a second generator that outputs the\n * mirrored (not reversed) animation and later ping pong between the two generators.\n */\n if (repeatType === \"mirror\") {\n this.mirroredGenerator = generatorFactory({\n ...options,\n keyframes: [...keyframes$1].reverse(),\n velocity: -velocity,\n });\n }\n /**\n * If duration is undefined and we have repeat options,\n * we need to calculate a duration from the generator.\n *\n * We set it to the generator itself to cache the duration.\n * Any timeline resolver will need to have already precalculated\n * the duration by this step.\n */\n if (generator.calculatedDuration === null) {\n generator.calculatedDuration = calcGeneratorDuration(generator);\n }\n const { calculatedDuration } = generator;\n this.calculatedDuration = calculatedDuration;\n this.resolvedDuration = calculatedDuration + repeatDelay;\n this.totalDuration = this.resolvedDuration * (repeat + 1) - repeatDelay;\n this.generator = generator;\n }\n updateTime(timestamp) {\n const animationTime = Math.round(timestamp - this.startTime) * this.playbackSpeed;\n // Update currentTime\n if (this.holdTime !== null) {\n this.currentTime = this.holdTime;\n }\n else {\n // Rounding the time because floating point arithmetic is not always accurate, e.g. 3000.367 - 1000.367 =\n // 2000.0000000000002. This is a problem when we are comparing the currentTime with the duration, for\n // example.\n this.currentTime = animationTime;\n }\n }\n tick(timestamp, sample = false) {\n const { generator, totalDuration, mixKeyframes, mirroredGenerator, resolvedDuration, calculatedDuration, } = this;\n if (this.startTime === null)\n return generator.next(0);\n const { delay = 0, keyframes, repeat, repeatType, repeatDelay, type, onUpdate, finalKeyframe, } = this.options;\n /**\n * requestAnimationFrame timestamps can come through as lower than\n * the startTime as set by performance.now(). Here we prevent this,\n * though in the future it could be possible to make setting startTime\n * a pending operation that gets resolved here.\n */\n if (this.speed > 0) {\n this.startTime = Math.min(this.startTime, timestamp);\n }\n else if (this.speed < 0) {\n this.startTime = Math.min(timestamp - totalDuration / this.speed, this.startTime);\n }\n if (sample) {\n this.currentTime = timestamp;\n }\n else {\n this.updateTime(timestamp);\n }\n // Rebase on delay\n const timeWithoutDelay = this.currentTime - delay * (this.playbackSpeed >= 0 ? 1 : -1);\n const isInDelayPhase = this.playbackSpeed >= 0\n ? timeWithoutDelay < 0\n : timeWithoutDelay > totalDuration;\n this.currentTime = Math.max(timeWithoutDelay, 0);\n // If this animation has finished, set the current time to the total duration.\n if (this.state === \"finished\" && this.holdTime === null) {\n this.currentTime = totalDuration;\n }\n let elapsed = this.currentTime;\n let frameGenerator = generator;\n if (repeat) {\n /**\n * Get the current progress (0-1) of the animation. If t is >\n * than duration we'll get values like 2.5 (midway through the\n * third iteration)\n */\n const progress = Math.min(this.currentTime, totalDuration) / resolvedDuration;\n /**\n * Get the current iteration (0 indexed). For instance the floor of\n * 2.5 is 2.\n */\n let currentIteration = Math.floor(progress);\n /**\n * Get the current progress of the iteration by taking the remainder\n * so 2.5 is 0.5 through iteration 2\n */\n let iterationProgress = progress % 1.0;\n /**\n * If iteration progress is 1 we count that as the end\n * of the previous iteration.\n */\n if (!iterationProgress && progress >= 1) {\n iterationProgress = 1;\n }\n iterationProgress === 1 && currentIteration--;\n currentIteration = Math.min(currentIteration, repeat + 1);\n /**\n * Reverse progress if we're not running in \"normal\" direction\n */\n const isOddIteration = Boolean(currentIteration % 2);\n if (isOddIteration) {\n if (repeatType === \"reverse\") {\n iterationProgress = 1 - iterationProgress;\n if (repeatDelay) {\n iterationProgress -= repeatDelay / resolvedDuration;\n }\n }\n else if (repeatType === \"mirror\") {\n frameGenerator = mirroredGenerator;\n }\n }\n elapsed = clamp(0, 1, iterationProgress) * resolvedDuration;\n }\n /**\n * If we're in negative time, set state as the initial keyframe.\n * This prevents delay: x, duration: 0 animations from finishing\n * instantly.\n */\n let state;\n if (isInDelayPhase) {\n this.delayState.value = keyframes[0];\n state = this.delayState;\n }\n else {\n state = frameGenerator.next(elapsed);\n }\n if (mixKeyframes && !isInDelayPhase) {\n state.value = mixKeyframes(state.value);\n }\n let { done } = state;\n if (!isInDelayPhase && calculatedDuration !== null) {\n done =\n this.playbackSpeed >= 0\n ? this.currentTime >= totalDuration\n : this.currentTime <= 0;\n }\n const isAnimationFinished = this.holdTime === null &&\n (this.state === \"finished\" || (this.state === \"running\" && done));\n // TODO: The exception for inertia could be cleaner here\n if (isAnimationFinished && type !== inertia) {\n state.value = getFinalKeyframe(keyframes, this.options, finalKeyframe, this.speed);\n }\n if (onUpdate) {\n onUpdate(state.value);\n }\n if (isAnimationFinished) {\n this.finish();\n }\n return state;\n }\n /**\n * Allows the returned animation to be awaited or promise-chained. Currently\n * resolves when the animation finishes at all but in a future update could/should\n * reject if its cancels.\n */\n then(resolve, reject) {\n return this.finished.then(resolve, reject);\n }\n get duration() {\n return millisecondsToSeconds(this.calculatedDuration);\n }\n get iterationDuration() {\n const { delay = 0 } = this.options || {};\n return this.duration + millisecondsToSeconds(delay);\n }\n get time() {\n return millisecondsToSeconds(this.currentTime);\n }\n set time(newTime) {\n newTime = secondsToMilliseconds(newTime);\n this.currentTime = newTime;\n if (this.startTime === null ||\n this.holdTime !== null ||\n this.playbackSpeed === 0) {\n this.holdTime = newTime;\n }\n else if (this.driver) {\n this.startTime = this.driver.now() - newTime / this.playbackSpeed;\n }\n if (this.driver) {\n this.driver.start(false);\n }\n else {\n this.startTime = 0;\n this.state = \"paused\";\n this.holdTime = newTime;\n this.tick(newTime);\n }\n }\n /**\n * Returns the generator's velocity at the current time in units/second.\n * Uses the analytical derivative when available (springs), avoiding\n * the MotionValue's frame-dependent velocity estimation.\n */\n getGeneratorVelocity() {\n const t = this.currentTime;\n if (t <= 0)\n return this.options.velocity || 0;\n if (this.generator.velocity) {\n return this.generator.velocity(t);\n }\n // Fallback: finite difference\n const current = this.generator.next(t).value;\n return getGeneratorVelocity((s) => this.generator.next(s).value, t, current);\n }\n get speed() {\n return this.playbackSpeed;\n }\n set speed(newSpeed) {\n const hasChanged = this.playbackSpeed !== newSpeed;\n if (hasChanged && this.driver) {\n this.updateTime(time.now());\n }\n this.playbackSpeed = newSpeed;\n if (hasChanged && this.driver) {\n this.time = millisecondsToSeconds(this.currentTime);\n }\n }\n play() {\n if (this.isStopped)\n return;\n const { driver = frameloopDriver, startTime } = this.options;\n if (!this.driver) {\n this.driver = driver((timestamp) => this.tick(timestamp));\n }\n this.options.onPlay?.();\n const now = this.driver.now();\n if (this.state === \"finished\") {\n this.updateFinished();\n this.startTime = now;\n }\n else if (this.holdTime !== null) {\n this.startTime = now - this.holdTime;\n }\n else if (!this.startTime) {\n this.startTime = startTime ?? now;\n }\n if (this.state === \"finished\" && this.speed < 0) {\n this.startTime += this.calculatedDuration;\n }\n this.holdTime = null;\n /**\n * Set playState to running only after we've used it in\n * the previous logic.\n */\n this.state = \"running\";\n this.driver.start();\n }\n pause() {\n this.state = \"paused\";\n this.updateTime(time.now());\n this.holdTime = this.currentTime;\n }\n complete() {\n if (this.state !== \"running\") {\n this.play();\n }\n this.state = \"finished\";\n this.holdTime = null;\n }\n finish() {\n this.notifyFinished();\n this.teardown();\n this.state = \"finished\";\n this.options.onComplete?.();\n }\n cancel() {\n this.holdTime = null;\n this.startTime = 0;\n this.tick(0);\n this.teardown();\n this.options.onCancel?.();\n }\n teardown() {\n this.state = \"idle\";\n this.stopDriver();\n this.startTime = this.holdTime = null;\n }\n stopDriver() {\n if (!this.driver)\n return;\n this.driver.stop();\n this.driver = undefined;\n }\n sample(sampleTime) {\n this.startTime = 0;\n return this.tick(sampleTime, true);\n }\n attachTimeline(timeline) {\n if (this.options.allowFlatten) {\n this.options.type = \"keyframes\";\n this.options.ease = \"linear\";\n this.initAnimation();\n }\n this.driver?.stop();\n return timeline.observe(this);\n }\n}\n// Legacy function support\nfunction animateValue(options) {\n return new JSAnimation(options);\n}\n\nexport { JSAnimation, animateValue };\n//# sourceMappingURL=JSAnimation.mjs.map\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAYA,MAAM,iBAAiB,GAAG,CAAC,OAAO,KAAK,OAAO,GAAG,GAAG;AACpD,MAAM,WAAW,SAAS,WAAW,CAAC;AACtC,IAAI,WAAW,CAAC,OAAO,EAAE;AACzB,QAAQ,KAAK,EAAE;AACf,QAAQ,IAAI,CAAC,KAAK,GAAG,MAAM;AAC3B,QAAQ,IAAI,CAAC,SAAS,GAAG,IAAI;AAC7B,QAAQ,IAAI,CAAC,SAAS,GAAG,KAAK;AAC9B;AACA;AACA;AACA,QAAQ,IAAI,CAAC,WAAW,GAAG,CAAC;AAC5B;AACA;AACA;AACA,QAAQ,IAAI,CAAC,QAAQ,GAAG,IAAI;AAC5B;AACA;AACA;AACA,QAAQ,IAAI,CAAC,aAAa,GAAG,CAAC;AAC9B;AACA;AACA;AACA;AACA,QAAQ,IAAI,CAAC,UAAU,GAAG;AAC1B,YAAY,IAAI,EAAE,KAAK;AACvB,YAAY,KAAK,EAAE,SAAS;AAC5B,SAAS;AACT;AACA;AACA;AACA;AACA,QAAQ,IAAI,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google_ignoreList":[0]}
@@ -1,181 +0,0 @@
1
- import { setStyle } from '../render/dom/style-set.js';
2
- import { supportsScrollTimeline } from '../utils/supports/scroll-timeline.js';
3
- import { getFinalKeyframe } from './keyframes/get-final.js';
4
- import { WithPromise } from './utils/WithPromise.js';
5
- import { startWaapiAnimation } from './waapi/start-waapi-animation.js';
6
- import { applyGeneratorOptions } from './waapi/utils/apply-generator.js';
7
- import { invariant } from '../../../../motion-utils/dist/es/errors.js';
8
- import { millisecondsToSeconds, secondsToMilliseconds } from '../../../../motion-utils/dist/es/time-conversion.js';
9
- import { noop } from '../../../../motion-utils/dist/es/noop.js';
10
-
11
- /**
12
- * NativeAnimation implements AnimationPlaybackControls for the browser's Web Animations API.
13
- */
14
- class NativeAnimation extends WithPromise {
15
- constructor(options) {
16
- super();
17
- this.finishedTime = null;
18
- this.isStopped = false;
19
- /**
20
- * Tracks a manually-set start time that takes precedence over WAAPI's
21
- * dynamic startTime. This is cleared when play() or time setter is called,
22
- * allowing WAAPI to take over timing.
23
- */
24
- this.manualStartTime = null;
25
- if (!options)
26
- return;
27
- const { element, name, keyframes, pseudoElement, allowFlatten = false, finalKeyframe, onComplete, } = options;
28
- this.isPseudoElement = Boolean(pseudoElement);
29
- this.allowFlatten = allowFlatten;
30
- this.options = options;
31
- invariant(typeof options.type !== "string", `Mini animate() doesn't support "type" as a string.`, "mini-spring");
32
- const transition = applyGeneratorOptions(options);
33
- this.animation = startWaapiAnimation(element, name, keyframes, transition, pseudoElement);
34
- if (transition.autoplay === false) {
35
- this.animation.pause();
36
- }
37
- this.animation.onfinish = () => {
38
- this.finishedTime = this.time;
39
- if (!pseudoElement) {
40
- const keyframe = getFinalKeyframe(keyframes, this.options, finalKeyframe, this.speed);
41
- if (this.updateMotionValue) {
42
- this.updateMotionValue(keyframe);
43
- }
44
- /**
45
- * If we can, we want to commit the final style as set by the user,
46
- * rather than the computed keyframe value supplied by the animation.
47
- * We always do this, even when a motion value is present, to prevent
48
- * a visual flash in Firefox where the WAAPI animation's fill is removed
49
- * during cancel() before the scheduled render can apply the correct value.
50
- */
51
- setStyle(element, name, keyframe);
52
- this.animation.cancel();
53
- }
54
- onComplete?.();
55
- this.notifyFinished();
56
- };
57
- }
58
- play() {
59
- if (this.isStopped)
60
- return;
61
- this.manualStartTime = null;
62
- this.animation.play();
63
- if (this.state === "finished") {
64
- this.updateFinished();
65
- }
66
- }
67
- pause() {
68
- this.animation.pause();
69
- }
70
- complete() {
71
- this.animation.finish?.();
72
- }
73
- cancel() {
74
- try {
75
- this.animation.cancel();
76
- }
77
- catch (e) { }
78
- }
79
- stop() {
80
- if (this.isStopped)
81
- return;
82
- this.isStopped = true;
83
- const { state } = this;
84
- if (state === "idle" || state === "finished") {
85
- return;
86
- }
87
- if (this.updateMotionValue) {
88
- this.updateMotionValue();
89
- }
90
- else {
91
- this.commitStyles();
92
- }
93
- if (!this.isPseudoElement)
94
- this.cancel();
95
- }
96
- /**
97
- * WAAPI doesn't natively have any interruption capabilities.
98
- *
99
- * In this method, we commit styles back to the DOM before cancelling
100
- * the animation.
101
- *
102
- * This is designed to be overridden by NativeAnimationExtended, which
103
- * will create a renderless JS animation and sample it twice to calculate
104
- * its current value, "previous" value, and therefore allow
105
- * Motion to also correctly calculate velocity for any subsequent animation
106
- * while deferring the commit until the next animation frame.
107
- */
108
- commitStyles() {
109
- const element = this.options?.element;
110
- if (!this.isPseudoElement && element?.isConnected) {
111
- this.animation.commitStyles?.();
112
- }
113
- }
114
- get duration() {
115
- const duration = this.animation.effect?.getComputedTiming?.().duration || 0;
116
- return millisecondsToSeconds(Number(duration));
117
- }
118
- get iterationDuration() {
119
- const { delay = 0 } = this.options || {};
120
- return this.duration + millisecondsToSeconds(delay);
121
- }
122
- get time() {
123
- return millisecondsToSeconds(Number(this.animation.currentTime) || 0);
124
- }
125
- set time(newTime) {
126
- const wasFinished = this.finishedTime !== null;
127
- this.manualStartTime = null;
128
- this.finishedTime = null;
129
- this.animation.currentTime = secondsToMilliseconds(newTime);
130
- if (wasFinished) {
131
- this.animation.pause();
132
- }
133
- }
134
- /**
135
- * The playback speed of the animation.
136
- * 1 = normal speed, 2 = double speed, 0.5 = half speed.
137
- */
138
- get speed() {
139
- return this.animation.playbackRate;
140
- }
141
- set speed(newSpeed) {
142
- // Allow backwards playback after finishing
143
- if (newSpeed < 0)
144
- this.finishedTime = null;
145
- this.animation.playbackRate = newSpeed;
146
- }
147
- get state() {
148
- return this.finishedTime !== null
149
- ? "finished"
150
- : this.animation.playState;
151
- }
152
- get startTime() {
153
- return this.manualStartTime ?? Number(this.animation.startTime);
154
- }
155
- set startTime(newStartTime) {
156
- this.manualStartTime = this.animation.startTime = newStartTime;
157
- }
158
- /**
159
- * Attaches a timeline to the animation, for instance the `ScrollTimeline`.
160
- */
161
- attachTimeline({ timeline, rangeStart, rangeEnd, observe, }) {
162
- if (this.allowFlatten) {
163
- this.animation.effect?.updateTiming({ easing: "linear" });
164
- }
165
- this.animation.onfinish = null;
166
- if (timeline && supportsScrollTimeline()) {
167
- this.animation.timeline = timeline;
168
- if (rangeStart)
169
- this.animation.rangeStart = rangeStart;
170
- if (rangeEnd)
171
- this.animation.rangeEnd = rangeEnd;
172
- return noop;
173
- }
174
- else {
175
- return observe(this);
176
- }
177
- }
178
- }
179
-
180
- export { NativeAnimation };
181
- //# sourceMappingURL=NativeAnimation.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NativeAnimation.js","sources":["../../../../../../node_modules/motion-dom/dist/es/animation/NativeAnimation.mjs"],"sourcesContent":["import { invariant, millisecondsToSeconds, secondsToMilliseconds, noop } from 'motion-utils';\nimport { setStyle } from '../render/dom/style-set.mjs';\nimport { supportsScrollTimeline } from '../utils/supports/scroll-timeline.mjs';\nimport { getFinalKeyframe } from './keyframes/get-final.mjs';\nimport { WithPromise } from './utils/WithPromise.mjs';\nimport { startWaapiAnimation } from './waapi/start-waapi-animation.mjs';\nimport { applyGeneratorOptions } from './waapi/utils/apply-generator.mjs';\n\n/**\n * NativeAnimation implements AnimationPlaybackControls for the browser's Web Animations API.\n */\nclass NativeAnimation extends WithPromise {\n constructor(options) {\n super();\n this.finishedTime = null;\n this.isStopped = false;\n /**\n * Tracks a manually-set start time that takes precedence over WAAPI's\n * dynamic startTime. This is cleared when play() or time setter is called,\n * allowing WAAPI to take over timing.\n */\n this.manualStartTime = null;\n if (!options)\n return;\n const { element, name, keyframes, pseudoElement, allowFlatten = false, finalKeyframe, onComplete, } = options;\n this.isPseudoElement = Boolean(pseudoElement);\n this.allowFlatten = allowFlatten;\n this.options = options;\n invariant(typeof options.type !== \"string\", `Mini animate() doesn't support \"type\" as a string.`, \"mini-spring\");\n const transition = applyGeneratorOptions(options);\n this.animation = startWaapiAnimation(element, name, keyframes, transition, pseudoElement);\n if (transition.autoplay === false) {\n this.animation.pause();\n }\n this.animation.onfinish = () => {\n this.finishedTime = this.time;\n if (!pseudoElement) {\n const keyframe = getFinalKeyframe(keyframes, this.options, finalKeyframe, this.speed);\n if (this.updateMotionValue) {\n this.updateMotionValue(keyframe);\n }\n /**\n * If we can, we want to commit the final style as set by the user,\n * rather than the computed keyframe value supplied by the animation.\n * We always do this, even when a motion value is present, to prevent\n * a visual flash in Firefox where the WAAPI animation's fill is removed\n * during cancel() before the scheduled render can apply the correct value.\n */\n setStyle(element, name, keyframe);\n this.animation.cancel();\n }\n onComplete?.();\n this.notifyFinished();\n };\n }\n play() {\n if (this.isStopped)\n return;\n this.manualStartTime = null;\n this.animation.play();\n if (this.state === \"finished\") {\n this.updateFinished();\n }\n }\n pause() {\n this.animation.pause();\n }\n complete() {\n this.animation.finish?.();\n }\n cancel() {\n try {\n this.animation.cancel();\n }\n catch (e) { }\n }\n stop() {\n if (this.isStopped)\n return;\n this.isStopped = true;\n const { state } = this;\n if (state === \"idle\" || state === \"finished\") {\n return;\n }\n if (this.updateMotionValue) {\n this.updateMotionValue();\n }\n else {\n this.commitStyles();\n }\n if (!this.isPseudoElement)\n this.cancel();\n }\n /**\n * WAAPI doesn't natively have any interruption capabilities.\n *\n * In this method, we commit styles back to the DOM before cancelling\n * the animation.\n *\n * This is designed to be overridden by NativeAnimationExtended, which\n * will create a renderless JS animation and sample it twice to calculate\n * its current value, \"previous\" value, and therefore allow\n * Motion to also correctly calculate velocity for any subsequent animation\n * while deferring the commit until the next animation frame.\n */\n commitStyles() {\n const element = this.options?.element;\n if (!this.isPseudoElement && element?.isConnected) {\n this.animation.commitStyles?.();\n }\n }\n get duration() {\n const duration = this.animation.effect?.getComputedTiming?.().duration || 0;\n return millisecondsToSeconds(Number(duration));\n }\n get iterationDuration() {\n const { delay = 0 } = this.options || {};\n return this.duration + millisecondsToSeconds(delay);\n }\n get time() {\n return millisecondsToSeconds(Number(this.animation.currentTime) || 0);\n }\n set time(newTime) {\n const wasFinished = this.finishedTime !== null;\n this.manualStartTime = null;\n this.finishedTime = null;\n this.animation.currentTime = secondsToMilliseconds(newTime);\n if (wasFinished) {\n this.animation.pause();\n }\n }\n /**\n * The playback speed of the animation.\n * 1 = normal speed, 2 = double speed, 0.5 = half speed.\n */\n get speed() {\n return this.animation.playbackRate;\n }\n set speed(newSpeed) {\n // Allow backwards playback after finishing\n if (newSpeed < 0)\n this.finishedTime = null;\n this.animation.playbackRate = newSpeed;\n }\n get state() {\n return this.finishedTime !== null\n ? \"finished\"\n : this.animation.playState;\n }\n get startTime() {\n return this.manualStartTime ?? Number(this.animation.startTime);\n }\n set startTime(newStartTime) {\n this.manualStartTime = this.animation.startTime = newStartTime;\n }\n /**\n * Attaches a timeline to the animation, for instance the `ScrollTimeline`.\n */\n attachTimeline({ timeline, rangeStart, rangeEnd, observe, }) {\n if (this.allowFlatten) {\n this.animation.effect?.updateTiming({ easing: \"linear\" });\n }\n this.animation.onfinish = null;\n if (timeline && supportsScrollTimeline()) {\n this.animation.timeline = timeline;\n if (rangeStart)\n this.animation.rangeStart = rangeStart;\n if (rangeEnd)\n this.animation.rangeEnd = rangeEnd;\n return noop;\n }\n else {\n return observe(this);\n }\n }\n}\n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