@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,320 +0,0 @@
1
- import { time } from '../frameloop/sync-time.js';
2
- import { frame } from '../frameloop/frame.js';
3
- import { warnOnce } from '../../../../motion-utils/dist/es/warn-once.js';
4
- import { SubscriptionManager } from '../../../../motion-utils/dist/es/subscription-manager.js';
5
- import { velocityPerSecond } from '../../../../motion-utils/dist/es/velocity-per-second.js';
6
-
7
- /**
8
- * Maximum time between the value of two frames, beyond which we
9
- * assume the velocity has since been 0.
10
- */
11
- const MAX_VELOCITY_DELTA = 30;
12
- const isFloat = (value) => {
13
- return !isNaN(parseFloat(value));
14
- };
15
- /**
16
- * `MotionValue` is used to track the state and velocity of motion values.
17
- *
18
- * @public
19
- */
20
- class MotionValue {
21
- /**
22
- * @param init - The initiating value
23
- * @param config - Optional configuration options
24
- *
25
- * - `transformer`: A function to transform incoming values with.
26
- */
27
- constructor(init, options = {}) {
28
- /**
29
- * Tracks whether this value can output a velocity. Currently this is only true
30
- * if the value is numerical, but we might be able to widen the scope here and support
31
- * other value types.
32
- *
33
- * @internal
34
- */
35
- this.canTrackVelocity = null;
36
- /**
37
- * An object containing a SubscriptionManager for each active event.
38
- */
39
- this.events = {};
40
- this.updateAndNotify = (v) => {
41
- const currentTime = time.now();
42
- /**
43
- * If we're updating the value during another frame or eventloop
44
- * than the previous frame, then the we set the previous frame value
45
- * to current.
46
- */
47
- if (this.updatedAt !== currentTime) {
48
- this.setPrevFrameValue();
49
- }
50
- this.prev = this.current;
51
- this.setCurrent(v);
52
- // Update update subscribers
53
- if (this.current !== this.prev) {
54
- this.events.change?.notify(this.current);
55
- if (this.dependents) {
56
- for (const dependent of this.dependents) {
57
- dependent.dirty();
58
- }
59
- }
60
- }
61
- };
62
- this.hasAnimated = false;
63
- this.setCurrent(init);
64
- this.owner = options.owner;
65
- }
66
- setCurrent(current) {
67
- this.current = current;
68
- this.updatedAt = time.now();
69
- if (this.canTrackVelocity === null && current !== undefined) {
70
- this.canTrackVelocity = isFloat(this.current);
71
- }
72
- }
73
- setPrevFrameValue(prevFrameValue = this.current) {
74
- this.prevFrameValue = prevFrameValue;
75
- this.prevUpdatedAt = this.updatedAt;
76
- }
77
- /**
78
- * Adds a function that will be notified when the `MotionValue` is updated.
79
- *
80
- * It returns a function that, when called, will cancel the subscription.
81
- *
82
- * When calling `onChange` inside a React component, it should be wrapped with the
83
- * `useEffect` hook. As it returns an unsubscribe function, this should be returned
84
- * from the `useEffect` function to ensure you don't add duplicate subscribers..
85
- *
86
- * ```jsx
87
- * export const MyComponent = () => {
88
- * const x = useMotionValue(0)
89
- * const y = useMotionValue(0)
90
- * const opacity = useMotionValue(1)
91
- *
92
- * useEffect(() => {
93
- * function updateOpacity() {
94
- * const maxXY = Math.max(x.get(), y.get())
95
- * const newOpacity = transform(maxXY, [0, 100], [1, 0])
96
- * opacity.set(newOpacity)
97
- * }
98
- *
99
- * const unsubscribeX = x.on("change", updateOpacity)
100
- * const unsubscribeY = y.on("change", updateOpacity)
101
- *
102
- * return () => {
103
- * unsubscribeX()
104
- * unsubscribeY()
105
- * }
106
- * }, [])
107
- *
108
- * return <motion.div style={{ x }} />
109
- * }
110
- * ```
111
- *
112
- * @param subscriber - A function that receives the latest value.
113
- * @returns A function that, when called, will cancel this subscription.
114
- *
115
- * @deprecated
116
- */
117
- onChange(subscription) {
118
- if (process.env.NODE_ENV !== "production") {
119
- warnOnce(false, `value.onChange(callback) is deprecated. Switch to value.on("change", callback).`);
120
- }
121
- return this.on("change", subscription);
122
- }
123
- on(eventName, callback) {
124
- if (!this.events[eventName]) {
125
- this.events[eventName] = new SubscriptionManager();
126
- }
127
- const unsubscribe = this.events[eventName].add(callback);
128
- if (eventName === "change") {
129
- return () => {
130
- unsubscribe();
131
- /**
132
- * If we have no more change listeners by the start
133
- * of the next frame, stop active animations.
134
- */
135
- frame.read(() => {
136
- if (!this.events.change.getSize()) {
137
- this.stop();
138
- }
139
- });
140
- };
141
- }
142
- return unsubscribe;
143
- }
144
- clearListeners() {
145
- for (const eventManagers in this.events) {
146
- this.events[eventManagers].clear();
147
- }
148
- }
149
- /**
150
- * Attaches a passive effect to the `MotionValue`.
151
- */
152
- attach(passiveEffect, stopPassiveEffect) {
153
- this.passiveEffect = passiveEffect;
154
- this.stopPassiveEffect = stopPassiveEffect;
155
- }
156
- /**
157
- * Sets the state of the `MotionValue`.
158
- *
159
- * @remarks
160
- *
161
- * ```jsx
162
- * const x = useMotionValue(0)
163
- * x.set(10)
164
- * ```
165
- *
166
- * @param latest - Latest value to set.
167
- * @param render - Whether to notify render subscribers. Defaults to `true`
168
- *
169
- * @public
170
- */
171
- set(v) {
172
- if (!this.passiveEffect) {
173
- this.updateAndNotify(v);
174
- }
175
- else {
176
- this.passiveEffect(v, this.updateAndNotify);
177
- }
178
- }
179
- setWithVelocity(prev, current, delta) {
180
- this.set(current);
181
- this.prev = undefined;
182
- this.prevFrameValue = prev;
183
- this.prevUpdatedAt = this.updatedAt - delta;
184
- }
185
- /**
186
- * Set the state of the `MotionValue`, stopping any active animations,
187
- * effects, and resets velocity to `0`.
188
- */
189
- jump(v, endAnimation = true) {
190
- this.updateAndNotify(v);
191
- this.prev = v;
192
- this.prevUpdatedAt = this.prevFrameValue = undefined;
193
- endAnimation && this.stop();
194
- if (this.stopPassiveEffect)
195
- this.stopPassiveEffect();
196
- }
197
- dirty() {
198
- this.events.change?.notify(this.current);
199
- }
200
- addDependent(dependent) {
201
- if (!this.dependents) {
202
- this.dependents = new Set();
203
- }
204
- this.dependents.add(dependent);
205
- }
206
- removeDependent(dependent) {
207
- if (this.dependents) {
208
- this.dependents.delete(dependent);
209
- }
210
- }
211
- /**
212
- * Returns the latest state of `MotionValue`
213
- *
214
- * @returns - The latest state of `MotionValue`
215
- *
216
- * @public
217
- */
218
- get() {
219
- return this.current;
220
- }
221
- /**
222
- * @public
223
- */
224
- getPrevious() {
225
- return this.prev;
226
- }
227
- /**
228
- * Returns the latest velocity of `MotionValue`
229
- *
230
- * @returns - The latest velocity of `MotionValue`. Returns `0` if the state is non-numerical.
231
- *
232
- * @public
233
- */
234
- getVelocity() {
235
- const currentTime = time.now();
236
- if (!this.canTrackVelocity ||
237
- this.prevFrameValue === undefined ||
238
- currentTime - this.updatedAt > MAX_VELOCITY_DELTA) {
239
- return 0;
240
- }
241
- const delta = Math.min(this.updatedAt - this.prevUpdatedAt, MAX_VELOCITY_DELTA);
242
- // Casts because of parseFloat's poor typing
243
- return velocityPerSecond(parseFloat(this.current) -
244
- parseFloat(this.prevFrameValue), delta);
245
- }
246
- /**
247
- * Registers a new animation to control this `MotionValue`. Only one
248
- * animation can drive a `MotionValue` at one time.
249
- *
250
- * ```jsx
251
- * value.start()
252
- * ```
253
- *
254
- * @param animation - A function that starts the provided animation
255
- */
256
- start(startAnimation) {
257
- this.stop();
258
- return new Promise((resolve) => {
259
- this.hasAnimated = true;
260
- this.animation = startAnimation(resolve);
261
- if (this.events.animationStart) {
262
- this.events.animationStart.notify();
263
- }
264
- }).then(() => {
265
- if (this.events.animationComplete) {
266
- this.events.animationComplete.notify();
267
- }
268
- this.clearAnimation();
269
- });
270
- }
271
- /**
272
- * Stop the currently active animation.
273
- *
274
- * @public
275
- */
276
- stop() {
277
- if (this.animation) {
278
- this.animation.stop();
279
- if (this.events.animationCancel) {
280
- this.events.animationCancel.notify();
281
- }
282
- }
283
- this.clearAnimation();
284
- }
285
- /**
286
- * Returns `true` if this value is currently animating.
287
- *
288
- * @public
289
- */
290
- isAnimating() {
291
- return !!this.animation;
292
- }
293
- clearAnimation() {
294
- delete this.animation;
295
- }
296
- /**
297
- * Destroy and clean up subscribers to this `MotionValue`.
298
- *
299
- * The `MotionValue` hooks like `useMotionValue` and `useTransform` automatically
300
- * handle the lifecycle of the returned `MotionValue`, so this method is only necessary if you've manually
301
- * created a `MotionValue` via the `motionValue` function.
302
- *
303
- * @public
304
- */
305
- destroy() {
306
- this.dependents?.clear();
307
- this.events.destroy?.notify();
308
- this.clearListeners();
309
- this.stop();
310
- if (this.stopPassiveEffect) {
311
- this.stopPassiveEffect();
312
- }
313
- }
314
- }
315
- function motionValue(init, options) {
316
- return new MotionValue(init, options);
317
- }
318
-
319
- export { MotionValue, motionValue };
320
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../node_modules/motion-dom/dist/es/value/index.mjs"],"sourcesContent":["import { warnOnce, SubscriptionManager, velocityPerSecond } from 'motion-utils';\nimport { time } from '../frameloop/sync-time.mjs';\nimport { frame } from '../frameloop/frame.mjs';\n\n/**\n * Maximum time between the value of two frames, beyond which we\n * assume the velocity has since been 0.\n */\nconst MAX_VELOCITY_DELTA = 30;\nconst isFloat = (value) => {\n return !isNaN(parseFloat(value));\n};\nconst collectMotionValues = {\n current: undefined,\n};\n/**\n * `MotionValue` is used to track the state and velocity of motion values.\n *\n * @public\n */\nclass MotionValue {\n /**\n * @param init - The initiating value\n * @param config - Optional configuration options\n *\n * - `transformer`: A function to transform incoming values with.\n */\n constructor(init, options = {}) {\n /**\n * Tracks whether this value can output a velocity. Currently this is only true\n * if the value is numerical, but we might be able to widen the scope here and support\n * other value types.\n *\n * @internal\n */\n this.canTrackVelocity = null;\n /**\n * An object containing a SubscriptionManager for each active event.\n */\n this.events = {};\n this.updateAndNotify = (v) => {\n const currentTime = time.now();\n /**\n * If we're updating the value during another frame or eventloop\n * than the previous frame, then the we set the previous frame value\n * to current.\n */\n if (this.updatedAt !== currentTime) {\n this.setPrevFrameValue();\n }\n this.prev = this.current;\n this.setCurrent(v);\n // Update update subscribers\n if (this.current !== this.prev) {\n this.events.change?.notify(this.current);\n if (this.dependents) {\n for (const dependent of this.dependents) {\n dependent.dirty();\n }\n }\n }\n };\n this.hasAnimated = false;\n this.setCurrent(init);\n this.owner = options.owner;\n }\n setCurrent(current) {\n this.current = current;\n this.updatedAt = time.now();\n if (this.canTrackVelocity === null && current !== undefined) {\n this.canTrackVelocity = isFloat(this.current);\n }\n }\n setPrevFrameValue(prevFrameValue = this.current) {\n this.prevFrameValue = prevFrameValue;\n this.prevUpdatedAt = this.updatedAt;\n }\n /**\n * Adds a function that will be notified when the `MotionValue` is updated.\n *\n * It returns a function that, when called, will cancel the subscription.\n *\n * When calling `onChange` inside a React component, it should be wrapped with the\n * `useEffect` hook. As it returns an unsubscribe function, this should be returned\n * from the `useEffect` function to ensure you don't add duplicate subscribers..\n *\n * ```jsx\n * export const MyComponent = () => {\n * const x = useMotionValue(0)\n * const y = useMotionValue(0)\n * const opacity = useMotionValue(1)\n *\n * useEffect(() => {\n * function updateOpacity() {\n * const maxXY = Math.max(x.get(), y.get())\n * const newOpacity = transform(maxXY, [0, 100], [1, 0])\n * opacity.set(newOpacity)\n * }\n *\n * const unsubscribeX = x.on(\"change\", updateOpacity)\n * const unsubscribeY = y.on(\"change\", updateOpacity)\n *\n * return () => {\n * unsubscribeX()\n * unsubscribeY()\n * }\n * }, [])\n *\n * return <motion.div style={{ x }} />\n * }\n * ```\n *\n * @param subscriber - A function that receives the latest value.\n * @returns A function that, when called, will cancel this subscription.\n *\n * @deprecated\n */\n onChange(subscription) {\n if (process.env.NODE_ENV !== \"production\") {\n warnOnce(false, `value.onChange(callback) is deprecated. Switch to value.on(\"change\", callback).`);\n }\n return this.on(\"change\", subscription);\n }\n on(eventName, callback) {\n if (!this.events[eventName]) {\n this.events[eventName] = new SubscriptionManager();\n }\n const unsubscribe = this.events[eventName].add(callback);\n if (eventName === \"change\") {\n return () => {\n unsubscribe();\n /**\n * If we have no more change listeners by the start\n * of the next frame, stop active animations.\n */\n frame.read(() => {\n if (!this.events.change.getSize()) {\n this.stop();\n }\n });\n };\n }\n return unsubscribe;\n }\n clearListeners() {\n for (const eventManagers in this.events) {\n this.events[eventManagers].clear();\n }\n }\n /**\n * Attaches a passive effect to the `MotionValue`.\n */\n attach(passiveEffect, stopPassiveEffect) {\n this.passiveEffect = passiveEffect;\n this.stopPassiveEffect = stopPassiveEffect;\n }\n /**\n * Sets the state of the `MotionValue`.\n *\n * @remarks\n *\n * ```jsx\n * const x = useMotionValue(0)\n * x.set(10)\n * ```\n *\n * @param latest - Latest value to set.\n * @param render - Whether to notify render subscribers. Defaults to `true`\n *\n * @public\n */\n set(v) {\n if (!this.passiveEffect) {\n this.updateAndNotify(v);\n }\n else {\n this.passiveEffect(v, this.updateAndNotify);\n }\n }\n setWithVelocity(prev, current, delta) {\n this.set(current);\n this.prev = undefined;\n this.prevFrameValue = prev;\n this.prevUpdatedAt = this.updatedAt - delta;\n }\n /**\n * Set the state of the `MotionValue`, stopping any active animations,\n * effects, and resets velocity to `0`.\n */\n jump(v, endAnimation = true) {\n this.updateAndNotify(v);\n this.prev = v;\n this.prevUpdatedAt = this.prevFrameValue = undefined;\n endAnimation && this.stop();\n if (this.stopPassiveEffect)\n this.stopPassiveEffect();\n }\n dirty() {\n this.events.change?.notify(this.current);\n }\n addDependent(dependent) {\n if (!this.dependents) {\n this.dependents = new Set();\n }\n this.dependents.add(dependent);\n }\n removeDependent(dependent) {\n if (this.dependents) {\n this.dependents.delete(dependent);\n }\n }\n /**\n * Returns the latest state of `MotionValue`\n *\n * @returns - The latest state of `MotionValue`\n *\n * @public\n */\n get() {\n if (collectMotionValues.current) {\n collectMotionValues.current.push(this);\n }\n return this.current;\n }\n /**\n * @public\n */\n getPrevious() {\n return this.prev;\n }\n /**\n * Returns the latest velocity of `MotionValue`\n *\n * @returns - The latest velocity of `MotionValue`. Returns `0` if the state is non-numerical.\n *\n * @public\n */\n getVelocity() {\n const currentTime = time.now();\n if (!this.canTrackVelocity ||\n this.prevFrameValue === undefined ||\n currentTime - this.updatedAt > MAX_VELOCITY_DELTA) {\n return 0;\n }\n const delta = Math.min(this.updatedAt - this.prevUpdatedAt, MAX_VELOCITY_DELTA);\n // Casts because of parseFloat's poor typing\n return velocityPerSecond(parseFloat(this.current) -\n parseFloat(this.prevFrameValue), delta);\n }\n /**\n * Registers a new animation to control this `MotionValue`. Only one\n * animation can drive a `MotionValue` at one time.\n *\n * ```jsx\n * value.start()\n * ```\n *\n * @param animation - A function that starts the provided animation\n */\n start(startAnimation) {\n this.stop();\n return new Promise((resolve) => {\n this.hasAnimated = true;\n this.animation = startAnimation(resolve);\n if (this.events.animationStart) {\n this.events.animationStart.notify();\n }\n }).then(() => {\n if (this.events.animationComplete) {\n this.events.animationComplete.notify();\n }\n this.clearAnimation();\n });\n }\n /**\n * Stop the currently active animation.\n *\n * @public\n */\n stop() {\n if (this.animation) {\n this.animation.stop();\n if (this.events.animationCancel) {\n this.events.animationCancel.notify();\n }\n }\n this.clearAnimation();\n }\n /**\n * Returns `true` if this value is currently animating.\n *\n * @public\n */\n isAnimating() {\n return !!this.animation;\n }\n clearAnimation() {\n delete this.animation;\n }\n /**\n * Destroy and clean up subscribers to this `MotionValue`.\n *\n * The `MotionValue` hooks like `useMotionValue` and `useTransform` automatically\n * handle the lifecycle of the returned `MotionValue`, so this method is only necessary if you've manually\n * created a `MotionValue` via the `motionValue` function.\n *\n * @public\n */\n destroy() {\n this.dependents?.clear();\n this.events.destroy?.notify();\n this.clearListeners();\n this.stop();\n if (this.stopPassiveEffect) {\n this.stopPassiveEffect();\n }\n }\n}\nfunction motionValue(init, options) {\n return new MotionValue(init, options);\n}\n\nexport { MotionValue, collectMotionValues, motionValue };\n//# sourceMappingURL=index.mjs.map\n"],"names":[],"mappings":";;;;;;AAIA;AACA;AACA;AACA;AACA,MAAM,kBAAkB,GAAG,EAAE;AAC7B,MAAM,OAAO,GAAG,CAAC,KAAK,KAAK;AAC3B,IAAI,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;AACpC,CAAC;AAID;AACA;AACA;AACA;AACA;AACA,MAAM,WAAW,CAAC;AAClB;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,WAAW,CAAC,IAAI,EAAE,OAAO,GAAG,EAAE,EAAE;AACpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ,IAAI,CAAC,gBAAgB,GAAG,IAAI;AACpC;AACA;AACA;AACA,QAAQ,IAAI,CAAC,MAAM,GAAG,EAAE;AACxB,QAAQ,IAAI,CAAC,eAAe,GAAG,CAAC,CAAC,KAAK;AACtC,YAAY,MAAM,WAAW,GAAG,IAAI,CAAC,GAAG,EAAE;AAC1C;AACA;AACA;AACA;AACA;AACA,YAAY,IAAI,IAAI,CAAC,SAAS,KAAK,WAAW,EAAE;AAChD,gBAAgB,IAAI,CAAC,iBAAiB,EAAE;AACxC,YAAY;AACZ,YAAY,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,OAAO;AACpC,YAAY,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC;AAC9B;AACA,YAAY,IAAI,IAAI,CAAC,OAAO,KAAK,IAAI,CAAC,IAAI,EAAE;AAC5C,gBAAgB,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC;AACxD,gBAAgB,IAAI,IAAI,CAAC,UAAU,EAAE;AACrC,oBAAoB,KAAK,MAAM,SAAS,IAAI,IAAI,CAAC,UAAU,EAAE;AAC7D,wBAAwB,SAAS,CAAC,KAAK,EAAE;A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reList":[0]}
@@ -1,10 +0,0 @@
1
- /**
2
- * ValueType for "auto"
3
- */
4
- const auto = {
5
- test: (v) => v === "auto",
6
- parse: (v) => v,
7
- };
8
-
9
- export { auto };
10
- //# sourceMappingURL=auto.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"auto.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/value/types/auto.mjs"],"sourcesContent":["/**\n * ValueType for \"auto\"\n */\nconst auto = {\n test: (v) => v === \"auto\",\n parse: (v) => v,\n};\n\nexport { auto };\n//# sourceMappingURL=auto.mjs.map\n"],"names":[],"mappings":"AAAA;AACA;AACA;AACK,MAAC,IAAI,GAAG;AACb,IAAI,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,KAAK,MAAM;AAC7B,IAAI,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC;AACnB;;;;","x_google_ignoreList":[0]}
@@ -1,41 +0,0 @@
1
- import { rgba } from './rgba.js';
2
- import { isColorString } from './utils.js';
3
-
4
- function parseHex(v) {
5
- let r = "";
6
- let g = "";
7
- let b = "";
8
- let a = "";
9
- // If we have 6 characters, ie #FF0000
10
- if (v.length > 5) {
11
- r = v.substring(1, 3);
12
- g = v.substring(3, 5);
13
- b = v.substring(5, 7);
14
- a = v.substring(7, 9);
15
- // Or we have 3 characters, ie #F00
16
- }
17
- else {
18
- r = v.substring(1, 2);
19
- g = v.substring(2, 3);
20
- b = v.substring(3, 4);
21
- a = v.substring(4, 5);
22
- r += r;
23
- g += g;
24
- b += b;
25
- a += a;
26
- }
27
- return {
28
- red: parseInt(r, 16),
29
- green: parseInt(g, 16),
30
- blue: parseInt(b, 16),
31
- alpha: a ? parseInt(a, 16) / 255 : 1,
32
- };
33
- }
34
- const hex = {
35
- test: /*@__PURE__*/ isColorString("#"),
36
- parse: parseHex,
37
- transform: rgba.transform,
38
- };
39
-
40
- export { hex };
41
- //# sourceMappingURL=hex.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"hex.js","sources":["../../../../../../../../node_modules/motion-dom/dist/es/value/types/color/hex.mjs"],"sourcesContent":["import { rgba } from './rgba.mjs';\nimport { isColorString } from './utils.mjs';\n\nfunction parseHex(v) {\n let r = \"\";\n let g = \"\";\n let b = \"\";\n let a = \"\";\n // If we have 6 characters, ie #FF0000\n if (v.length > 5) {\n r = v.substring(1, 3);\n g = v.substring(3, 5);\n b = v.substring(5, 7);\n a = v.substring(7, 9);\n // Or we have 3 characters, ie #F00\n }\n else {\n r = v.substring(1, 2);\n g = v.substring(2, 3);\n b = v.substring(3, 4);\n a = v.substring(4, 5);\n r += r;\n g += g;\n b += b;\n a += a;\n }\n return {\n red: parseInt(r, 16),\n green: parseInt(g, 16),\n blue: parseInt(b, 16),\n alpha: a ? parseInt(a, 16) / 255 : 1,\n };\n}\nconst hex = {\n test: /*@__PURE__*/ isColorString(\"#\"),\n parse: parseHex,\n transform: rgba.transform,\n};\n\nexport { hex };\n//# sourceMappingURL=hex.mjs.map\n"],"names":[],"mappings":";;;AAGA,SAAS,QAAQ,CAAC,CAAC,EAAE;AACrB,IAAI,IAAI,CAAC,GAAG,EAAE;AACd,IAAI,IAAI,CAAC,GAAG,EAAE;AACd,IAAI,IAAI,CAAC,GAAG,EAAE;AACd,IAAI,IAAI,CAAC,GAAG,EAAE;AACd;AACA,IAAI,IAAI,CAAC,CAAC,MAAM,GAAG,CAAC,EAAE;AACtB,QAAQ,CAAC,GAAG,CAAC,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC;AAC7B,QAAQ,CAAC,GAAG,CAAC,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC;AAC7B,QAAQ,CAAC,GAAG,CAAC,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC;AAC7B,QAAQ,CAAC,GAAG,CAAC,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC;AAC7B;AACA,IAAI;AACJ,SAAS;AACT,QAAQ,CAAC,GAAG,CAAC,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC;AAC7B,QAAQ,CAAC,GAAG,CAAC,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC;AAC7B,QAAQ,CAAC,GAAG,CAAC,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC;AAC7B,QAAQ,CAAC,GAAG,CAAC,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC;AAC7B,QAAQ,CAAC,IAAI,CAAC;AACd,QAAQ,CAAC,IAAI,CAAC;AACd,QAAQ,CAAC,IAAI,CAAC;AACd,QAAQ,CAAC,IAAI,CAAC;AACd,IAAI;AACJ,IAAI,OAAO;AACX,QAAQ,GAAG,EAAE,QAAQ,CAAC,CAAC,EAAE,EAAE,CAAC;AAC5B,QAAQ,KAAK,EAAE,QAAQ,CAAC,CAAC,EAAE,EAAE,CAAC;AAC9B,QAAQ,IAAI,EAAE,QAAQ,CAAC,CAAC,EAAE,EAAE,CAAC;AAC7B,QAAQ,KAAK,EAAE,CAAC,GAAG,QAAQ,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,GAAG,GAAG,CAAC;AAC5C,KAAK;AACL;AACK,MAAC,GAAG,GAAG;AACZ,IAAI,IAAI,gBAAgB,aAAa,CAAC,GAAG,CAAC;AAC1C,IAAI,KAAK,EAAE,QAAQ;AACnB,IAAI,SAAS,EAAE,IAAI,CAAC,SAAS;AAC7B;;;;","x_google_ignoreList":[0]}
@@ -1,43 +0,0 @@
1
- // Adapted from https://gist.github.com/mjackson/5311256
2
- function hueToRgb(p, q, t) {
3
- if (t < 0)
4
- t += 1;
5
- if (t > 1)
6
- t -= 1;
7
- if (t < 1 / 6)
8
- return p + (q - p) * 6 * t;
9
- if (t < 1 / 2)
10
- return q;
11
- if (t < 2 / 3)
12
- return p + (q - p) * (2 / 3 - t) * 6;
13
- return p;
14
- }
15
- function hslaToRgba({ hue, saturation, lightness, alpha }) {
16
- hue /= 360;
17
- saturation /= 100;
18
- lightness /= 100;
19
- let red = 0;
20
- let green = 0;
21
- let blue = 0;
22
- if (!saturation) {
23
- red = green = blue = lightness;
24
- }
25
- else {
26
- const q = lightness < 0.5
27
- ? lightness * (1 + saturation)
28
- : lightness + saturation - lightness * saturation;
29
- const p = 2 * lightness - q;
30
- red = hueToRgb(p, q, hue + 1 / 3);
31
- green = hueToRgb(p, q, hue);
32
- blue = hueToRgb(p, q, hue - 1 / 3);
33
- }
34
- return {
35
- red: Math.round(red * 255),
36
- green: Math.round(green * 255),
37
- blue: Math.round(blue * 255),
38
- alpha,
39
- };
40
- }
41
-
42
- export { hslaToRgba };
43
- //# sourceMappingURL=hsla-to-rgba.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"hsla-to-rgba.js","sources":["../../../../../../../../node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.mjs"],"sourcesContent":["// Adapted from https://gist.github.com/mjackson/5311256\nfunction hueToRgb(p, q, t) {\n if (t < 0)\n t += 1;\n if (t > 1)\n t -= 1;\n if (t < 1 / 6)\n return p + (q - p) * 6 * t;\n if (t < 1 / 2)\n return q;\n if (t < 2 / 3)\n return p + (q - p) * (2 / 3 - t) * 6;\n return p;\n}\nfunction hslaToRgba({ hue, saturation, lightness, alpha }) {\n hue /= 360;\n saturation /= 100;\n lightness /= 100;\n let red = 0;\n let green = 0;\n let blue = 0;\n if (!saturation) {\n red = green = blue = lightness;\n }\n else {\n const q = lightness < 0.5\n ? lightness * (1 + saturation)\n : lightness + saturation - lightness * saturation;\n const p = 2 * lightness - q;\n red = hueToRgb(p, q, hue + 1 / 3);\n green = hueToRgb(p, q, hue);\n blue = hueToRgb(p, q, hue - 1 / 3);\n }\n return {\n red: Math.round(red * 255),\n green: Math.round(green * 255),\n blue: Math.round(blue * 255),\n alpha,\n };\n}\n\nexport { hslaToRgba };\n//# sourceMappingURL=hsla-to-rgba.mjs.map\n"],"names":[],"mappings":"AAAA;AACA,SAAS,QAAQ,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE;AAC3B,IAAI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AAQ,CAAC,CAAC,EAAE,CAAC,EAAE,GAAG,CAAC;AACnC,QAAQ,IAAI,GAAG,QAAQ,CAAC,CAAC,EAAE,CAAC,EAAE,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;AAC1C,IAAI;AACJ,IAAI,OAAO;AACX,QAAQ,GAAG,EAAE,IAAI,CAAC,KAAK,CAAC,GAAG,GAAG,GAAG,CAAC;AAClC,QAAQ,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG,GAAG,CAAC;AACtC,QAAQ,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,GAAG,GAAG,CAAC;AACpC,QAAQ,KAAK;AACb,KAAK;AACL;;;;","x_google_ignoreList":[0]}
@@ -1,23 +0,0 @@
1
- import { alpha } from '../numbers/index.js';
2
- import { percent } from '../numbers/units.js';
3
- import { sanitize } from '../utils/sanitize.js';
4
- import { isColorString, splitColor } from './utils.js';
5
-
6
- const hsla = {
7
- test: /*@__PURE__*/ isColorString("hsl", "hue"),
8
- parse: /*@__PURE__*/ splitColor("hue", "saturation", "lightness"),
9
- transform: ({ hue, saturation, lightness, alpha: alpha$1 = 1 }) => {
10
- return ("hsla(" +
11
- Math.round(hue) +
12
- ", " +
13
- percent.transform(sanitize(saturation)) +
14
- ", " +
15
- percent.transform(sanitize(lightness)) +
16
- ", " +
17
- sanitize(alpha.transform(alpha$1)) +
18
- ")");
19
- },
20
- };
21
-
22
- export { hsla };
23
- //# sourceMappingURL=hsla.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"hsla.js","sources":["../../../../../../../../node_modules/motion-dom/dist/es/value/types/color/hsla.mjs"],"sourcesContent":["import { alpha } from '../numbers/index.mjs';\nimport { percent } from '../numbers/units.mjs';\nimport { sanitize } from '../utils/sanitize.mjs';\nimport { splitColor, isColorString } from './utils.mjs';\n\nconst hsla = {\n test: /*@__PURE__*/ isColorString(\"hsl\", \"hue\"),\n parse: /*@__PURE__*/ splitColor(\"hue\", \"saturation\", \"lightness\"),\n transform: ({ hue, saturation, lightness, alpha: alpha$1 = 1 }) => {\n return (\"hsla(\" +\n Math.round(hue) +\n \", \" +\n percent.transform(sanitize(saturation)) +\n \", \" +\n percent.transform(sanitize(lightness)) +\n \", \" +\n sanitize(alpha.transform(alpha$1)) +\n \")\");\n },\n};\n\nexport { hsla };\n//# sourceMappingURL=hsla.mjs.map\n"],"names":[],"mappings":";;;;;AAKK,MAAC,IAAI,GAAG;AACb,IAAI,IAAI,gBAAgB,aAAa,CAAC,KAAK,EAAE,KAAK,CAAC;AACnD,IAAI,KAAK,gBAAgB,UAAU,CAAC,KAAK,EAAE,YAAY,EAAE,WAAW,CAAC;AACrE,IAAI,SAAS,EAAE,CAAC,EAAE,GAAG,EAAE,UAAU,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,GAAG,CAAC,EAAE,KAAK;AACvE,QAAQ,QAAQ,OAAO;AACvB,YAAY,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC;AAC3B,YAAY,IAAI;AAChB,YAAY,OAAO,CAAC,SAAS,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC;AACnD,YAAY,IAAI;AAChB,YAAY,OAAO,CAAC,SAAS,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;AAClD,YAAY,IAAI;AAChB,YAAY,QAAQ,CAAC,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;AAC9C,YAAY,GAAG;AACf,IAAI,CAAC;AACL;;;;","x_google_ignoreList":[0]}
@@ -1,33 +0,0 @@
1
- import { hex } from './hex.js';
2
- import { hsla } from './hsla.js';
3
- import { rgba } from './rgba.js';
4
-
5
- const color = {
6
- test: (v) => rgba.test(v) || hex.test(v) || hsla.test(v),
7
- parse: (v) => {
8
- if (rgba.test(v)) {
9
- return rgba.parse(v);
10
- }
11
- else if (hsla.test(v)) {
12
- return hsla.parse(v);
13
- }
14
- else {
15
- return hex.parse(v);
16
- }
17
- },
18
- transform: (v) => {
19
- return typeof v === "string"
20
- ? v
21
- : v.hasOwnProperty("red")
22
- ? rgba.transform(v)
23
- : hsla.transform(v);
24
- },
25
- getAnimatableNone: (v) => {
26
- const parsed = color.parse(v);
27
- parsed.alpha = 0;
28
- return color.transform(parsed);
29
- },
30
- };
31
-
32
- export { color };
33
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../../../node_modules/motion-dom/dist/es/value/types/color/index.mjs"],"sourcesContent":["import { hex } from './hex.mjs';\nimport { hsla } from './hsla.mjs';\nimport { rgba } from './rgba.mjs';\n\nconst color = {\n test: (v) => rgba.test(v) || hex.test(v) || hsla.test(v),\n parse: (v) => {\n if (rgba.test(v)) {\n return rgba.parse(v);\n }\n else if (hsla.test(v)) {\n return hsla.parse(v);\n }\n else {\n return hex.parse(v);\n }\n },\n transform: (v) => {\n return typeof v === \"string\"\n ? v\n : v.hasOwnProperty(\"red\")\n ? rgba.transform(v)\n : hsla.transform(v);\n },\n getAnimatableNone: (v) => {\n const parsed = color.parse(v);\n parsed.alpha = 0;\n return color.transform(parsed);\n },\n};\n\nexport { color };\n//# sourceMappingURL=index.mjs.map\n"],"names":[],"mappings":";;;;AAIK,MAAC,KAAK,GAAG;AACd,IAAI,IAAI,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;AAC5D,IAAI,KAAK,EAAE,CAAC,CAAC,KAAK;AAClB,QAAQ,IAAI,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE;AAC1B,YAAY,OAAO,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;AAChC,QAAQ;AACR,aAAa,IAAI,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE;AAC/B,YAAY,OAAO,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;AAChC,QAAQ;AACR,aAAa;AACb,YAAY,OAAO,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC;AAC/B,QAAQ;AACR,IAAI,CAAC;AACL,IAAI,SAAS,EAAE,CAAC,CAAC,KAAK;AACtB,QAAQ,OAAO,OAAO,CAAC,KAAK;AAC5B,cAAc;AACd,cAAc,CAAC,CAAC,cAAc,CAAC,KAAK;AACpC,kBAAkB,IAAI,CAAC,SAAS,CAAC,CAAC;AAClC,kBAAkB,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC;AACnC,IAAI,CAAC;AACL,IAAI,iBAAiB,EAAE,CAAC,CAAC,KAAK;AAC9B,QAAQ,MAAM,MAAM,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC;AACrC,QAAQ,MAAM,CAAC,KAAK,GAAG,CAAC;AACxB,QAAQ,OAAO,KAAK,CAAC,SAAS,CAAC,MAAM,CAAC;AACtC,IAAI,CAAC;AACL;;;;","x_google_ignoreList":[0]}
@@ -1,26 +0,0 @@
1
- import { number, alpha } from '../numbers/index.js';
2
- import { sanitize } from '../utils/sanitize.js';
3
- import { isColorString, splitColor } from './utils.js';
4
- import { clamp } from '../../../../../../motion-utils/dist/es/clamp.js';
5
-
6
- const clampRgbUnit = (v) => clamp(0, 255, v);
7
- const rgbUnit = {
8
- ...number,
9
- transform: (v) => Math.round(clampRgbUnit(v)),
10
- };
11
- const rgba = {
12
- test: /*@__PURE__*/ isColorString("rgb", "red"),
13
- parse: /*@__PURE__*/ splitColor("red", "green", "blue"),
14
- transform: ({ red, green, blue, alpha: alpha$1 = 1 }) => "rgba(" +
15
- rgbUnit.transform(red) +
16
- ", " +
17
- rgbUnit.transform(green) +
18
- ", " +
19
- rgbUnit.transform(blue) +
20
- ", " +
21
- sanitize(alpha.transform(alpha$1)) +
22
- ")",
23
- };
24
-
25
- export { rgbUnit, rgba };
26
- //# sourceMappingURL=rgba.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rgba.js","sources":["../../../../../../../../node_modules/motion-dom/dist/es/value/types/color/rgba.mjs"],"sourcesContent":["import { clamp } from 'motion-utils';\nimport { number, alpha } from '../numbers/index.mjs';\nimport { sanitize } from '../utils/sanitize.mjs';\nimport { splitColor, isColorString } from './utils.mjs';\n\nconst clampRgbUnit = (v) => clamp(0, 255, v);\nconst rgbUnit = {\n ...number,\n transform: (v) => Math.round(clampRgbUnit(v)),\n};\nconst rgba = {\n test: /*@__PURE__*/ isColorString(\"rgb\", \"red\"),\n parse: /*@__PURE__*/ splitColor(\"red\", \"green\", \"blue\"),\n transform: ({ red, green, blue, alpha: alpha$1 = 1 }) => \"rgba(\" +\n rgbUnit.transform(red) +\n \", \" +\n rgbUnit.transform(green) +\n \", \" +\n rgbUnit.transform(blue) +\n \", \" +\n sanitize(alpha.transform(alpha$1)) +\n \")\",\n};\n\nexport { rgbUnit, rgba };\n//# sourceMappingURL=rgba.mjs.map\n"],"names":[],"mappings":";;;;;AAKA,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,KAAK,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,CAAC;AACvC,MAAC,OAAO,GAAG;AAChB,IAAI,GAAG,MAAM;AACb,IAAI,SAAS,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;AACjD;AACK,MAAC,IAAI,GAAG;AACb,IAAI,IAAI,gBAAgB,aAAa,CAAC,KAAK,EAAE,KAAK,CAAC;AACnD,IAAI,KAAK,gBAAgB,UAAU,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,CAAC;AAC3D,IAAI,SAAS,EAAE,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,GAAG,CAAC,EAAE,KAAK,OAAO;AACpE,QAAQ,OAAO,CAAC,SAAS,CAAC,GAAG,CAAC;AAC9B,QAAQ,IAAI;AACZ,QAAQ,OAAO,CAAC,SAAS,CAAC,KAAK,CAAC;AAChC,QAAQ,IAAI;AACZ,QAAQ,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC;AAC/B,QAAQ,IAAI;AACZ,QAAQ,QAAQ,CAAC,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;AAC1C,QAAQ,GAAG;AACX;;;;","x_google_ignoreList":[0]}
@@ -1,30 +0,0 @@
1
- import { floatRegex } from '../utils/float-regex.js';
2
- import { isNullish } from '../utils/is-nullish.js';
3
- import { singleColorRegex } from '../utils/single-color-regex.js';
4
-
5
- /**
6
- * Returns true if the provided string is a color, ie rgba(0,0,0,0) or #000,
7
- * but false if a number or multiple colors
8
- */
9
- const isColorString = (type, testProp) => (v) => {
10
- return Boolean((typeof v === "string" &&
11
- singleColorRegex.test(v) &&
12
- v.startsWith(type)) ||
13
- (testProp &&
14
- !isNullish(v) &&
15
- Object.prototype.hasOwnProperty.call(v, testProp)));
16
- };
17
- const splitColor = (aName, bName, cName) => (v) => {
18
- if (typeof v !== "string")
19
- return v;
20
- const [a, b, c, alpha] = v.match(floatRegex);
21
- return {
22
- [aName]: parseFloat(a),
23
- [bName]: parseFloat(b),
24
- [cName]: parseFloat(c),
25
- alpha: alpha !== undefined ? parseFloat(alpha) : 1,
26
- };
27
- };
28
-
29
- export { isColorString, splitColor };
30
- //# sourceMappingURL=utils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.js","sources":["../../../../../../../../node_modules/motion-dom/dist/es/value/types/color/utils.mjs"],"sourcesContent":["import { floatRegex } from '../utils/float-regex.mjs';\nimport { isNullish } from '../utils/is-nullish.mjs';\nimport { singleColorRegex } from '../utils/single-color-regex.mjs';\n\n/**\n * Returns true if the provided string is a color, ie rgba(0,0,0,0) or #000,\n * but false if a number or multiple colors\n */\nconst isColorString = (type, testProp) => (v) => {\n return Boolean((typeof v === \"string\" &&\n singleColorRegex.test(v) &&\n v.startsWith(type)) ||\n (testProp &&\n !isNullish(v) &&\n Object.prototype.hasOwnProperty.call(v, testProp)));\n};\nconst splitColor = (aName, bName, cName) => (v) => {\n if (typeof v !== \"string\")\n return v;\n const [a, b, c, alpha] = v.match(floatRegex);\n return {\n [aName]: parseFloat(a),\n [bName]: parseFloat(b),\n [cName]: parseFloat(c),\n alpha: alpha !== undefined ? parseFloat(alpha) : 1,\n };\n};\n\nexport { isColorString, splitColor };\n//# sourceMappingURL=utils.mjs.map\n"],"names":[],"mappings":";;;;AAIA;AACA;AACA;AACA;AACK,MAAC,aAAa,GAAG,CAAC,IAAI,EAAE,QAAQ,KAAK,CAAC,CAAC,KAAK;AACjD,IAAI,OAAO,OAAO,CAAC,CAAC,OAAO,CAAC,KAAK,QAAQ;AACzC,QAAQ,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAC;AAChC,QAAQ,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC;AAC1B,SAAS,QAAQ;AACjB,YAAY,CAAC,SAAS,CAAC,CAAC,CAAC;AACzB,YAAY,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC;AAC/D;AACK,MAAC,UAAU,GAAG,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,KAAK,CAAC,CAAC,KAAK;AACnD,IAAI,IAAI,OAAO,CAAC,KAAK,QAAQ;AAC7B,QAAQ,OAAO,CAAC;AAChB,IAAI,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC;AAChD,IAAI,OAAO;AACX,QAAQ,CAAC,KAAK,GAAG,UAAU,CAAC,CAAC,CAAC;AAC9B,QAAQ,CAAC,KAAK,GAAG,UAAU,CAAC,CAAC,CAAC;AAC9B,QAAQ,CAAC,KAAK,GAAG,UAAU,CAAC,CAAC,CAAC;AAC9B,QAAQ,KAAK,EAAE,KAAK,KAAK,SAAS,GAAG,UAAU,CAAC,KAAK,CAAC,GAAG,CAAC;AAC1D,KAAK;AACL;;;;","x_google_ignoreList":[0]}
@@ -1,31 +0,0 @@
1
- import { complex } from './index.js';
2
- import { floatRegex } from '../utils/float-regex.js';
3
-
4
- /**
5
- * Properties that should default to 1 or 100%
6
- */
7
- const maxDefaults = new Set(["brightness", "contrast", "saturate", "opacity"]);
8
- function applyDefaultFilter(v) {
9
- const [name, value] = v.slice(0, -1).split("(");
10
- if (name === "drop-shadow")
11
- return v;
12
- const [number] = value.match(floatRegex) || [];
13
- if (!number)
14
- return v;
15
- const unit = value.replace(number, "");
16
- let defaultValue = maxDefaults.has(name) ? 1 : 0;
17
- if (number !== value)
18
- defaultValue *= 100;
19
- return name + "(" + defaultValue + unit + ")";
20
- }
21
- const functionRegex = /\b([a-z-]*)\(.*?\)/gu;
22
- const filter = {
23
- ...complex,
24
- getAnimatableNone: (v) => {
25
- const functions = v.match(functionRegex);
26
- return functions ? functions.map(applyDefaultFilter).join(" ") : v;
27
- },
28
- };
29
-
30
- export { filter };
31
- //# sourceMappingURL=filter.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"filter.js","sources":["../../../../../../../../node_modules/motion-dom/dist/es/value/types/complex/filter.mjs"],"sourcesContent":["import { complex } from './index.mjs';\nimport { floatRegex } from '../utils/float-regex.mjs';\n\n/**\n * Properties that should default to 1 or 100%\n */\nconst maxDefaults = new Set([\"brightness\", \"contrast\", \"saturate\", \"opacity\"]);\nfunction applyDefaultFilter(v) {\n const [name, value] = v.slice(0, -1).split(\"(\");\n if (name === \"drop-shadow\")\n return v;\n const [number] = value.match(floatRegex) || [];\n if (!number)\n return v;\n const unit = value.replace(number, \"\");\n let defaultValue = maxDefaults.has(name) ? 1 : 0;\n if (number !== value)\n defaultValue *= 100;\n return name + \"(\" + defaultValue + unit + \")\";\n}\nconst functionRegex = /\\b([a-z-]*)\\(.*?\\)/gu;\nconst filter = {\n ...complex,\n getAnimatableNone: (v) => {\n const functions = v.match(functionRegex);\n return functions ? functions.map(applyDefaultFilter).join(\" \") : v;\n },\n};\n\nexport { filter };\n//# sourceMappingURL=filter.mj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