motionary 10.3.0 → 10.4.0

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 (390) hide show
  1. package/AGENTS.md +4 -0
  2. package/CHANGELOG.md +13 -0
  3. package/README.md +35 -0
  4. package/bin/motionary-mcp.mjs +265 -0
  5. package/dist/chunks/anim-image-DDdb9q3X.js +166 -0
  6. package/dist/chunks/anim-image-DDdb9q3X.js.map +1 -0
  7. package/dist/chunks/anim-image-blQgPFFS.cjs +174 -0
  8. package/dist/chunks/anim-image-blQgPFFS.cjs.map +1 -0
  9. package/dist/chunks/audio-BpU-A1m1.cjs.map +1 -1
  10. package/dist/chunks/{audio-D95jwlOh.js → audio-CWt1xdZB.js} +3 -3
  11. package/dist/chunks/{audio-D95jwlOh.js.map → audio-CWt1xdZB.js.map} +1 -1
  12. package/dist/chunks/{base-BnRyfuyM.js → base-BTev8qxg.js} +2 -2
  13. package/dist/chunks/{base-BnRyfuyM.js.map → base-BTev8qxg.js.map} +1 -1
  14. package/dist/chunks/base-DBheNxJu.cjs.map +1 -1
  15. package/dist/chunks/bind-B_CTL6Qn.js.map +1 -1
  16. package/dist/chunks/bind-Ui43-n2d.cjs.map +1 -1
  17. package/dist/chunks/builtins-CKKZNR95.cjs.map +1 -1
  18. package/dist/chunks/{builtins-CqIq1zBv.js → builtins-CPmS6aDB.js} +3 -3
  19. package/dist/chunks/{builtins-CqIq1zBv.js.map → builtins-CPmS6aDB.js.map} +1 -1
  20. package/dist/chunks/core-B5T0dhFH.cjs.map +1 -1
  21. package/dist/chunks/{core-DsGoL9EY.js → core-BviA7nFa.js} +2 -2
  22. package/dist/chunks/{core-DsGoL9EY.js.map → core-BviA7nFa.js.map} +1 -1
  23. package/dist/chunks/core-D74Fz-dL.cjs.map +1 -1
  24. package/dist/chunks/core-D7cVumUu.js.map +1 -1
  25. package/dist/chunks/{core-XA2yhn1b.js → core-KiM7MXjL.js} +2 -2
  26. package/dist/chunks/{core-XA2yhn1b.js.map → core-KiM7MXjL.js.map} +1 -1
  27. package/dist/chunks/core-MQlXZKUG.cjs.map +1 -1
  28. package/dist/chunks/ease-HwYZnZat.cjs +94 -0
  29. package/dist/chunks/ease-HwYZnZat.cjs.map +1 -0
  30. package/dist/chunks/ease-XN8_0sXu.js +89 -0
  31. package/dist/chunks/ease-XN8_0sXu.js.map +1 -0
  32. package/dist/chunks/fx-B_pbhpDp.cjs.map +1 -1
  33. package/dist/chunks/{fx-CtnrFEg9.js → fx-CgWKqVsn.js} +2 -2
  34. package/dist/chunks/{fx-CtnrFEg9.js.map → fx-CgWKqVsn.js.map} +1 -1
  35. package/dist/chunks/generative-2LhxG5BJ.js.map +1 -1
  36. package/dist/chunks/generative-BHIj-NU0.cjs.map +1 -1
  37. package/dist/chunks/{gpu-CDcXiNA8.js → gpu-BWfgYWMY.js} +2 -2
  38. package/dist/chunks/{gpu-CDcXiNA8.js.map → gpu-BWfgYWMY.js.map} +1 -1
  39. package/dist/chunks/gpu-cUixt7kT.cjs.map +1 -1
  40. package/dist/chunks/index-tags-B-JBecYg.js.map +1 -1
  41. package/dist/chunks/index-tags-hLIF2Clq.cjs.map +1 -1
  42. package/dist/chunks/{keyframes-DVAC5sQI.js → keyframes-B5PWe5bU.js} +3 -2
  43. package/dist/chunks/keyframes-B5PWe5bU.js.map +1 -0
  44. package/dist/chunks/{keyframes-Dw9zwVQa.cjs → keyframes-tC3I7anQ.cjs} +4 -3
  45. package/dist/chunks/keyframes-tC3I7anQ.cjs.map +1 -0
  46. package/dist/chunks/{manifest-D58HXVY-.js → manifest-BHx5yPN6.js} +2 -2
  47. package/dist/chunks/{manifest-D58HXVY-.js.map → manifest-BHx5yPN6.js.map} +1 -1
  48. package/dist/chunks/manifest-PaF9B8Vt.cjs.map +1 -1
  49. package/dist/chunks/{player-48Zy_NBG.js → player-BfHMNtiM.js} +4 -4
  50. package/dist/chunks/{player-48Zy_NBG.js.map → player-BfHMNtiM.js.map} +1 -1
  51. package/dist/chunks/player-C4y4jXSv.cjs.map +1 -1
  52. package/dist/chunks/presets-BYBVJVeP.js.map +1 -1
  53. package/dist/chunks/presets-CUHys3sK.cjs.map +1 -1
  54. package/dist/chunks/{registry-gFJRpPES.js → registry-BKzyg1JV.js} +2 -2
  55. package/dist/chunks/{registry-gFJRpPES.js.map → registry-BKzyg1JV.js.map} +1 -1
  56. package/dist/chunks/{registry-46AAzyeC.js → registry-CT-TT_bx.js} +3 -3
  57. package/dist/chunks/{registry-46AAzyeC.js.map → registry-CT-TT_bx.js.map} +1 -1
  58. package/dist/chunks/{registry-CSVil2qJ.cjs → registry-tzwKkldE.cjs} +2 -2
  59. package/dist/chunks/{registry-CSVil2qJ.cjs.map → registry-tzwKkldE.cjs.map} +1 -1
  60. package/dist/chunks/registry-xQZnSqqV.cjs.map +1 -1
  61. package/dist/chunks/shared-CkKHWrtJ.js.map +1 -1
  62. package/dist/chunks/shared-jkgRH-Hx.cjs.map +1 -1
  63. package/dist/chunks/{spring-CZDNyqWp.js → spring-BHuP55DR.js} +2 -2
  64. package/dist/chunks/{spring-CZDNyqWp.js.map → spring-BHuP55DR.js.map} +1 -1
  65. package/dist/chunks/spring-BlTQD2AV.cjs.map +1 -1
  66. package/dist/chunks/stagger-CCFyhzSw.cjs.map +1 -1
  67. package/dist/chunks/stagger-DtMKo2SK.js.map +1 -1
  68. package/dist/chunks/{ticker-COOYAyQy.js → ticker-C8lSGml9.js} +2 -2
  69. package/dist/chunks/{ticker-COOYAyQy.js.map → ticker-C8lSGml9.js.map} +1 -1
  70. package/dist/chunks/{ticker-gHv6pNfx.cjs → ticker-Un0bvTWR.cjs} +2 -2
  71. package/dist/chunks/{ticker-gHv6pNfx.cjs.map → ticker-Un0bvTWR.cjs.map} +1 -1
  72. package/dist/chunks/{tween-CGyolmzB.js → tween-BcejKpsx.js} +4 -90
  73. package/dist/chunks/tween-BcejKpsx.js.map +1 -0
  74. package/dist/chunks/{tween-CFN0WcOb.cjs → tween-CwLLC3Ko.cjs} +4 -94
  75. package/dist/chunks/tween-CwLLC3Ko.cjs.map +1 -0
  76. package/dist/chunks/variants-CrDDJoYK.cjs.map +1 -1
  77. package/dist/chunks/{variants-GU3yIL4F.js → variants-CsRGUIyA.js} +2 -2
  78. package/dist/chunks/{variants-GU3yIL4F.js.map → variants-CsRGUIyA.js.map} +1 -1
  79. package/dist/components/a11y.cjs.map +1 -1
  80. package/dist/components/a11y.js +2 -2
  81. package/dist/components/a11y.js.map +1 -1
  82. package/dist/components/angular.cjs.map +1 -1
  83. package/dist/components/angular.js +8 -8
  84. package/dist/components/angular.js.map +1 -1
  85. package/dist/components/background.cjs.map +1 -1
  86. package/dist/components/background.js +2 -2
  87. package/dist/components/background.js.map +1 -1
  88. package/dist/components/bridge.cjs.map +1 -1
  89. package/dist/components/bridge.js +1 -1
  90. package/dist/components/bridge.js.map +1 -1
  91. package/dist/components/cards.cjs.map +1 -1
  92. package/dist/components/cards.js +2 -2
  93. package/dist/components/cards.js.map +1 -1
  94. package/dist/components/click.cjs.map +1 -1
  95. package/dist/components/click.js +3 -3
  96. package/dist/components/click.js.map +1 -1
  97. package/dist/components/core.cjs.map +1 -1
  98. package/dist/components/core.js.map +1 -1
  99. package/dist/components/depth.cjs.map +1 -1
  100. package/dist/components/depth.js +3 -3
  101. package/dist/components/depth.js.map +1 -1
  102. package/dist/components/design.cjs.map +1 -1
  103. package/dist/components/design.js +3 -3
  104. package/dist/components/design.js.map +1 -1
  105. package/dist/components/dsl.cjs.map +1 -1
  106. package/dist/components/dsl.js +2 -2
  107. package/dist/components/dsl.js.map +1 -1
  108. package/dist/components/effects.cjs.map +1 -1
  109. package/dist/components/effects.js +9 -9
  110. package/dist/components/effects.js.map +1 -1
  111. package/dist/components/engine.cjs.map +1 -1
  112. package/dist/components/engine.js +2 -2
  113. package/dist/components/engine.js.map +1 -1
  114. package/dist/components/feedback.cjs.map +1 -1
  115. package/dist/components/feedback.js +1 -1
  116. package/dist/components/feedback.js.map +1 -1
  117. package/dist/components/fx-3d.cjs.map +1 -1
  118. package/dist/components/fx-3d.js +2 -2
  119. package/dist/components/fx-3d.js.map +1 -1
  120. package/dist/components/fx-ai.cjs.map +1 -1
  121. package/dist/components/fx-ai.js +2 -2
  122. package/dist/components/fx-ai.js.map +1 -1
  123. package/dist/components/fx-chart.cjs.map +1 -1
  124. package/dist/components/fx-chart.js +2 -2
  125. package/dist/components/fx-chart.js.map +1 -1
  126. package/dist/components/fx-cinema.cjs.map +1 -1
  127. package/dist/components/fx-cinema.js +2 -2
  128. package/dist/components/fx-cinema.js.map +1 -1
  129. package/dist/components/fx-cyber.cjs.map +1 -1
  130. package/dist/components/fx-cyber.js +2 -2
  131. package/dist/components/fx-cyber.js.map +1 -1
  132. package/dist/components/fx-festival.cjs.map +1 -1
  133. package/dist/components/fx-festival.js +2 -2
  134. package/dist/components/fx-festival.js.map +1 -1
  135. package/dist/components/fx-focus.cjs.map +1 -1
  136. package/dist/components/fx-focus.js +2 -2
  137. package/dist/components/fx-focus.js.map +1 -1
  138. package/dist/components/fx-form.cjs.map +1 -1
  139. package/dist/components/fx-form.js +2 -2
  140. package/dist/components/fx-form.js.map +1 -1
  141. package/dist/components/fx-game.cjs.map +1 -1
  142. package/dist/components/fx-game.js +2 -2
  143. package/dist/components/fx-game.js.map +1 -1
  144. package/dist/components/fx-genart.cjs.map +1 -1
  145. package/dist/components/fx-genart.js +2 -2
  146. package/dist/components/fx-genart.js.map +1 -1
  147. package/dist/components/fx-geo.cjs.map +1 -1
  148. package/dist/components/fx-geo.js +2 -2
  149. package/dist/components/fx-geo.js.map +1 -1
  150. package/dist/components/fx-gesture.cjs.map +1 -1
  151. package/dist/components/fx-gesture.js +2 -2
  152. package/dist/components/fx-gesture.js.map +1 -1
  153. package/dist/components/fx-gpu.js +3 -3
  154. package/dist/components/fx-light.cjs.map +1 -1
  155. package/dist/components/fx-light.js +2 -2
  156. package/dist/components/fx-light.js.map +1 -1
  157. package/dist/components/fx-lottie.cjs.map +1 -1
  158. package/dist/components/fx-lottie.js +2 -2
  159. package/dist/components/fx-lottie.js.map +1 -1
  160. package/dist/components/fx-morph.cjs.map +1 -1
  161. package/dist/components/fx-morph.js +2 -2
  162. package/dist/components/fx-morph.js.map +1 -1
  163. package/dist/components/fx-music.cjs.map +1 -1
  164. package/dist/components/fx-music.js +3 -3
  165. package/dist/components/fx-music.js.map +1 -1
  166. package/dist/components/fx-organic.cjs.map +1 -1
  167. package/dist/components/fx-organic.js +2 -2
  168. package/dist/components/fx-organic.js.map +1 -1
  169. package/dist/components/fx-paper.cjs.map +1 -1
  170. package/dist/components/fx-paper.js +2 -2
  171. package/dist/components/fx-paper.js.map +1 -1
  172. package/dist/components/fx-perf.cjs.map +1 -1
  173. package/dist/components/fx-perf.js +2 -2
  174. package/dist/components/fx-perf.js.map +1 -1
  175. package/dist/components/fx-physics.cjs.map +1 -1
  176. package/dist/components/fx-physics.js +2 -2
  177. package/dist/components/fx-physics.js.map +1 -1
  178. package/dist/components/fx-retro.cjs.map +1 -1
  179. package/dist/components/fx-retro.js +2 -2
  180. package/dist/components/fx-retro.js.map +1 -1
  181. package/dist/components/fx-safe.cjs.map +1 -1
  182. package/dist/components/fx-safe.js +2 -2
  183. package/dist/components/fx-safe.js.map +1 -1
  184. package/dist/components/fx-shop.cjs.map +1 -1
  185. package/dist/components/fx-shop.js +2 -2
  186. package/dist/components/fx-shop.js.map +1 -1
  187. package/dist/components/fx-social.cjs.map +1 -1
  188. package/dist/components/fx-social.js +2 -2
  189. package/dist/components/fx-social.js.map +1 -1
  190. package/dist/components/fx-spatial.cjs.map +1 -1
  191. package/dist/components/fx-spatial.js +2 -2
  192. package/dist/components/fx-spatial.js.map +1 -1
  193. package/dist/components/fx-surface.cjs.map +1 -1
  194. package/dist/components/fx-surface.js +2 -2
  195. package/dist/components/fx-surface.js.map +1 -1
  196. package/dist/components/fx-text.cjs.map +1 -1
  197. package/dist/components/fx-text.js +2 -2
  198. package/dist/components/fx-text.js.map +1 -1
  199. package/dist/components/fx-transitions.cjs.map +1 -1
  200. package/dist/components/fx-transitions.js +3 -3
  201. package/dist/components/fx-transitions.js.map +1 -1
  202. package/dist/components/fx-video.cjs.map +1 -1
  203. package/dist/components/fx-video.js +2 -2
  204. package/dist/components/fx-video.js.map +1 -1
  205. package/dist/components/fx-weather.cjs.map +1 -1
  206. package/dist/components/fx-weather.js +2 -2
  207. package/dist/components/fx-weather.js.map +1 -1
  208. package/dist/components/fx.cjs.map +1 -1
  209. package/dist/components/fx.js +6 -6
  210. package/dist/components/fx.js.map +1 -1
  211. package/dist/components/fx2.cjs.map +1 -1
  212. package/dist/components/fx2.js +6 -6
  213. package/dist/components/fx2.js.map +1 -1
  214. package/dist/components/gesture.cjs.map +1 -1
  215. package/dist/components/gesture.js +4 -4
  216. package/dist/components/gesture.js.map +1 -1
  217. package/dist/components/interaction.cjs.map +1 -1
  218. package/dist/components/interaction.js +1 -1
  219. package/dist/components/interaction.js.map +1 -1
  220. package/dist/components/layout.cjs.map +1 -1
  221. package/dist/components/layout.js +1 -1
  222. package/dist/components/layout.js.map +1 -1
  223. package/dist/components/lazy.cjs.map +1 -1
  224. package/dist/components/lazy.js.map +1 -1
  225. package/dist/components/lite.cjs.map +1 -1
  226. package/dist/components/lite.js.map +1 -1
  227. package/dist/components/marketplace.cjs.map +1 -1
  228. package/dist/components/marketplace.js +4 -4
  229. package/dist/components/marketplace.js.map +1 -1
  230. package/dist/components/native.cjs.map +1 -1
  231. package/dist/components/native.js +3 -3
  232. package/dist/components/native.js.map +1 -1
  233. package/dist/components/packs.cjs.map +1 -1
  234. package/dist/components/packs.js +1 -1
  235. package/dist/components/packs.js.map +1 -1
  236. package/dist/components/page.cjs.map +1 -1
  237. package/dist/components/page.js +3 -3
  238. package/dist/components/page.js.map +1 -1
  239. package/dist/components/perf.cjs.map +1 -1
  240. package/dist/components/perf.js +2 -2
  241. package/dist/components/perf.js.map +1 -1
  242. package/dist/components/physics.cjs.map +1 -1
  243. package/dist/components/physics.js +3 -3
  244. package/dist/components/physics.js.map +1 -1
  245. package/dist/components/plugins.cjs.map +1 -1
  246. package/dist/components/plugins.js +4 -4
  247. package/dist/components/plugins.js.map +1 -1
  248. package/dist/components/react.cjs.map +1 -1
  249. package/dist/components/react.js.map +1 -1
  250. package/dist/components/reveal.cjs.map +1 -1
  251. package/dist/components/reveal.js +1 -1
  252. package/dist/components/reveal.js.map +1 -1
  253. package/dist/components/solid.cjs.map +1 -1
  254. package/dist/components/solid.js +8 -8
  255. package/dist/components/solid.js.map +1 -1
  256. package/dist/components/svelte.cjs.map +1 -1
  257. package/dist/components/svelte.js +8 -8
  258. package/dist/components/svelte.js.map +1 -1
  259. package/dist/components/svg.cjs.map +1 -1
  260. package/dist/components/svg.js +1 -1
  261. package/dist/components/svg.js.map +1 -1
  262. package/dist/components/text.cjs.map +1 -1
  263. package/dist/components/text.js +2 -2
  264. package/dist/components/text.js.map +1 -1
  265. package/dist/components/timeline.cjs.map +1 -1
  266. package/dist/components/timeline.js +3 -3
  267. package/dist/components/timeline.js.map +1 -1
  268. package/dist/components/tokens.cjs.map +1 -1
  269. package/dist/components/tokens.js.map +1 -1
  270. package/dist/components/transitions.cjs.map +1 -1
  271. package/dist/components/transitions.js +1 -1
  272. package/dist/components/transitions.js.map +1 -1
  273. package/dist/components/ui.cjs.map +1 -1
  274. package/dist/components/ui.js +4 -4
  275. package/dist/components/ui.js.map +1 -1
  276. package/dist/components/vue.cjs.map +1 -1
  277. package/dist/components/vue.js +8 -8
  278. package/dist/components/vue.js.map +1 -1
  279. package/dist/components/webgl.cjs.map +1 -1
  280. package/dist/components/webgl.js +1 -1
  281. package/dist/components/webgl.js.map +1 -1
  282. package/dist/components/widgets.cjs +569 -216
  283. package/dist/components/widgets.cjs.map +1 -1
  284. package/dist/components/widgets.d.cts +167 -2
  285. package/dist/components/widgets.d.ts +167 -2
  286. package/dist/components/widgets.js +575 -225
  287. package/dist/components/widgets.js.map +1 -1
  288. package/dist/components.cjs.map +1 -1
  289. package/dist/components.js +10 -10
  290. package/dist/components.js.map +1 -1
  291. package/dist/element.cjs.map +1 -1
  292. package/dist/element.js.map +1 -1
  293. package/dist/index.cjs.map +1 -1
  294. package/dist/index.js +2 -2
  295. package/dist/index.js.map +1 -1
  296. package/dist/llms-full.txt +154 -1
  297. package/dist/llms.txt +9 -2
  298. package/dist/manifest.json +413 -1
  299. package/dist/presets/extended.cjs.map +1 -1
  300. package/dist/presets/extended.js.map +1 -1
  301. package/dist/react.cjs.map +1 -1
  302. package/dist/react.js.map +1 -1
  303. package/dist/runtime/format-apng.cjs +131 -0
  304. package/dist/runtime/format-apng.cjs.map +1 -0
  305. package/dist/runtime/format-apng.d.cts +250 -0
  306. package/dist/runtime/format-apng.d.ts +250 -0
  307. package/dist/runtime/format-apng.iife.js +2 -0
  308. package/dist/runtime/format-apng.iife.js.map +1 -0
  309. package/dist/runtime/format-apng.js +123 -0
  310. package/dist/runtime/format-apng.js.map +1 -0
  311. package/dist/runtime/format-css.cjs +5 -4
  312. package/dist/runtime/format-css.cjs.map +1 -1
  313. package/dist/runtime/format-css.js +5 -4
  314. package/dist/runtime/format-css.js.map +1 -1
  315. package/dist/runtime/format-gif.cjs +206 -0
  316. package/dist/runtime/format-gif.cjs.map +1 -0
  317. package/dist/runtime/format-gif.d.cts +223 -0
  318. package/dist/runtime/format-gif.d.ts +223 -0
  319. package/dist/runtime/format-gif.iife.js +2 -0
  320. package/dist/runtime/format-gif.iife.js.map +1 -0
  321. package/dist/runtime/format-gif.js +199 -0
  322. package/dist/runtime/format-gif.js.map +1 -0
  323. package/dist/runtime/format-motion.cjs +9 -8
  324. package/dist/runtime/format-motion.cjs.map +1 -1
  325. package/dist/runtime/format-motion.js +5 -4
  326. package/dist/runtime/format-motion.js.map +1 -1
  327. package/dist/runtime/format-sprite.cjs +4 -3
  328. package/dist/runtime/format-sprite.cjs.map +1 -1
  329. package/dist/runtime/format-sprite.js +4 -3
  330. package/dist/runtime/format-sprite.js.map +1 -1
  331. package/dist/runtime/format-svg.cjs +5 -4
  332. package/dist/runtime/format-svg.cjs.map +1 -1
  333. package/dist/runtime/format-svg.js +4 -3
  334. package/dist/runtime/format-svg.js.map +1 -1
  335. package/dist/runtime/format-webp.cjs +123 -0
  336. package/dist/runtime/format-webp.cjs.map +1 -0
  337. package/dist/runtime/format-webp.d.cts +245 -0
  338. package/dist/runtime/format-webp.d.ts +245 -0
  339. package/dist/runtime/format-webp.iife.js +2 -0
  340. package/dist/runtime/format-webp.iife.js.map +1 -0
  341. package/dist/runtime/format-webp.js +115 -0
  342. package/dist/runtime/format-webp.js.map +1 -0
  343. package/dist/runtime/scroll.cjs +2 -2
  344. package/dist/runtime/scroll.cjs.map +1 -1
  345. package/dist/runtime/scroll.js +2 -2
  346. package/dist/runtime/scroll.js.map +1 -1
  347. package/dist/runtime/smooth.cjs +284 -0
  348. package/dist/runtime/smooth.cjs.map +1 -0
  349. package/dist/runtime/smooth.d.cts +137 -0
  350. package/dist/runtime/smooth.d.ts +137 -0
  351. package/dist/runtime/smooth.iife.js +2 -0
  352. package/dist/runtime/smooth.iife.js.map +1 -0
  353. package/dist/runtime/smooth.js +279 -0
  354. package/dist/runtime/smooth.js.map +1 -0
  355. package/dist/runtime/text.cjs +1 -1
  356. package/dist/runtime/text.cjs.map +1 -1
  357. package/dist/runtime/text.js +1 -1
  358. package/dist/runtime/text.js.map +1 -1
  359. package/dist/runtime.cjs +9 -8
  360. package/dist/runtime.cjs.map +1 -1
  361. package/dist/runtime.d.cts +1 -1
  362. package/dist/runtime.d.ts +1 -1
  363. package/dist/runtime.iife.js +1 -1
  364. package/dist/runtime.iife.js.map +1 -1
  365. package/dist/runtime.js +6 -5
  366. package/dist/runtime.js.map +1 -1
  367. package/dist/solid.cjs.map +1 -1
  368. package/dist/solid.js.map +1 -1
  369. package/dist/svelte.cjs.map +1 -1
  370. package/dist/svelte.js.map +1 -1
  371. package/dist/vue.cjs.map +1 -1
  372. package/dist/vue.js.map +1 -1
  373. package/dist/widgets.umd.js +1 -1
  374. package/dist/widgets.umd.js.map +1 -1
  375. package/docs/ROADMAP.md +1 -1
  376. package/docs/components/README.md +10 -7
  377. package/docs/components/usa-parallax-layers.md +38 -0
  378. package/docs/components/usa-scroll-ring.md +32 -0
  379. package/docs/components/usa-smooth-scroll.md +60 -0
  380. package/docs/components.md +49 -0
  381. package/docs/mcp.md +50 -0
  382. package/docs/runtime/format-apng.md +59 -0
  383. package/docs/runtime/format-gif.md +60 -0
  384. package/docs/runtime/format-webp.md +58 -0
  385. package/docs/runtime/smooth.md +60 -0
  386. package/package.json +44 -2
  387. package/dist/chunks/keyframes-DVAC5sQI.js.map +0 -1
  388. package/dist/chunks/keyframes-Dw9zwVQa.cjs.map +0 -1
  389. package/dist/chunks/tween-CFN0WcOb.cjs.map +0 -1
  390. package/dist/chunks/tween-CGyolmzB.js.map +0 -1
