@betterinternship/components 3.0.0 → 3.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (573) hide show
  1. package/dist/components/animated-count.js +2 -3
  2. package/dist/components/animated-count.js.map +1 -1
  3. package/dist/components/app-header.js +1 -0
  4. package/dist/components/app-header.js.map +1 -1
  5. package/dist/components/calendar.js +1 -0
  6. package/dist/components/calendar.js.map +1 -1
  7. package/dist/components/checkbox.js +1 -0
  8. package/dist/components/checkbox.js.map +1 -1
  9. package/dist/components/dropdown.d.ts +0 -8
  10. package/dist/components/filter-chip.js +1 -0
  11. package/dist/components/filter-chip.js.map +1 -1
  12. package/dist/components/form-checkbox-group.js +1 -0
  13. package/dist/components/form-checkbox-group.js.map +1 -1
  14. package/dist/components/form-checkbox.js +1 -0
  15. package/dist/components/form-checkbox.js.map +1 -1
  16. package/dist/components/form-date-picker.js +1 -0
  17. package/dist/components/form-date-picker.js.map +1 -1
  18. package/dist/components/form-input.js +1 -0
  19. package/dist/components/form-input.js.map +1 -1
  20. package/dist/components/form-month-picker.js +1 -0
  21. package/dist/components/form-month-picker.js.map +1 -1
  22. package/dist/components/form-textarea.js +1 -0
  23. package/dist/components/form-textarea.js.map +1 -1
  24. package/dist/components/input.js +1 -0
  25. package/dist/components/input.js.map +1 -1
  26. package/dist/components/select.js +1 -0
  27. package/dist/components/select.js.map +1 -1
  28. package/dist/components/tabs.js +40 -0
  29. package/dist/components/tabs.js.map +1 -0
  30. package/dist/components/textarea.js +1 -0
  31. package/dist/components/textarea.js.map +1 -1
  32. package/dist/components/time-input-native.js +1 -0
  33. package/dist/components/time-input-native.js.map +1 -1
  34. package/dist/hooks/use-field-focus.js +1 -0
  35. package/dist/hooks/use-field-focus.js.map +1 -1
  36. package/dist/hooks/use-mobile.js +1 -0
  37. package/dist/hooks/use-mobile.js.map +1 -1
  38. package/dist/index.d.ts +1 -0
  39. package/dist/index.js +1 -0
  40. package/dist/index.js.map +1 -1
  41. package/package.json +8 -2
  42. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +0 -118
  43. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js.map +0 -1
  44. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +0 -77
  45. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js.map +0 -1
  46. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +0 -190
  47. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js.map +0 -1
  48. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +0 -46
  49. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js.map +0 -1
  50. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +0 -15
  51. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js.map +0 -1
  52. package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +0 -7
  53. package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js.map +0 -1
  54. package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +0 -7
  55. package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js.map +0 -1
  56. package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +0 -14
  57. package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js.map +0 -1
  58. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +0 -15
  59. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js.map +0 -1
  60. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +0 -7
  61. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js.map +0 -1
  62. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +0 -18
  63. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js.map +0 -1
  64. package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +0 -11
  65. package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js.map +0 -1
  66. package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +0 -10
  67. package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js.map +0 -1
  68. package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +0 -9
  69. package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js.map +0 -1
  70. package/dist/node_modules/framer-motion/dist/es/events/event-info.js +0 -14
  71. package/dist/node_modules/framer-motion/dist/es/events/event-info.js.map +0 -1
  72. package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +0 -586
  73. package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js.map +0 -1
  74. package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +0 -51
  75. package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js.map +0 -1
  76. package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +0 -130
  77. package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js.map +0 -1
  78. package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +0 -42
  79. package/dist/node_modules/framer-motion/dist/es/gestures/focus.js.map +0 -1
  80. package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +0 -31
  81. package/dist/node_modules/framer-motion/dist/es/gestures/hover.js.map +0 -1
  82. package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +0 -285
  83. package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js.map +0 -1
  84. package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +0 -51
  85. package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js.map +0 -1
  86. package/dist/node_modules/framer-motion/dist/es/gestures/press.js +0 -38
  87. package/dist/node_modules/framer-motion/dist/es/gestures/press.js.map +0 -1
  88. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +0 -71
  89. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js.map +0 -1
  90. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +0 -41
  91. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js.map +0 -1
  92. package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +0 -14
  93. package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js.map +0 -1
  94. package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +0 -49
  95. package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js.map +0 -1
  96. package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +0 -18
  97. package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js.map +0 -1
  98. package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +0 -22
  99. package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js.map +0 -1
  100. package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +0 -138
  101. package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js.map +0 -1
  102. package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +0 -12
  103. package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js.map +0 -1
  104. package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +0 -16
  105. package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js.map +0 -1
  106. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +0 -77
  107. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js.map +0 -1
  108. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +0 -50
  109. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js.map +0 -1
  110. package/dist/node_modules/framer-motion/dist/es/motion/index.js +0 -113
  111. package/dist/node_modules/framer-motion/dist/es/motion/index.js.map +0 -1
  112. package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +0 -4
  113. package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js.map +0 -1
  114. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +0 -52
  115. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js.map +0 -1
  116. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +0 -166
  117. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js.map +0 -1
  118. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +0 -81
  119. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js.map +0 -1
  120. package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +0 -59
  121. package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js.map +0 -1
  122. package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +0 -46
  123. package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js.map +0 -1
  124. package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js +0 -14
  125. package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js.map +0 -1
  126. package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +0 -8
  127. package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js.map +0 -1
  128. package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +0 -19
  129. package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js.map +0 -1
  130. package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +0 -28
  131. package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js.map +0 -1
  132. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +0 -37
  133. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js.map +0 -1
  134. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +0 -31
  135. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js.map +0 -1
  136. package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js +0 -12
  137. package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js.map +0 -1
  138. package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +0 -59
  139. package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js.map +0 -1
  140. package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +0 -9
  141. package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js.map +0 -1
  142. package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +0 -34
  143. package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js.map +0 -1
  144. package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +0 -26
  145. package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js.map +0 -1
  146. package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js +0 -12
  147. package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js.map +0 -1
  148. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +0 -9
  149. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js.map +0 -1
  150. package/dist/node_modules/framer-motion/dist/es/utils/distance.js +0 -10
  151. package/dist/node_modules/framer-motion/dist/es/utils/distance.js.map +0 -1
  152. package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +0 -7
  153. package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js.map +0 -1
  154. package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +0 -4
  155. package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js.map +0 -1
  156. package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +0 -8
  157. package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js.map +0 -1
  158. package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.js +0 -49
  159. package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.js.map +0 -1
  160. package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js +0 -61
  161. package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js.map +0 -1
  162. package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +0 -20
  163. package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js.map +0 -1
  164. package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +0 -8
  165. package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js.map +0 -1
  166. package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +0 -200
  167. package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js.map +0 -1
  168. package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js +0 -386
  169. package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js.map +0 -1
  170. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +0 -181
  171. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js.map +0 -1
  172. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +0 -88
  173. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js.map +0 -1
  174. package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js +0 -12
  175. package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js.map +0 -1
  176. package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js +0 -18
  177. package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js.map +0 -1
  178. package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js +0 -88
  179. package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js.map +0 -1
  180. package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js +0 -52
  181. package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js.map +0 -1
  182. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js +0 -331
  183. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js.map +0 -1
  184. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +0 -18
  185. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js.map +0 -1
  186. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js +0 -20
  187. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js.map +0 -1
  188. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +0 -6
  189. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js.map +0 -1
  190. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js +0 -10
  191. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js.map +0 -1
  192. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js +0 -106
  193. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js.map +0 -1
  194. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js +0 -109
  195. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js.map +0 -1
  196. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js +0 -60
  197. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js.map +0 -1
  198. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js +0 -27
  199. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js.map +0 -1
  200. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +0 -142
  201. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js.map +0 -1
  202. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js +0 -148
  203. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js.map +0 -1
  204. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js +0 -12
  205. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js.map +0 -1
  206. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js +0 -10
  207. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js.map +0 -1
  208. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js +0 -13
  209. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js.map +0 -1
  210. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js +0 -6
  211. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js.map +0 -1
  212. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js +0 -8
  213. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js.map +0 -1
  214. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js +0 -16
  215. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js.map +0 -1
  216. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js +0 -31
  217. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js.map +0 -1
  218. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js +0 -47
  219. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js.map +0 -1
  220. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js +0 -7
  221. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js.map +0 -1
  222. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js +0 -8
  223. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js.map +0 -1
  224. package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js +0 -27
  225. package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js.map +0 -1
  226. package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js +0 -16
  227. package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js.map +0 -1
  228. package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js +0 -44
  229. package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js.map +0 -1
  230. package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js +0 -43
  231. package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js.map +0 -1
  232. package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js +0 -41
  233. package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js.map +0 -1
  234. package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +0 -14
  235. package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js.map +0 -1
  236. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js +0 -31
  237. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js.map +0 -1
  238. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js +0 -27
  239. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js.map +0 -1
  240. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js +0 -27
  241. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js.map +0 -1
  242. package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js +0 -7
  243. package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js.map +0 -1
  244. package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js +0 -19
  245. package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js.map +0 -1
  246. package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js +0 -15
  247. package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js.map +0 -1
  248. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js +0 -4
  249. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js.map +0 -1
  250. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js +0 -29
  251. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js.map +0 -1
  252. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js +0 -16
  253. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js.map +0 -1
  254. package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js +0 -29
  255. package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js.map +0 -1
  256. package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js +0 -55
  257. package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js.map +0 -1
  258. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js +0 -13
  259. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js.map +0 -1
  260. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js +0 -16
  261. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js.map +0 -1
  262. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js +0 -13
  263. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js.map +0 -1
  264. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +0 -13
  265. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js.map +0 -1
  266. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js +0 -21
  267. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js.map +0 -1
  268. package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js +0 -7
  269. package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js.map +0 -1
  270. package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +0 -73
  271. package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js.map +0 -1
  272. package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js +0 -7
  273. package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js.map +0 -1
  274. package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js +0 -7
  275. package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js.map +0 -1
  276. package/dist/node_modules/motion-dom/dist/es/frameloop/order.js +0 -13
  277. package/dist/node_modules/motion-dom/dist/es/frameloop/order.js.map +0 -1
  278. package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +0 -84
  279. package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js.map +0 -1
  280. package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +0 -32
  281. package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js.map +0 -1
  282. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +0 -10
  283. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js.map +0 -1
  284. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +0 -29
  285. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js.map +0 -1
  286. package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +0 -70
  287. package/dist/node_modules/motion-dom/dist/es/gestures/hover.js.map +0 -1
  288. package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +0 -97
  289. package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js.map +0 -1
  290. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +0 -34
  291. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js.map +0 -1
  292. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +0 -39
  293. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js.map +0 -1
  294. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +0 -4
  295. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js.map +0 -1
  296. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +0 -21
  297. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js.map +0 -1
  298. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +0 -19
  299. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js.map +0 -1
  300. package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +0 -16
  301. package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js.map +0 -1
  302. package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js +0 -69
  303. package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js.map +0 -1
  304. package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js +0 -34
  305. package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js.map +0 -1
  306. package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js +0 -32
  307. package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js.map +0 -1
  308. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js +0 -125
  309. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js.map +0 -1
  310. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js +0 -59
  311. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js.map +0 -1
  312. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js +0 -55
  313. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js.map +0 -1
  314. package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js +0 -18
  315. package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js.map +0 -1
  316. package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js +0 -32
  317. package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js.map +0 -1
  318. package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js +0 -14
  319. package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js.map +0 -1
  320. package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js +0 -28
  321. package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js.map +0 -1
  322. package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js +0 -1660
  323. package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js.map +0 -1
  324. package/dist/node_modules/motion-dom/dist/es/projection/node/state.js +0 -20
  325. package/dist/node_modules/motion-dom/dist/es/projection/node/state.js.map +0 -1
  326. package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js +0 -85
  327. package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js.map +0 -1
  328. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js +0 -42
  329. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js.map +0 -1
  330. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js +0 -36
  331. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js.map +0 -1
  332. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js +0 -18
  333. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js.map +0 -1
  334. package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js +0 -53
  335. package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js.map +0 -1
  336. package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js +0 -4
  337. package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js.map +0 -1
  338. package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js +0 -6
  339. package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js.map +0 -1
  340. package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js +0 -25
  341. package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js.map +0 -1
  342. package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js +0 -27
  343. package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js.map +0 -1
  344. package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js +0 -18
  345. package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js.map +0 -1
  346. package/dist/node_modules/motion-dom/dist/es/render/Feature.js +0 -15
  347. package/dist/node_modules/motion-dom/dist/es/render/Feature.js.map +0 -1
  348. package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js +0 -564
  349. package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js.map +0 -1
  350. package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js +0 -43
  351. package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js.map +0 -1
  352. package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js +0 -4
  353. package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js.map +0 -1
  354. package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js +0 -84
  355. package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js.map +0 -1
  356. package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js +0 -10
  357. package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js.map +0 -1
  358. package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js +0 -6
  359. package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js.map +0 -1
  360. package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js +0 -55
  361. package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js.map +0 -1
  362. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js +0 -66
  363. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js.map +0 -1
  364. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js +0 -72
  365. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js.map +0 -1
  366. package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js +0 -18
  367. package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js.map +0 -1
  368. package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js +0 -22
  369. package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js.map +0 -1
  370. package/dist/node_modules/motion-dom/dist/es/render/store.js +0 -4
  371. package/dist/node_modules/motion-dom/dist/es/render/store.js.map +0 -1
  372. package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js +0 -52
  373. package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js.map +0 -1
  374. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js +0 -64
  375. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js.map +0 -1
  376. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js +0 -31
  377. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js.map +0 -1
  378. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js +0 -4
  379. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js.map +0 -1
  380. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js +0 -32
  381. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js.map +0 -1
  382. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js +0 -13
  383. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js.map +0 -1
  384. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js +0 -20
  385. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js.map +0 -1
  386. package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js +0 -387
  387. package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js.map +0 -1
  388. package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js +0 -33
  389. package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js.map +0 -1
  390. package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js +0 -8
  391. package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js.map +0 -1
  392. package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js +0 -14
  393. package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js.map +0 -1
  394. package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js +0 -12
  395. package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js.map +0 -1
  396. package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js +0 -6
  397. package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js.map +0 -1
  398. package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js +0 -9
  399. package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js.map +0 -1
  400. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js +0 -14
  401. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js.map +0 -1
  402. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js +0 -36
  403. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js.map +0 -1
  404. package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js +0 -56
  405. package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js.map +0 -1
  406. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js +0 -20
  407. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js.map +0 -1
  408. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js +0 -6
  409. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js.map +0 -1
  410. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js +0 -9
  411. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js.map +0 -1
  412. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js +0 -37
  413. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js.map +0 -1
  414. package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js +0 -32
  415. package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js.map +0 -1
  416. package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js +0 -15
  417. package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js.map +0 -1
  418. package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js +0 -13
  419. package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js.map +0 -1
  420. package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js +0 -64
  421. package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js.map +0 -1
  422. package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js +0 -32
  423. package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js.map +0 -1
  424. package/dist/node_modules/motion-dom/dist/es/resize/index.js +0 -9
  425. package/dist/node_modules/motion-dom/dist/es/resize/index.js.map +0 -1
  426. package/dist/node_modules/motion-dom/dist/es/utils/border-radius.js +0 -15
  427. package/dist/node_modules/motion-dom/dist/es/utils/border-radius.js.map +0 -1
  428. package/dist/node_modules/motion-dom/dist/es/utils/delay.js +0 -21
  429. package/dist/node_modules/motion-dom/dist/es/utils/delay.js.map +0 -1
  430. package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js +0 -80
  431. package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js.map +0 -1
  432. package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js +0 -14
  433. package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js.map +0 -1
  434. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js +0 -12
  435. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js.map +0 -1
  436. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js +0 -12
  437. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js.map +0 -1
  438. package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js +0 -48
  439. package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js.map +0 -1
  440. package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js +0 -94
  441. package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js.map +0 -1
  442. package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js +0 -6
  443. package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js.map +0 -1
  444. package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js +0 -15
  445. package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js.map +0 -1
  446. package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js +0 -27
  447. package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js.map +0 -1
  448. package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js +0 -17
  449. package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js.map +0 -1
  450. package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +0 -18
  451. package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js.map +0 -1
  452. package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +0 -8
  453. package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js.map +0 -1
  454. package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +0 -16
  455. package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js.map +0 -1
  456. package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +0 -10
  457. package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js.map +0 -1
  458. package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +0 -6
  459. package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js.map +0 -1
  460. package/dist/node_modules/motion-dom/dist/es/value/index.js +0 -320
  461. package/dist/node_modules/motion-dom/dist/es/value/index.js.map +0 -1
  462. package/dist/node_modules/motion-dom/dist/es/value/types/auto.js +0 -10
  463. package/dist/node_modules/motion-dom/dist/es/value/types/auto.js.map +0 -1
  464. package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js +0 -41
  465. package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js.map +0 -1
  466. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js +0 -43
  467. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js.map +0 -1
  468. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js +0 -23
  469. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js.map +0 -1
  470. package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js +0 -33
  471. package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js.map +0 -1
  472. package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js +0 -26
  473. package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js.map +0 -1
  474. package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js +0 -30
  475. package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js.map +0 -1
  476. package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js +0 -31
  477. package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js.map +0 -1
  478. package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js +0 -114
  479. package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js.map +0 -1
  480. package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js +0 -13
  481. package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js.map +0 -1
  482. package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js +0 -16
  483. package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js.map +0 -1
  484. package/dist/node_modules/motion-dom/dist/es/value/types/int.js +0 -9
  485. package/dist/node_modules/motion-dom/dist/es/value/types/int.js.map +0 -1
  486. package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js +0 -34
  487. package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js.map +0 -1
  488. package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js +0 -71
  489. package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js.map +0 -1
  490. package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js +0 -38
  491. package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js.map +0 -1
  492. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js +0 -18
  493. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js.map +0 -1
  494. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js +0 -19
  495. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js.map +0 -1
  496. package/dist/node_modules/motion-dom/dist/es/value/types/test.js +0 -7
  497. package/dist/node_modules/motion-dom/dist/es/value/types/test.js.map +0 -1
  498. package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js +0 -18
  499. package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js.map +0 -1
  500. package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js +0 -4
  501. package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js.map +0 -1
  502. package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js +0 -16
  503. package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js.map +0 -1
  504. package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js +0 -4
  505. package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js.map +0 -1
  506. package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js +0 -11
  507. package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js.map +0 -1
  508. package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js +0 -6
  509. package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js.map +0 -1
  510. package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js +0 -6
  511. package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js.map +0 -1
  512. package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js +0 -4
  513. package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js.map +0 -1
  514. package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js +0 -4
  515. package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js.map +0 -1
  516. package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js +0 -11
  517. package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js.map +0 -1
  518. package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js +0 -21
  519. package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js.map +0 -1
  520. package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js +0 -8
  521. package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js.map +0 -1
  522. package/dist/node_modules/motion-utils/dist/es/array.js +0 -12
  523. package/dist/node_modules/motion-utils/dist/es/array.js.map +0 -1
  524. package/dist/node_modules/motion-utils/dist/es/clamp.js +0 -10
  525. package/dist/node_modules/motion-utils/dist/es/clamp.js.map +0 -1
  526. package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js +0 -10
  527. package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js.map +0 -1
  528. package/dist/node_modules/motion-utils/dist/es/easing/back.js +0 -10
  529. package/dist/node_modules/motion-utils/dist/es/easing/back.js.map +0 -1
  530. package/dist/node_modules/motion-utils/dist/es/easing/circ.js +0 -9
  531. package/dist/node_modules/motion-utils/dist/es/easing/circ.js.map +0 -1
  532. package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js +0 -53
  533. package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js.map +0 -1
  534. package/dist/node_modules/motion-utils/dist/es/easing/ease.js +0 -8
  535. package/dist/node_modules/motion-utils/dist/es/easing/ease.js.map +0 -1
  536. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js +0 -7
  537. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js.map +0 -1
  538. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js +0 -7
  539. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js.map +0 -1
  540. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js +0 -5
  541. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js.map +0 -1
  542. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js +0 -7
  543. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js.map +0 -1
  544. package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js +0 -42
  545. package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js.map +0 -1
  546. package/dist/node_modules/motion-utils/dist/es/errors.js +0 -20
  547. package/dist/node_modules/motion-utils/dist/es/errors.js.map +0 -1
  548. package/dist/node_modules/motion-utils/dist/es/format-error-message.js +0 -8
  549. package/dist/node_modules/motion-utils/dist/es/format-error-message.js.map +0 -1
  550. package/dist/node_modules/motion-utils/dist/es/global-config.js +0 -4
  551. package/dist/node_modules/motion-utils/dist/es/global-config.js.map +0 -1
  552. package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js +0 -7
  553. package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js.map +0 -1
  554. package/dist/node_modules/motion-utils/dist/es/is-object.js +0 -4
  555. package/dist/node_modules/motion-utils/dist/es/is-object.js.map +0 -1
  556. package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js +0 -7
  557. package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js.map +0 -1
  558. package/dist/node_modules/motion-utils/dist/es/memo.js +0 -12
  559. package/dist/node_modules/motion-utils/dist/es/memo.js.map +0 -1
  560. package/dist/node_modules/motion-utils/dist/es/noop.js +0 -5
  561. package/dist/node_modules/motion-utils/dist/es/noop.js.map +0 -1
  562. package/dist/node_modules/motion-utils/dist/es/pipe.js +0 -11
  563. package/dist/node_modules/motion-utils/dist/es/pipe.js.map +0 -1
  564. package/dist/node_modules/motion-utils/dist/es/progress.js +0 -15
  565. package/dist/node_modules/motion-utils/dist/es/progress.js.map +0 -1
  566. package/dist/node_modules/motion-utils/dist/es/subscription-manager.js +0 -41
  567. package/dist/node_modules/motion-utils/dist/es/subscription-manager.js.map +0 -1
  568. package/dist/node_modules/motion-utils/dist/es/time-conversion.js +0 -13
  569. package/dist/node_modules/motion-utils/dist/es/time-conversion.js.map +0 -1
  570. package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +0 -8
  571. package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js.map +0 -1
  572. package/dist/node_modules/motion-utils/dist/es/warn-once.js +0 -12
  573. package/dist/node_modules/motion-utils/dist/es/warn-once.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"spring.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/animation/generators/spring.mjs"],"sourcesContent":["import { millisecondsToSeconds, clamp, secondsToMilliseconds, warning } from 'motion-utils';\nimport { generateLinearEasing } from '../waapi/utils/linear.mjs';\nimport { calcGeneratorDuration, maxGeneratorDuration } from './utils/calc-duration.mjs';\nimport { createGeneratorEasing } from './utils/create-generator-easing.mjs';\n\nconst springDefaults = {\n // Default spring physics\n stiffness: 100,\n damping: 10,\n mass: 1.0,\n velocity: 0.0,\n // Default duration/bounce-based options\n duration: 800, // in ms\n bounce: 0.3,\n visualDuration: 0.3, // in seconds\n // Rest thresholds\n restSpeed: {\n granular: 0.01,\n default: 2,\n },\n restDelta: {\n granular: 0.005,\n default: 0.5,\n },\n // Limits\n minDuration: 0.01, // in seconds\n maxDuration: 10.0, // in seconds\n minDamping: 0.05,\n maxDamping: 1,\n};\nfunction calcAngularFreq(undampedFreq, dampingRatio) {\n return undampedFreq * Math.sqrt(1 - dampingRatio * dampingRatio);\n}\nconst rootIterations = 12;\nfunction approximateRoot(envelope, derivative, initialGuess) {\n let result = initialGuess;\n for (let i = 1; i < rootIterations; i++) {\n result = result - envelope(result) / derivative(result);\n }\n return result;\n}\n/**\n * This is ported from the Framer implementation of duration-based spring resolution.\n */\nconst safeMin = 0.001;\nfunction findSpring({ duration = springDefaults.duration, bounce = springDefaults.bounce, velocity = springDefaults.velocity, mass = springDefaults.mass, }) {\n let envelope;\n let derivative;\n warning(duration <= secondsToMilliseconds(springDefaults.maxDuration), \"Spring duration must be 10 seconds or less\", \"spring-duration-limit\");\n let dampingRatio = 1 - bounce;\n /**\n * Restrict dampingRatio and duration to within acceptable ranges.\n */\n dampingRatio = clamp(springDefaults.minDamping, springDefaults.maxDamping, dampingRatio);\n duration = clamp(springDefaults.minDuration, springDefaults.maxDuration, millisecondsToSeconds(duration));\n if (dampingRatio < 1) {\n /**\n * Underdamped spring\n */\n envelope = (undampedFreq) => {\n const exponentialDecay = undampedFreq * dampingRatio;\n const delta = exponentialDecay * duration;\n const a = exponentialDecay - velocity;\n const b = calcAngularFreq(undampedFreq, dampingRatio);\n const c = Math.exp(-delta);\n return safeMin - (a / b) * c;\n };\n derivative = (undampedFreq) => {\n const exponentialDecay = undampedFreq * dampingRatio;\n const delta = exponentialDecay * duration;\n const d = delta * velocity + velocity;\n const e = Math.pow(dampingRatio, 2) * Math.pow(undampedFreq, 2) * duration;\n const f = Math.exp(-delta);\n const g = calcAngularFreq(Math.pow(undampedFreq, 2), dampingRatio);\n const factor = -envelope(undampedFreq) + safeMin > 0 ? -1 : 1;\n return (factor * ((d - e) * f)) / g;\n };\n }\n else {\n /**\n * Critically-damped spring\n */\n envelope = (undampedFreq) => {\n const a = Math.exp(-undampedFreq * duration);\n const b = (undampedFreq - velocity) * duration + 1;\n return -safeMin + a * b;\n };\n derivative = (undampedFreq) => {\n const a = Math.exp(-undampedFreq * duration);\n const b = (velocity - undampedFreq) * (duration * duration);\n return a * b;\n };\n }\n const initialGuess = 5 / duration;\n const undampedFreq = approximateRoot(envelope, derivative, initialGuess);\n duration = secondsToMilliseconds(duration);\n if (isNaN(undampedFreq)) {\n return {\n stiffness: springDefaults.stiffness,\n damping: springDefaults.damping,\n duration,\n };\n }\n else {\n const stiffness = Math.pow(undampedFreq, 2) * mass;\n return {\n stiffness,\n damping: dampingRatio * 2 * Math.sqrt(mass * stiffness),\n duration,\n };\n }\n}\nconst durationKeys = [\"duration\", \"bounce\"];\nconst physicsKeys = [\"stiffness\", \"damping\", \"mass\"];\nfunction isSpringType(options, keys) {\n return keys.some((key) => options[key] !== undefined);\n}\nfunction getSpringOptions(options) {\n let springOptions = {\n velocity: springDefaults.velocity,\n stiffness: springDefaults.stiffness,\n damping: springDefaults.damping,\n mass: springDefaults.mass,\n isResolvedFromDuration: false,\n ...options,\n };\n // stiffness/damping/mass overrides duration/bounce\n if (!isSpringType(options, physicsKeys) &&\n isSpringType(options, durationKeys)) {\n // Time-defined springs should ignore inherited velocity.\n // Velocity from interrupted animations can cause findSpring()\n // to compute wildly different spring parameters, leading to\n // massive oscillation on small-range animations.\n springOptions.velocity = 0;\n if (options.visualDuration) {\n const visualDuration = options.visualDuration;\n const root = (2 * Math.PI) / (visualDuration * 1.2);\n const stiffness = root * root;\n const damping = 2 *\n clamp(0.05, 1, 1 - (options.bounce || 0)) *\n Math.sqrt(stiffness);\n springOptions = {\n ...springOptions,\n mass: springDefaults.mass,\n stiffness,\n damping,\n };\n }\n else {\n const derived = findSpring({ ...options, velocity: 0 });\n springOptions = {\n ...springOptions,\n ...derived,\n mass: springDefaults.mass,\n };\n springOptions.isResolvedFromDuration = true;\n }\n }\n return springOptions;\n}\nfunction spring(optionsOrVisualDuration = springDefaults.visualDuration, bounce = springDefaults.bounce) {\n const options = typeof optionsOrVisualDuration !== \"object\"\n ? {\n visualDuration: optionsOrVisualDuration,\n keyframes: [0, 1],\n bounce,\n }\n : optionsOrVisualDuration;\n let { restSpeed, restDelta } = options;\n const origin = options.keyframes[0];\n const target = options.keyframes[options.keyframes.length - 1];\n /**\n * This is the Iterator-spec return value. We ensure it's mutable rather than using a generator\n * to reduce GC during animation.\n */\n const state = { done: false, value: origin };\n const { stiffness, damping, mass, duration, velocity, isResolvedFromDuration, } = getSpringOptions({\n ...options,\n velocity: -millisecondsToSeconds(options.velocity || 0),\n });\n const initialVelocity = velocity || 0.0;\n const dampingRatio = damping / (2 * Math.sqrt(stiffness * mass));\n const initialDelta = target - origin;\n const undampedAngularFreq = millisecondsToSeconds(Math.sqrt(stiffness / mass));\n /**\n * If we're working on a granular scale, use smaller defaults for determining\n * when the spring is finished.\n *\n * These defaults have been selected emprically based on what strikes a good\n * ratio between feeling good and finishing as soon as changes are imperceptible.\n */\n const isGranularScale = Math.abs(initialDelta) < 5;\n restSpeed || (restSpeed = isGranularScale\n ? springDefaults.restSpeed.granular\n : springDefaults.restSpeed.default);\n restDelta || (restDelta = isGranularScale\n ? springDefaults.restDelta.granular\n : springDefaults.restDelta.default);\n let resolveSpring;\n let resolveVelocity;\n // Underdamped coefficients, hoisted for use in the inlined next() hot path\n let angularFreq;\n let A;\n let sinCoeff;\n let cosCoeff;\n if (dampingRatio < 1) {\n angularFreq = calcAngularFreq(undampedAngularFreq, dampingRatio);\n A =\n (initialVelocity +\n dampingRatio * undampedAngularFreq * initialDelta) /\n angularFreq;\n // Underdamped spring\n resolveSpring = (t) => {\n const envelope = Math.exp(-dampingRatio * undampedAngularFreq * t);\n return (target -\n envelope *\n (A * Math.sin(angularFreq * t) +\n initialDelta * Math.cos(angularFreq * t)));\n };\n // Analytical derivative of underdamped spring (px/ms)\n sinCoeff =\n dampingRatio * undampedAngularFreq * A + initialDelta * angularFreq;\n cosCoeff =\n dampingRatio * undampedAngularFreq * initialDelta - A * angularFreq;\n resolveVelocity = (t) => {\n const envelope = Math.exp(-dampingRatio * undampedAngularFreq * t);\n return envelope *\n (sinCoeff * Math.sin(angularFreq * t) +\n cosCoeff * Math.cos(angularFreq * t));\n };\n }\n else if (dampingRatio === 1) {\n // Critically damped spring\n resolveSpring = (t) => target -\n Math.exp(-undampedAngularFreq * t) *\n (initialDelta +\n (initialVelocity + undampedAngularFreq * initialDelta) * t);\n // Analytical derivative of critically damped spring (px/ms)\n const C = initialVelocity + undampedAngularFreq * initialDelta;\n resolveVelocity = (t) => Math.exp(-undampedAngularFreq * t) *\n (undampedAngularFreq * C * t - initialVelocity);\n }\n else {\n // Overdamped spring\n const dampedAngularFreq = undampedAngularFreq * Math.sqrt(dampingRatio * dampingRatio - 1);\n resolveSpring = (t) => {\n const envelope = Math.exp(-dampingRatio * undampedAngularFreq * t);\n // When performing sinh or cosh values can hit Infinity so we cap them here\n const freqForT = Math.min(dampedAngularFreq * t, 300);\n return (target -\n (envelope *\n ((initialVelocity +\n dampingRatio * undampedAngularFreq * initialDelta) *\n Math.sinh(freqForT) +\n dampedAngularFreq *\n initialDelta *\n Math.cosh(freqForT))) /\n dampedAngularFreq);\n };\n // Analytical derivative of overdamped spring (px/ms)\n const P = (initialVelocity +\n dampingRatio * undampedAngularFreq * initialDelta) /\n dampedAngularFreq;\n const sinhCoeff = dampingRatio * undampedAngularFreq * P - initialDelta * dampedAngularFreq;\n const coshCoeff = dampingRatio * undampedAngularFreq * initialDelta - P * dampedAngularFreq;\n resolveVelocity = (t) => {\n const envelope = Math.exp(-dampingRatio * undampedAngularFreq * t);\n const freqForT = Math.min(dampedAngularFreq * t, 300);\n return envelope *\n (sinhCoeff * Math.sinh(freqForT) +\n coshCoeff * Math.cosh(freqForT));\n };\n }\n const generator = {\n calculatedDuration: isResolvedFromDuration ? duration || null : null,\n velocity: (t) => secondsToMilliseconds(resolveVelocity(t)),\n next: (t) => {\n /**\n * For underdamped physics springs we need both position and\n * velocity each tick. Compute shared trig values once to avoid\n * duplicate Math.exp/sin/cos calls on the hot path.\n */\n if (!isResolvedFromDuration && dampingRatio < 1) {\n const envelope = Math.exp(-dampingRatio * undampedAngularFreq * t);\n const sin = Math.sin(angularFreq * t);\n const cos = Math.cos(angularFreq * t);\n const current = target -\n envelope *\n (A * sin + initialDelta * cos);\n const currentVelocity = secondsToMilliseconds(envelope *\n (sinCoeff * sin + cosCoeff * cos));\n state.done =\n Math.abs(currentVelocity) <= restSpeed &&\n Math.abs(target - current) <= restDelta;\n state.value = state.done ? target : current;\n return state;\n }\n const current = resolveSpring(t);\n if (!isResolvedFromDuration) {\n const currentVelocity = secondsToMilliseconds(resolveVelocity(t));\n state.done =\n Math.abs(currentVelocity) <= restSpeed &&\n Math.abs(target - current) <= restDelta;\n }\n else {\n state.done = t >= duration;\n }\n state.value = state.done ? target : current;\n return state;\n },\n toString: () => {\n const calculatedDuration = Math.min(calcGeneratorDuration(generator), maxGeneratorDuration);\n const easing = generateLinearEasing((progress) => generator.next(calculatedDuration * progress).value, calculatedDuration, 30);\n return calculatedDuration + \"ms \" + easing;\n },\n toTransition: () => { },\n };\n return generator;\n}\nspring.applyToOptions = (options) => {\n const generatorOptions = createGeneratorEasing(options, 100, spring);\n options.ease = generatorOptions.ease;\n options.duration = secondsToMilliseconds(generatorOptions.duration);\n options.type = \"keyframes\";\n return options;\n};\n\nexport { spring };\n//# sourceMappingURL=spring.mjs.map\n"],"names":[],"mappings":";;;;;;;AAKA,MAAM,cAAc,GAAG;AACvB;AACA,IAAI,SAAS,EAAE,GAAG;AAClB,IAAI,OAAO,EAAE,EAAE;AACf,IAAI,IAAI,EAAE,GAAG;AACb,IAAI,QAAQ,EAAE,GAAG;AACjB;AACA,IAAI,QAAQ,EAAE,GAAG;AACjB,IAAI,MAAM,EAAE,GAAG;AACf,IAAI,cAAc,EAAE,GAAG;AACvB;AACA,IAAI,SAAS,EAAE;AACf,QAAQ,QAAQ,EAAE,IAAI;AACtB,QAAQ,OAAO,EAAE,CAAC;AAClB,KAAK;AACL,IAAI,SAAS,EAAE;AACf,QAAQ,QAAQ,EAAE,KAAK;AACvB,QAAQ,OAAO,EAAE,GAAG;AACpB,KAAK;AACL;AACA,IAAI,WAAW,EAAE,IAAI;AACrB,IAA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AC/B,KAAK;AACL,IAAI,OAAO,SAAS;AACpB;AACA,MAAM,CAAC,cAAc,GAAG,CAAC,OAAO,KAAK;AACrC,IAAI,MAAM,gBAAgB,GAAG,qBAAqB,CAAC,OAAO,EAAE,GAAG,EAAE,MAAM,CAAC;AACxE,IAAI,OAAO,CAAC,IAAI,GAAG,gBAAgB,CAAC,IAAI;AACxC,IAAI,OAAO,CAAC,QAAQ,GAAG,qBAAqB,CAAC,gBAAgB,CAAC,QAAQ,CAAC;AACvE,IAAI,OAAO,CAAC,IAAI,GAAG,WAAW;AAC9B,IAAI,OAAO,OAAO;AAClB,CAAC;;;;","x_google_ignoreList":[0]}
