motion 12.18.0 → 12.18.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 (409) hide show
  1. package/dist/cjs/mini.js +7 -1063
  2. package/dist/es/debug.mjs +1 -0
  3. package/dist/es/index.mjs +1 -0
  4. package/dist/es/mini.mjs +1 -0
  5. package/dist/es/react-client.mjs +2 -0
  6. package/dist/es/react-m.mjs +2 -0
  7. package/dist/es/react-mini.mjs +2 -0
  8. package/dist/es/react.mjs +2 -0
  9. package/dist/motion.js +1 -1
  10. package/mini/package.json +1 -1
  11. package/package.json +11 -11
  12. package/react/package.json +1 -1
  13. package/react-client/package.json +1 -1
  14. package/react-m/package.json +1 -1
  15. package/dist/es/framer-motion/dist/es/animation/animate/index.mjs +0 -34
  16. package/dist/es/framer-motion/dist/es/animation/animate/resolve-subjects.mjs +0 -19
  17. package/dist/es/framer-motion/dist/es/animation/animate/sequence.mjs +0 -14
  18. package/dist/es/framer-motion/dist/es/animation/animate/single-value.mjs +0 -11
  19. package/dist/es/framer-motion/dist/es/animation/animate/subject.mjs +0 -52
  20. package/dist/es/framer-motion/dist/es/animation/animators/waapi/animate-elements.mjs +0 -112
  21. package/dist/es/framer-motion/dist/es/animation/animators/waapi/animate-sequence.mjs +0 -13
  22. package/dist/es/framer-motion/dist/es/animation/animators/waapi/animate-style.mjs +0 -12
  23. package/dist/es/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.mjs +0 -12
  24. package/dist/es/framer-motion/dist/es/animation/hooks/animation-controls.mjs +0 -80
  25. package/dist/es/framer-motion/dist/es/animation/hooks/use-animate-style.mjs +0 -17
  26. package/dist/es/framer-motion/dist/es/animation/hooks/use-animate.mjs +0 -17
  27. package/dist/es/framer-motion/dist/es/animation/hooks/use-animated-state.mjs +0 -64
  28. package/dist/es/framer-motion/dist/es/animation/hooks/use-animation.mjs +0 -41
  29. package/dist/es/framer-motion/dist/es/animation/interfaces/motion-value.mjs +0 -102
  30. package/dist/es/framer-motion/dist/es/animation/interfaces/visual-element-target.mjs +0 -85
  31. package/dist/es/framer-motion/dist/es/animation/interfaces/visual-element-variant.mjs +0 -65
  32. package/dist/es/framer-motion/dist/es/animation/interfaces/visual-element.mjs +0 -26
  33. package/dist/es/framer-motion/dist/es/animation/optimized-appear/data-id.mjs +0 -6
  34. package/dist/es/framer-motion/dist/es/animation/optimized-appear/get-appear-id.mjs +0 -7
  35. package/dist/es/framer-motion/dist/es/animation/optimized-appear/handoff.mjs +0 -38
  36. package/dist/es/framer-motion/dist/es/animation/optimized-appear/start.mjs +0 -171
  37. package/dist/es/framer-motion/dist/es/animation/optimized-appear/store-id.mjs +0 -8
  38. package/dist/es/framer-motion/dist/es/animation/optimized-appear/store.mjs +0 -4
  39. package/dist/es/framer-motion/dist/es/animation/sequence/create.mjs +0 -256
  40. package/dist/es/framer-motion/dist/es/animation/sequence/utils/calc-repeat-duration.mjs +0 -5
  41. package/dist/es/framer-motion/dist/es/animation/sequence/utils/calc-time.mjs +0 -23
  42. package/dist/es/framer-motion/dist/es/animation/sequence/utils/edit.mjs +0 -31
  43. package/dist/es/framer-motion/dist/es/animation/sequence/utils/normalize-times.mjs +0 -13
  44. package/dist/es/framer-motion/dist/es/animation/sequence/utils/sort.mjs +0 -14
  45. package/dist/es/framer-motion/dist/es/animation/utils/create-visual-element.mjs +0 -45
  46. package/dist/es/framer-motion/dist/es/animation/utils/default-transitions.mjs +0 -40
  47. package/dist/es/framer-motion/dist/es/animation/utils/is-animation-controls.mjs +0 -7
  48. package/dist/es/framer-motion/dist/es/animation/utils/is-dom-keyframes.mjs +0 -5
  49. package/dist/es/framer-motion/dist/es/animation/utils/is-keyframes-target.mjs +0 -5
  50. package/dist/es/framer-motion/dist/es/animation/utils/is-transition-defined.mjs +0 -10
  51. package/dist/es/framer-motion/dist/es/animation/utils/stagger.mjs +0 -26
  52. package/dist/es/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs +0 -87
  53. package/dist/es/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs +0 -64
  54. package/dist/es/framer-motion/dist/es/components/AnimatePresence/index.mjs +0 -166
  55. package/dist/es/framer-motion/dist/es/components/AnimatePresence/use-presence-data.mjs +0 -9
  56. package/dist/es/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs +0 -70
  57. package/dist/es/framer-motion/dist/es/components/AnimatePresence/utils.mjs +0 -14
  58. package/dist/es/framer-motion/dist/es/components/AnimateSharedLayout.mjs +0 -15
  59. package/dist/es/framer-motion/dist/es/components/LayoutGroup/index.mjs +0 -32
  60. package/dist/es/framer-motion/dist/es/components/LazyMotion/index.mjs +0 -68
  61. package/dist/es/framer-motion/dist/es/components/MotionConfig/index.mjs +0 -48
  62. package/dist/es/framer-motion/dist/es/components/Reorder/Group.mjs +0 -53
  63. package/dist/es/framer-motion/dist/es/components/Reorder/Item.mjs +0 -34
  64. package/dist/es/framer-motion/dist/es/components/Reorder/namespace.mjs +0 -2
  65. package/dist/es/framer-motion/dist/es/components/Reorder/utils/check-reorder.mjs +0 -24
  66. package/dist/es/framer-motion/dist/es/context/DeprecatedLayoutGroupContext.mjs +0 -10
  67. package/dist/es/framer-motion/dist/es/context/LayoutGroupContext.mjs +0 -6
  68. package/dist/es/framer-motion/dist/es/context/LazyContext.mjs +0 -6
  69. package/dist/es/framer-motion/dist/es/context/MotionConfigContext.mjs +0 -13
  70. package/dist/es/framer-motion/dist/es/context/MotionContext/create.mjs +0 -13
  71. package/dist/es/framer-motion/dist/es/context/MotionContext/index.mjs +0 -6
  72. package/dist/es/framer-motion/dist/es/context/MotionContext/utils.mjs +0 -17
  73. package/dist/es/framer-motion/dist/es/context/PresenceContext.mjs +0 -10
  74. package/dist/es/framer-motion/dist/es/context/ReorderContext.mjs +0 -6
  75. package/dist/es/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs +0 -9
  76. package/dist/es/framer-motion/dist/es/events/add-dom-event.mjs +0 -6
  77. package/dist/es/framer-motion/dist/es/events/add-pointer-event.mjs +0 -8
  78. package/dist/es/framer-motion/dist/es/events/event-info.mjs +0 -15
  79. package/dist/es/framer-motion/dist/es/events/use-dom-event.mjs +0 -34
  80. package/dist/es/framer-motion/dist/es/gestures/drag/VisualElementDragControls.mjs +0 -479
  81. package/dist/es/framer-motion/dist/es/gestures/drag/index.mjs +0 -27
  82. package/dist/es/framer-motion/dist/es/gestures/drag/use-drag-controls.mjs +0 -88
  83. package/dist/es/framer-motion/dist/es/gestures/drag/utils/constraints.mjs +0 -129
  84. package/dist/es/framer-motion/dist/es/gestures/focus.mjs +0 -41
  85. package/dist/es/framer-motion/dist/es/gestures/hover.mjs +0 -30
  86. package/dist/es/framer-motion/dist/es/gestures/pan/PanSession.mjs +0 -156
  87. package/dist/es/framer-motion/dist/es/gestures/pan/index.mjs +0 -50
  88. package/dist/es/framer-motion/dist/es/gestures/press.mjs +0 -33
  89. package/dist/es/framer-motion/dist/es/motion/features/Feature.mjs +0 -9
  90. package/dist/es/framer-motion/dist/es/motion/features/animation/exit.mjs +0 -36
  91. package/dist/es/framer-motion/dist/es/motion/features/animation/index.mjs +0 -40
  92. package/dist/es/framer-motion/dist/es/motion/features/animations.mjs +0 -13
  93. package/dist/es/framer-motion/dist/es/motion/features/definitions.mjs +0 -28
  94. package/dist/es/framer-motion/dist/es/motion/features/drag.mjs +0 -17
  95. package/dist/es/framer-motion/dist/es/motion/features/gestures.mjs +0 -21
  96. package/dist/es/framer-motion/dist/es/motion/features/layout/MeasureLayout.mjs +0 -135
  97. package/dist/es/framer-motion/dist/es/motion/features/layout.mjs +0 -11
  98. package/dist/es/framer-motion/dist/es/motion/features/load-features.mjs +0 -12
  99. package/dist/es/framer-motion/dist/es/motion/features/viewport/index.mjs +0 -72
  100. package/dist/es/framer-motion/dist/es/motion/features/viewport/observers.mjs +0 -49
  101. package/dist/es/framer-motion/dist/es/motion/index.mjs +0 -101
  102. package/dist/es/framer-motion/dist/es/motion/utils/is-forced-motion-value.mjs +0 -11
  103. package/dist/es/framer-motion/dist/es/motion/utils/is-motion-component.mjs +0 -12
  104. package/dist/es/framer-motion/dist/es/motion/utils/symbol.mjs +0 -3
  105. package/dist/es/framer-motion/dist/es/motion/utils/unwrap-motion-component.mjs +0 -17
  106. package/dist/es/framer-motion/dist/es/motion/utils/use-motion-ref.mjs +0 -38
  107. package/dist/es/framer-motion/dist/es/motion/utils/use-visual-element.mjs +0 -133
  108. package/dist/es/framer-motion/dist/es/motion/utils/use-visual-state.mjs +0 -79
  109. package/dist/es/framer-motion/dist/es/motion/utils/valid-prop.mjs +0 -57
  110. package/dist/es/framer-motion/dist/es/projection/animation/mix-values.mjs +0 -91
  111. package/dist/es/framer-motion/dist/es/projection/geometry/conversion.mjs +0 -33
  112. package/dist/es/framer-motion/dist/es/projection/geometry/copy.mjs +0 -31
  113. package/dist/es/framer-motion/dist/es/projection/geometry/delta-apply.mjs +0 -119
  114. package/dist/es/framer-motion/dist/es/projection/geometry/delta-calc.mjs +0 -52
  115. package/dist/es/framer-motion/dist/es/projection/geometry/delta-remove.mjs +0 -54
  116. package/dist/es/framer-motion/dist/es/projection/geometry/models.mjs +0 -17
  117. package/dist/es/framer-motion/dist/es/projection/geometry/utils.mjs +0 -31
  118. package/dist/es/framer-motion/dist/es/projection/node/DocumentProjectionNode.mjs +0 -13
  119. package/dist/es/framer-motion/dist/es/projection/node/HTMLProjectionNode.mjs +0 -27
  120. package/dist/es/framer-motion/dist/es/projection/node/create-projection-node.mjs +0 -1605
  121. package/dist/es/framer-motion/dist/es/projection/node/group.mjs +0 -24
  122. package/dist/es/framer-motion/dist/es/projection/node/state.mjs +0 -19
  123. package/dist/es/framer-motion/dist/es/projection/shared/stack.mjs +0 -112
  124. package/dist/es/framer-motion/dist/es/projection/styles/scale-border-radius.mjs +0 -41
  125. package/dist/es/framer-motion/dist/es/projection/styles/scale-box-shadow.mjs +0 -35
  126. package/dist/es/framer-motion/dist/es/projection/styles/scale-correction.mjs +0 -13
  127. package/dist/es/framer-motion/dist/es/projection/styles/transform.mjs +0 -49
  128. package/dist/es/framer-motion/dist/es/projection/use-instant-layout-transition.mjs +0 -14
  129. package/dist/es/framer-motion/dist/es/projection/use-reset-projection.mjs +0 -14
  130. package/dist/es/framer-motion/dist/es/projection/utils/each-axis.mjs +0 -5
  131. package/dist/es/framer-motion/dist/es/projection/utils/has-transform.mjs +0 -26
  132. package/dist/es/framer-motion/dist/es/projection/utils/measure.mjs +0 -17
  133. package/dist/es/framer-motion/dist/es/render/VisualElement.mjs +0 -478
  134. package/dist/es/framer-motion/dist/es/render/components/create-factory.mjs +0 -23
  135. package/dist/es/framer-motion/dist/es/render/components/create-proxy.mjs +0 -38
  136. package/dist/es/framer-motion/dist/es/render/components/m/create.mjs +0 -6
  137. package/dist/es/framer-motion/dist/es/render/components/m/elements.mjs +0 -227
  138. package/dist/es/framer-motion/dist/es/render/components/m/proxy.mjs +0 -6
  139. package/dist/es/framer-motion/dist/es/render/components/motion/create.mjs +0 -15
  140. package/dist/es/framer-motion/dist/es/render/components/motion/elements.mjs +0 -194
  141. package/dist/es/framer-motion/dist/es/render/components/motion/proxy.mjs +0 -6
  142. package/dist/es/framer-motion/dist/es/render/dom/DOMVisualElement.mjs +0 -43
  143. package/dist/es/framer-motion/dist/es/render/dom/create-visual-element.mjs +0 -14
  144. package/dist/es/framer-motion/dist/es/render/dom/features-animation.mjs +0 -14
  145. package/dist/es/framer-motion/dist/es/render/dom/features-max.mjs +0 -14
  146. package/dist/es/framer-motion/dist/es/render/dom/features-min.mjs +0 -12
  147. package/dist/es/framer-motion/dist/es/render/dom/scroll/attach-animation.mjs +0 -17
  148. package/dist/es/framer-motion/dist/es/render/dom/scroll/attach-function.mjs +0 -23
  149. package/dist/es/framer-motion/dist/es/render/dom/scroll/index.mjs +0 -14
  150. package/dist/es/framer-motion/dist/es/render/dom/scroll/info.mjs +0 -56
  151. package/dist/es/framer-motion/dist/es/render/dom/scroll/offsets/edge.mjs +0 -45
  152. package/dist/es/framer-motion/dist/es/render/dom/scroll/offsets/index.mjs +0 -60
  153. package/dist/es/framer-motion/dist/es/render/dom/scroll/offsets/inset.mjs +0 -47
  154. package/dist/es/framer-motion/dist/es/render/dom/scroll/offsets/offset.mjs +0 -35
  155. package/dist/es/framer-motion/dist/es/render/dom/scroll/offsets/presets.mjs +0 -20
  156. package/dist/es/framer-motion/dist/es/render/dom/scroll/on-scroll-handler.mjs +0 -48
  157. package/dist/es/framer-motion/dist/es/render/dom/scroll/track.mjs +0 -81
  158. package/dist/es/framer-motion/dist/es/render/dom/scroll/utils/get-timeline.mjs +0 -30
  159. package/dist/es/framer-motion/dist/es/render/dom/use-render.mjs +0 -33
  160. package/dist/es/framer-motion/dist/es/render/dom/utils/camel-to-dash.mjs +0 -6
  161. package/dist/es/framer-motion/dist/es/render/dom/utils/filter-props.mjs +0 -59
  162. package/dist/es/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs +0 -30
  163. package/dist/es/framer-motion/dist/es/render/dom/viewport/index.mjs +0 -43
  164. package/dist/es/framer-motion/dist/es/render/html/HTMLVisualElement.mjs +0 -44
  165. package/dist/es/framer-motion/dist/es/render/html/config-motion.mjs +0 -12
  166. package/dist/es/framer-motion/dist/es/render/html/use-props.mjs +0 -57
  167. package/dist/es/framer-motion/dist/es/render/html/utils/build-styles.mjs +0 -65
  168. package/dist/es/framer-motion/dist/es/render/html/utils/build-transform.mjs +0 -62
  169. package/dist/es/framer-motion/dist/es/render/html/utils/create-render-state.mjs +0 -8
  170. package/dist/es/framer-motion/dist/es/render/html/utils/render.mjs +0 -9
  171. package/dist/es/framer-motion/dist/es/render/html/utils/scrape-motion-values.mjs +0 -19
  172. package/dist/es/framer-motion/dist/es/render/object/ObjectVisualElement.mjs +0 -41
  173. package/dist/es/framer-motion/dist/es/render/store.mjs +0 -3
  174. package/dist/es/framer-motion/dist/es/render/svg/SVGVisualElement.mjs +0 -45
  175. package/dist/es/framer-motion/dist/es/render/svg/config-motion.mjs +0 -12
  176. package/dist/es/framer-motion/dist/es/render/svg/lowercase-elements.mjs +0 -33
  177. package/dist/es/framer-motion/dist/es/render/svg/use-props.mjs +0 -24
  178. package/dist/es/framer-motion/dist/es/render/svg/utils/build-attrs.mjs +0 -57
  179. package/dist/es/framer-motion/dist/es/render/svg/utils/camel-case-attrs.mjs +0 -30
  180. package/dist/es/framer-motion/dist/es/render/svg/utils/create-render-state.mjs +0 -8
  181. package/dist/es/framer-motion/dist/es/render/svg/utils/is-svg-tag.mjs +0 -3
  182. package/dist/es/framer-motion/dist/es/render/svg/utils/path.mjs +0 -32
  183. package/dist/es/framer-motion/dist/es/render/svg/utils/render.mjs +0 -12
  184. package/dist/es/framer-motion/dist/es/render/svg/utils/scrape-motion-values.mjs +0 -19
  185. package/dist/es/framer-motion/dist/es/render/utils/animation-state.mjs +0 -342
  186. package/dist/es/framer-motion/dist/es/render/utils/compare-by-depth.mjs +0 -3
  187. package/dist/es/framer-motion/dist/es/render/utils/flat-tree.mjs +0 -24
  188. package/dist/es/framer-motion/dist/es/render/utils/get-variant-context.mjs +0 -28
  189. package/dist/es/framer-motion/dist/es/render/utils/is-controlling-variants.mjs +0 -13
  190. package/dist/es/framer-motion/dist/es/render/utils/is-variant-label.mjs +0 -8
  191. package/dist/es/framer-motion/dist/es/render/utils/motion-values.mjs +0 -51
  192. package/dist/es/framer-motion/dist/es/render/utils/resolve-dynamic-variants.mjs +0 -8
  193. package/dist/es/framer-motion/dist/es/render/utils/resolve-variants.mjs +0 -36
  194. package/dist/es/framer-motion/dist/es/render/utils/setters.mjs +0 -31
  195. package/dist/es/framer-motion/dist/es/render/utils/variant-props.mjs +0 -12
  196. package/dist/es/framer-motion/dist/es/utils/delay.mjs +0 -24
  197. package/dist/es/framer-motion/dist/es/utils/distance.mjs +0 -9
  198. package/dist/es/framer-motion/dist/es/utils/get-context-window.mjs +0 -6
  199. package/dist/es/framer-motion/dist/es/utils/is-browser.mjs +0 -3
  200. package/dist/es/framer-motion/dist/es/utils/is-ref-object.mjs +0 -7
  201. package/dist/es/framer-motion/dist/es/utils/reduced-motion/index.mjs +0 -19
  202. package/dist/es/framer-motion/dist/es/utils/reduced-motion/state.mjs +0 -5
  203. package/dist/es/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion-config.mjs +0 -19
  204. package/dist/es/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.mjs +0 -47
  205. package/dist/es/framer-motion/dist/es/utils/shallow-compare.mjs +0 -14
  206. package/dist/es/framer-motion/dist/es/utils/use-animation-frame.mjs +0 -21
  207. package/dist/es/framer-motion/dist/es/utils/use-constant.mjs +0 -18
  208. package/dist/es/framer-motion/dist/es/utils/use-cycle.mjs +0 -47
  209. package/dist/es/framer-motion/dist/es/utils/use-force-update.mjs +0 -19
  210. package/dist/es/framer-motion/dist/es/utils/use-in-view.mjs +0 -23
  211. package/dist/es/framer-motion/dist/es/utils/use-instant-transition.mjs +0 -41
  212. package/dist/es/framer-motion/dist/es/utils/use-is-mounted.mjs +0 -15
  213. package/dist/es/framer-motion/dist/es/utils/use-isomorphic-effect.mjs +0 -6
  214. package/dist/es/framer-motion/dist/es/utils/use-motion-value-event.mjs +0 -13
  215. package/dist/es/framer-motion/dist/es/utils/use-unmount-effect.mjs +0 -7
  216. package/dist/es/framer-motion/dist/es/value/scroll/use-element-scroll.mjs +0 -14
  217. package/dist/es/framer-motion/dist/es/value/scroll/use-viewport-scroll.mjs +0 -14
  218. package/dist/es/framer-motion/dist/es/value/use-combine-values.mjs +0 -37
  219. package/dist/es/framer-motion/dist/es/value/use-computed.mjs +0 -19
  220. package/dist/es/framer-motion/dist/es/value/use-inverted-scale.mjs +0 -52
  221. package/dist/es/framer-motion/dist/es/value/use-motion-template.mjs +0 -45
  222. package/dist/es/framer-motion/dist/es/value/use-motion-value.mjs +0 -38
  223. package/dist/es/framer-motion/dist/es/value/use-scroll.mjs +0 -39
  224. package/dist/es/framer-motion/dist/es/value/use-spring.mjs +0 -22
  225. package/dist/es/framer-motion/dist/es/value/use-time.mjs +0 -10
  226. package/dist/es/framer-motion/dist/es/value/use-transform.mjs +0 -29
  227. package/dist/es/framer-motion/dist/es/value/use-velocity.mjs +0 -35
  228. package/dist/es/framer-motion/dist/es/value/use-will-change/WillChangeMotionValue.mjs +0 -21
  229. package/dist/es/framer-motion/dist/es/value/use-will-change/add-will-change.mjs +0 -20
  230. package/dist/es/framer-motion/dist/es/value/use-will-change/index.mjs +0 -8
  231. package/dist/es/framer-motion/dist/es/value/use-will-change/is.mjs +0 -7
  232. package/dist/es/framer-motion/dist/es/value/utils/resolve-motion-value.mjs +0 -12
  233. package/dist/es/motion/lib/debug.mjs +0 -1
  234. package/dist/es/motion/lib/index.mjs +0 -131
  235. package/dist/es/motion/lib/mini.mjs +0 -2
  236. package/dist/es/motion/lib/react-client.mjs +0 -3
  237. package/dist/es/motion/lib/react-m.mjs +0 -3
  238. package/dist/es/motion/lib/react-mini.mjs +0 -2
  239. package/dist/es/motion/lib/react.mjs +0 -204
  240. package/dist/es/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs +0 -175
  241. package/dist/es/motion-dom/dist/es/animation/GroupAnimation.mjs +0 -72
  242. package/dist/es/motion-dom/dist/es/animation/GroupAnimationWithThen.mjs +0 -9
  243. package/dist/es/motion-dom/dist/es/animation/JSAnimation.mjs +0 -348
  244. package/dist/es/motion-dom/dist/es/animation/NativeAnimation.mjs +0 -158
  245. package/dist/es/motion-dom/dist/es/animation/NativeAnimationExtended.mjs +0 -65
  246. package/dist/es/motion-dom/dist/es/animation/NativeAnimationWrapper.mjs +0 -14
  247. package/dist/es/motion-dom/dist/es/animation/drivers/frame.mjs +0 -17
  248. package/dist/es/motion-dom/dist/es/animation/generators/inertia.mjs +0 -87
  249. package/dist/es/motion-dom/dist/es/animation/generators/keyframes.mjs +0 -51
  250. package/dist/es/motion-dom/dist/es/animation/generators/spring/defaults.mjs +0 -27
  251. package/dist/es/motion-dom/dist/es/animation/generators/spring/find.mjs +0 -86
  252. package/dist/es/motion-dom/dist/es/animation/generators/spring/index.mjs +0 -176
  253. package/dist/es/motion-dom/dist/es/animation/generators/utils/calc-duration.mjs +0 -17
  254. package/dist/es/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs +0 -19
  255. package/dist/es/motion-dom/dist/es/animation/generators/utils/is-generator.mjs +0 -5
  256. package/dist/es/motion-dom/dist/es/animation/generators/utils/velocity.mjs +0 -9
  257. package/dist/es/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.mjs +0 -131
  258. package/dist/es/motion-dom/dist/es/animation/keyframes/KeyframesResolver.mjs +0 -147
  259. package/dist/es/motion-dom/dist/es/animation/keyframes/get-final.mjs +0 -11
  260. package/dist/es/motion-dom/dist/es/animation/keyframes/offsets/default.mjs +0 -9
  261. package/dist/es/motion-dom/dist/es/animation/keyframes/offsets/fill.mjs +0 -12
  262. package/dist/es/motion-dom/dist/es/animation/keyframes/offsets/time.mjs +0 -5
  263. package/dist/es/motion-dom/dist/es/animation/keyframes/utils/apply-px-defaults.mjs +0 -11
  264. package/dist/es/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.mjs +0 -7
  265. package/dist/es/motion-dom/dist/es/animation/keyframes/utils/is-none.mjs +0 -15
  266. package/dist/es/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.mjs +0 -30
  267. package/dist/es/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.mjs +0 -36
  268. package/dist/es/motion-dom/dist/es/animation/utils/WithPromise.mjs +0 -26
  269. package/dist/es/motion-dom/dist/es/animation/utils/active-animations.mjs +0 -9
  270. package/dist/es/motion-dom/dist/es/animation/utils/can-animate.mjs +0 -42
  271. package/dist/es/motion-dom/dist/es/animation/utils/css-variables-conversion.mjs +0 -42
  272. package/dist/es/motion-dom/dist/es/animation/utils/get-value-transition.mjs +0 -7
  273. package/dist/es/motion-dom/dist/es/animation/utils/is-animatable.mjs +0 -30
  274. package/dist/es/motion-dom/dist/es/animation/utils/is-css-variable.mjs +0 -15
  275. package/dist/es/motion-dom/dist/es/animation/utils/replace-transition-type.mjs +0 -18
  276. package/dist/es/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.mjs +0 -3
  277. package/dist/es/motion-dom/dist/es/animation/waapi/easing/is-supported.mjs +0 -14
  278. package/dist/es/motion-dom/dist/es/animation/waapi/easing/map-easing.mjs +0 -28
  279. package/dist/es/motion-dom/dist/es/animation/waapi/easing/supported.mjs +0 -15
  280. package/dist/es/motion-dom/dist/es/animation/waapi/start-waapi-animation.mjs +0 -39
  281. package/dist/es/motion-dom/dist/es/animation/waapi/supports/partial-keyframes.mjs +0 -13
  282. package/dist/es/motion-dom/dist/es/animation/waapi/supports/waapi.mjs +0 -37
  283. package/dist/es/motion-dom/dist/es/animation/waapi/utils/accelerated-values.mjs +0 -14
  284. package/dist/es/motion-dom/dist/es/animation/waapi/utils/apply-generator.mjs +0 -15
  285. package/dist/es/motion-dom/dist/es/animation/waapi/utils/linear.mjs +0 -12
  286. package/dist/es/motion-dom/dist/es/animation/waapi/utils/px-values.mjs +0 -39
  287. package/dist/es/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.mjs +0 -20
  288. package/dist/es/motion-dom/dist/es/effects/MotionValueState.mjs +0 -47
  289. package/dist/es/motion-dom/dist/es/effects/attr/index.mjs +0 -41
  290. package/dist/es/motion-dom/dist/es/effects/prop/index.mjs +0 -9
  291. package/dist/es/motion-dom/dist/es/effects/style/index.mjs +0 -52
  292. package/dist/es/motion-dom/dist/es/effects/style/transform.mjs +0 -38
  293. package/dist/es/motion-dom/dist/es/effects/svg/index.mjs +0 -41
  294. package/dist/es/motion-dom/dist/es/effects/utils/create-dom-effect.mjs +0 -18
  295. package/dist/es/motion-dom/dist/es/effects/utils/create-effect.mjs +0 -21
  296. package/dist/es/motion-dom/dist/es/frameloop/batcher.mjs +0 -71
  297. package/dist/es/motion-dom/dist/es/frameloop/frame.mjs +0 -6
  298. package/dist/es/motion-dom/dist/es/frameloop/index-legacy.mjs +0 -20
  299. package/dist/es/motion-dom/dist/es/frameloop/microtask.mjs +0 -6
  300. package/dist/es/motion-dom/dist/es/frameloop/order.mjs +0 -12
  301. package/dist/es/motion-dom/dist/es/frameloop/render-step.mjs +0 -92
  302. package/dist/es/motion-dom/dist/es/frameloop/sync-time.mjs +0 -31
  303. package/dist/es/motion-dom/dist/es/gestures/drag/state/is-active.mjs +0 -9
  304. package/dist/es/motion-dom/dist/es/gestures/drag/state/set-active.mjs +0 -28
  305. package/dist/es/motion-dom/dist/es/gestures/hover.mjs +0 -37
  306. package/dist/es/motion-dom/dist/es/gestures/press/index.mjs +0 -83
  307. package/dist/es/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.mjs +0 -13
  308. package/dist/es/motion-dom/dist/es/gestures/press/utils/keyboard.mjs +0 -38
  309. package/dist/es/motion-dom/dist/es/gestures/press/utils/state.mjs +0 -3
  310. package/dist/es/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs +0 -20
  311. package/dist/es/motion-dom/dist/es/gestures/utils/is-primary-pointer.mjs +0 -18
  312. package/dist/es/motion-dom/dist/es/gestures/utils/setup.mjs +0 -15
  313. package/dist/es/motion-dom/dist/es/render/dom/is-css-var.mjs +0 -3
  314. package/dist/es/motion-dom/dist/es/render/dom/parse-transform.mjs +0 -83
  315. package/dist/es/motion-dom/dist/es/render/dom/style-computed.mjs +0 -10
  316. package/dist/es/motion-dom/dist/es/render/dom/style-set.mjs +0 -9
  317. package/dist/es/motion-dom/dist/es/render/dom/utils/camel-to-dash.mjs +0 -5
  318. package/dist/es/motion-dom/dist/es/render/utils/keys-position.mjs +0 -13
  319. package/dist/es/motion-dom/dist/es/render/utils/keys-transform.mjs +0 -28
  320. package/dist/es/motion-dom/dist/es/resize/handle-element.mjs +0 -63
  321. package/dist/es/motion-dom/dist/es/resize/handle-window.mjs +0 -31
  322. package/dist/es/motion-dom/dist/es/resize/index.mjs +0 -8
  323. package/dist/es/motion-dom/dist/es/scroll/observe.mjs +0 -18
  324. package/dist/es/motion-dom/dist/es/stats/animation-count.mjs +0 -7
  325. package/dist/es/motion-dom/dist/es/stats/buffer.mjs +0 -6
  326. package/dist/es/motion-dom/dist/es/stats/index.mjs +0 -117
  327. package/dist/es/motion-dom/dist/es/utils/interpolate.mjs +0 -79
  328. package/dist/es/motion-dom/dist/es/utils/is-html-element.mjs +0 -11
  329. package/dist/es/motion-dom/dist/es/utils/is-svg-element.mjs +0 -11
  330. package/dist/es/motion-dom/dist/es/utils/is-svg-svg-element.mjs +0 -11
  331. package/dist/es/motion-dom/dist/es/utils/mix/color.mjs +0 -47
  332. package/dist/es/motion-dom/dist/es/utils/mix/complex.mjs +0 -93
  333. package/dist/es/motion-dom/dist/es/utils/mix/immediate.mjs +0 -5
  334. package/dist/es/motion-dom/dist/es/utils/mix/index.mjs +0 -14
  335. package/dist/es/motion-dom/dist/es/utils/mix/number.mjs +0 -26
  336. package/dist/es/motion-dom/dist/es/utils/mix/visibility.mjs +0 -16
  337. package/dist/es/motion-dom/dist/es/utils/resolve-elements.mjs +0 -17
  338. package/dist/es/motion-dom/dist/es/utils/supports/flags.mjs +0 -7
  339. package/dist/es/motion-dom/dist/es/utils/supports/linear-easing.mjs +0 -15
  340. package/dist/es/motion-dom/dist/es/utils/supports/memo.mjs +0 -9
  341. package/dist/es/motion-dom/dist/es/utils/supports/scroll-timeline.mjs +0 -5
  342. package/dist/es/motion-dom/dist/es/utils/transform.mjs +0 -14
  343. package/dist/es/motion-dom/dist/es/value/index.mjs +0 -329
  344. package/dist/es/motion-dom/dist/es/value/map-value.mjs +0 -46
  345. package/dist/es/motion-dom/dist/es/value/spring-value.mjs +0 -72
  346. package/dist/es/motion-dom/dist/es/value/subscribe-value.mjs +0 -13
  347. package/dist/es/motion-dom/dist/es/value/transform-value.mjs +0 -35
  348. package/dist/es/motion-dom/dist/es/value/types/auto.mjs +0 -9
  349. package/dist/es/motion-dom/dist/es/value/types/color/hex.mjs +0 -40
  350. package/dist/es/motion-dom/dist/es/value/types/color/hsla-to-rgba.mjs +0 -42
  351. package/dist/es/motion-dom/dist/es/value/types/color/hsla.mjs +0 -22
  352. package/dist/es/motion-dom/dist/es/value/types/color/index.mjs +0 -32
  353. package/dist/es/motion-dom/dist/es/value/types/color/rgba.mjs +0 -25
  354. package/dist/es/motion-dom/dist/es/value/types/color/utils.mjs +0 -29
  355. package/dist/es/motion-dom/dist/es/value/types/complex/filter.mjs +0 -30
  356. package/dist/es/motion-dom/dist/es/value/types/complex/index.mjs +0 -91
  357. package/dist/es/motion-dom/dist/es/value/types/dimensions.mjs +0 -15
  358. package/dist/es/motion-dom/dist/es/value/types/int.mjs +0 -8
  359. package/dist/es/motion-dom/dist/es/value/types/maps/defaults.mjs +0 -30
  360. package/dist/es/motion-dom/dist/es/value/types/maps/number.mjs +0 -50
  361. package/dist/es/motion-dom/dist/es/value/types/maps/transform.mjs +0 -31
  362. package/dist/es/motion-dom/dist/es/value/types/numbers/index.mjs +0 -17
  363. package/dist/es/motion-dom/dist/es/value/types/numbers/units.mjs +0 -18
  364. package/dist/es/motion-dom/dist/es/value/types/test.mjs +0 -6
  365. package/dist/es/motion-dom/dist/es/value/types/utils/animatable-none.mjs +0 -15
  366. package/dist/es/motion-dom/dist/es/value/types/utils/color-regex.mjs +0 -3
  367. package/dist/es/motion-dom/dist/es/value/types/utils/find.mjs +0 -15
  368. package/dist/es/motion-dom/dist/es/value/types/utils/float-regex.mjs +0 -3
  369. package/dist/es/motion-dom/dist/es/value/types/utils/get-as-type.mjs +0 -10
  370. package/dist/es/motion-dom/dist/es/value/types/utils/is-nullish.mjs +0 -5
  371. package/dist/es/motion-dom/dist/es/value/types/utils/sanitize.mjs +0 -5
  372. package/dist/es/motion-dom/dist/es/value/types/utils/single-color-regex.mjs +0 -3
  373. package/dist/es/motion-dom/dist/es/value/utils/is-motion-value.mjs +0 -3
  374. package/dist/es/motion-dom/dist/es/view/index.mjs +0 -64
  375. package/dist/es/motion-dom/dist/es/view/queue.mjs +0 -52
  376. package/dist/es/motion-dom/dist/es/view/start.mjs +0 -155
  377. package/dist/es/motion-dom/dist/es/view/utils/choose-layer-type.mjs +0 -11
  378. package/dist/es/motion-dom/dist/es/view/utils/css.mjs +0 -32
  379. package/dist/es/motion-dom/dist/es/view/utils/get-layer-name.mjs +0 -8
  380. package/dist/es/motion-dom/dist/es/view/utils/get-view-animations.mjs +0 -12
  381. package/dist/es/motion-dom/dist/es/view/utils/has-target.mjs +0 -5
  382. package/dist/es/motion-utils/dist/es/array.mjs +0 -21
  383. package/dist/es/motion-utils/dist/es/clamp.mjs +0 -9
  384. package/dist/es/motion-utils/dist/es/easing/anticipate.mjs +0 -5
  385. package/dist/es/motion-utils/dist/es/easing/back.mjs +0 -9
  386. package/dist/es/motion-utils/dist/es/easing/circ.mjs +0 -8
  387. package/dist/es/motion-utils/dist/es/easing/cubic-bezier.mjs +0 -51
  388. package/dist/es/motion-utils/dist/es/easing/ease.mjs +0 -7
  389. package/dist/es/motion-utils/dist/es/easing/modifiers/mirror.mjs +0 -5
  390. package/dist/es/motion-utils/dist/es/easing/modifiers/reverse.mjs +0 -5
  391. package/dist/es/motion-utils/dist/es/easing/steps.mjs +0 -15
  392. package/dist/es/motion-utils/dist/es/easing/utils/get-easing-for-segment.mjs +0 -8
  393. package/dist/es/motion-utils/dist/es/easing/utils/is-bezier-definition.mjs +0 -3
  394. package/dist/es/motion-utils/dist/es/easing/utils/is-easing-array.mjs +0 -5
  395. package/dist/es/motion-utils/dist/es/easing/utils/map.mjs +0 -41
  396. package/dist/es/motion-utils/dist/es/errors.mjs +0 -16
  397. package/dist/es/motion-utils/dist/es/global-config.mjs +0 -3
  398. package/dist/es/motion-utils/dist/es/is-numerical-string.mjs +0 -6
  399. package/dist/es/motion-utils/dist/es/is-object.mjs +0 -5
  400. package/dist/es/motion-utils/dist/es/is-zero-value-string.mjs +0 -6
  401. package/dist/es/motion-utils/dist/es/memo.mjs +0 -11
  402. package/dist/es/motion-utils/dist/es/noop.mjs +0 -4
  403. package/dist/es/motion-utils/dist/es/pipe.mjs +0 -11
  404. package/dist/es/motion-utils/dist/es/progress.mjs +0 -19
  405. package/dist/es/motion-utils/dist/es/subscription-manager.mjs +0 -40
  406. package/dist/es/motion-utils/dist/es/time-conversion.mjs +0 -12
  407. package/dist/es/motion-utils/dist/es/velocity-per-second.mjs +0 -11
  408. package/dist/es/motion-utils/dist/es/warn-once.mjs +0 -14
  409. package/dist/es/motion-utils/dist/es/wrap.mjs +0 -6