@@ -3,7 +3,7 @@
3
3
  "format": "motionary/components",
4
4
  "schemaVersion": 1,
5
5
  "package": "motionary",
6
- "version": "10.3.0",
6
+ "version": "10.4.0",
7
7
  "homepage": "https://harrisoncn.github.io/Motionary/",
8
8
  "llms": "https://harrisoncn.github.io/Motionary/llms.txt",
9
9
  "cdn": {
@@ -492,6 +492,271 @@
492
492
  ]
493
493
  ],
494
494
  "example": "import { use } from 'motionary/runtime';\nimport { formatSprite, parseSpriteSheet, spritePlayer } from 'motionary/runtime/format-sprite';\nuse(formatSprite);\nconst sheet = parseSpriteSheet(await (await fetch('/slime.json')).json());\nconst img = new Image(); img.src = '/slime.png'; await img.decode();\nspritePlayer(document.querySelector('canvas'), sheet, img, { tag: 'bounce' });"
495
+ },
496
+ {
497
+ "kind": "runtime",
498
+ "id": "smooth",
499
+ "label": "motionary/runtime/smooth",
500
+ "title": "Smooth scrolling",
501
+ "summary": "Smooth, inertial wheel scrolling (lerp or fixed-duration glide) for the window or any scroll container, anchor links that glide, off under prefers-reduced-motion; real scroll events keep scroll scenes and observers working.",
502
+ "install": "npm i motionary",
503
+ "importPath": "motionary/runtime/smooth",
504
+ "import": "import { use } from 'motionary/runtime';\nimport { smooth } from 'motionary/runtime/smooth';",
505
+ "register": "use(smooth);",
506
+ "cdn": "<script src=\"https://cdn.jsdelivr.net/npm/motionary@10/dist/runtime.iife.js\"></script>\n<script src=\"https://cdn.jsdelivr.net/npm/motionary@10/dist/runtime/smooth.iife.js\"></script>",
507
+ "cdnEsm": "https://cdn.jsdelivr.net/npm/motionary@10/dist/runtime/smooth.js",
508
+ "order": "Register the core first, then the module: use(smooth) also registers the core. CDN: load runtime.iife.js, then runtime/smooth.iife.js (it registers itself).",
509
+ "docs": "docs/runtime/smooth.md",
510
+ "budget": 3584,
511
+ "exports": [
512
+ "smooth",
513
+ "smoothScroll",
514
+ "SmoothScroll",
515
+ "allSmooth"
516
+ ],
517
+ "compat": [
518
+ [
519
+ "wheel / trackpad smoothing (lerp, or duration + ease)",
520
+ "yes",
521
+ "frame-rate independent"
522
+ ],
523
+ [
524
+ "window and scroll containers (wrapper), vertical / horizontal",
525
+ "yes",
526
+ ""
527
+ ],
528
+ [
529
+ "keyboard, scrollbar, find-in-page, assistive tech",
530
+ "yes",
531
+ "stay native; the smoothed target follows them"
532
+ ],
533
+ [
534
+ "touch",
535
+ "partial",
536
+ "native momentum by default; touch: true smooths it"
537
+ ],
538
+ [
539
+ "anchor links (#id) with offset, focus moved, URL hash kept",
540
+ "yes",
541
+ ""
542
+ ],
543
+ [
544
+ "nested scrollables, [data-smooth-ignore], ctrl+wheel zoom",
545
+ "yes",
546
+ "left native"
547
+ ],
548
+ [
549
+ "prefers-reduced-motion",
550
+ "yes",
551
+ "disabled while it matches (re-enabled live)"
552
+ ],
553
+ [
554
+ "scroll scenes / IntersectionObserver / CSS scroll timelines",
555
+ "yes",
556
+ "real scroll events still fire"
557
+ ],
558
+ [
559
+ "SSR / workers",
560
+ "partial",
561
+ "import is safe; smoothScroll() needs a browser"
562
+ ]
563
+ ],
564
+ "example": "import { use } from 'motionary/runtime';\nimport { smooth, smoothScroll } from 'motionary/runtime/smooth';\nuse(smooth);\nconst s = smoothScroll({ lerp: 0.1, anchors: { offset: -64 } });\ns.scrollTo('#pricing');"
565
+ },
566
+ {
567
+ "kind": "runtime",
568
+ "id": "format-gif",
569
+ "label": "motionary/runtime/format-gif",
570
+ "title": "GIF decoder",
571
+ "summary": "Decode animated GIFs (own LZW decoder, no DOM) into composited RGBA frames and play / scrub / reverse them on a canvas as a runtime timeline.",
572
+ "install": "npm i motionary",
573
+ "importPath": "motionary/runtime/format-gif",
574
+ "import": "import { use } from 'motionary/runtime';\nimport { formatGif } from 'motionary/runtime/format-gif';",
575
+ "register": "use(formatGif);",
576
+ "cdn": "<script src=\"https://cdn.jsdelivr.net/npm/motionary@10/dist/runtime.iife.js\"></script>\n<script src=\"https://cdn.jsdelivr.net/npm/motionary@10/dist/runtime/format-gif.iife.js\"></script>",
577
+ "cdnEsm": "https://cdn.jsdelivr.net/npm/motionary@10/dist/runtime/format-gif.js",
578
+ "order": "Register the core first, then the module: use(formatGif) also registers the core. CDN: load runtime.iife.js, then runtime/format-gif.iife.js (it registers itself).",
579
+ "docs": "docs/runtime/format-gif.md",
580
+ "budget": 3072,
581
+ "exports": [
582
+ "formatGif",
583
+ "decodeGif",
584
+ "loadGif",
585
+ "lzwDecode",
586
+ "animatedImagePlayer"
587
+ ],
588
+ "compat": [
589
+ [
590
+ "GIF87a / GIF89a",
591
+ "yes",
592
+ ""
593
+ ],
594
+ [
595
+ "global + local palettes, transparency",
596
+ "yes",
597
+ ""
598
+ ],
599
+ [
600
+ "interlaced frames",
601
+ "yes",
602
+ "4-pass row order"
603
+ ],
604
+ [
605
+ "disposal 0–3 (none / keep / background / previous)",
606
+ "yes",
607
+ "background clears to transparent, like browsers"
608
+ ],
609
+ [
610
+ "frame delays, NETSCAPE2.0 / ANIMEXTS loop count",
611
+ "yes",
612
+ "delays ≤ 10 ms play at 100 ms, like browsers"
613
+ ],
614
+ [
615
+ "truncated files",
616
+ "partial",
617
+ "decodes what is there"
618
+ ],
619
+ [
620
+ "plain-text extension",
621
+ "no",
622
+ "ignored (browsers ignore it too)"
623
+ ],
624
+ [
625
+ "SSR / workers",
626
+ "yes",
627
+ "decoding is pure; the player needs a (Offscreen)Canvas"
628
+ ]
629
+ ],
630
+ "example": "import { use } from 'motionary/runtime';\nimport { formatGif, loadGif, animatedImagePlayer } from 'motionary/runtime/format-gif';\nuse(formatGif);\nconst gif = await loadGif('/loader.gif');\nconst player = animatedImagePlayer(document.querySelector('canvas'), gif);\nplayer.pause(); player.progress = 0.5; // scrub"
631
+ },
632
+ {
633
+ "kind": "runtime",
634
+ "id": "format-apng",
635
+ "label": "motionary/runtime/format-apng",
636
+ "title": "APNG loader",
637
+ "summary": "Split animated PNGs into standalone frame PNGs (decoded by the browser), composite them (dispose / blend) and play them on a canvas as a runtime timeline.",
638
+ "install": "npm i motionary",
639
+ "importPath": "motionary/runtime/format-apng",
640
+ "import": "import { use } from 'motionary/runtime';\nimport { formatApng } from 'motionary/runtime/format-apng';",
641
+ "register": "use(formatApng);",
642
+ "cdn": "<script src=\"https://cdn.jsdelivr.net/npm/motionary@10/dist/runtime.iife.js\"></script>\n<script src=\"https://cdn.jsdelivr.net/npm/motionary@10/dist/runtime/format-apng.iife.js\"></script>",
643
+ "cdnEsm": "https://cdn.jsdelivr.net/npm/motionary@10/dist/runtime/format-apng.js",
644
+ "order": "Register the core first, then the module: use(formatApng) also registers the core. CDN: load runtime.iife.js, then runtime/format-apng.iife.js (it registers itself).",
645
+ "docs": "docs/runtime/format-apng.md",
646
+ "budget": 3072,
647
+ "exports": [
648
+ "formatApng",
649
+ "parseApng",
650
+ "apngFramePngs",
651
+ "decodeApng",
652
+ "loadApng",
653
+ "animatedImagePlayer"
654
+ ],
655
+ "compat": [
656
+ [
657
+ "acTL / fcTL / fdAT, frame offsets and delays",
658
+ "yes",
659
+ ""
660
+ ],
661
+ [
662
+ "dispose_op none / background / previous",
663
+ "yes",
664
+ "first-frame previous → background (spec)"
665
+ ],
666
+ [
667
+ "blend_op source / over",
668
+ "yes",
669
+ ""
670
+ ],
671
+ [
672
+ "hidden default image (IDAT not part of the animation)",
673
+ "yes",
674
+ ""
675
+ ],
676
+ [
677
+ "palette / tRNS / gAMA / iCCP / sRGB / sBIT copied into frames",
678
+ "yes",
679
+ ""
680
+ ],
681
+ [
682
+ "plain (non-animated) PNG",
683
+ "yes",
684
+ "one frame"
685
+ ],
686
+ [
687
+ "decoding",
688
+ "yes",
689
+ "the browser's PNG decoder (createImageBitmap), or your own { decode }"
690
+ ],
691
+ [
692
+ "SSR / workers",
693
+ "partial",
694
+ "parsing is pure; decoding needs createImageBitmap (workers OK) or { decode }"
695
+ ]
696
+ ],
697
+ "example": "import { use } from 'motionary/runtime';\nimport { formatApng, loadApng, animatedImagePlayer } from 'motionary/runtime/format-apng';\nuse(formatApng);\nconst anim = await loadApng('/sticker.png');\nanimatedImagePlayer(document.querySelector('canvas'), anim);"
698
+ },
699
+ {
700
+ "kind": "runtime",
701
+ "id": "format-webp",
702
+ "label": "motionary/runtime/format-webp",
703
+ "title": "Animated WebP loader",
704
+ "summary": "Split animated WebP files (ANIM / ANMF) into standalone frames (decoded by the browser), composite them (blend / dispose) and play them on a canvas as a runtime timeline.",
705
+ "install": "npm i motionary",
706
+ "importPath": "motionary/runtime/format-webp",
707
+ "import": "import { use } from 'motionary/runtime';\nimport { formatWebp } from 'motionary/runtime/format-webp';",
708
+ "register": "use(formatWebp);",
709
+ "cdn": "<script src=\"https://cdn.jsdelivr.net/npm/motionary@10/dist/runtime.iife.js\"></script>\n<script src=\"https://cdn.jsdelivr.net/npm/motionary@10/dist/runtime/format-webp.iife.js\"></script>",
710
+ "cdnEsm": "https://cdn.jsdelivr.net/npm/motionary@10/dist/runtime/format-webp.js",
711
+ "order": "Register the core first, then the module: use(formatWebp) also registers the core. CDN: load runtime.iife.js, then runtime/format-webp.iife.js (it registers itself).",
712
+ "docs": "docs/runtime/format-webp.md",
713
+ "budget": 3072,
714
+ "exports": [
715
+ "formatWebp",
716
+ "parseWebp",
717
+ "webpFrameFiles",
718
+ "decodeWebp",
719
+ "loadWebp",
720
+ "animatedImagePlayer"
721
+ ],
722
+ "compat": [
723
+ [
724
+ "VP8X + ANIM + ANMF frames, offsets, durations, loop count",
725
+ "yes",
726
+ ""
727
+ ],
728
+ [
729
+ "lossy (VP8) with alpha (ALPH) and lossless (VP8L) frames",
730
+ "yes",
731
+ "lossy + alpha frames get their own VP8X header"
732
+ ],
733
+ [
734
+ "blending on / off, dispose none / background",
735
+ "yes",
736
+ "composited on transparent, like browsers"
737
+ ],
738
+ [
739
+ "still WebP (simple and extended)",
740
+ "yes",
741
+ "one frame"
742
+ ],
743
+ [
744
+ "ICC / EXIF / XMP metadata",
745
+ "no",
746
+ "ignored"
747
+ ],
748
+ [
749
+ "browsers without WebP decoding",
750
+ "no",
751
+ "fall back to <img>"
752
+ ],
753
+ [
754
+ "SSR / workers",
755
+ "partial",
756
+ "parsing is pure; decoding needs createImageBitmap (workers OK) or { decode }"
757
+ ]
758
+ ],
759
+ "example": "import { use } from 'motionary/runtime';\nimport { formatWebp, loadWebp, animatedImagePlayer } from 'motionary/runtime/format-webp';\nuse(formatWebp);\nconst anim = await loadWebp('/hero.webp');\nconst p = animatedImagePlayer(document.querySelector('canvas'), anim, { speed: 0.5 });"
495
760
  }