@@ -1,18 +0,0 @@
1
- /**
2
- * Implement a practical max duration for keyframe generation
3
- * to prevent infinite loops
4
- */
5
- const maxGeneratorDuration = 20000;
6
- function calcGeneratorDuration(generator) {
7
- let duration = 0;
8
- const timeStep = 50;
9
- let state = generator.next(duration);
10
- while (!state.done && duration < maxGeneratorDuration) {
11
- duration += timeStep;
12
- state = generator.next(duration);
13
- }
14
- return duration >= maxGeneratorDuration ? Infinity : duration;
15
- }
16
-
17
- export { calcGeneratorDuration, maxGeneratorDuration };
18
- //# sourceMappingURL=calc-duration.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"calc-duration.js","sources":["../../../../../../../../node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.mjs"],"sourcesContent":["/**\n * Implement a practical max duration for keyframe generation\n * to prevent infinite loops\n */\nconst maxGeneratorDuration = 20000;\nfunction calcGeneratorDuration(generator) {\n let duration = 0;\n const timeStep = 50;\n let state = generator.next(duration);\n while (!state.done && duration < maxGeneratorDuration) {\n duration += timeStep;\n state = generator.next(duration);\n }\n return duration >= maxGeneratorDuration ? Infinity : duration;\n}\n\nexport { calcGeneratorDuration, maxGeneratorDuration };\n//# sourceMappingURL=calc-duration.mjs.map\n"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACK,MAAC,oBAAoB,GAAG;AAC7B,SAAS,qBAAqB,CAAC,SAAS,EAAE;AAC1C,IAAI,IAAI,QAAQ,GAAG,CAAC;AACpB,IAAI,MAAM,QAAQ,GAAG,EAAE;AACvB,IAAI,IAAI,KAAK,GAAG,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC;AACxC,IAAI,OAAO,CAAC,KAAK,CAAC,IAAI,IAAI,QAAQ,GAAG,oBAAoB,EAAE;AAC3D,QAAQ,QAAQ,IAAI,QAAQ;AAC5B,QAAQ,KAAK,GAAG,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC;AACxC,IAAI;AACJ,IAAI,OAAO,QAAQ,IAAI,oBAAoB,GAAG,QAAQ,GAAG,QAAQ;AACjE;;;;","x_google_ignoreList":[0]}
@@ -1,20 +0,0 @@
1
- import { calcGeneratorDuration, maxGeneratorDuration } from './calc-duration.js';
2
- import { millisecondsToSeconds } from '../../../../../../motion-utils/dist/es/time-conversion.js';
3
-
4
- /**
5
- * Create a progress => progress easing function from a generator.
6
- */
7
- function createGeneratorEasing(options, scale = 100, createGenerator) {
8
- const generator = createGenerator({ ...options, keyframes: [0, scale] });
9
- const duration = Math.min(calcGeneratorDuration(generator), maxGeneratorDuration);
10
- return {
11
- type: "keyframes",
12
- ease: (progress) => {
13
- return generator.next(duration * progress).value / scale;
14
- },
15
- duration: millisecondsToSeconds(duration),
16
- };
17
- }
18
-
19
- export { createGeneratorEasing };
20
- //# sourceMappingURL=create-generator-easing.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"create-generator-easing.js","sources":["../../../../../../../../node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs"],"sourcesContent":["import { millisecondsToSeconds } from 'motion-utils';\nimport { calcGeneratorDuration, maxGeneratorDuration } from './calc-duration.mjs';\n\n/**\n * Create a progress => progress easing function from a generator.\n */\nfunction createGeneratorEasing(options, scale = 100, createGenerator) {\n const generator = createGenerator({ ...options, keyframes: [0, scale] });\n const duration = Math.min(calcGeneratorDuration(generator), maxGeneratorDuration);\n return {\n type: \"keyframes\",\n ease: (progress) => {\n return generator.next(duration * progress).value / scale;\n },\n duration: millisecondsToSeconds(duration),\n };\n}\n\nexport { createGeneratorEasing };\n//# sourceMappingURL=create-generator-easing.mjs.map\n"],"names":[],"mappings":";;;AAGA;AACA;AACA;AACA,SAAS,qBAAqB,CAAC,OAAO,EAAE,KAAK,GAAG,GAAG,EAAE,eAAe,EAAE;AACtE,IAAI,MAAM,SAAS,GAAG,eAAe,CAAC,EAAE,GAAG,OAAO,EAAE,SAAS,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC;AAC5E,IAAI,MAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,qBAAqB,CAAC,SAAS,CAAC,EAAE,oBAAoB,CAAC;AACrF,IAAI,OAAO;AACX,QAAQ,IAAI,EAAE,WAAW;AACzB,QAAQ,IAAI,EAAE,CAAC,QAAQ,KAAK;AAC5B,YAAY,OAAO,SAAS,CAAC,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC,CAAC,KAAK,GAAG,KAAK;AACpE,QAAQ,CAAC;AACT,QAAQ,QAAQ,EAAE,qBAAqB,CAAC,QAAQ,CAAC;AACjD,KAAK;AACL;;;;","x_google_ignoreList":[0]}
@@ -1,6 +0,0 @@
1
- function isGenerator(type) {
2
- return typeof type === "function" && "applyToOptions" in type;
3
- }
4
-
5
- export { isGenerator };
6
- //# sourceMappingURL=is-generator.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"is-generator.js","sources":["../../../../../../../../node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.mjs"],"sourcesContent":["function isGenerator(type) {\n return typeof type === \"function\" && \"applyToOptions\" in type;\n}\n\nexport { isGenerator };\n//# sourceMappingURL=is-generator.mjs.map\n"],"names":[],"mappings":"AAAA,SAAS,WAAW,CAAC,IAAI,EAAE;AAC3B,IAAI,OAAO,OAAO,IAAI,KAAK,UAAU,IAAI,gBAAgB,IAAI,IAAI;AACjE;;;;","x_google_ignoreList":[0]}
@@ -1,10 +0,0 @@
1
- import { velocityPerSecond } from '../../../../../../motion-utils/dist/es/velocity-per-second.js';
2
-
3
- const velocitySampleDuration = 5; // ms
4
- function getGeneratorVelocity(resolveValue, t, current) {
5
- const prevT = Math.max(t - velocitySampleDuration, 0);
6
- return velocityPerSecond(current - resolveValue(prevT), t - prevT);
7
- }
8
-
9
- export { getGeneratorVelocity };
10
- //# sourceMappingURL=velocity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"velocity.js","sources":["../../../../../../../../node_modules/motion-dom/dist/es/animation/generators/utils/velocity.mjs"],"sourcesContent":["import { velocityPerSecond } from 'motion-utils';\n\nconst velocitySampleDuration = 5; // ms\nfunction getGeneratorVelocity(resolveValue, t, current) {\n const prevT = Math.max(t - velocitySampleDuration, 0);\n return velocityPerSecond(current - resolveValue(prevT), t - prevT);\n}\n\nexport { getGeneratorVelocity };\n//# sourceMappingURL=velocity.mjs.map\n"],"names":[],"mappings":";;AAEA,MAAM,sBAAsB,GAAG,CAAC,CAAC;AACjC,SAAS,oBAAoB,CAAC,YAAY,EAAE,CAAC,EAAE,OAAO,EAAE;AACxD,IAAI,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,sBAAsB,EAAE,CAAC,CAAC;AACzD,IAAI,OAAO,iBAAiB,CAAC,OAAO,GAAG,YAAY,CAAC,KAAK,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC;AACtE;;;;","x_google_ignoreList":[0]}
@@ -1,106 +0,0 @@
1
- import { AsyncMotionValueAnimation } from '../AsyncMotionValueAnimation.js';
2
- import { JSAnimation } from '../JSAnimation.js';
3
- import { getValueTransition } from '../utils/get-value-transition.js';
4
- import { makeAnimationInstant } from '../utils/make-animation-instant.js';
5
- import { getDefaultTransition } from '../utils/default-transitions.js';
6
- import { getFinalKeyframe } from '../keyframes/get-final.js';
7
- import { isTransitionDefined } from '../utils/is-transition-defined.js';
8
- import { frame } from '../../frameloop/frame.js';
9
- import { secondsToMilliseconds } from '../../../../../motion-utils/dist/es/time-conversion.js';
10
- import { MotionGlobalConfig } from '../../../../../motion-utils/dist/es/global-config.js';
11
-
12
- const animateMotionValue = (name, value, target, transition = {}, element, isHandoff) => (onComplete) => {
13
- const valueTransition = getValueTransition(transition, name) || {};
14
- /**
15
- * Most transition values are currently completely overwritten by value-specific
16
- * transitions. In the future it'd be nicer to blend these transitions. But for now
17
- * delay actually does inherit from the root transition if not value-specific.
18
- */
19
- const delay = valueTransition.delay || transition.delay || 0;
20
- /**
21
- * Elapsed isn't a public transition option but can be passed through from
22
- * optimized appear effects in milliseconds.
23
- */
24
- let { elapsed = 0 } = transition;
25
- elapsed = elapsed - secondsToMilliseconds(delay);
26
- const options = {
27
- keyframes: Array.isArray(target) ? target : [null, target],
28
- ease: "easeOut",
29
- velocity: value.getVelocity(),
30
- ...valueTransition,
31
- delay: -elapsed,
32
- onUpdate: (v) => {
33
- value.set(v);
34
- valueTransition.onUpdate && valueTransition.onUpdate(v);
35
- },
36
- onComplete: () => {
37
- onComplete();
38
- valueTransition.onComplete && valueTransition.onComplete();
39
- },
40
- name,
41
- motionValue: value,
42
- element: isHandoff ? undefined : element,
43
- };
44
- /**
45
- * If there's no transition defined for this value, we can generate
46
- * unique transition settings for this value.
47
- */
48
- if (!isTransitionDefined(valueTransition)) {
49
- Object.assign(options, getDefaultTransition(name, options));
50
- }
51
- /**
52
- * Both WAAPI and our internal animation functions use durations
53
- * as defined by milliseconds, while our external API defines them
54
- * as seconds.
55
- */
56
- options.duration && (options.duration = secondsToMilliseconds(options.duration));
57
- options.repeatDelay && (options.repeatDelay = secondsToMilliseconds(options.repeatDelay));
58
- /**
59
- * Support deprecated way to set initial value. Prefer keyframe syntax.
60
- */
61
- if (options.from !== undefined) {
62
- options.keyframes[0] = options.from;
63
- }
64
- let shouldSkip = false;
65
- if (options.type === false ||
66
- (options.duration === 0 && !options.repeatDelay)) {
67
- makeAnimationInstant(options);
68
- if (options.delay === 0) {
69
- shouldSkip = true;
70
- }
71
- }
72
- if (MotionGlobalConfig.instantAnimations ||
73
- MotionGlobalConfig.skipAnimations ||
74
- element?.shouldSkipAnimations ||
75
- valueTransition.skipAnimations) {
76
- shouldSkip = true;
77
- makeAnimationInstant(options);
78
- options.delay = 0;
79
- }
80
- /**
81
- * If the transition type or easing has been explicitly set by the user
82
- * then we don't want to allow flattening the animation.
83
- */
84
- options.allowFlatten = !valueTransition.type && !valueTransition.ease;
85
- /**
86
- * If we can or must skip creating the animation, and apply only
87
- * the final keyframe, do so. We also check once keyframes are resolved but
88
- * this early check prevents the need to create an animation at all.
89
- */
90
- if (shouldSkip && !isHandoff && value.get() !== undefined) {
91
- const finalKeyframe = getFinalKeyframe(options.keyframes, valueTransition);
92
- if (finalKeyframe !== undefined) {
93
- frame.update(() => {
94
- options.onUpdate(finalKeyframe);
95
- options.onComplete();
96
- });
97
- return;
98
- }
99
- }
100
- return valueTransition.isSync
101
- ? new JSAnimation(options)
102
- : new AsyncMotionValueAnimation(options);
103
- };
104
-
105
- export { animateMotionValue };
106
- //# sourceMappingURL=motion-value.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"motion-value.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/animation/interfaces/motion-value.mjs"],"sourcesContent":["import { secondsToMilliseconds, MotionGlobalConfig } from 'motion-utils';\nimport { AsyncMotionValueAnimation } from '../AsyncMotionValueAnimation.mjs';\nimport { JSAnimation } from '../JSAnimation.mjs';\nimport { getValueTransition } from '../utils/get-value-transition.mjs';\nimport { makeAnimationInstant } from '../utils/make-animation-instant.mjs';\nimport { getDefaultTransition } from '../utils/default-transitions.mjs';\nimport { getFinalKeyframe } from '../keyframes/get-final.mjs';\nimport { isTransitionDefined } from '../utils/is-transition-defined.mjs';\nimport { frame } from '../../frameloop/frame.mjs';\n\nconst animateMotionValue = (name, value, target, transition = {}, element, isHandoff) => (onComplete) => {\n const valueTransition = getValueTransition(transition, name) || {};\n /**\n * Most transition values are currently completely overwritten by value-specific\n * transitions. In the future it'd be nicer to blend these transitions. But for now\n * delay actually does inherit from the root transition if not value-specific.\n */\n const delay = valueTransition.delay || transition.delay || 0;\n /**\n * Elapsed isn't a public transition option but can be passed through from\n * optimized appear effects in milliseconds.\n */\n let { elapsed = 0 } = transition;\n elapsed = elapsed - secondsToMilliseconds(delay);\n const options = {\n keyframes: Array.isArray(target) ? target : [null, target],\n ease: \"easeOut\",\n velocity: value.getVelocity(),\n ...valueTransition,\n delay: -elapsed,\n onUpdate: (v) => {\n value.set(v);\n valueTransition.onUpdate && valueTransition.onUpdate(v);\n },\n onComplete: () => {\n onComplete();\n valueTransition.onComplete && valueTransition.onComplete();\n },\n name,\n motionValue: value,\n element: isHandoff ? undefined : element,\n };\n /**\n * If there's no transition defined for this value, we can generate\n * unique transition settings for this value.\n */\n if (!isTransitionDefined(valueTransition)) {\n Object.assign(options, getDefaultTransition(name, options));\n }\n /**\n * Both WAAPI and our internal animation functions use durations\n * as defined by milliseconds, while our external API defines them\n * as seconds.\n */\n options.duration && (options.duration = secondsToMilliseconds(options.duration));\n options.repeatDelay && (options.repeatDelay = secondsToMilliseconds(options.repeatDelay));\n /**\n * Support deprecated way to set initial value. Prefer keyframe syntax.\n */\n if (options.from !== undefined) {\n options.keyframes[0] = options.from;\n }\n let shouldSkip = false;\n if (options.type === false ||\n (options.duration === 0 && !options.repeatDelay)) {\n makeAnimationInstant(options);\n if (options.delay === 0) {\n shouldSkip = true;\n }\n }\n if (MotionGlobalConfig.instantAnimations ||\n MotionGlobalConfig.skipAnimations ||\n element?.shouldSkipAnimations ||\n valueTransition.skipAnimations) {\n shouldSkip = true;\n makeAnimationInstant(options);\n options.delay = 0;\n }\n /**\n * If the transition type or easing has been explicitly set by the user\n * then we don't want to allow flattening the animation.\n */\n options.allowFlatten = !valueTransition.type && !valueTransition.ease;\n /**\n * If we can or must skip creating the animation, and apply only\n * the final keyframe, do so. We also check once keyframes are resolved but\n * this early check prevents the need to create an animation at all.\n */\n if (shouldSkip && !isHandoff && value.get() !== undefined) {\n const finalKeyframe = getFinalKeyframe(options.keyframes, valueTransition);\n if (finalKeyframe !== undefined) {\n frame.update(() => {\n options.onUpdate(finalKeyframe);\n options.onComplete();\n });\n return;\n }\n }\n return valueTransition.isSync\n ? new JSAnimation(options)\n : new AsyncMotionValueAnimation(options);\n};\n\nexport { animateMotionValue };\n//# sourceMappingURL=motion-value.mjs.map\n"],"names":[],"mappings":";;;;;;;;;;;AAUK,MAAC,kBAAkB,GAAG,CAAC,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,UAAU,GAAG,EAAE,EAAE,OAAO,EAAE,SAAS,KAAK,CAAC,UAAU,KAAK;AACzG,IAAI,MAAM,eAAe,GAAG,kBAAkB,CAAC,UAAU,EAAE,IAAI,CAAC,IAAI,EAAE;AACtE;AACA;AACA;AACA;AACA;AACA,IAAI,MAAM,KAAK,GAAG,eAAe,CAAC,KAAK,IAAI,UAAU,CAAC,KAAK,IAAI,CAAC;AAChE;AACA;AACA;AACA;AACA,IAAI,IAAI,EAAE,OAAO,GAAG,CAAC,EAAE,GAAG,UAAU;AACpC,IAAI,OAAO,GAAG,OAAO,GAAG,qBAAqB,CAAC,KAAK,CAAC;AACpD,IAAI,MAAM,OAAO,GAAG;AACpB,QAAQ,SAAS,EAAE,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,GAAG,MAAM,GAAG,CAAC,IAAI,EAAE,MAAM,CAAC;AAClE,QAAQ,IAAI,EAAE,SAAS;AACvB,QAAQ,QAAQ,EAAE,KAAK,CAAC,WAAW,EAAE;AACrC,QAAQ,GAAG,eAAe;AAC1B,QAAQ,KAAK,EAAE,CAAC,OAAO;AACvB,QAAQ,QAAQ,EAAE,CAAC,CAAC,KAAK;AACzB,YAAY,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;AACxB,YAAY,eAAe,CAAC,QAAQ,IAAI,eAAe,CAAC,QAAQ,CAAC,CAAC,CAAC;AACnE,QAAQ,CAAC;AACT,QAAQ,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O,EAAE,oBAAoB;AACrC,QAAQ,eAAe,CAAC,cAAc,EAAE;AACxC,QAAQ,UAAU,GAAG,IAAI;AACzB,QAAQ,oBAAoB,CAAC,OAAO,CAAC;AACrC,QAAQ,OAAO,CAAC,KAAK,GAAG,CAAC;AACzB,IAAI;AACJ;AACA;AACA;AACA;AACA,IAAI,OAAO,CAAC,YAAY,GAAG,CAAC,eAAe,CAAC,IAAI,IAAI,CAAC,eAAe,CAAC,IAAI;AACzE;AACA;AACA;AACA;AACA;AACA,IAAI,IAAI,UAAU,IAAI,CAAC,SAAS,IAAI,KAAK,CAAC,GAAG,EAAE,KAAK,SAAS,EAAE;AAC/D,QAAQ,MAAM,aAAa,GAAG,gBAAgB,CAAC,OAAO,CAAC,SAAS,EAAE,eAAe,CAAC;AAClF,QAAQ,IAAI,aAAa,KAAK,SAAS,EAAE;AACzC,YAAY,KAAK,CAAC,MAAM,CAAC,MAAM;AAC/B,gBAAgB,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAC;AAC/C,gBAAgB,OAAO,CAAC,UAAU,EAAE;AACpC,YAAY,CAAC,CAAC;AACd,YAAY;AACZ,QAAQ;AACR,IAAI;AACJ,IAAI,OAAO,eAAe,CAAC;AAC3B,UAAU,IAAI,WAAW,CAAC,OAAO;AACjC,UAAU,IAAI,yBAAyB,CAAC,OAAO,CAAC;AAChD;;;;","x_google_ignoreList":[0]}
@@ -1,109 +0,0 @@
1
- import { getValueTransition } from '../utils/get-value-transition.js';
2
- import { resolveTransition } from '../utils/resolve-transition.js';
3
- import { positionalKeys } from '../../render/utils/keys-position.js';
4
- import { setTarget } from '../../render/utils/setters.js';
5
- import { addValueToWillChange } from '../../value/will-change/add-will-change.js';
6
- import { getOptimisedAppearId } from '../optimized-appear/get-appear-id.js';
7
- import { animateMotionValue } from './motion-value.js';
8
- import { frame } from '../../frameloop/frame.js';
9
-
10
- const isBrowser = typeof window !== "undefined";
11
- /**
12
- * Decide whether we should block this animation. Previously, we achieved this
13
- * just by checking whether the key was listed in protectedKeys, but this
14
- * posed problems if an animation was triggered by afterChildren and protectedKeys
15
- * had been set to true in the meantime.
16
- */
17
- function shouldBlockAnimation({ protectedKeys, needsAnimating }, key) {
18
- const shouldBlock = protectedKeys.hasOwnProperty(key) && needsAnimating[key] !== true;
19
- needsAnimating[key] = false;
20
- return shouldBlock;
21
- }
22
- function animateTarget(visualElement, targetAndTransition, { delay = 0, transitionOverride, type } = {}) {
23
- let { transition, transitionEnd, ...target } = targetAndTransition;
24
- const defaultTransition = visualElement.getDefaultTransition();
25
- transition = transition
26
- ? resolveTransition(transition, defaultTransition)
27
- : defaultTransition;
28
- const reduceMotion = transition?.reduceMotion;
29
- const skipAnimations = transition?.skipAnimations;
30
- if (transitionOverride)
31
- transition = transitionOverride;
32
- const animations = [];
33
- const animationTypeState = type &&
34
- visualElement.animationState &&
35
- visualElement.animationState.getState()[type];
36
- const path = transition?.path;
37
- if (path) {
38
- // path mutates `target` to claim x/y; loop below skips them.
39
- path.animateVisualElement(visualElement, target, transition, delay, animations);
40
- }
41
- for (const key in target) {
42
- const value = visualElement.getValue(key, visualElement.latestValues[key] ?? null);
43
- const valueTarget = target[key];
44
- if (valueTarget === undefined ||
45
- (animationTypeState &&
46
- shouldBlockAnimation(animationTypeState, key))) {
47
- continue;
48
- }
49
- const valueTransition = {
50
- delay,
51
- ...getValueTransition(transition || {}, key),
52
- };
53
- if (skipAnimations)
54
- valueTransition.skipAnimations = true;
55
- /**
56
- * If the value is already at the defined target, skip the animation.
57
- * We still re-assert the value via frame.update to take precedence
58
- * over any stale transitionEnd callbacks from previous animations.
59
- */
60
- const currentValue = value.get();
61
- if (currentValue !== undefined &&
62
- !value.isAnimating() &&
63
- !Array.isArray(valueTarget) &&
64
- valueTarget === currentValue &&
65
- !valueTransition.velocity) {
66
- frame.update(() => value.set(valueTarget));
67
- continue;
68
- }
69
- /**
70
- * If this is the first time a value is being animated, check
71
- * to see if we're handling off from an existing animation.
72
- */
73
- let isHandoff = false;
74
- if (isBrowser && window.MotionHandoffAnimation) {
75
- const appearId = getOptimisedAppearId(visualElement);
76
- if (appearId) {
77
- const startTime = window.MotionHandoffAnimation(appearId, key, frame);
78
- if (startTime !== null) {
79
- valueTransition.startTime = startTime;
80
- isHandoff = true;
81
- }
82
- }
83
- }
84
- addValueToWillChange(visualElement, key);
85
- const shouldReduceMotion = reduceMotion ?? visualElement.shouldReduceMotion;
86
- value.start(animateMotionValue(key, value, valueTarget, shouldReduceMotion && positionalKeys.has(key)
87
- ? { type: false }
88
- : valueTransition, visualElement, isHandoff));
89
- const animation = value.animation;
90
- if (animation) {
91
- animations.push(animation);
92
- }
93
- }
94
- if (transitionEnd) {
95
- const applyTransitionEnd = () => frame.update(() => {
96
- transitionEnd && setTarget(visualElement, transitionEnd);
97
- });
98
- if (animations.length) {
99
- Promise.all(animations).then(applyTransitionEnd);
100
- }
101
- else {
102
- applyTransitionEnd();
103
- }
104
- }
105
- return animations;
106
- }
107
-
108
- export { animateTarget };
109
- //# sourceMappingURL=visual-element-target.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"visual-element-target.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.mjs"],"sourcesContent":["import { getValueTransition } from '../utils/get-value-transition.mjs';\nimport { resolveTransition } from '../utils/resolve-transition.mjs';\nimport { positionalKeys } from '../../render/utils/keys-position.mjs';\nimport { setTarget } from '../../render/utils/setters.mjs';\nimport { addValueToWillChange } from '../../value/will-change/add-will-change.mjs';\nimport { getOptimisedAppearId } from '../optimized-appear/get-appear-id.mjs';\nimport { animateMotionValue } from './motion-value.mjs';\nimport { frame } from '../../frameloop/frame.mjs';\n\nconst isBrowser = typeof window !== \"undefined\";\n/**\n * Decide whether we should block this animation. Previously, we achieved this\n * just by checking whether the key was listed in protectedKeys, but this\n * posed problems if an animation was triggered by afterChildren and protectedKeys\n * had been set to true in the meantime.\n */\nfunction shouldBlockAnimation({ protectedKeys, needsAnimating }, key) {\n const shouldBlock = protectedKeys.hasOwnProperty(key) && needsAnimating[key] !== true;\n needsAnimating[key] = false;\n return shouldBlock;\n}\nfunction animateTarget(visualElement, targetAndTransition, { delay = 0, transitionOverride, type } = {}) {\n let { transition, transitionEnd, ...target } = targetAndTransition;\n const defaultTransition = visualElement.getDefaultTransition();\n transition = transition\n ? resolveTransition(transition, defaultTransition)\n : defaultTransition;\n const reduceMotion = transition?.reduceMotion;\n const skipAnimations = transition?.skipAnimations;\n if (transitionOverride)\n transition = transitionOverride;\n const animations = [];\n const animationTypeState = type &&\n visualElement.animationState &&\n visualElement.animationState.getState()[type];\n const path = transition?.path;\n if (path) {\n // path mutates `target` to claim x/y; loop below skips them.\n path.animateVisualElement(visualElement, target, transition, delay, animations);\n }\n for (const key in target) {\n const value = visualElement.getValue(key, visualElement.latestValues[key] ?? null);\n const valueTarget = target[key];\n if (valueTarget === undefined ||\n (animationTypeState &&\n shouldBlockAnimation(animationTypeState, key))) {\n continue;\n }\n const valueTransition = {\n delay,\n ...getValueTransition(transition || {}, key),\n };\n if (skipAnimations)\n valueTransition.skipAnimations = true;\n /**\n * If the value is already at the defined target, skip the animation.\n * We still re-assert the value via frame.update to take precedence\n * over any stale transitionEnd callbacks from previous animations.\n */\n const currentValue = value.get();\n if (currentValue !== undefined &&\n !value.isAnimating() &&\n !Array.isArray(valueTarget) &&\n valueTarget === currentValue &&\n !valueTransition.velocity) {\n frame.update(() => value.set(valueTarget));\n continue;\n }\n /**\n * If this is the first time a value is being animated, check\n * to see if we're handling off from an existing animation.\n */\n let isHandoff = false;\n if (isBrowser && window.MotionHandoffAnimation) {\n const appearId = getOptimisedAppearId(visualElement);\n if (appearId) {\n const startTime = window.MotionHandoffAnimation(appearId, key, frame);\n if (startTime !== null) {\n valueTransition.startTime = startTime;\n isHandoff = true;\n }\n }\n }\n addValueToWillChange(visualElement, key);\n const shouldReduceMotion = reduceMotion ?? visualElement.shouldReduceMotion;\n value.start(animateMotionValue(key, value, valueTarget, shouldReduceMotion && positionalKeys.has(key)\n ? { type: false }\n : valueTransition, visualElement, isHandoff));\n const animation = value.animation;\n if (animation) {\n animations.push(animation);\n }\n }\n if (transitionEnd) {\n const applyTransitionEnd = () => frame.update(() => {\n transitionEnd && setTarget(visualElement, transitionEnd);\n });\n if (animations.length) {\n Promise.all(animations).then(applyTransitionEnd);\n }\n else {\n applyTransitionEnd();\n }\n }\n return animations;\n}\n\nexport { animateTarget };\n//# sourceMappingURL=visual-element-target.mjs.map\n"],"names":[],"mappings":";;;;;;;;;AASA,MAAM,SAAS,GAAG,OAAO,MAAM,KAAK,WAAW;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,oBAAoB,CAAC,EAAE,aAAa,EAAE,cAAc,EAAE,EAAE,GAAG,EAAE;AACtE,IAAI,MAAM,WAAW,GAAG,aAAa,CAAC,cAAc,CAAC,GAAG,CAAC,IAAI,cAAc,CAAC,GAAG,CAAC,KAAK,IAAI;AACzF,IAAI,cAAc,CAAC,GAAG,CAAC,GAAG,KAAK;AAC/B,IAAI,OAAO,WAAW;AACtB;AACA,SAAS,aAAa,CAAC,aAAa,EAAE,mBAAmB,EAAE,EAAE,KAAK,GAAG,CAAC,EAAE,kBAAkB,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;AACzG,IAAI,IAAI,EAAE,UAAU,EAAE,aAAa,EAAE,GAAG,MAAM,EAAE,GAAG,mBAAmB;AACtE,IAAI,MAAM,iBAAiB,GAAG,aAAa,CAAC,oBAAoB,EAAE;AAClE,IAAI,UAAU,GAAG;AACjB,UAAU,iBAAiB,CAAC,UAAU,EAAE,iBAAiB;AACzD,UAAU,iBAAiB;AAC3B,IAAI,MAAM,YAAY,GAAG,UAAU,EAAE,YAAY;AACjD,IAAI,MAAM,cAAc,GAAG,UAAU,EAAE,cAAc;AACrD,IAAI,IAAI,kBAAkB;AAC1B,QAAQ,UAAU,GAAG,kBAAkB;AACvC,IAAI,MAAM,UAAU,GAAG,EAAE;AACzB,IAAI,MAAM,kBAAkB,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AC/B,YAAY,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC;AAC5D,QAAQ;AACR,aAAa;AACb,YAAY,kBAAkB,EAAE;AAChC,QAAQ;AACR,IAAI;AACJ,IAAI,OAAO,UAAU;AACrB;;;;","x_google_ignoreList":[0]}
@@ -1,60 +0,0 @@
1
- import { resolveVariant } from '../../render/utils/resolve-dynamic-variants.js';
2
- import { calcChildStagger } from '../utils/calc-child-stagger.js';
3
- import { animateTarget } from './visual-element-target.js';
4
-
5
- function animateVariant(visualElement, variant, options = {}) {
6
- const resolved = resolveVariant(visualElement, variant, options.type === "exit"
7
- ? visualElement.presenceContext?.custom
8
- : undefined);
9
- let { transition = visualElement.getDefaultTransition() || {} } = resolved || {};
10
- if (options.transitionOverride) {
11
- transition = options.transitionOverride;
12
- }
13
- /**
14
- * If we have a variant, create a callback that runs it as an animation.
15
- * Otherwise, we resolve a Promise immediately for a composable no-op.
16
- */
17
- const getAnimation = resolved
18
- ? () => Promise.all(animateTarget(visualElement, resolved, options))
19
- : () => Promise.resolve();
20
- /**
21
- * If we have children, create a callback that runs all their animations.
22
- * Otherwise, we resolve a Promise immediately for a composable no-op.
23
- */
24
- const getChildAnimations = visualElement.variantChildren && visualElement.variantChildren.size
25
- ? (forwardDelay = 0) => {
26
- const { delayChildren = 0, staggerChildren, staggerDirection, } = transition;
27
- return animateChildren(visualElement, variant, forwardDelay, delayChildren, staggerChildren, staggerDirection, options);
28
- }
29
- : () => Promise.resolve();
30
- /**
31
- * If the transition explicitly defines a "when" option, we need to resolve either
32
- * this animation or all children animations before playing the other.
33
- */
34
- const { when } = transition;
35
- if (when) {
36
- const [first, last] = when === "beforeChildren"
37
- ? [getAnimation, getChildAnimations]
38
- : [getChildAnimations, getAnimation];
39
- return first().then(() => last());
40
- }
41
- else {
42
- return Promise.all([getAnimation(), getChildAnimations(options.delay)]);
43
- }
44
- }
45
- function animateChildren(visualElement, variant, delay = 0, delayChildren = 0, staggerChildren = 0, staggerDirection = 1, options) {
46
- const animations = [];
47
- for (const child of visualElement.variantChildren) {
48
- child.notify("AnimationStart", variant);
49
- animations.push(animateVariant(child, variant, {
50
- ...options,
51
- delay: delay +
52
- (typeof delayChildren === "function" ? 0 : delayChildren) +
53
- calcChildStagger(visualElement.variantChildren, child, delayChildren, staggerChildren, staggerDirection),
54
- }).then(() => child.notify("AnimationComplete", variant)));
55
- }
56
- return Promise.all(animations);
57
- }
58
-
59
- export { animateVariant };
60
- //# sourceMappingURL=visual-element-variant.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"visual-element-variant.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.mjs"],"sourcesContent":["import { resolveVariant } from '../../render/utils/resolve-dynamic-variants.mjs';\nimport { calcChildStagger } from '../utils/calc-child-stagger.mjs';\nimport { animateTarget } from './visual-element-target.mjs';\n\nfunction animateVariant(visualElement, variant, options = {}) {\n const resolved = resolveVariant(visualElement, variant, options.type === \"exit\"\n ? visualElement.presenceContext?.custom\n : undefined);\n let { transition = visualElement.getDefaultTransition() || {} } = resolved || {};\n if (options.transitionOverride) {\n transition = options.transitionOverride;\n }\n /**\n * If we have a variant, create a callback that runs it as an animation.\n * Otherwise, we resolve a Promise immediately for a composable no-op.\n */\n const getAnimation = resolved\n ? () => Promise.all(animateTarget(visualElement, resolved, options))\n : () => Promise.resolve();\n /**\n * If we have children, create a callback that runs all their animations.\n * Otherwise, we resolve a Promise immediately for a composable no-op.\n */\n const getChildAnimations = visualElement.variantChildren && visualElement.variantChildren.size\n ? (forwardDelay = 0) => {\n const { delayChildren = 0, staggerChildren, staggerDirection, } = transition;\n return animateChildren(visualElement, variant, forwardDelay, delayChildren, staggerChildren, staggerDirection, options);\n }\n : () => Promise.resolve();\n /**\n * If the transition explicitly defines a \"when\" option, we need to resolve either\n * this animation or all children animations before playing the other.\n */\n const { when } = transition;\n if (when) {\n const [first, last] = when === \"beforeChildren\"\n ? [getAnimation, getChildAnimations]\n : [getChildAnimations, getAnimation];\n return first().then(() => last());\n }\n else {\n return Promise.all([getAnimation(), getChildAnimations(options.delay)]);\n }\n}\nfunction animateChildren(visualElement, variant, delay = 0, delayChildren = 0, staggerChildren = 0, staggerDirection = 1, options) {\n const animations = [];\n for (const child of visualElement.variantChildren) {\n child.notify(\"AnimationStart\", variant);\n animations.push(animateVariant(child, variant, {\n ...options,\n delay: delay +\n (typeof delayChildren === \"function\" ? 0 : delayChildren) +\n calcChildStagger(visualElement.variantChildren, child, delayChildren, staggerChildren, staggerDirection),\n }).then(() => child.notify(\"AnimationComplete\", variant)));\n }\n return Promise.all(animations);\n}\n\nexport { animateVariant };\n//# sourceMappingURL=visual-element-variant.mjs.map\n"],"names":[],"mappings":";;;;AAIA,SAAS,cAAc,CAAC,aAAa,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,EAAE;AAC9D,IAAI,MAAM,QAAQ,GAAG,cAAc,CAAC,aAAa,EAAE,OAAO,EAAE,OAAO,CAAC,IAAI,KAAK;AAC7E,UAAU,aAAa,CAAC,eAAe,EAAE;AACzC,UAAU,SAAS,CAAC;AACpB,IAAI,IAAI,EAAE,UAAU,GAAG,aAAa,CAAC,oBAAoB,EAAE,IAAI,EAAE,EAAE,GAAG,QAAQ,IAAI,EAAE;AACpF,IAAI,IAAI,OAAO,CAAC,kBAAkB,EAAE;AACpC,QAAQ,UAAU,GAAG,OAAO,CAAC,kBAAkB;AAC/C,IAAI;AACJ;AACA;AACA;AACA;AACA,IAAI,MAAM,YAAY,GAAG;AACzB,UAAU,MAAM,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC,aAAa,EAAE,QAAQ,EAAE,OAAO,CAAC;AAC3E,UAAU,MAAM,OAAO,CAAC,OAAO,EAAE;AACjC;AACA;AACA;AACA;AACA,IAAI,MAAM,kBAAkB,GAAG,aAAa,CAAC,eAAe,IAAI,aAAa,CAAC,eAAe,CAAC;AAC9F,UAAU,CAAC,YAAY,GAAG,CA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U,GAAG,CAAC,GAAG,aAAa,CAAC;AACzE,gBAAgB,gBAAgB,CAAC,aAAa,CAAC,eAAe,EAAE,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,gBAAgB,CAAC;AACxH,SAAS,CAAC,CAAC,IAAI,CAAC,MAAM,KAAK,CAAC,MAAM,CAAC,mBAAmB,EAAE,OAAO,CAAC,CAAC,CAAC;AAClE,IAAI;AACJ,IAAI,OAAO,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC;AAClC;;;;","x_google_ignoreList":[0]}
@@ -1,27 +0,0 @@
1
- import { resolveVariant } from '../../render/utils/resolve-dynamic-variants.js';
2
- import { animateTarget } from './visual-element-target.js';
3
- import { animateVariant } from './visual-element-variant.js';
4
-
5
- function animateVisualElement(visualElement, definition, options = {}) {
6
- visualElement.notify("AnimationStart", definition);
7
- let animation;
8
- if (Array.isArray(definition)) {
9
- const animations = definition.map((variant) => animateVariant(visualElement, variant, options));
10
- animation = Promise.all(animations);
11
- }
12
- else if (typeof definition === "string") {
13
- animation = animateVariant(visualElement, definition, options);
14
- }
15
- else {
16
- const resolvedDefinition = typeof definition === "function"
17
- ? resolveVariant(visualElement, definition, options.custom)
18
- : definition;
19
- animation = Promise.all(animateTarget(visualElement, resolvedDefinition, options));
20
- }
21
- return animation.then(() => {
22
- visualElement.notify("AnimationComplete", definition);
23
- });
24
- }
25
-
26
- export { animateVisualElement };
27
- //# sourceMappingURL=visual-element.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"visual-element.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/animation/interfaces/visual-element.mjs"],"sourcesContent":["import { resolveVariant } from '../../render/utils/resolve-dynamic-variants.mjs';\nimport { animateTarget } from './visual-element-target.mjs';\nimport { animateVariant } from './visual-element-variant.mjs';\n\nfunction animateVisualElement(visualElement, definition, options = {}) {\n visualElement.notify(\"AnimationStart\", definition);\n let animation;\n if (Array.isArray(definition)) {\n const animations = definition.map((variant) => animateVariant(visualElement, variant, options));\n animation = Promise.all(animations);\n }\n else if (typeof definition === \"string\") {\n animation = animateVariant(visualElement, definition, options);\n }\n else {\n const resolvedDefinition = typeof definition === \"function\"\n ? resolveVariant(visualElement, definition, options.custom)\n : definition;\n animation = Promise.all(animateTarget(visualElement, resolvedDefinition, options));\n }\n return animation.then(() => {\n visualElement.notify(\"AnimationComplete\", definition);\n });\n}\n\nexport { animateVisualElement };\n//# sourceMappingURL=visual-element.mjs.map\n"],"names":[],"mappings":";;;;AAIA,SAAS,oBAAoB,CAAC,aAAa,EAAE,UAAU,EAAE,OAAO,GAAG,EAAE,EAAE;AACvE,IAAI,aAAa,CAAC,MAAM,CAAC,gBAAgB,EAAE,UAAU,CAAC;AACtD,IAAI,IAAI,SAAS;AACjB,IAAI,IAAI,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE;AACnC,QAAQ,MAAM,UAAU,GAAG,UAAU,CAAC,GAAG,CAAC,CAAC,OAAO,KAAK,cAAc,CAAC,aAAa,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;AACvG,QAAQ,SAAS,GAAG,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC;AAC3C,IAAI;AACJ,SAAS,IAAI,OAAO,UAAU,KAAK,QAAQ,EAAE;AAC7C,QAAQ,SAAS,GAAG,cAAc,CAAC,aAAa,EAAE,UAAU,EAAE,OAAO,CAAC;AACtE,IAAI;AACJ,SAAS;AACT,QAAQ,MAAM,kBAAkB,GAAG,OAAO,UAAU,KAAK;AACzD,cAAc,cAAc,CAAC,aAAa,EAAE,UAAU,EAAE,OAAO,CAAC,MAAM;AACtE,cAAc,UAAU;AACxB,QAAQ,SAAS,GAAG,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC,aAAa,EAAE,kBAAkB,EAAE,OAAO,CAAC,CAAC;AAC1F,IAAI;AACJ,IAAI,OAAO,SAAS,CAAC,IAAI,CAAC,MAAM;AAChC,QAAQ,aAAa,CAAC,MAAM,CAAC,mBAAmB,EAAE,UAAU,CAAC;AAC7D,IAAI,CAAC,CAAC;AACN;;;;","x_google_ignoreList":[0]}