@@ -1,227 +0,0 @@
1
- "use client";
2
- import { createMinimalMotionComponent } from './create.mjs';
3
-
4
- /**
5
- * HTML components
6
- */
7
- const MotionA = /*@__PURE__*/ createMinimalMotionComponent("a");
8
- const MotionAbbr = /*@__PURE__*/ createMinimalMotionComponent("abbr");
9
- const MotionAddress =
10
- /*@__PURE__*/ createMinimalMotionComponent("address");
11
- const MotionArea = /*@__PURE__*/ createMinimalMotionComponent("area");
12
- const MotionArticle =
13
- /*@__PURE__*/ createMinimalMotionComponent("article");
14
- const MotionAside = /*@__PURE__*/ createMinimalMotionComponent("aside");
15
- const MotionAudio = /*@__PURE__*/ createMinimalMotionComponent("audio");
16
- const MotionB = /*@__PURE__*/ createMinimalMotionComponent("b");
17
- const MotionBase = /*@__PURE__*/ createMinimalMotionComponent("base");
18
- const MotionBdi = /*@__PURE__*/ createMinimalMotionComponent("bdi");
19
- const MotionBdo = /*@__PURE__*/ createMinimalMotionComponent("bdo");
20
- const MotionBig = /*@__PURE__*/ createMinimalMotionComponent("big");
21
- const MotionBlockquote =
22
- /*@__PURE__*/ createMinimalMotionComponent("blockquote");
23
- const MotionBody = /*@__PURE__*/ createMinimalMotionComponent("body");
24
- const MotionButton = /*@__PURE__*/ createMinimalMotionComponent("button");
25
- const MotionCanvas = /*@__PURE__*/ createMinimalMotionComponent("canvas");
26
- const MotionCaption =
27
- /*@__PURE__*/ createMinimalMotionComponent("caption");
28
- const MotionCite = /*@__PURE__*/ createMinimalMotionComponent("cite");
29
- const MotionCode = /*@__PURE__*/ createMinimalMotionComponent("code");
30
- const MotionCol = /*@__PURE__*/ createMinimalMotionComponent("col");
31
- const MotionColgroup =
32
- /*@__PURE__*/ createMinimalMotionComponent("colgroup");
33
- const MotionData = /*@__PURE__*/ createMinimalMotionComponent("data");
34
- const MotionDatalist =
35
- /*@__PURE__*/ createMinimalMotionComponent("datalist");
36
- const MotionDd = /*@__PURE__*/ createMinimalMotionComponent("dd");
37
- const MotionDel = /*@__PURE__*/ createMinimalMotionComponent("del");
38
- const MotionDetails =
39
- /*@__PURE__*/ createMinimalMotionComponent("details");
40
- const MotionDfn = /*@__PURE__*/ createMinimalMotionComponent("dfn");
41
- const MotionDialog = /*@__PURE__*/ createMinimalMotionComponent("dialog");
42
- const MotionDiv = /*@__PURE__*/ createMinimalMotionComponent("div");
43
- const MotionDl = /*@__PURE__*/ createMinimalMotionComponent("dl");
44
- const MotionDt = /*@__PURE__*/ createMinimalMotionComponent("dt");
45
- const MotionEm = /*@__PURE__*/ createMinimalMotionComponent("em");
46
- const MotionEmbed = /*@__PURE__*/ createMinimalMotionComponent("embed");
47
- const MotionFieldset =
48
- /*@__PURE__*/ createMinimalMotionComponent("fieldset");
49
- const MotionFigcaption =
50
- /*@__PURE__*/ createMinimalMotionComponent("figcaption");
51
- const MotionFigure = /*@__PURE__*/ createMinimalMotionComponent("figure");
52
- const MotionFooter = /*@__PURE__*/ createMinimalMotionComponent("footer");
53
- const MotionForm = /*@__PURE__*/ createMinimalMotionComponent("form");
54
- const MotionH1 = /*@__PURE__*/ createMinimalMotionComponent("h1");
55
- const MotionH2 = /*@__PURE__*/ createMinimalMotionComponent("h2");
56
- const MotionH3 = /*@__PURE__*/ createMinimalMotionComponent("h3");
57
- const MotionH4 = /*@__PURE__*/ createMinimalMotionComponent("h4");
58
- const MotionH5 = /*@__PURE__*/ createMinimalMotionComponent("h5");
59
- const MotionH6 = /*@__PURE__*/ createMinimalMotionComponent("h6");
60
- const MotionHead = /*@__PURE__*/ createMinimalMotionComponent("head");
61
- const MotionHeader = /*@__PURE__*/ createMinimalMotionComponent("header");
62
- const MotionHgroup = /*@__PURE__*/ createMinimalMotionComponent("hgroup");
63
- const MotionHr = /*@__PURE__*/ createMinimalMotionComponent("hr");
64
- const MotionHtml = /*@__PURE__*/ createMinimalMotionComponent("html");
65
- const MotionI = /*@__PURE__*/ createMinimalMotionComponent("i");
66
- const MotionIframe = /*@__PURE__*/ createMinimalMotionComponent("iframe");
67
- const MotionImg = /*@__PURE__*/ createMinimalMotionComponent("img");
68
- const MotionInput = /*@__PURE__*/ createMinimalMotionComponent("input");
69
- const MotionIns = /*@__PURE__*/ createMinimalMotionComponent("ins");
70
- const MotionKbd = /*@__PURE__*/ createMinimalMotionComponent("kbd");
71
- const MotionKeygen = /*@__PURE__*/ createMinimalMotionComponent("keygen");
72
- const MotionLabel = /*@__PURE__*/ createMinimalMotionComponent("label");
73
- const MotionLegend = /*@__PURE__*/ createMinimalMotionComponent("legend");
74
- const MotionLi = /*@__PURE__*/ createMinimalMotionComponent("li");
75
- const MotionLink = /*@__PURE__*/ createMinimalMotionComponent("link");
76
- const MotionMain = /*@__PURE__*/ createMinimalMotionComponent("main");
77
- const MotionMap = /*@__PURE__*/ createMinimalMotionComponent("map");
78
- const MotionMark = /*@__PURE__*/ createMinimalMotionComponent("mark");
79
- const MotionMenu = /*@__PURE__*/ createMinimalMotionComponent("menu");
80
- const MotionMenuitem =
81
- /*@__PURE__*/ createMinimalMotionComponent("menuitem");
82
- const MotionMeter = /*@__PURE__*/ createMinimalMotionComponent("meter");
83
- const MotionNav = /*@__PURE__*/ createMinimalMotionComponent("nav");
84
- const MotionObject = /*@__PURE__*/ createMinimalMotionComponent("object");
85
- const MotionOl = /*@__PURE__*/ createMinimalMotionComponent("ol");
86
- const MotionOptgroup =
87
- /*@__PURE__*/ createMinimalMotionComponent("optgroup");
88
- const MotionOption = /*@__PURE__*/ createMinimalMotionComponent("option");
89
- const MotionOutput = /*@__PURE__*/ createMinimalMotionComponent("output");
90
- const MotionP = /*@__PURE__*/ createMinimalMotionComponent("p");
91
- const MotionParam = /*@__PURE__*/ createMinimalMotionComponent("param");
92
- const MotionPicture =
93
- /*@__PURE__*/ createMinimalMotionComponent("picture");
94
- const MotionPre = /*@__PURE__*/ createMinimalMotionComponent("pre");
95
- const MotionProgress =
96
- /*@__PURE__*/ createMinimalMotionComponent("progress");
97
- const MotionQ = /*@__PURE__*/ createMinimalMotionComponent("q");
98
- const MotionRp = /*@__PURE__*/ createMinimalMotionComponent("rp");
99
- const MotionRt = /*@__PURE__*/ createMinimalMotionComponent("rt");
100
- const MotionRuby = /*@__PURE__*/ createMinimalMotionComponent("ruby");
101
- const MotionS = /*@__PURE__*/ createMinimalMotionComponent("s");
102
- const MotionSamp = /*@__PURE__*/ createMinimalMotionComponent("samp");
103
- const MotionScript = /*@__PURE__*/ createMinimalMotionComponent("script");
104
- const MotionSection =
105
- /*@__PURE__*/ createMinimalMotionComponent("section");
106
- const MotionSelect = /*@__PURE__*/ createMinimalMotionComponent("select");
107
- const MotionSmall = /*@__PURE__*/ createMinimalMotionComponent("small");
108
- const MotionSource = /*@__PURE__*/ createMinimalMotionComponent("source");
109
- const MotionSpan = /*@__PURE__*/ createMinimalMotionComponent("span");
110
- const MotionStrong = /*@__PURE__*/ createMinimalMotionComponent("strong");
111
- const MotionStyle = /*@__PURE__*/ createMinimalMotionComponent("style");
112
- const MotionSub = /*@__PURE__*/ createMinimalMotionComponent("sub");
113
- const MotionSummary =
114
- /*@__PURE__*/ createMinimalMotionComponent("summary");
115
- const MotionSup = /*@__PURE__*/ createMinimalMotionComponent("sup");
116
- const MotionTable = /*@__PURE__*/ createMinimalMotionComponent("table");
117
- const MotionTbody = /*@__PURE__*/ createMinimalMotionComponent("tbody");
118
- const MotionTd = /*@__PURE__*/ createMinimalMotionComponent("td");
119
- const MotionTextarea =
120
- /*@__PURE__*/ createMinimalMotionComponent("textarea");
121
- const MotionTfoot = /*@__PURE__*/ createMinimalMotionComponent("tfoot");
122
- const MotionTh = /*@__PURE__*/ createMinimalMotionComponent("th");
123
- const MotionThead = /*@__PURE__*/ createMinimalMotionComponent("thead");
124
- const MotionTime = /*@__PURE__*/ createMinimalMotionComponent("time");
125
- const MotionTitle = /*@__PURE__*/ createMinimalMotionComponent("title");
126
- const MotionTr = /*@__PURE__*/ createMinimalMotionComponent("tr");
127
- const MotionTrack = /*@__PURE__*/ createMinimalMotionComponent("track");
128
- const MotionU = /*@__PURE__*/ createMinimalMotionComponent("u");
129
- const MotionUl = /*@__PURE__*/ createMinimalMotionComponent("ul");
130
- const MotionVideo = /*@__PURE__*/ createMinimalMotionComponent("video");
131
- const MotionWbr = /*@__PURE__*/ createMinimalMotionComponent("wbr");
132
- const MotionWebview =
133
- /*@__PURE__*/ createMinimalMotionComponent("webview");
134
- /**
135
- * SVG components
136
- */
137
- const MotionAnimate =
138
- /*@__PURE__*/ createMinimalMotionComponent("animate");
139
- const MotionCircle = /*@__PURE__*/ createMinimalMotionComponent("circle");
140
- const MotionDefs = /*@__PURE__*/ createMinimalMotionComponent("defs");
141
- const MotionDesc = /*@__PURE__*/ createMinimalMotionComponent("desc");
142
- const MotionEllipse =
143
- /*@__PURE__*/ createMinimalMotionComponent("ellipse");
144
- const MotionG = /*@__PURE__*/ createMinimalMotionComponent("g");
145
- const MotionImage = /*@__PURE__*/ createMinimalMotionComponent("image");
146
- const MotionLine = /*@__PURE__*/ createMinimalMotionComponent("line");
147
- const MotionFilter = /*@__PURE__*/ createMinimalMotionComponent("filter");
148
- const MotionMarker = /*@__PURE__*/ createMinimalMotionComponent("marker");
149
- const MotionMask = /*@__PURE__*/ createMinimalMotionComponent("mask");
150
- const MotionMetadata =
151
- /*@__PURE__*/ createMinimalMotionComponent("metadata");
152
- const MotionPath = /*@__PURE__*/ createMinimalMotionComponent("path");
153
- const MotionPattern =
154
- /*@__PURE__*/ createMinimalMotionComponent("pattern");
155
- const MotionPolygon =
156
- /*@__PURE__*/ createMinimalMotionComponent("polygon");
157
- const MotionPolyline =
158
- /*@__PURE__*/ createMinimalMotionComponent("polyline");
159
- const MotionRect = /*@__PURE__*/ createMinimalMotionComponent("rect");
160
- const MotionStop = /*@__PURE__*/ createMinimalMotionComponent("stop");
161
- const MotionSvg = /*@__PURE__*/ createMinimalMotionComponent("svg");
162
- const MotionSymbol = /*@__PURE__*/ createMinimalMotionComponent("symbol");
163
- const MotionText = /*@__PURE__*/ createMinimalMotionComponent("text");
164
- const MotionTspan = /*@__PURE__*/ createMinimalMotionComponent("tspan");
165
- const MotionUse = /*@__PURE__*/ createMinimalMotionComponent("use");
166
- const MotionView = /*@__PURE__*/ createMinimalMotionComponent("view");
167
- const MotionClipPath =
168
- /*@__PURE__*/ createMinimalMotionComponent("clipPath");
169
- const MotionFeBlend =
170
- /*@__PURE__*/ createMinimalMotionComponent("feBlend");
171
- const MotionFeColorMatrix =
172
- /*@__PURE__*/ createMinimalMotionComponent("feColorMatrix");
173
- const MotionFeComponentTransfer =
174
- /*@__PURE__*/ createMinimalMotionComponent("feComponentTransfer");
175
- const MotionFeComposite =
176
- /*@__PURE__*/ createMinimalMotionComponent("feComposite");
177
- const MotionFeConvolveMatrix =
178
- /*@__PURE__*/ createMinimalMotionComponent("feConvolveMatrix");
179
- const MotionFeDiffuseLighting =
180
- /*@__PURE__*/ createMinimalMotionComponent("feDiffuseLighting");
181
- const MotionFeDisplacementMap =
182
- /*@__PURE__*/ createMinimalMotionComponent("feDisplacementMap");
183
- const MotionFeDistantLight =
184
- /*@__PURE__*/ createMinimalMotionComponent("feDistantLight");
185
- const MotionFeDropShadow =
186
- /*@__PURE__*/ createMinimalMotionComponent("feDropShadow");
187
- const MotionFeFlood =
188
- /*@__PURE__*/ createMinimalMotionComponent("feFlood");
189
- const MotionFeFuncA =
190
- /*@__PURE__*/ createMinimalMotionComponent("feFuncA");
191
- const MotionFeFuncB =
192
- /*@__PURE__*/ createMinimalMotionComponent("feFuncB");
193
- const MotionFeFuncG =
194
- /*@__PURE__*/ createMinimalMotionComponent("feFuncG");
195
- const MotionFeFuncR =
196
- /*@__PURE__*/ createMinimalMotionComponent("feFuncR");
197
- const MotionFeGaussianBlur =
198
- /*@__PURE__*/ createMinimalMotionComponent("feGaussianBlur");
199
- const MotionFeImage =
200
- /*@__PURE__*/ createMinimalMotionComponent("feImage");
201
- const MotionFeMerge =
202
- /*@__PURE__*/ createMinimalMotionComponent("feMerge");
203
- const MotionFeMergeNode =
204
- /*@__PURE__*/ createMinimalMotionComponent("feMergeNode");
205
- const MotionFeMorphology =
206
- /*@__PURE__*/ createMinimalMotionComponent("feMorphology");
207
- const MotionFeOffset =
208
- /*@__PURE__*/ createMinimalMotionComponent("feOffset");
209
- const MotionFePointLight =
210
- /*@__PURE__*/ createMinimalMotionComponent("fePointLight");
211
- const MotionFeSpecularLighting =
212
- /*@__PURE__*/ createMinimalMotionComponent("feSpecularLighting");
213
- const MotionFeSpotLight =
214
- /*@__PURE__*/ createMinimalMotionComponent("feSpotLight");
215
- const MotionFeTile = /*@__PURE__*/ createMinimalMotionComponent("feTile");
216
- const MotionFeTurbulence =
217
- /*@__PURE__*/ createMinimalMotionComponent("feTurbulence");
218
- const MotionForeignObject =
219
- /*@__PURE__*/ createMinimalMotionComponent("foreignObject");
220
- const MotionLinearGradient =
221
- /*@__PURE__*/ createMinimalMotionComponent("linearGradient");
222
- const MotionRadialGradient =
223
- /*@__PURE__*/ createMinimalMotionComponent("radialGradient");
224
- const MotionTextPath =
225
- /*@__PURE__*/ createMinimalMotionComponent("textPath");
226
-
227
- export { MotionA, MotionAbbr, MotionAddress, MotionAnimate, MotionArea, MotionArticle, MotionAside, MotionAudio, MotionB, MotionBase, MotionBdi, MotionBdo, MotionBig, MotionBlockquote, MotionBody, MotionButton, MotionCanvas, MotionCaption, MotionCircle, MotionCite, MotionClipPath, MotionCode, MotionCol, MotionColgroup, MotionData, MotionDatalist, MotionDd, MotionDefs, MotionDel, MotionDesc, MotionDetails, MotionDfn, MotionDialog, MotionDiv, MotionDl, MotionDt, MotionEllipse, MotionEm, MotionEmbed, MotionFeBlend, MotionFeColorMatrix, MotionFeComponentTransfer, MotionFeComposite, MotionFeConvolveMatrix, MotionFeDiffuseLighting, MotionFeDisplacementMap, MotionFeDistantLight, MotionFeDropShadow, MotionFeFlood, MotionFeFuncA, MotionFeFuncB, MotionFeFuncG, MotionFeFuncR, MotionFeGaussianBlur, MotionFeImage, MotionFeMerge, MotionFeMergeNode, MotionFeMorphology, MotionFeOffset, MotionFePointLight, MotionFeSpecularLighting, MotionFeSpotLight, MotionFeTile, MotionFeTurbulence, MotionFieldset, MotionFigcaption, MotionFigure, MotionFilter, MotionFooter, MotionForeignObject, MotionForm, MotionG, MotionH1, MotionH2, MotionH3, MotionH4, MotionH5, MotionH6, MotionHead, MotionHeader, MotionHgroup, MotionHr, MotionHtml, MotionI, MotionIframe, MotionImage, MotionImg, MotionInput, MotionIns, MotionKbd, MotionKeygen, MotionLabel, MotionLegend, MotionLi, MotionLine, MotionLinearGradient, MotionLink, MotionMain, MotionMap, MotionMark, MotionMarker, MotionMask, MotionMenu, MotionMenuitem, MotionMetadata, MotionMeter, MotionNav, MotionObject, MotionOl, MotionOptgroup, MotionOption, MotionOutput, MotionP, MotionParam, MotionPath, MotionPattern, MotionPicture, MotionPolygon, MotionPolyline, MotionPre, MotionProgress, MotionQ, MotionRadialGradient, MotionRect, MotionRp, MotionRt, MotionRuby, MotionS, MotionSamp, MotionScript, MotionSection, MotionSelect, MotionSmall, MotionSource, MotionSpan, MotionStop, MotionStrong, MotionStyle, MotionSub, MotionSummary, MotionSup, MotionSvg, MotionSymbol, MotionTable, MotionTbody, MotionTd, MotionText, MotionTextPath, MotionTextarea, MotionTfoot, MotionTh, MotionThead, MotionTime, MotionTitle, MotionTr, MotionTrack, MotionTspan, MotionU, MotionUl, MotionUse, MotionVideo, MotionView, MotionWbr, MotionWebview };
@@ -1,6 +0,0 @@
1
- import { createDOMMotionComponentProxy } from '../create-proxy.mjs';
2
- import { createMinimalMotionComponent } from './create.mjs';
3
-
4
- const m = /*@__PURE__*/ createDOMMotionComponentProxy(createMinimalMotionComponent);
5
-
6
- export { m };
@@ -1,15 +0,0 @@
1
- import { animations } from '../../../motion/features/animations.mjs';
2
- import { drag } from '../../../motion/features/drag.mjs';
3
- import { gestureAnimations } from '../../../motion/features/gestures.mjs';
4
- import { layout } from '../../../motion/features/layout.mjs';
5
- import { createMotionComponentFactory } from '../create-factory.mjs';
6
- import { createDomVisualElement } from '../../dom/create-visual-element.mjs';
7
-
8
- const createMotionComponent = /*@__PURE__*/ createMotionComponentFactory({
9
- ...animations,
10
- ...gestureAnimations,
11
- ...drag,
12
- ...layout,
13
- }, createDomVisualElement);
14
-
15
- export { createMotionComponent };
@@ -1,194 +0,0 @@
1
- "use client";
2
- import { createMotionComponent } from './create.mjs';
3
-
4
- /**
5
- * HTML components
6
- */
7
- const MotionA = /*@__PURE__*/ createMotionComponent("a");
8
- const MotionAbbr = /*@__PURE__*/ createMotionComponent("abbr");
9
- const MotionAddress = /*@__PURE__*/ createMotionComponent("address");
10
- const MotionArea = /*@__PURE__*/ createMotionComponent("area");
11
- const MotionArticle = /*@__PURE__*/ createMotionComponent("article");
12
- const MotionAside = /*@__PURE__*/ createMotionComponent("aside");
13
- const MotionAudio = /*@__PURE__*/ createMotionComponent("audio");
14
- const MotionB = /*@__PURE__*/ createMotionComponent("b");
15
- const MotionBase = /*@__PURE__*/ createMotionComponent("base");
16
- const MotionBdi = /*@__PURE__*/ createMotionComponent("bdi");
17
- const MotionBdo = /*@__PURE__*/ createMotionComponent("bdo");
18
- const MotionBig = /*@__PURE__*/ createMotionComponent("big");
19
- const MotionBlockquote =
20
- /*@__PURE__*/ createMotionComponent("blockquote");
21
- const MotionBody = /*@__PURE__*/ createMotionComponent("body");
22
- const MotionButton = /*@__PURE__*/ createMotionComponent("button");
23
- const MotionCanvas = /*@__PURE__*/ createMotionComponent("canvas");
24
- const MotionCaption = /*@__PURE__*/ createMotionComponent("caption");
25
- const MotionCite = /*@__PURE__*/ createMotionComponent("cite");
26
- const MotionCode = /*@__PURE__*/ createMotionComponent("code");
27
- const MotionCol = /*@__PURE__*/ createMotionComponent("col");
28
- const MotionColgroup = /*@__PURE__*/ createMotionComponent("colgroup");
29
- const MotionData = /*@__PURE__*/ createMotionComponent("data");
30
- const MotionDatalist = /*@__PURE__*/ createMotionComponent("datalist");
31
- const MotionDd = /*@__PURE__*/ createMotionComponent("dd");
32
- const MotionDel = /*@__PURE__*/ createMotionComponent("del");
33
- const MotionDetails = /*@__PURE__*/ createMotionComponent("details");
34
- const MotionDfn = /*@__PURE__*/ createMotionComponent("dfn");
35
- const MotionDialog = /*@__PURE__*/ createMotionComponent("dialog");
36
- const MotionDiv = /*@__PURE__*/ createMotionComponent("div");
37
- const MotionDl = /*@__PURE__*/ createMotionComponent("dl");
38
- const MotionDt = /*@__PURE__*/ createMotionComponent("dt");
39
- const MotionEm = /*@__PURE__*/ createMotionComponent("em");
40
- const MotionEmbed = /*@__PURE__*/ createMotionComponent("embed");
41
- const MotionFieldset = /*@__PURE__*/ createMotionComponent("fieldset");
42
- const MotionFigcaption =
43
- /*@__PURE__*/ createMotionComponent("figcaption");
44
- const MotionFigure = /*@__PURE__*/ createMotionComponent("figure");
45
- const MotionFooter = /*@__PURE__*/ createMotionComponent("footer");
46
- const MotionForm = /*@__PURE__*/ createMotionComponent("form");
47
- const MotionH1 = /*@__PURE__*/ createMotionComponent("h1");
48
- const MotionH2 = /*@__PURE__*/ createMotionComponent("h2");
49
- const MotionH3 = /*@__PURE__*/ createMotionComponent("h3");
50
- const MotionH4 = /*@__PURE__*/ createMotionComponent("h4");
51
- const MotionH5 = /*@__PURE__*/ createMotionComponent("h5");
52
- const MotionH6 = /*@__PURE__*/ createMotionComponent("h6");
53
- const MotionHead = /*@__PURE__*/ createMotionComponent("head");
54
- const MotionHeader = /*@__PURE__*/ createMotionComponent("header");
55
- const MotionHgroup = /*@__PURE__*/ createMotionComponent("hgroup");
56
- const MotionHr = /*@__PURE__*/ createMotionComponent("hr");
57
- const MotionHtml = /*@__PURE__*/ createMotionComponent("html");
58
- const MotionI = /*@__PURE__*/ createMotionComponent("i");
59
- const MotionIframe = /*@__PURE__*/ createMotionComponent("iframe");
60
- const MotionImg = /*@__PURE__*/ createMotionComponent("img");
61
- const MotionInput = /*@__PURE__*/ createMotionComponent("input");
62
- const MotionIns = /*@__PURE__*/ createMotionComponent("ins");
63
- const MotionKbd = /*@__PURE__*/ createMotionComponent("kbd");
64
- const MotionKeygen = /*@__PURE__*/ createMotionComponent("keygen");
65
- const MotionLabel = /*@__PURE__*/ createMotionComponent("label");
66
- const MotionLegend = /*@__PURE__*/ createMotionComponent("legend");
67
- const MotionLi = /*@__PURE__*/ createMotionComponent("li");
68
- const MotionLink = /*@__PURE__*/ createMotionComponent("link");
69
- const MotionMain = /*@__PURE__*/ createMotionComponent("main");
70
- const MotionMap = /*@__PURE__*/ createMotionComponent("map");
71
- const MotionMark = /*@__PURE__*/ createMotionComponent("mark");
72
- const MotionMenu = /*@__PURE__*/ createMotionComponent("menu");
73
- const MotionMenuitem = /*@__PURE__*/ createMotionComponent("menuitem");
74
- const MotionMeter = /*@__PURE__*/ createMotionComponent("meter");
75
- const MotionNav = /*@__PURE__*/ createMotionComponent("nav");
76
- const MotionObject = /*@__PURE__*/ createMotionComponent("object");
77
- const MotionOl = /*@__PURE__*/ createMotionComponent("ol");
78
- const MotionOptgroup = /*@__PURE__*/ createMotionComponent("optgroup");
79
- const MotionOption = /*@__PURE__*/ createMotionComponent("option");
80
- const MotionOutput = /*@__PURE__*/ createMotionComponent("output");
81
- const MotionP = /*@__PURE__*/ createMotionComponent("p");
82
- const MotionParam = /*@__PURE__*/ createMotionComponent("param");
83
- const MotionPicture = /*@__PURE__*/ createMotionComponent("picture");
84
- const MotionPre = /*@__PURE__*/ createMotionComponent("pre");
85
- const MotionProgress = /*@__PURE__*/ createMotionComponent("progress");
86
- const MotionQ = /*@__PURE__*/ createMotionComponent("q");
87
- const MotionRp = /*@__PURE__*/ createMotionComponent("rp");
88
- const MotionRt = /*@__PURE__*/ createMotionComponent("rt");
89
- const MotionRuby = /*@__PURE__*/ createMotionComponent("ruby");
90
- const MotionS = /*@__PURE__*/ createMotionComponent("s");
91
- const MotionSamp = /*@__PURE__*/ createMotionComponent("samp");
92
- const MotionScript = /*@__PURE__*/ createMotionComponent("script");
93
- const MotionSection = /*@__PURE__*/ createMotionComponent("section");
94
- const MotionSelect = /*@__PURE__*/ createMotionComponent("select");
95
- const MotionSmall = /*@__PURE__*/ createMotionComponent("small");
96
- const MotionSource = /*@__PURE__*/ createMotionComponent("source");
97
- const MotionSpan = /*@__PURE__*/ createMotionComponent("span");
98
- const MotionStrong = /*@__PURE__*/ createMotionComponent("strong");
99
- const MotionStyle = /*@__PURE__*/ createMotionComponent("style");
100
- const MotionSub = /*@__PURE__*/ createMotionComponent("sub");
101
- const MotionSummary = /*@__PURE__*/ createMotionComponent("summary");
102
- const MotionSup = /*@__PURE__*/ createMotionComponent("sup");
103
- const MotionTable = /*@__PURE__*/ createMotionComponent("table");
104
- const MotionTbody = /*@__PURE__*/ createMotionComponent("tbody");
105
- const MotionTd = /*@__PURE__*/ createMotionComponent("td");
106
- const MotionTextarea = /*@__PURE__*/ createMotionComponent("textarea");
107
- const MotionTfoot = /*@__PURE__*/ createMotionComponent("tfoot");
108
- const MotionTh = /*@__PURE__*/ createMotionComponent("th");
109
- const MotionThead = /*@__PURE__*/ createMotionComponent("thead");
110
- const MotionTime = /*@__PURE__*/ createMotionComponent("time");
111
- const MotionTitle = /*@__PURE__*/ createMotionComponent("title");
112
- const MotionTr = /*@__PURE__*/ createMotionComponent("tr");
113
- const MotionTrack = /*@__PURE__*/ createMotionComponent("track");
114
- const MotionU = /*@__PURE__*/ createMotionComponent("u");
115
- const MotionUl = /*@__PURE__*/ createMotionComponent("ul");
116
- const MotionVideo = /*@__PURE__*/ createMotionComponent("video");
117
- const MotionWbr = /*@__PURE__*/ createMotionComponent("wbr");
118
- const MotionWebview = /*@__PURE__*/ createMotionComponent("webview");
119
- /**
120
- * SVG components
121
- */
122
- const MotionAnimate = /*@__PURE__*/ createMotionComponent("animate");
123
- const MotionCircle = /*@__PURE__*/ createMotionComponent("circle");
124
- const MotionDefs = /*@__PURE__*/ createMotionComponent("defs");
125
- const MotionDesc = /*@__PURE__*/ createMotionComponent("desc");
126
- const MotionEllipse = /*@__PURE__*/ createMotionComponent("ellipse");
127
- const MotionG = /*@__PURE__*/ createMotionComponent("g");
128
- const MotionImage = /*@__PURE__*/ createMotionComponent("image");
129
- const MotionLine = /*@__PURE__*/ createMotionComponent("line");
130
- const MotionFilter = /*@__PURE__*/ createMotionComponent("filter");
131
- const MotionMarker = /*@__PURE__*/ createMotionComponent("marker");
132
- const MotionMask = /*@__PURE__*/ createMotionComponent("mask");
133
- const MotionMetadata = /*@__PURE__*/ createMotionComponent("metadata");
134
- const MotionPath = /*@__PURE__*/ createMotionComponent("path");
135
- const MotionPattern = /*@__PURE__*/ createMotionComponent("pattern");
136
- const MotionPolygon = /*@__PURE__*/ createMotionComponent("polygon");
137
- const MotionPolyline = /*@__PURE__*/ createMotionComponent("polyline");
138
- const MotionRect = /*@__PURE__*/ createMotionComponent("rect");
139
- const MotionStop = /*@__PURE__*/ createMotionComponent("stop");
140
- const MotionSvg = /*@__PURE__*/ createMotionComponent("svg");
141
- const MotionSymbol = /*@__PURE__*/ createMotionComponent("symbol");
142
- const MotionText = /*@__PURE__*/ createMotionComponent("text");
143
- const MotionTspan = /*@__PURE__*/ createMotionComponent("tspan");
144
- const MotionUse = /*@__PURE__*/ createMotionComponent("use");
145
- const MotionView = /*@__PURE__*/ createMotionComponent("view");
146
- const MotionClipPath = /*@__PURE__*/ createMotionComponent("clipPath");
147
- const MotionFeBlend = /*@__PURE__*/ createMotionComponent("feBlend");
148
- const MotionFeColorMatrix =
149
- /*@__PURE__*/ createMotionComponent("feColorMatrix");
150
- const MotionFeComponentTransfer = /*@__PURE__*/ createMotionComponent("feComponentTransfer");
151
- const MotionFeComposite =
152
- /*@__PURE__*/ createMotionComponent("feComposite");
153
- const MotionFeConvolveMatrix =
154
- /*@__PURE__*/ createMotionComponent("feConvolveMatrix");
155
- const MotionFeDiffuseLighting =
156
- /*@__PURE__*/ createMotionComponent("feDiffuseLighting");
157
- const MotionFeDisplacementMap =
158
- /*@__PURE__*/ createMotionComponent("feDisplacementMap");
159
- const MotionFeDistantLight =
160
- /*@__PURE__*/ createMotionComponent("feDistantLight");
161
- const MotionFeDropShadow =
162
- /*@__PURE__*/ createMotionComponent("feDropShadow");
163
- const MotionFeFlood = /*@__PURE__*/ createMotionComponent("feFlood");
164
- const MotionFeFuncA = /*@__PURE__*/ createMotionComponent("feFuncA");
165
- const MotionFeFuncB = /*@__PURE__*/ createMotionComponent("feFuncB");
166
- const MotionFeFuncG = /*@__PURE__*/ createMotionComponent("feFuncG");
167
- const MotionFeFuncR = /*@__PURE__*/ createMotionComponent("feFuncR");
168
- const MotionFeGaussianBlur =
169
- /*@__PURE__*/ createMotionComponent("feGaussianBlur");
170
- const MotionFeImage = /*@__PURE__*/ createMotionComponent("feImage");
171
- const MotionFeMerge = /*@__PURE__*/ createMotionComponent("feMerge");
172
- const MotionFeMergeNode =
173
- /*@__PURE__*/ createMotionComponent("feMergeNode");
174
- const MotionFeMorphology =
175
- /*@__PURE__*/ createMotionComponent("feMorphology");
176
- const MotionFeOffset = /*@__PURE__*/ createMotionComponent("feOffset");
177
- const MotionFePointLight =
178
- /*@__PURE__*/ createMotionComponent("fePointLight");
179
- const MotionFeSpecularLighting =
180
- /*@__PURE__*/ createMotionComponent("feSpecularLighting");
181
- const MotionFeSpotLight =
182
- /*@__PURE__*/ createMotionComponent("feSpotLight");
183
- const MotionFeTile = /*@__PURE__*/ createMotionComponent("feTile");
184
- const MotionFeTurbulence =
185
- /*@__PURE__*/ createMotionComponent("feTurbulence");
186
- const MotionForeignObject =
187
- /*@__PURE__*/ createMotionComponent("foreignObject");
188
- const MotionLinearGradient =
189
- /*@__PURE__*/ createMotionComponent("linearGradient");
190
- const MotionRadialGradient =
191
- /*@__PURE__*/ createMotionComponent("radialGradient");
192
- const MotionTextPath = /*@__PURE__*/ createMotionComponent("textPath");
193
-
194
- export { MotionA, MotionAbbr, MotionAddress, MotionAnimate, MotionArea, MotionArticle, MotionAside, MotionAudio, MotionB, MotionBase, MotionBdi, MotionBdo, MotionBig, MotionBlockquote, MotionBody, MotionButton, MotionCanvas, MotionCaption, MotionCircle, MotionCite, MotionClipPath, MotionCode, MotionCol, MotionColgroup, MotionData, MotionDatalist, MotionDd, MotionDefs, MotionDel, MotionDesc, MotionDetails, MotionDfn, MotionDialog, MotionDiv, MotionDl, MotionDt, MotionEllipse, MotionEm, MotionEmbed, MotionFeBlend, MotionFeColorMatrix, MotionFeComponentTransfer, MotionFeComposite, MotionFeConvolveMatrix, MotionFeDiffuseLighting, MotionFeDisplacementMap, MotionFeDistantLight, MotionFeDropShadow, MotionFeFlood, MotionFeFuncA, MotionFeFuncB, MotionFeFuncG, MotionFeFuncR, MotionFeGaussianBlur, MotionFeImage, MotionFeMerge, MotionFeMergeNode, MotionFeMorphology, MotionFeOffset, MotionFePointLight, MotionFeSpecularLighting, MotionFeSpotLight, MotionFeTile, MotionFeTurbulence, MotionFieldset, MotionFigcaption, MotionFigure, MotionFilter, MotionFooter, MotionForeignObject, MotionForm, MotionG, MotionH1, MotionH2, MotionH3, MotionH4, MotionH5, MotionH6, MotionHead, MotionHeader, MotionHgroup, MotionHr, MotionHtml, MotionI, MotionIframe, MotionImage, MotionImg, MotionInput, MotionIns, MotionKbd, MotionKeygen, MotionLabel, MotionLegend, MotionLi, MotionLine, MotionLinearGradient, MotionLink, MotionMain, MotionMap, MotionMark, MotionMarker, MotionMask, MotionMenu, MotionMenuitem, MotionMetadata, MotionMeter, MotionNav, MotionObject, MotionOl, MotionOptgroup, MotionOption, MotionOutput, MotionP, MotionParam, MotionPath, MotionPattern, MotionPicture, MotionPolygon, MotionPolyline, MotionPre, MotionProgress, MotionQ, MotionRadialGradient, MotionRect, MotionRp, MotionRt, MotionRuby, MotionS, MotionSamp, MotionScript, MotionSection, MotionSelect, MotionSmall, MotionSource, MotionSpan, MotionStop, MotionStrong, MotionStyle, MotionSub, MotionSummary, MotionSup, MotionSvg, MotionSymbol, MotionTable, MotionTbody, MotionTd, MotionText, MotionTextPath, MotionTextarea, MotionTfoot, MotionTh, MotionThead, MotionTime, MotionTitle, MotionTr, MotionTrack, MotionTspan, MotionU, MotionUl, MotionUse, MotionVideo, MotionView, MotionWbr, MotionWebview };
@@ -1,6 +0,0 @@
1
- import { createDOMMotionComponentProxy } from '../create-proxy.mjs';
2
- import { createMotionComponent } from './create.mjs';
3
-
4
- const motion = /*@__PURE__*/ createDOMMotionComponentProxy(createMotionComponent);
5
-
6
- export { motion };
@@ -1,43 +0,0 @@
1
- import { VisualElement } from '../VisualElement.mjs';
2
- import { DOMKeyframesResolver } from '../../../../../motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.mjs';
3
- import { isMotionValue } from '../../../../../motion-dom/dist/es/value/utils/is-motion-value.mjs';
4
-
5
- class DOMVisualElement extends VisualElement {
6
- constructor() {
7
- super(...arguments);
8
- this.KeyframeResolver = DOMKeyframesResolver;
9
- }
10
- sortInstanceNodePosition(a, b) {
11
- /**
12
- * compareDocumentPosition returns a bitmask, by using the bitwise &
13
- * we're returning true if 2 in that bitmask is set to true. 2 is set
14
- * to true if b preceeds a.
15
- */
16
- return a.compareDocumentPosition(b) & 2 ? 1 : -1;
17
- }
18
- getBaseTargetFromProps(props, key) {
19
- return props.style
20
- ? props.style[key]
21
- : undefined;
22
- }
23
- removeValueFromRenderState(key, { vars, style }) {
24
- delete vars[key];
25
- delete style[key];
26
- }
27
- handleChildMotionValue() {
28
- if (this.childSubscription) {
29
- this.childSubscription();
30
- delete this.childSubscription;
31
- }
32
- const { children } = this.props;
33
- if (isMotionValue(children)) {
34
- this.childSubscription = children.on("change", (latest) => {
35
- if (this.current) {
36
- this.current.textContent = `${latest}`;
37
- }
38
- });
39
- }
40
- }
41
- }
42
-
43
- export { DOMVisualElement };
@@ -1,14 +0,0 @@
1
- import { Fragment } from 'react';
2
- import { HTMLVisualElement } from '../html/HTMLVisualElement.mjs';
3
- import { SVGVisualElement } from '../svg/SVGVisualElement.mjs';
4
- import { isSVGComponent } from './utils/is-svg-component.mjs';
5
-
6
- const createDomVisualElement = (Component, options) => {
7
- return isSVGComponent(Component)
8
- ? new SVGVisualElement(options)
9
- : new HTMLVisualElement(options, {
10
- allowProjection: Component !== Fragment,
11
- });
12
- };
13
-
14
- export { createDomVisualElement };
@@ -1,14 +0,0 @@
1
- import { animations } from '../../motion/features/animations.mjs';
2
- import { gestureAnimations } from '../../motion/features/gestures.mjs';
3
- import { createDomVisualElement } from './create-visual-element.mjs';
4
-
5
- /**
6
- * @public
7
- */
8
- const domAnimation = {
9
- renderer: createDomVisualElement,
10
- ...animations,
11
- ...gestureAnimations,
12
- };
13
-
14
- export { domAnimation };
@@ -1,14 +0,0 @@
1
- import { drag } from '../../motion/features/drag.mjs';
2
- import { layout } from '../../motion/features/layout.mjs';
3
- import { domAnimation } from './features-animation.mjs';
4
-
5
- /**
6
- * @public
7
- */
8
- const domMax = {
9
- ...domAnimation,
10
- ...drag,
11
- ...layout,
12
- };
13
-
14
- export { domMax };
@@ -1,12 +0,0 @@
1
- import { animations } from '../../motion/features/animations.mjs';
2
- import { createDomVisualElement } from './create-visual-element.mjs';
3
-
4
- /**
5
- * @public
6
- */
7
- const domMin = {
8
- renderer: createDomVisualElement,
9
- ...animations,
10
- };
11
-
12
- export { domMin };
@@ -1,17 +0,0 @@
1
- import { getTimeline } from './utils/get-timeline.mjs';
2
- import { observeTimeline } from '../../../../../../motion-dom/dist/es/scroll/observe.mjs';
3
-
4
- function attachToAnimation(animation, options) {
5
- const timeline = getTimeline(options);
6
- return animation.attachTimeline({
7
- timeline: options.target ? undefined : timeline,
8
- observe: (valueAnimation) => {
9
- valueAnimation.pause();
10
- return observeTimeline((progress) => {
11
- valueAnimation.time = valueAnimation.duration * progress;
12
- }, timeline);
13
- },
14
- });
15
- }
16
-
17
- export { attachToAnimation };
@@ -1,23 +0,0 @@
1
- import { scrollInfo } from './track.mjs';
2
- import { getTimeline } from './utils/get-timeline.mjs';
3
- import { observeTimeline } from '../../../../../../motion-dom/dist/es/scroll/observe.mjs';
4
-
5
- /**
6
- * If the onScroll function has two arguments, it's expecting
7
- * more specific information about the scroll from scrollInfo.
8
- */
9
- function isOnScrollWithInfo(onScroll) {
10
- return onScroll.length === 2;
11
- }
12
- function attachToFunction(onScroll, options) {
13
- if (isOnScrollWithInfo(onScroll)) {
14
- return scrollInfo((info) => {
15
- onScroll(info[options.axis].progress, info);
16
- }, options);
17
- }
18
- else {
19
- return observeTimeline(onScroll, getTimeline(options));
20
- }
21
- }
22
-
23
- export { attachToFunction };
@@ -1,14 +0,0 @@
1
- import { attachToAnimation } from './attach-animation.mjs';
2
- import { attachToFunction } from './attach-function.mjs';
3
- import { noop } from '../../../../../../motion-utils/dist/es/noop.mjs';
4
-
5
- function scroll(onScroll, { axis = "y", container = document.scrollingElement, ...options } = {}) {
6
- if (!container)
7
- return noop;
8
- const optionsWithDefaults = { axis, container, ...options };
9
- return typeof onScroll === "function"
10
- ? attachToFunction(onScroll, optionsWithDefaults)
11
- : attachToAnimation(onScroll, optionsWithDefaults);
12
- }
13
-
14
- export { scroll };