496
761
  ],
497
762
  "components": [
@@ -5104,6 +5369,47 @@
5104
5369
  "prerequisites": null,
5105
5370
  "source": "src/components/widgets/panorama.ts"
5106
5371
  },
5372
+ {
5373
+ "id": "parallax-layers",
5374
+ "tag": "usa-parallax-layers",
5375
+ "title": "Parallax layers",
5376
+ "description": "10.4: a parallax container — children with data-depth move at different speeds while it crosses the viewport (native view() scroll timeline first, JS fallback), optional pointer tilt; static under reduced motion.",
5377
+ "category": "reveal",
5378
+ "since": "10.4",
5379
+ "keywords": [
5380
+ "parallax",
5381
+ "depth",
5382
+ "layers",
5383
+ "view timeline",
5384
+ "scroll-driven"
5385
+ ],
5386
+ "import": {
5387
+ "path": "motionary/components/widgets",
5388
+ "define": "defineParallaxLayers",
5389
+ "register": "defineParallaxLayers();"
5390
+ },
5391
+ "cdn": "https://unpkg.com/motionary@10/dist/widgets.umd.js",
5392
+ "attributes": [
5393
+ "range",
5394
+ "engine",
5395
+ "horizontal",
5396
+ "pointer",
5397
+ "strength",
5398
+ "preview"
5399
+ ],
5400
+ "events": [
5401
+ "usa:progress"
5402
+ ],
5403
+ "slots": [],
5404
+ "methods": [
5405
+ "layers"
5406
+ ],
5407
+ "example": "<usa-parallax-layers range=\"120\">\n <img data-depth=\"0.6\" src=\"mountains.webp\" alt=\"\">\n <h2 data-depth=\"-0.3\">Above the clouds</h2>\n</usa-parallax-layers>",
5408
+ "esm": "import { defineParallaxLayers } from 'motionary/components/widgets';\n\ndefineParallaxLayers(); // registers <usa-parallax-layers>\n\n/* then use it in your HTML:\n<usa-parallax-layers range=\"120\">\n <img data-depth=\"0.6\" src=\"mountains.webp\" alt=\"\">\n <h2 data-depth=\"-0.3\">Above the clouds</h2>\n</usa-parallax-layers>\n*/",
5409
+ "requires": [],
5410
+ "prerequisites": null,
5411
+ "source": "src/components/widgets/parallax-layers.ts"
5412
+ },
5107
5413
  {
5108
5414
  "id": "particles",
5109
5415
  "tag": "usa-particles",
@@ -6138,6 +6444,48 @@
6138
6444
  "prerequisites": null,
6139
6445
  "source": "src/components/reveal/scroll-progress.ts"
6140
6446
  },
