@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,142 +0,0 @@
1
- import { positionalKeys } from '../../render/utils/keys-position.js';
2
- import { findDimensionValueType } from '../../value/types/dimensions.js';
3
- import { getVariableValue } from '../utils/css-variables-conversion.js';
4
- import { isCSSVariableToken, containsCSSVariable } from '../utils/is-css-variable.js';
5
- import { KeyframeResolver } from './KeyframesResolver.js';
6
- import { isNone } from './utils/is-none.js';
7
- import { makeNoneKeyframesAnimatable } from './utils/make-none-animatable.js';
8
- import { positionalValues, isNumOrPxType } from './utils/unit-conversion.js';
9
-
10
- class DOMKeyframesResolver extends KeyframeResolver {
11
- constructor(unresolvedKeyframes, onComplete, name, motionValue, element) {
12
- super(unresolvedKeyframes, onComplete, name, motionValue, element, true);
13
- }
14
- readKeyframes() {
15
- const { unresolvedKeyframes, element, name } = this;
16
- if (!element || !element.current)
17
- return;
18
- super.readKeyframes();
19
- /**
20
- * If any keyframe is a CSS variable, we need to find its value by sampling the element
21
- */
22
- for (let i = 0; i < unresolvedKeyframes.length; i++) {
23
- let keyframe = unresolvedKeyframes[i];
24
- if (typeof keyframe === "string") {
25
- keyframe = keyframe.trim();
26
- if (isCSSVariableToken(keyframe)) {
27
- const resolved = getVariableValue(keyframe, element.current);
28
- if (resolved !== undefined) {
29
- unresolvedKeyframes[i] = resolved;
30
- }
31
- if (i === unresolvedKeyframes.length - 1) {
32
- this.finalKeyframe = keyframe;
33
- }
34
- }
35
- }
36
- }
37
- /**
38
- * Resolve "none" values. We do this potentially twice - once before and once after measuring keyframes.
39
- * This could be seen as inefficient but it's a trade-off to avoid measurements in more situations, which
40
- * have a far bigger performance impact.
41
- */
42
- this.resolveNoneKeyframes();
43
- /**
44
- * Check to see if unit type has changed. If so schedule jobs that will
45
- * temporarily set styles to the destination keyframes.
46
- * Skip if we have more than two keyframes or this isn't a positional value.
47
- * TODO: We can throw if there are multiple keyframes and the value type changes.
48
- */
49
- if (!positionalKeys.has(name) || unresolvedKeyframes.length !== 2) {
50
- return;
51
- }
52
- const [origin, target] = unresolvedKeyframes;
53
- const originType = findDimensionValueType(origin);
54
- const targetType = findDimensionValueType(target);
55
- /**
56
- * If one keyframe contains embedded CSS variables (e.g. in calc()) and the other
57
- * doesn't, we need to measure to convert to pixels. This handles GitHub issue #3410.
58
- */
59
- const originHasVar = containsCSSVariable(origin);
60
- const targetHasVar = containsCSSVariable(target);
61
- if (originHasVar !== targetHasVar && positionalValues[name]) {
62
- this.needsMeasurement = true;
63
- return;
64
- }
65
- /**
66
- * Either we don't recognise these value types or we can animate between them.
67
- */
68
- if (originType === targetType)
69
- return;
70
- /**
71
- * If both values are numbers or pixels, we can animate between them by
72
- * converting them to numbers.
73
- */
74
- if (isNumOrPxType(originType) && isNumOrPxType(targetType)) {
75
- for (let i = 0; i < unresolvedKeyframes.length; i++) {
76
- const value = unresolvedKeyframes[i];
77
- if (typeof value === "string") {
78
- unresolvedKeyframes[i] = parseFloat(value);
79
- }
80
- }
81
- }
82
- else if (positionalValues[name]) {
83
- /**
84
- * Else, the only way to resolve this is by measuring the element.
85
- */
86
- this.needsMeasurement = true;
87
- }
88
- }
89
- resolveNoneKeyframes() {
90
- const { unresolvedKeyframes, name } = this;
91
- const noneKeyframeIndexes = [];
92
- for (let i = 0; i < unresolvedKeyframes.length; i++) {
93
- if (unresolvedKeyframes[i] === null ||
94
- isNone(unresolvedKeyframes[i])) {
95
- noneKeyframeIndexes.push(i);
96
- }
97
- }
98
- if (noneKeyframeIndexes.length) {
99
- makeNoneKeyframesAnimatable(unresolvedKeyframes, noneKeyframeIndexes, name);
100
- }
101
- }
102
- measureInitialState() {
103
- const { element, unresolvedKeyframes, name } = this;
104
- if (!element || !element.current)
105
- return;
106
- if (name === "height") {
107
- this.suspendedScrollY = window.pageYOffset;
108
- }
109
- this.measuredOrigin = positionalValues[name](element.measureViewportBox(), window.getComputedStyle(element.current));
110
- unresolvedKeyframes[0] = this.measuredOrigin;
111
- // Set final key frame to measure after next render
112
- const measureKeyframe = unresolvedKeyframes[unresolvedKeyframes.length - 1];
113
- if (measureKeyframe !== undefined) {
114
- element.getValue(name, measureKeyframe).jump(measureKeyframe, false);
115
- }
116
- }
117
- measureEndState() {
118
- const { element, name, unresolvedKeyframes } = this;
119
- if (!element || !element.current)
120
- return;
121
- const value = element.getValue(name);
122
- value && value.jump(this.measuredOrigin, false);
123
- const finalKeyframeIndex = unresolvedKeyframes.length - 1;
124
- const finalKeyframe = unresolvedKeyframes[finalKeyframeIndex];
125
- unresolvedKeyframes[finalKeyframeIndex] = positionalValues[name](element.measureViewportBox(), window.getComputedStyle(element.current));
126
- if (finalKeyframe !== null && this.finalKeyframe === undefined) {
127
- this.finalKeyframe = finalKeyframe;
128
- }
129
- // If we removed transform values, reapply them before the next render
130
- if (this.removedTransforms?.length) {
131
- this.removedTransforms.forEach(([unsetTransformName, unsetTransformValue]) => {
132
- element
133
- .getValue(unsetTransformName)
134
- .set(unsetTransformValue);
135
- });
136
- }
137
- this.resolveNoneKeyframes();
138
- }
139
- }
140
-
141
- export { DOMKeyframesResolver };
142
- //# sourceMappingURL=DOMKeyframesResolver.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DOMKeyframesResolver.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.mjs"],"sourcesContent":["import { positionalKeys } from '../../render/utils/keys-position.mjs';\nimport { findDimensionValueType } from '../../value/types/dimensions.mjs';\nimport { getVariableValue } from '../utils/css-variables-conversion.mjs';\nimport { isCSSVariableToken, containsCSSVariable } from '../utils/is-css-variable.mjs';\nimport { KeyframeResolver } from './KeyframesResolver.mjs';\nimport { isNone } from './utils/is-none.mjs';\nimport { makeNoneKeyframesAnimatable } from './utils/make-none-animatable.mjs';\nimport { positionalValues, isNumOrPxType } from './utils/unit-conversion.mjs';\n\nclass DOMKeyframesResolver extends KeyframeResolver {\n constructor(unresolvedKeyframes, onComplete, name, motionValue, element) {\n super(unresolvedKeyframes, onComplete, name, motionValue, element, true);\n }\n readKeyframes() {\n const { unresolvedKeyframes, element, name } = this;\n if (!element || !element.current)\n return;\n super.readKeyframes();\n /**\n * If any keyframe is a CSS variable, we need to find its value by sampling the element\n */\n for (let i = 0; i < unresolvedKeyframes.length; i++) {\n let keyframe = unresolvedKeyframes[i];\n if (typeof keyframe === \"string\") {\n keyframe = keyframe.trim();\n if (isCSSVariableToken(keyframe)) {\n const resolved = getVariableValue(keyframe, element.current);\n if (resolved !== undefined) {\n unresolvedKeyframes[i] = resolved;\n }\n if (i === unresolvedKeyframes.length - 1) {\n this.finalKeyframe = keyframe;\n }\n }\n }\n }\n /**\n * Resolve \"none\" values. We do this potentially twice - once before and once after measuring keyframes.\n * This could be seen as inefficient but it's a trade-off to avoid measurements in more situations, which\n * have a far bigger performance impact.\n */\n this.resolveNoneKeyframes();\n /**\n * Check to see if unit type has changed. If so schedule jobs that will\n * temporarily set styles to the destination keyframes.\n * Skip if we have more than two keyframes or this isn't a positional value.\n * TODO: We can throw if there are multiple keyframes and the value type changes.\n */\n if (!positionalKeys.has(name) || unresolvedKeyframes.length !== 2) {\n return;\n }\n const [origin, target] = unresolvedKeyframes;\n const originType = findDimensionValueType(origin);\n const targetType = findDimensionValueType(target);\n /**\n * If one keyframe contains embedded CSS variables (e.g. in calc()) and the other\n * doesn't, we need to measure to convert to pixels. This handles GitHub issue #3410.\n */\n const originHasVar = containsCSSVariable(origin);\n const targetHasVar = containsCSSVariable(target);\n if (originHasVar !== targetHasVar && positionalValues[name]) {\n this.needsMeasurement = true;\n return;\n }\n /**\n * Either we don't recognise these value types or we can animate between them.\n */\n if (originType === targetType)\n return;\n /**\n * If both values are numbers or pixels, we can animate between them by\n * converting them to numbers.\n */\n if (isNumOrPxType(originType) && isNumOrPxType(targetType)) {\n for (let i = 0; i < unresolvedKeyframes.length; i++) {\n const value = unresolvedKeyframes[i];\n if (typeof value === \"string\") {\n unresolvedKeyframes[i] = parseFloat(value);\n }\n }\n }\n else if (positionalValues[name]) {\n /**\n * Else, the only way to resolve this is by measuring the element.\n */\n this.needsMeasurement = true;\n }\n }\n resolveNoneKeyframes() {\n const { unresolvedKeyframes, name } = this;\n const noneKeyframeIndexes = [];\n for (let i = 0; i < unresolvedKeyframes.length; i++) {\n if (unresolvedKeyframes[i] === null ||\n isNone(unresolvedKeyframes[i])) {\n noneKeyframeIndexes.push(i);\n }\n }\n if (noneKeyframeIndexes.length) {\n makeNoneKeyframesAnimatable(unresolvedKeyframes, noneKeyframeIndexes, name);\n }\n }\n measureInitialState() {\n const { element, unresolvedKeyframes, name } = this;\n if (!element || !element.current)\n return;\n if (name === \"height\") {\n this.suspendedScrollY = window.pageYOffset;\n }\n this.measuredOrigin = positionalValues[name](element.measureViewportBox(), window.getComputedStyle(element.current));\n unresolvedKeyframes[0] = this.measuredOrigin;\n // Set final key frame to measure after next render\n const measureKeyframe = unresolvedKeyframes[unresolvedKeyframes.length - 1];\n if (measureKeyframe !== undefined) {\n element.getValue(name, measureKeyframe).jump(measureKeyframe, false);\n }\n }\n measureEndState() {\n const { element, name, unresolvedKeyframes } = this;\n if (!element || !element.current)\n return;\n const value = element.getValue(name);\n value && value.jump(this.measuredOrigin, false);\n const finalKeyframeIndex = unresolvedKeyframes.length - 1;\n const finalKeyframe = unresolvedKeyframes[finalKeyframeIndex];\n unresolvedKeyframes[finalKeyframeIndex] = positionalValues[name](element.measureViewportBox(), window.getComputedStyle(element.current));\n if (finalKeyframe !== null && this.finalKeyframe === undefined) {\n this.finalKeyframe = finalKeyframe;\n }\n // If we removed transform values, reapply them before the next render\n if (this.removedTransforms?.length) {\n this.removedTransforms.forEach(([unsetTransformName, unsetTransformValue]) => {\n element\n .getValue(unsetTransformName)\n .set(unsetTransformValue);\n });\n }\n this.resolveNoneKeyframes();\n }\n}\n\nexport { DOMKeyframesResolver };\n//# sourceMappingURL=DOMKeyframesResolver.mjs.map\n"],"names":[],"mappings":";;;;;;;;;AASA,MAAM,oBAAoB,SAAS,gBAAgB,CAAC;AACpD,IAAI,WAAW,CAAC,mBAAmB,EAAE,UAAU,EAAE,IAAI,EAAE,WAAW,EAAE,OAAO,EAAE;AAC7E,QAAQ,KAAK,CAAC,mBAAmB,EAAE,UAAU,EAAE,IAAI,EAAE,WAAW,EAAE,OAAO,EAAE,IAAI,CAAC;AAChF,IAAI;AACJ,IAAI,aAAa,GAAG;AACpB,QAAQ,MAAM,EAAE,mBAAmB,EAAE,OAAO,EAAE,IAAI,EAAE,GAAG,IAAI;AAC3D,QAAQ,IAAI,CAAC,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO;AACxC,YAAY;AACZ,QAAQ,KAAK,CAAC,aAAa,EAAE;AAC7B;AACA;AACA;AACA,QAAQ,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,mBAAmB,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;AAC7D,YAAY,IAAI,QAAQ,GAAG,mBAAmB,CAAC,CAAC,CAAC;AACjD,YAAY,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE;AAC9C,gBAAgB,QAAQ,GAAG,QAAQ,CAAC,IAAI,EAAE;AAC1C,gBA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AC;AAChJ,QAAQ,IAAI,aAAa,KAAK,IAAI,IAAI,IAAI,CAAC,aAAa,KAAK,SAAS,EAAE;AACxE,YAAY,IAAI,CAAC,aAAa,GAAG,aAAa;AAC9C,QAAQ;AACR;AACA,QAAQ,IAAI,IAAI,CAAC,iBAAiB,EAAE,MAAM,EAAE;AAC5C,YAAY,IAAI,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC,CAAC,kBAAkB,EAAE,mBAAmB,CAAC,KAAK;AAC1F,gBAAgB;AAChB,qBAAqB,QAAQ,CAAC,kBAAkB;AAChD,qBAAqB,GAAG,CAAC,mBAAmB,CAAC;AAC7C,YAAY,CAAC,CAAC;AACd,QAAQ;AACR,QAAQ,IAAI,CAAC,oBAAoB,EAAE;AACnC,IAAI;AACJ;;;;","x_google_ignoreList":[0]}
@@ -1,148 +0,0 @@
1
- import { fillWildcards } from './utils/fill-wildcards.js';
2
- import { removeNonTranslationalTransform } from './utils/unit-conversion.js';
3
- import { frame } from '../../frameloop/frame.js';
4
-
5
- const toResolve = new Set();
6
- let isScheduled = false;
7
- let anyNeedsMeasurement = false;
8
- let isForced = false;
9
- function measureAllKeyframes() {
10
- if (anyNeedsMeasurement) {
11
- const resolversToMeasure = Array.from(toResolve).filter((resolver) => resolver.needsMeasurement);
12
- const elementsToMeasure = new Set(resolversToMeasure.map((resolver) => resolver.element));
13
- const transformsToRestore = new Map();
14
- /**
15
- * Write pass
16
- * If we're measuring elements we want to remove bounding box-changing transforms.
17
- */
18
- elementsToMeasure.forEach((element) => {
19
- const removedTransforms = removeNonTranslationalTransform(element);
20
- if (!removedTransforms.length)
21
- return;
22
- transformsToRestore.set(element, removedTransforms);
23
- element.render();
24
- });
25
- // Read
26
- resolversToMeasure.forEach((resolver) => resolver.measureInitialState());
27
- // Write
28
- elementsToMeasure.forEach((element) => {
29
- element.render();
30
- const restore = transformsToRestore.get(element);
31
- if (restore) {
32
- restore.forEach(([key, value]) => {
33
- element.getValue(key)?.set(value);
34
- });
35
- }
36
- });
37
- // Read
38
- resolversToMeasure.forEach((resolver) => resolver.measureEndState());
39
- // Write
40
- resolversToMeasure.forEach((resolver) => {
41
- if (resolver.suspendedScrollY !== undefined) {
42
- window.scrollTo(0, resolver.suspendedScrollY);
43
- }
44
- });
45
- }
46
- anyNeedsMeasurement = false;
47
- isScheduled = false;
48
- toResolve.forEach((resolver) => resolver.complete(isForced));
49
- toResolve.clear();
50
- }
51
- function readAllKeyframes() {
52
- toResolve.forEach((resolver) => {
53
- resolver.readKeyframes();
54
- if (resolver.needsMeasurement) {
55
- anyNeedsMeasurement = true;
56
- }
57
- });
58
- }
59
- function flushKeyframeResolvers() {
60
- isForced = true;
61
- readAllKeyframes();
62
- measureAllKeyframes();
63
- isForced = false;
64
- }
65
- class KeyframeResolver {
66
- constructor(unresolvedKeyframes, onComplete, name, motionValue, element, isAsync = false) {
67
- this.state = "pending";
68
- /**
69
- * Track whether this resolver is async. If it is, it'll be added to the
70
- * resolver queue and flushed in the next frame. Resolvers that aren't going
71
- * to trigger read/write thrashing don't need to be async.
72
- */
73
- this.isAsync = false;
74
- /**
75
- * Track whether this resolver needs to perform a measurement
76
- * to resolve its keyframes.
77
- */
78
- this.needsMeasurement = false;
79
- this.unresolvedKeyframes = [...unresolvedKeyframes];
80
- this.onComplete = onComplete;
81
- this.name = name;
82
- this.motionValue = motionValue;
83
- this.element = element;
84
- this.isAsync = isAsync;
85
- }
86
- scheduleResolve() {
87
- this.state = "scheduled";
88
- if (this.isAsync) {
89
- toResolve.add(this);
90
- if (!isScheduled) {
91
- isScheduled = true;
92
- frame.read(readAllKeyframes);
93
- frame.resolveKeyframes(measureAllKeyframes);
94
- }
95
- }
96
- else {
97
- this.readKeyframes();
98
- this.complete();
99
- }
100
- }
101
- readKeyframes() {
102
- const { unresolvedKeyframes, name, element, motionValue } = this;
103
- // If initial keyframe is null we need to read it from the DOM
104
- if (unresolvedKeyframes[0] === null) {
105
- const currentValue = motionValue?.get();
106
- // TODO: This doesn't work if the final keyframe is a wildcard
107
- const finalKeyframe = unresolvedKeyframes[unresolvedKeyframes.length - 1];
108
- if (currentValue !== undefined) {
109
- unresolvedKeyframes[0] = currentValue;
110
- }
111
- else if (element && name) {
112
- const valueAsRead = element.readValue(name, finalKeyframe);
113
- if (valueAsRead !== undefined && valueAsRead !== null) {
114
- unresolvedKeyframes[0] = valueAsRead;
115
- }
116
- }
117
- if (unresolvedKeyframes[0] === undefined) {
118
- unresolvedKeyframes[0] = finalKeyframe;
119
- }
120
- if (motionValue && currentValue === undefined) {
121
- motionValue.set(unresolvedKeyframes[0]);
122
- }
123
- }
124
- fillWildcards(unresolvedKeyframes);
125
- }
126
- setFinalKeyframe() { }
127
- measureInitialState() { }
128
- renderEndStyles() { }
129
- measureEndState() { }
130
- complete(isForcedComplete = false) {
131
- this.state = "complete";
132
- this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, isForcedComplete);
133
- toResolve.delete(this);
134
- }
135
- cancel() {
136
- if (this.state === "scheduled") {
137
- toResolve.delete(this);
138
- this.state = "pending";
139
- }
140
- }
141
- resume() {
142
- if (this.state === "pending")
143
- this.scheduleResolve();
144
- }
145
- }
146
-
147
- export { KeyframeResolver, flushKeyframeResolvers };
148
- //# sourceMappingURL=KeyframesResolver.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"KeyframesResolver.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.mjs"],"sourcesContent":["import { fillWildcards } from './utils/fill-wildcards.mjs';\nimport { removeNonTranslationalTransform } from './utils/unit-conversion.mjs';\nimport { frame } from '../../frameloop/frame.mjs';\n\nconst toResolve = new Set();\nlet isScheduled = false;\nlet anyNeedsMeasurement = false;\nlet isForced = false;\nfunction measureAllKeyframes() {\n if (anyNeedsMeasurement) {\n const resolversToMeasure = Array.from(toResolve).filter((resolver) => resolver.needsMeasurement);\n const elementsToMeasure = new Set(resolversToMeasure.map((resolver) => resolver.element));\n const transformsToRestore = new Map();\n /**\n * Write pass\n * If we're measuring elements we want to remove bounding box-changing transforms.\n */\n elementsToMeasure.forEach((element) => {\n const removedTransforms = removeNonTranslationalTransform(element);\n if (!removedTransforms.length)\n return;\n transformsToRestore.set(element, removedTransforms);\n element.render();\n });\n // Read\n resolversToMeasure.forEach((resolver) => resolver.measureInitialState());\n // Write\n elementsToMeasure.forEach((element) => {\n element.render();\n const restore = transformsToRestore.get(element);\n if (restore) {\n restore.forEach(([key, value]) => {\n element.getValue(key)?.set(value);\n });\n }\n });\n // Read\n resolversToMeasure.forEach((resolver) => resolver.measureEndState());\n // Write\n resolversToMeasure.forEach((resolver) => {\n if (resolver.suspendedScrollY !== undefined) {\n window.scrollTo(0, resolver.suspendedScrollY);\n }\n });\n }\n anyNeedsMeasurement = false;\n isScheduled = false;\n toResolve.forEach((resolver) => resolver.complete(isForced));\n toResolve.clear();\n}\nfunction readAllKeyframes() {\n toResolve.forEach((resolver) => {\n resolver.readKeyframes();\n if (resolver.needsMeasurement) {\n anyNeedsMeasurement = true;\n }\n });\n}\nfunction flushKeyframeResolvers() {\n isForced = true;\n readAllKeyframes();\n measureAllKeyframes();\n isForced = false;\n}\nclass KeyframeResolver {\n constructor(unresolvedKeyframes, onComplete, name, motionValue, element, isAsync = false) {\n this.state = \"pending\";\n /**\n * Track whether this resolver is async. If it is, it'll be added to the\n * resolver queue and flushed in the next frame. Resolvers that aren't going\n * to trigger read/write thrashing don't need to be async.\n */\n this.isAsync = false;\n /**\n * Track whether this resolver needs to perform a measurement\n * to resolve its keyframes.\n */\n this.needsMeasurement = false;\n this.unresolvedKeyframes = [...unresolvedKeyframes];\n this.onComplete = onComplete;\n this.name = name;\n this.motionValue = motionValue;\n this.element = element;\n this.isAsync = isAsync;\n }\n scheduleResolve() {\n this.state = \"scheduled\";\n if (this.isAsync) {\n toResolve.add(this);\n if (!isScheduled) {\n isScheduled = true;\n frame.read(readAllKeyframes);\n frame.resolveKeyframes(measureAllKeyframes);\n }\n }\n else {\n this.readKeyframes();\n this.complete();\n }\n }\n readKeyframes() {\n const { unresolvedKeyframes, name, element, motionValue } = this;\n // If initial keyframe is null we need to read it from the DOM\n if (unresolvedKeyframes[0] === null) {\n const currentValue = motionValue?.get();\n // TODO: This doesn't work if the final keyframe is a wildcard\n const finalKeyframe = unresolvedKeyframes[unresolvedKeyframes.length - 1];\n if (currentValue !== undefined) {\n unresolvedKeyframes[0] = currentValue;\n }\n else if (element && name) {\n const valueAsRead = element.readValue(name, finalKeyframe);\n if (valueAsRead !== undefined && valueAsRead !== null) {\n unresolvedKeyframes[0] = valueAsRead;\n }\n }\n if (unresolvedKeyframes[0] === undefined) {\n unresolvedKeyframes[0] = finalKeyframe;\n }\n if (motionValue && currentValue === undefined) {\n motionValue.set(unresolvedKeyframes[0]);\n }\n }\n fillWildcards(unresolvedKeyframes);\n }\n setFinalKeyframe() { }\n measureInitialState() { }\n renderEndStyles() { }\n measureEndState() { }\n complete(isForcedComplete = false) {\n this.state = \"complete\";\n this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, isForcedComplete);\n toResolve.delete(this);\n }\n cancel() {\n if (this.state === \"scheduled\") {\n toResolve.delete(this);\n this.state = \"pending\";\n }\n }\n resume() {\n if (this.state === \"pending\")\n this.scheduleResolve();\n }\n}\n\nexport { KeyframeResolver, flushKeyframeResolvers };\n//# sourceMappingURL=KeyframesResolver.mjs.map\n"],"names":[],"mappings":";;;;AAIA,MAAM,SAAS,GAAG,IAAI,GAAG,EAAE;AAC3B,IAAI,WAAW,GAAG,KAAK;AACvB,IAAI,mBAAmB,GAAG,KAAK;AAC/B,IAAI,QAAQ,GAAG,KAAK;AACpB,SAAS,mBAAmB,GAAG;AAC/B,IAAI,IAAI,mBAAmB,EAAE;AAC7B,QAAQ,MAAM,kBAAkB,GAAG,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC,QAAQ,KAAK,QAAQ,CAAC,gBAAgB,CAAC;AACxG,QAAQ,MAAM,iBAAiB,GAAG,IA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,WAAW;AACxD,gBAAgB;AAChB,YAAY;AACZ,YAAY,IAAI,mBAAmB,CAAC,CAAC,CAAC,KAAK,SAAS,EAAE;AACtD,gBAAgB,mBAAmB,CAAC,CAAC,CAAC,GAAG,aAAa;AACtD,YAAY;AACZ,YAAY,IAAI,WAAW,IAAI,YAAY,KAAK,SAAS,EAAE;AAC3D,gBAAgB,WAAW,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC;AACvD,YAAY;AACZ,QAAQ;AACR,QAAQ,aAAa,CAAC,mBAAmB,CAAC;AAC1C,IAAI;AACJ,IAAI,gBAAgB,GAAG,EAAE;AACzB,IAAI,mBAAmB,GAAG,EAAE;AAC5B,IAAI,eAAe,GAAG,EAAE;AACxB,IAAI,eAAe,GAAG,EAAE;AACxB,IAAI,QAAQ,CAAC,gBAAgB,GAAG,KAAK,EAAE;AACvC,QAAQ,IAAI,CAAC,KAAK,GAAG,UAAU;AAC/B,QAAQ,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,mBAAmB,EAAE,IAAI,CAAC,aAAa,EAAE,gBAAgB,CAAC;AACvF,QAAQ,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC;AAC9B,IAAI;AACJ,IAAI,MAAM,GAAG;AACb,QAAQ,IAAI,IAAI,CAAC,KAAK,KAAK,WAAW,EAAE;AACxC,YAAY,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC;AAClC,YAAY,IAAI,CAAC,KAAK,GAAG,SAAS;AAClC,QAAQ;AACR,IAAI;AACJ,IAAI,MAAM,GAAG;AACb,QAAQ,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS;AACpC,YAAY,IAAI,CAAC,eAAe,EAAE;AAClC,IAAI;AACJ;;;;","x_google_ignoreList":[0]}
@@ -1,12 +0,0 @@
1
- const isNotNull = (value) => value !== null;
2
- function getFinalKeyframe(keyframes, { repeat, repeatType = "loop" }, finalKeyframe, speed = 1) {
3
- const resolvedKeyframes = keyframes.filter(isNotNull);
4
- const useFirstKeyframe = speed < 0 || (repeat && repeatType !== "loop" && repeat % 2 === 1);
5
- const index = useFirstKeyframe ? 0 : resolvedKeyframes.length - 1;
6
- return !index || finalKeyframe === undefined
7
- ? resolvedKeyframes[index]
8
- : finalKeyframe;
9
- }
10
-
11
- export { getFinalKeyframe };
12
- //# sourceMappingURL=get-final.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-final.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/animation/keyframes/get-final.mjs"],"sourcesContent":["const isNotNull = (value) => value !== null;\nfunction getFinalKeyframe(keyframes, { repeat, repeatType = \"loop\" }, finalKeyframe, speed = 1) {\n const resolvedKeyframes = keyframes.filter(isNotNull);\n const useFirstKeyframe = speed < 0 || (repeat && repeatType !== \"loop\" && repeat % 2 === 1);\n const index = useFirstKeyframe ? 0 : resolvedKeyframes.length - 1;\n return !index || finalKeyframe === undefined\n ? resolvedKeyframes[index]\n : finalKeyframe;\n}\n\nexport { getFinalKeyframe };\n//# sourceMappingURL=get-final.mjs.map\n"],"names":[],"mappings":"AAAA,MAAM,SAAS,GAAG,CAAC,KAAK,KAAK,KAAK,KAAK,IAAI;AAC3C,SAAS,gBAAgB,CAAC,SAAS,EAAE,EAAE,MAAM,EAAE,UAAU,GAAG,MAAM,EAAE,EAAE,aAAa,EAAE,KAAK,GAAG,CAAC,EAAE;AAChG,IAAI,MAAM,iBAAiB,GAAG,SAAS,CAAC,MAAM,CAAC,SAAS,CAAC;AACzD,IAAI,MAAM,gBAAgB,GAAG,KAAK,GAAG,CAAC,KAAK,MAAM,IAAI,UAAU,KAAK,MAAM,IAAI,MAAM,GAAG,CAAC,KAAK,CAAC,CAAC;AAC/F,IAAI,MAAM,KAAK,GAAG,gBAAgB,GAAG,CAAC,GAAG,iBAAiB,CAAC,MAAM,GAAG,CAAC;AACrE,IAAI,OAAO,CAAC,KAAK,IAAI,aAAa,KAAK;AACvC,UAAU,iBAAiB,CAAC,KAAK;AACjC,UAAU,aAAa;AACvB;;;;","x_google_ignoreList":[0]}
@@ -1,10 +0,0 @@
1
- import { fillOffset } from './fill.js';
2
-
3
- function defaultOffset(arr) {
4
- const offset = [0];
5
- fillOffset(offset, arr.length - 1);
6
- return offset;
7
- }
8
-
9
- export { defaultOffset };
10
- //# sourceMappingURL=default.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"default.js","sources":["../../../../../../../../node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.mjs"],"sourcesContent":["import { fillOffset } from './fill.mjs';\n\nfunction defaultOffset(arr) {\n const offset = [0];\n fillOffset(offset, arr.length - 1);\n return offset;\n}\n\nexport { defaultOffset };\n//# sourceMappingURL=default.mjs.map\n"],"names":[],"mappings":";;AAEA,SAAS,aAAa,CAAC,GAAG,EAAE;AAC5B,IAAI,MAAM,MAAM,GAAG,CAAC,CAAC,CAAC;AACtB,IAAI,UAAU,CAAC,MAAM,EAAE,GAAG,CAAC,MAAM,GAAG,CAAC,CAAC;AACtC,IAAI,OAAO,MAAM;AACjB;;;;","x_google_ignoreList":[0]}
@@ -1,13 +0,0 @@
1
- import { mixNumber } from '../../../utils/mix/number.js';
2
- import { progress } from '../../../../../../motion-utils/dist/es/progress.js';
3
-
4
- function fillOffset(offset, remaining) {
5
- const min = offset[offset.length - 1];
6
- for (let i = 1; i <= remaining; i++) {
7
- const offsetProgress = progress(0, remaining, i);
8
- offset.push(mixNumber(min, 1, offsetProgress));
9
- }
10
- }
11
-
12
- export { fillOffset };
13
- //# sourceMappingURL=fill.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fill.js","sources":["../../../../../../../../node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.mjs"],"sourcesContent":["import { progress } from 'motion-utils';\nimport { mixNumber } from '../../../utils/mix/number.mjs';\n\nfunction fillOffset(offset, remaining) {\n const min = offset[offset.length - 1];\n for (let i = 1; i <= remaining; i++) {\n const offsetProgress = progress(0, remaining, i);\n offset.push(mixNumber(min, 1, offsetProgress));\n }\n}\n\nexport { fillOffset };\n//# sourceMappingURL=fill.mjs.map\n"],"names":[],"mappings":";;;AAGA,SAAS,UAAU,CAAC,MAAM,EAAE,SAAS,EAAE;AACvC,IAAI,MAAM,GAAG,GAAG,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC;AACzC,IAAI,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,SAAS,EAAE,CAAC,EAAE,EAAE;AACzC,QAAQ,MAAM,cAAc,GAAG,QAAQ,CAAC,CAAC,EAAE,SAAS,EAAE,CAAC,CAAC;AACxD,QAAQ,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,EAAE,CAAC,EAAE,cAAc,CAAC,CAAC;AACtD,IAAI;AACJ;;;;","x_google_ignoreList":[0]}
@@ -1,6 +0,0 @@
1
- function convertOffsetToTimes(offset, duration) {
2
- return offset.map((o) => o * duration);
3
- }
4
-
5
- export { convertOffsetToTimes };
6
- //# sourceMappingURL=time.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"time.js","sources":["../../../../../../../../node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.mjs"],"sourcesContent":["function convertOffsetToTimes(offset, duration) {\n return offset.map((o) => o * duration);\n}\n\nexport { convertOffsetToTimes };\n//# sourceMappingURL=time.mjs.map\n"],"names":[],"mappings":"AAAA,SAAS,oBAAoB,CAAC,MAAM,EAAE,QAAQ,EAAE;AAChD,IAAI,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC;AAC1C;;;;","x_google_ignoreList":[0]}
@@ -1,8 +0,0 @@
1
- function fillWildcards(keyframes) {
2
- for (let i = 1; i < keyframes.length; i++) {
3
- keyframes[i] ?? (keyframes[i] = keyframes[i - 1]);
4
- }
5
- }
6
-
7
- export { fillWildcards };
8
- //# sourceMappingURL=fill-wildcards.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fill-wildcards.js","sources":["../../../../../../../../node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.mjs"],"sourcesContent":["function fillWildcards(keyframes) {\n for (let i = 1; i < keyframes.length; i++) {\n keyframes[i] ?? (keyframes[i] = keyframes[i - 1]);\n }\n}\n\nexport { fillWildcards };\n//# sourceMappingURL=fill-wildcards.mjs.map\n"],"names":[],"mappings":"AAAA,SAAS,aAAa,CAAC,SAAS,EAAE;AAClC,IAAI,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;AAC/C,QAAQ,SAAS,CAAC,CAAC,CAAC,KAAK,SAAS,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;AACzD,IAAI;AACJ;;;;","x_google_ignoreList":[0]}
@@ -1,16 +0,0 @@
1
- import { isZeroValueString } from '../../../../../../motion-utils/dist/es/is-zero-value-string.js';
2
-
3
- function isNone(value) {
4
- if (typeof value === "number") {
5
- return value === 0;
6
- }
7
- else if (value !== null) {
8
- return value === "none" || value === "0" || isZeroValueString(value);
9
- }
10
- else {
11
- return true;
12
- }
13
- }
14
-
15
- export { isNone };
16
- //# sourceMappingURL=is-none.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"is-none.js","sources":["../../../../../../../../node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.mjs"],"sourcesContent":["import { isZeroValueString } from 'motion-utils';\n\nfunction isNone(value) {\n if (typeof value === \"number\") {\n return value === 0;\n }\n else if (value !== null) {\n return value === \"none\" || value === \"0\" || isZeroValueString(value);\n }\n else {\n return true;\n }\n}\n\nexport { isNone };\n//# sourceMappingURL=is-none.mjs.map\n"],"names":[],"mappings":";;AAEA,SAAS,MAAM,CAAC,KAAK,EAAE;AACvB,IAAI,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;AACnC,QAAQ,OAAO,KAAK,KAAK,CAAC;AAC1B,IAAI;AACJ,SAAS,IAAI,KAAK,KAAK,IAAI,EAAE;AAC7B,QAAQ,OAAO,KAAK,KAAK,MAAM,IAAI,KAAK,KAAK,GAAG,IAAI,iBAAiB,CAAC,KAAK,CAAC;AAC5E,IAAI;AACJ,SAAS;AACT,QAAQ,OAAO,IAAI;AACnB,IAAI;AACJ;;;;","x_google_ignoreList":[0]}
@@ -1,31 +0,0 @@
1
- import { analyseComplexValue } from '../../../value/types/complex/index.js';
2
- import { getAnimatableNone } from '../../../value/types/utils/animatable-none.js';
3
-
4
- /**
5
- * If we encounter keyframes like "none" or "0" and we also have keyframes like
6
- * "#fff" or "200px 200px" we want to find a keyframe to serve as a template for
7
- * the "none" keyframes. In this case "#fff" or "200px 200px" - then these get turned into
8
- * zero equivalents, i.e. "#fff0" or "0px 0px".
9
- */
10
- const invalidTemplates = new Set(["auto", "none", "0"]);
11
- function makeNoneKeyframesAnimatable(unresolvedKeyframes, noneKeyframeIndexes, name) {
12
- let i = 0;
13
- let animatableTemplate = undefined;
14
- while (i < unresolvedKeyframes.length && !animatableTemplate) {
15
- const keyframe = unresolvedKeyframes[i];
16
- if (typeof keyframe === "string" &&
17
- !invalidTemplates.has(keyframe) &&
18
- analyseComplexValue(keyframe).values.length) {
19
- animatableTemplate = unresolvedKeyframes[i];
20
- }
21
- i++;
22
- }
23
- if (animatableTemplate && name) {
24
- for (const noneIndex of noneKeyframeIndexes) {
25
- unresolvedKeyframes[noneIndex] = getAnimatableNone(name, animatableTemplate);
26
- }
27
- }
28
- }
29
-
30
- export { makeNoneKeyframesAnimatable };
31
- //# sourceMappingURL=make-none-animatable.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"make-none-animatable.js","sources":["../../../../../../../../node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.mjs"],"sourcesContent":["import { analyseComplexValue } from '../../../value/types/complex/index.mjs';\nimport { getAnimatableNone } from '../../../value/types/utils/animatable-none.mjs';\n\n/**\n * If we encounter keyframes like \"none\" or \"0\" and we also have keyframes like\n * \"#fff\" or \"200px 200px\" we want to find a keyframe to serve as a template for\n * the \"none\" keyframes. In this case \"#fff\" or \"200px 200px\" - then these get turned into\n * zero equivalents, i.e. \"#fff0\" or \"0px 0px\".\n */\nconst invalidTemplates = new Set([\"auto\", \"none\", \"0\"]);\nfunction makeNoneKeyframesAnimatable(unresolvedKeyframes, noneKeyframeIndexes, name) {\n let i = 0;\n let animatableTemplate = undefined;\n while (i < unresolvedKeyframes.length && !animatableTemplate) {\n const keyframe = unresolvedKeyframes[i];\n if (typeof keyframe === \"string\" &&\n !invalidTemplates.has(keyframe) &&\n analyseComplexValue(keyframe).values.length) {\n animatableTemplate = unresolvedKeyframes[i];\n }\n i++;\n }\n if (animatableTemplate && name) {\n for (const noneIndex of noneKeyframeIndexes) {\n unresolvedKeyframes[noneIndex] = getAnimatableNone(name, animatableTemplate);\n }\n }\n}\n\nexport { makeNoneKeyframesAnimatable };\n//# sourceMappingURL=make-none-animatable.mjs.map\n"],"names":[],"mappings":";;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,gBAAgB,GAAG,IAAI,GAAG,CAAC,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,CAAC,CAAC;AACvD,SAAS,2BAA2B,CAAC,mBAAmB,EAAE,mBAAmB,EAAE,IAAI,EAAE;AACrF,IAAI,IAAI,CAAC,GAAG,CAAC;AACb,IAAI,IAAI,kBAAkB,GAAG,SAAS;AACtC,IAAI,OAAO,CAAC,GAAG,mBAAmB,CAAC,MAAM,IAAI,CAAC,kBAAkB,EAAE;AAClE,QAAQ,MAAM,QAAQ,GAAG,mBAAmB,CAAC,CAAC,CAAC;AAC/C,QAAQ,IAAI,OAAO,QAAQ,KAAK,QAAQ;AACxC,YAAY,CAAC,gBAAgB,CAAC,GAAG,CAAC,QAAQ,CAAC;AAC3C,YAAY,mBAAmB,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,MAAM,EAAE;AACzD,YAAY,kBAAkB,GAAG,mBAAmB,CAAC,CAAC,CAAC;AACvD,QAAQ;AACR,QAAQ,CAAC,EAAE;AACX,IAAI;AACJ,IAAI,IAAI,kBAAkB,IAAI,IAAI,EAAE;AACpC,QAAQ,KAAK,MAAM,SAAS,IAAI,mBAAmB,EAAE;AACrD,YAAY,mBAAmB,CAAC,SAAS,CAAC,GAAG,iBAAiB,CAAC,IAAI,EAAE,kBAAkB,CAAC;AACxF,QAAQ;AACR,IAAI;AACJ;;;;","x_google_ignoreList":[0]}
@@ -1,47 +0,0 @@
1
- import { parseValueFromTransform } from '../../../render/dom/parse-transform.js';
2
- import { transformPropOrder } from '../../../render/utils/keys-transform.js';
3
- import { number } from '../../../value/types/numbers/index.js';
4
- import { px } from '../../../value/types/numbers/units.js';
5
-
6
- const isNumOrPxType = (v) => v === number || v === px;
7
- const transformKeys = new Set(["x", "y", "z"]);
8
- const nonTranslationalTransformKeys = transformPropOrder.filter((key) => !transformKeys.has(key));
9
- function removeNonTranslationalTransform(visualElement) {
10
- const removedTransforms = [];
11
- nonTranslationalTransformKeys.forEach((key) => {
12
- const value = visualElement.getValue(key);
13
- if (value !== undefined) {
14
- removedTransforms.push([key, value.get()]);
15
- value.set(key.startsWith("scale") ? 1 : 0);
16
- }
17
- });
18
- return removedTransforms;
19
- }
20
- const positionalValues = {
21
- // Dimensions
22
- width: ({ x }, { paddingLeft = "0", paddingRight = "0", boxSizing }) => {
23
- const width = x.max - x.min;
24
- return boxSizing === "border-box"
25
- ? width
26
- : width - parseFloat(paddingLeft) - parseFloat(paddingRight);
27
- },
28
- height: ({ y }, { paddingTop = "0", paddingBottom = "0", boxSizing }) => {
29
- const height = y.max - y.min;
30
- return boxSizing === "border-box"
31
- ? height
32
- : height - parseFloat(paddingTop) - parseFloat(paddingBottom);
33
- },
34
- top: (_bbox, { top }) => parseFloat(top),
35
- left: (_bbox, { left }) => parseFloat(left),
36
- bottom: ({ y }, { top }) => parseFloat(top) + (y.max - y.min),
37
- right: ({ x }, { left }) => parseFloat(left) + (x.max - x.min),
38
- // Transform
39
- x: (_bbox, { transform }) => parseValueFromTransform(transform, "x"),
40
- y: (_bbox, { transform }) => parseValueFromTransform(transform, "y"),
41
- };
42
- // Alias translate longform names
43
- positionalValues.translateX = positionalValues.x;
44
- positionalValues.translateY = positionalValues.y;
45
-
46
- export { isNumOrPxType, positionalValues, removeNonTranslationalTransform };
47
- //# sourceMappingURL=unit-conversion.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"unit-conversion.js","sources":["../../../../../../../../node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.mjs"],"sourcesContent":["import { parseValueFromTransform } from '../../../render/dom/parse-transform.mjs';\nimport { transformPropOrder } from '../../../render/utils/keys-transform.mjs';\nimport { number } from '../../../value/types/numbers/index.mjs';\nimport { px } from '../../../value/types/numbers/units.mjs';\n\nconst isNumOrPxType = (v) => v === number || v === px;\nconst transformKeys = new Set([\"x\", \"y\", \"z\"]);\nconst nonTranslationalTransformKeys = transformPropOrder.filter((key) => !transformKeys.has(key));\nfunction removeNonTranslationalTransform(visualElement) {\n const removedTransforms = [];\n nonTranslationalTransformKeys.forEach((key) => {\n const value = visualElement.getValue(key);\n if (value !== undefined) {\n removedTransforms.push([key, value.get()]);\n value.set(key.startsWith(\"scale\") ? 1 : 0);\n }\n });\n return removedTransforms;\n}\nconst positionalValues = {\n // Dimensions\n width: ({ x }, { paddingLeft = \"0\", paddingRight = \"0\", boxSizing }) => {\n const width = x.max - x.min;\n return boxSizing === \"border-box\"\n ? width\n : width - parseFloat(paddingLeft) - parseFloat(paddingRight);\n },\n height: ({ y }, { paddingTop = \"0\", paddingBottom = \"0\", boxSizing }) => {\n const height = y.max - y.min;\n return boxSizing === \"border-box\"\n ? height\n : height - parseFloat(paddingTop) - parseFloat(paddingBottom);\n },\n top: (_bbox, { top }) => parseFloat(top),\n left: (_bbox, { left }) => parseFloat(left),\n bottom: ({ y }, { top }) => parseFloat(top) + (y.max - y.min),\n right: ({ x }, { left }) => parseFloat(left) + (x.max - x.min),\n // Transform\n x: (_bbox, { transform }) => parseValueFromTransform(transform, \"x\"),\n y: (_bbox, { transform }) => parseValueFromTransform(transform, \"y\"),\n};\n// Alias translate longform names\npositionalValues.translateX = positionalValues.x;\npositionalValues.translateY = positionalValues.y;\n\nexport { isNumOrPxType, positionalValues, removeNonTranslationalTransform };\n//# sourceMappingURL=unit-conversion.mjs.map\n"],"names":[],"mappings":";;;;;AAKK,MAAC,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,KAAK,MAAM,IAAI,CAAC,KAAK;AACnD,MAAM,aAAa,GAAG,IAAI,GAAG,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;AAC9C,MAAM,6BAA6B,GAAG,kBAAkB,CAAC,MAAM,CAAC,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AACjG,SAAS,+BAA+B,CAAC,aAAa,EAAE;AACxD,IAAI,MAAM,iBAAiB,GAAG,EAAE;AAChC,IAAI,6BAA6B,CAAC,OAAO,CAAC,CAAC,GAAG,KAAK;AACnD,QAAQ,MAAM,KAAK,GAAG,aAAa,CAAC,QAAQ,CAAC,GAAG,CAAC;AACjD,QAAQ,IAAI,KAAK,KAAK,SAAS,EAAE;AACjC,YAAY,iBAAiB,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,GAAG,EAAE,CAAC,CAAC;AACtD,YAAY,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AACtD,QAAQ;AACR,IAAI,CAAC,CAAC;AACN,IAAI,OAAO,iBAAiB;AAC5B;AACK,MAAC,gBAAgB,GAAG;AACzB;AACA,IAAI,KAAK,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,WAAW,GAAG,GAAG,EAAE,YAAY,GAAG,GAAG,EAAE,SAAS,EAAE,KAAK;AAC5E,QAAQ,MAAM,KAAK,GAAG,CA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;AACA;AACA,gBAAgB,CAAC,UAAU,GAAG,gBAAgB,CAAC,CAAC;AAChD,gBAAgB,CAAC,UAAU,GAAG,gBAAgB,CAAC,CAAC;;;;","x_google_ignoreList":[0]}
@@ -1,7 +0,0 @@
1
- import { camelToDash } from '../../render/dom/utils/camel-to-dash.js';
2
-
3
- const optimizedAppearDataId = "framerAppearId";
4
- const optimizedAppearDataAttribute = "data-" + camelToDash(optimizedAppearDataId);
5
-
6
- export { optimizedAppearDataAttribute, optimizedAppearDataId };
7
- //# sourceMappingURL=data-id.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"data-id.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.mjs"],"sourcesContent":["import { camelToDash } from '../../render/dom/utils/camel-to-dash.mjs';\n\nconst optimizedAppearDataId = \"framerAppearId\";\nconst optimizedAppearDataAttribute = \"data-\" + camelToDash(optimizedAppearDataId);\n\nexport { optimizedAppearDataAttribute, optimizedAppearDataId };\n//# sourceMappingURL=data-id.mjs.map\n"],"names":[],"mappings":";;AAEK,MAAC,qBAAqB,GAAG;AACzB,MAAC,4BAA4B,GAAG,OAAO,GAAG,WAAW,CAAC,qBAAqB;;;;","x_google_ignoreList":[0]}
@@ -1,8 +0,0 @@
1
- import { optimizedAppearDataAttribute } from './data-id.js';
2
-
3
- function getOptimisedAppearId(visualElement) {
4
- return visualElement.props[optimizedAppearDataAttribute];
5
- }
6
-
7
- export { getOptimisedAppearId };
8
- //# sourceMappingURL=get-appear-id.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-appear-id.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.mjs"],"sourcesContent":["import { optimizedAppearDataAttribute } from './data-id.mjs';\n\nfunction getOptimisedAppearId(visualElement) {\n return visualElement.props[optimizedAppearDataAttribute];\n}\n\nexport { getOptimisedAppearId };\n//# sourceMappingURL=get-appear-id.mjs.map\n"],"names":[],"mappings":";;AAEA,SAAS,oBAAoB,CAAC,aAAa,EAAE;AAC7C,IAAI,OAAO,aAAa,CAAC,KAAK,CAAC,4BAA4B,CAAC;AAC5D;;;;","x_google_ignoreList":[0]}
@@ -1,27 +0,0 @@
1
- class WithPromise {
2
- constructor() {
3
- this.updateFinished();
4
- }
5
- get finished() {
6
- return this._finished;
7
- }
8
- updateFinished() {
9
- this._finished = new Promise((resolve) => {
10
- this.resolve = resolve;
11
- });
12
- }
13
- notifyFinished() {
14
- this.resolve();
15
- }
16
- /**
17
- * Allows the animation to be awaited.
18
- *
19
- * @deprecated Use `finished` instead.
20
- */
21
- then(onResolve, onReject) {
22
- return this.finished.then(onResolve, onReject);
23
- }
24
- }
25
-
26
- export { WithPromise };
27
- //# sourceMappingURL=WithPromise.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WithPromise.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/animation/utils/WithPromise.mjs"],"sourcesContent":["class WithPromise {\n constructor() {\n this.updateFinished();\n }\n get finished() {\n return this._finished;\n }\n updateFinished() {\n this._finished = new Promise((resolve) => {\n this.resolve = resolve;\n });\n }\n notifyFinished() {\n this.resolve();\n }\n /**\n * Allows the animation to be awaited.\n *\n * @deprecated Use `finished` instead.\n */\n then(onResolve, onReject) {\n return this.finished.then(onResolve, onReject);\n }\n}\n\nexport { WithPromise };\n//# sourceMappingURL=WithPromise.mjs.map\n"],"names":[],"mappings":"AAAA,MAAM,WAAW,CAAC;AAClB,IAAI,WAAW,GAAG;AAClB,QAAQ,IAAI,CAAC,cAAc,EAAE;AAC7B,IAAI;AACJ,IAAI,IAAI,QAAQ,GAAG;AACnB,QAAQ,OAAO,IAAI,CAAC,SAAS;AAC7B,IAAI;AACJ,IAAI,cAAc,GAAG;AACrB,QAAQ,IAAI,CAAC,SAAS,GAAG,IAAI,OAAO,CAAC,CAAC,OAAO,KAAK;AAClD,YAAY,IAAI,CAAC,OAAO,GAAG,OAAO;AAClC,QAAQ,CAAC,CAAC;AACV,IAAI;AACJ,IAAI,cAAc,GAAG;AACrB,QAAQ,IAAI,CAAC,OAAO,EAAE;AACtB,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA,IAAI,IAAI,CAAC,SAAS,EAAE,QAAQ,EAAE;AAC9B,QAAQ,OAAO,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,SAAS,EAAE,QAAQ,CAAC;AACtD,IAAI;AACJ;;;;","x_google_ignoreList":[0]}
@@ -1,16 +0,0 @@
1
- function calcChildStagger(children, child, delayChildren, staggerChildren = 0, staggerDirection = 1) {
2
- const index = Array.from(children)
3
- .sort((a, b) => a.sortNodePosition(b))
4
- .indexOf(child);
5
- const numChildren = children.size;
6
- const maxStaggerDuration = (numChildren - 1) * staggerChildren;
7
- const delayIsFunction = typeof delayChildren === "function";
8
- return delayIsFunction
9
- ? delayChildren(index, numChildren)
10
- : staggerDirection === 1
11
- ? index * staggerChildren
12
- : maxStaggerDuration - index * staggerChildren;
13
- }
14
-
15
- export { calcChildStagger };
16
- //# sourceMappingURL=calc-child-stagger.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"calc-child-stagger.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.mjs"],"sourcesContent":["function calcChildStagger(children, child, delayChildren, staggerChildren = 0, staggerDirection = 1) {\n const index = Array.from(children)\n .sort((a, b) => a.sortNodePosition(b))\n .indexOf(child);\n const numChildren = children.size;\n const maxStaggerDuration = (numChildren - 1) * staggerChildren;\n const delayIsFunction = typeof delayChildren === \"function\";\n return delayIsFunction\n ? delayChildren(index, numChildren)\n : staggerDirection === 1\n ? index * staggerChildren\n : maxStaggerDuration - index * staggerChildren;\n}\n\nexport { calcChildStagger };\n//# sourceMappingURL=calc-child-stagger.mjs.map\n"],"names":[],"mappings":"AAAA,SAAS,gBAAgB,CAAC,QAAQ,EAAE,KAAK,EAAE,aAAa,EAAE,eAAe,GAAG,CAAC,EAAE,gBAAgB,GAAG,CAAC,EAAE;AACrG,IAAI,MAAM,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC,QAAQ;AACrC,SAAS,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC;AAC7C,SAAS,OAAO,CAAC,KAAK,CAAC;AACvB,IAAI,MAAM,WAAW,GAAG,QAAQ,CAAC,IAAI;AACrC,IAAI,MAAM,kBAAkB,GAAG,CAAC,WAAW,GAAG,CAAC,IAAI,eAAe;AAClE,IAAI,MAAM,eAAe,GAAG,OAAO,aAAa,KAAK,UAAU;AAC/D,IAAI,OAAO;AACX,UAAU,aAAa,CAAC,KAAK,EAAE,WAAW;AAC1C,UAAU,gBAAgB,KAAK;AAC/B,cAAc,KAAK,GAAG;AACtB,cAAc,kBAAkB,GAAG,KAAK,GAAG,eAAe;AAC1D;;;;","x_google_ignoreList":[0]}