6447
+ {
6448
+ "id": "scroll-ring",
6449
+ "tag": "usa-scroll-ring",
6450
+ "title": "Scroll progress ring",
6451
+ "description": "10.4: a circular scroll-progress indicator for the page or any scroll container (for=\".article\"), optional percentage label and back-to-top button. Scroll-driven 3.0: native animation-timeline: scroll() first (no script per frame), a small JS loop where scroll timelines are missing.",
6452
+ "category": "reveal",
6453
+ "since": "10.4",
6454
+ "keywords": [
6455
+ "scroll progress",
6456
+ "reading progress",
6457
+ "back to top",
6458
+ "animation-timeline",
6459
+ "scroll-driven"
6460
+ ],
6461
+ "import": {
6462
+ "path": "motionary/components/widgets",
6463
+ "define": "defineScrollRing",
6464
+ "register": "defineScrollRing();"
6465
+ },
6466
+ "cdn": "https://unpkg.com/motionary@10/dist/widgets.umd.js",
6467
+ "attributes": [
6468
+ "for",
6469
+ "engine",
6470
+ "label",
6471
+ "back-to-top",
6472
+ "size",
6473
+ "thickness",
6474
+ "horizontal",
6475
+ "preview"
6476
+ ],
6477
+ "events": [
6478
+ "usa:progress",
6479
+ "usa:top"
6480
+ ],
6481
+ "slots": [],
6482
+ "methods": [],
6483
+ "example": "<usa-scroll-ring label back-to-top></usa-scroll-ring>",
6484
+ "esm": "import { defineScrollRing } from 'motionary/components/widgets';\n\ndefineScrollRing(); // registers <usa-scroll-ring>\n\n/* then use it in your HTML:\n<usa-scroll-ring label back-to-top></usa-scroll-ring>\n*/",
6485
+ "requires": [],
6486
+ "prerequisites": null,
6487
+ "source": "src/components/widgets/scroll-ring.ts"
6488
+ },
6141
6489
  {
6142
6490
  "id": "scroll-scene",
6143
6491
  "tag": "usa-scroll-scene",
@@ -6556,6 +6904,70 @@
6556
6904
  "prerequisites": null,
6557
6905
  "source": "src/components/ui/slider.ts"
6558
6906
  },
6907
+ {
6908
+ "id": "smooth-scroller",
6909
+ "tag": "usa-smooth-scroll",
6910
+ "title": "Smooth scroll",
6911
+ "description": "10.4: smooth, inertial wheel scrolling for the page or a container (wrapper), anchor links glide (with offset for sticky headers); keyboard / scrollbar / touch stay native and it switches off under reduced motion. Requires motionary/runtime/smooth — npm i motionary, then use(smooth) before it mounts.",
6912
+ "category": "interaction",
6913
+ "since": "10.4",
6914
+ "keywords": [
6915
+ "smooth scroll",
6916
+ "inertia",
6917
+ "lerp",
6918
+ "anchors",
6919
+ "runtime"
6920
+ ],
6921
+ "import": {
6922
+ "path": "motionary/components/widgets",
6923
+ "define": "defineSmoothScroll",
6924
+ "register": "defineSmoothScroll();"
6925
+ },
6926
+ "cdn": "https://unpkg.com/motionary@10/dist/widgets.umd.js",
6927
+ "attributes": [
6928
+ "lerp",
6929
+ "duration",
6930
+ "ease",
6931
+ "wheel-multiplier",
6932
+ "horizontal",
6933
+ "touch",
6934
+ "anchors",
6935
+ "offset",
6936
+ "wrapper",
6937
+ "preview"
6938
+ ],
6939
+ "events": [
6940
+ "usa:scroll",
6941
+ "usa:ready",
6942
+ "usa:runtime-missing"
6943
+ ],
6944
+ "slots": [],
6945
+ "methods": [
6946
+ "glideTo",
6947
+ "stop",
6948
+ "resume"
6949
+ ],
6950
+ "example": "<usa-smooth-scroll lerp=\"0.1\" offset=\"64\"></usa-smooth-scroll>",
6951
+ "esm": "import { use } from 'motionary/runtime';\nimport { smooth } from 'motionary/runtime/smooth';\n\nuse(smooth);\nimport { defineSmoothScroll } from 'motionary/components/widgets';\n\ndefineSmoothScroll(); // registers <usa-smooth-scroll>\n\n/* then use it in your HTML:\n<usa-smooth-scroll lerp=\"0.1\" offset=\"64\"></usa-smooth-scroll>\n*/",
6952
+ "requires": [
6953
+ "smooth"
6954
+ ],
6955
+ "prerequisites": {
6956
+ "badge": "Requires: motionary/runtime/smooth",
6957
+ "modules": [
6958
+ "motionary/runtime/smooth"
6959
+ ],
6960
+ "install": "npm i motionary",
6961
+ "importAndRegister": "import { use } from 'motionary/runtime';\nimport { smooth } from 'motionary/runtime/smooth';\nimport { defineSmoothScroll } from 'motionary/components/widgets';\n\nuse(smooth);\ndefineSmoothScroll(); // registers <usa-smooth-scroll> — after the prerequisites",
6962
+ "order": "Register the core first, then the module: use(smooth) also registers the core. CDN: load runtime.iife.js, then runtime/smooth.iife.js (it registers itself).",
6963
+ "cdn": "<script src=\"https://cdn.jsdelivr.net/npm/motionary@10/dist/runtime.iife.js\"></script>\n<script src=\"https://cdn.jsdelivr.net/npm/motionary@10/dist/runtime/smooth.iife.js\"></script>\n<!-- then the component bundles -->\n<script src=\"https://unpkg.com/motionary@10/dist/components.umd.js\"></script>\n<script src=\"https://unpkg.com/motionary@10/dist/widgets.umd.js\"></script>",
6964
+ "example": "<usa-smooth-scroll lerp=\"0.1\" offset=\"64\"></usa-smooth-scroll>",
6965
+ "docs": [
6966
+ "https://github.com/HarrisonCN/Motionary/blob/main/docs/runtime/smooth.md"
6967
+ ]
6968
+ },
6969
+ "source": "src/components/widgets/smooth-scroll.ts"
6970
+ },
6559
6971
  {
6560
6972
  "id": "sparkline",
6561
6973
  "tag": "usa-sparkline",