motionary 10.3.0 → 10.5.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 (421) hide show
  1. package/AGENTS.md +4 -0
  2. package/CHANGELOG.md +31 -0
  3. package/README.md +72 -0
  4. package/bin/motionary-mcp.mjs +265 -0
  5. package/dist/chunks/anim-image-BlNPv4JG.js +166 -0
  6. package/dist/chunks/anim-image-BlNPv4JG.js.map +1 -0
  7. package/dist/chunks/anim-image-DuxvYhq6.cjs +174 -0
  8. package/dist/chunks/anim-image-DuxvYhq6.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-B8ITIAVa.js} +3 -2
  43. package/dist/chunks/keyframes-B8ITIAVa.js.map +1 -0
  44. package/dist/chunks/{keyframes-Dw9zwVQa.cjs → keyframes-Ce1s05n3.cjs} +4 -3
  45. package/dist/chunks/keyframes-Ce1s05n3.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-DXdFb2fJ.js} +3 -3
  57. package/dist/chunks/{registry-46AAzyeC.js.map → registry-DXdFb2fJ.js.map} +1 -1
  58. package/dist/chunks/{registry-CSVil2qJ.cjs → registry-VhfPSI0v.cjs} +2 -2
  59. package/dist/chunks/{registry-CSVil2qJ.cjs.map → registry-VhfPSI0v.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-C5RMHMW7.js} +2 -2
  69. package/dist/chunks/{ticker-COOYAyQy.js.map → ticker-C5RMHMW7.js.map} +1 -1
  70. package/dist/chunks/{ticker-gHv6pNfx.cjs → ticker-DvmC6WLS.cjs} +2 -2
  71. package/dist/chunks/{ticker-gHv6pNfx.cjs.map → ticker-DvmC6WLS.cjs.map} +1 -1
  72. package/dist/chunks/{tween-CGyolmzB.js → tween-CPtm-EdT.js} +4 -90
  73. package/dist/chunks/tween-CPtm-EdT.js.map +1 -0
  74. package/dist/chunks/{tween-CFN0WcOb.cjs → tween-_BGIl6hK.cjs} +4 -94
  75. package/dist/chunks/tween-_BGIl6hK.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 +1102 -216
  283. package/dist/components/widgets.cjs.map +1 -1
  284. package/dist/components/widgets.d.cts +367 -2
  285. package/dist/components/widgets.d.ts +367 -2
  286. package/dist/components/widgets.js +1100 -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 +303 -1
  297. package/dist/llms.txt +16 -2
  298. package/dist/manifest.json +806 -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-gltf.cjs +207 -0
  324. package/dist/runtime/format-gltf.cjs.map +1 -0
  325. package/dist/runtime/format-gltf.d.cts +251 -0
  326. package/dist/runtime/format-gltf.d.ts +251 -0
  327. package/dist/runtime/format-gltf.iife.js +2 -0
  328. package/dist/runtime/format-gltf.iife.js.map +1 -0
  329. package/dist/runtime/format-gltf.js +200 -0
  330. package/dist/runtime/format-gltf.js.map +1 -0
  331. package/dist/runtime/format-motion.cjs +9 -8
  332. package/dist/runtime/format-motion.cjs.map +1 -1
  333. package/dist/runtime/format-motion.js +5 -4
  334. package/dist/runtime/format-motion.js.map +1 -1
  335. package/dist/runtime/format-obj.cjs +181 -0
  336. package/dist/runtime/format-obj.cjs.map +1 -0
  337. package/dist/runtime/format-obj.d.cts +176 -0
  338. package/dist/runtime/format-obj.d.ts +176 -0
  339. package/dist/runtime/format-obj.iife.js +2 -0
  340. package/dist/runtime/format-obj.iife.js.map +1 -0
  341. package/dist/runtime/format-obj.js +174 -0
  342. package/dist/runtime/format-obj.js.map +1 -0
  343. package/dist/runtime/format-sprite.cjs +4 -3
  344. package/dist/runtime/format-sprite.cjs.map +1 -1
  345. package/dist/runtime/format-sprite.js +4 -3
  346. package/dist/runtime/format-sprite.js.map +1 -1
  347. package/dist/runtime/format-svg.cjs +5 -4
  348. package/dist/runtime/format-svg.cjs.map +1 -1
  349. package/dist/runtime/format-svg.js +4 -3
  350. package/dist/runtime/format-svg.js.map +1 -1
  351. package/dist/runtime/format-webp.cjs +123 -0
  352. package/dist/runtime/format-webp.cjs.map +1 -0
  353. package/dist/runtime/format-webp.d.cts +245 -0
  354. package/dist/runtime/format-webp.d.ts +245 -0
  355. package/dist/runtime/format-webp.iife.js +2 -0
  356. package/dist/runtime/format-webp.iife.js.map +1 -0
  357. package/dist/runtime/format-webp.js +115 -0
  358. package/dist/runtime/format-webp.js.map +1 -0
  359. package/dist/runtime/gl.cjs +763 -0
  360. package/dist/runtime/gl.cjs.map +1 -0
  361. package/dist/runtime/gl.d.cts +260 -0
  362. package/dist/runtime/gl.d.ts +260 -0
  363. package/dist/runtime/gl.iife.js +2 -0
  364. package/dist/runtime/gl.iife.js.map +1 -0
  365. package/dist/runtime/gl.js +739 -0
  366. package/dist/runtime/gl.js.map +1 -0
  367. package/dist/runtime/scroll.cjs +2 -2
  368. package/dist/runtime/scroll.cjs.map +1 -1
  369. package/dist/runtime/scroll.js +2 -2
  370. package/dist/runtime/scroll.js.map +1 -1
  371. package/dist/runtime/smooth.cjs +284 -0
  372. package/dist/runtime/smooth.cjs.map +1 -0
  373. package/dist/runtime/smooth.d.cts +137 -0
  374. package/dist/runtime/smooth.d.ts +137 -0
  375. package/dist/runtime/smooth.iife.js +2 -0
  376. package/dist/runtime/smooth.iife.js.map +1 -0
  377. package/dist/runtime/smooth.js +279 -0
  378. package/dist/runtime/smooth.js.map +1 -0
  379. package/dist/runtime/text.cjs +1 -1
  380. package/dist/runtime/text.cjs.map +1 -1
  381. package/dist/runtime/text.js +1 -1
  382. package/dist/runtime/text.js.map +1 -1
  383. package/dist/runtime.cjs +9 -8
  384. package/dist/runtime.cjs.map +1 -1
  385. package/dist/runtime.d.cts +1 -1
  386. package/dist/runtime.d.ts +1 -1
  387. package/dist/runtime.iife.js +1 -1
  388. package/dist/runtime.iife.js.map +1 -1
  389. package/dist/runtime.js +6 -5
  390. package/dist/runtime.js.map +1 -1
  391. package/dist/solid.cjs.map +1 -1
  392. package/dist/solid.js.map +1 -1
  393. package/dist/svelte.cjs.map +1 -1
  394. package/dist/svelte.js.map +1 -1
  395. package/dist/vue.cjs.map +1 -1
  396. package/dist/vue.js.map +1 -1
  397. package/dist/widgets.umd.js +1 -1
  398. package/dist/widgets.umd.js.map +1 -1
  399. package/docs/ROADMAP.md +2 -2
  400. package/docs/components/README.md +17 -7
  401. package/docs/components/usa-gl-scene.md +66 -0
  402. package/docs/components/usa-gpu-particles.md +32 -0
  403. package/docs/components/usa-parallax-layers.md +38 -0
  404. package/docs/components/usa-scroll-ring.md +32 -0
  405. package/docs/components/usa-shader-backdrop.md +36 -0
  406. package/docs/components/usa-smooth-scroll.md +60 -0
  407. package/docs/components/usa-three-scene.md +20 -0
  408. package/docs/components.md +97 -0
  409. package/docs/mcp.md +50 -0
  410. package/docs/runtime/format-apng.md +59 -0
  411. package/docs/runtime/format-gif.md +60 -0
  412. package/docs/runtime/format-gltf.md +63 -0
  413. package/docs/runtime/format-obj.md +59 -0
  414. package/docs/runtime/format-webp.md +58 -0
  415. package/docs/runtime/gl.md +62 -0
  416. package/docs/runtime/smooth.md +60 -0
  417. package/package.json +75 -3
  418. package/dist/chunks/keyframes-DVAC5sQI.js.map +0 -1
  419. package/dist/chunks/keyframes-Dw9zwVQa.cjs.map +0 -1
  420. package/dist/chunks/tween-CFN0WcOb.cjs.map +0 -1
  421. 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.5.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,491 @@
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 });"
760
+ },
761
+ {
762
+ "kind": "runtime",
763
+ "id": "gl",
764
+ "label": "motionary/runtime/gl",
765
+ "title": "WebGL2 scene renderer",
766
+ "summary": "A small WebGL2 renderer with its own API: scene graph, camera, lights, box / plane / sphere / torus, PBR-style materials, shader materials, image and video textures, orbit controls — not a Three.js clone.",
767
+ "install": "npm i motionary",
768
+ "importPath": "motionary/runtime/gl",
769
+ "import": "import { use } from 'motionary/runtime';\nimport { gl } from 'motionary/runtime/gl';",
770
+ "register": "use(gl);",
771
+ "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/gl.iife.js\"></script>",
772
+ "cdnEsm": "https://cdn.jsdelivr.net/npm/motionary@10/dist/runtime/gl.js",
773
+ "order": "Register the core first, then the module: use(gl) also registers the core. CDN: load runtime.iife.js, then runtime/gl.iife.js (it registers itself).",
774
+ "docs": "docs/runtime/gl.md",
775
+ "budget": 9216,
776
+ "exports": [
777
+ "gl",
778
+ "createRenderer",
779
+ "Scene",
780
+ "Camera",
781
+ "GlNode",
782
+ "box",
783
+ "plane",
784
+ "sphere",
785
+ "torus",
786
+ "standardMaterial",
787
+ "unlitMaterial",
788
+ "shaderMaterial",
789
+ "texture",
790
+ "orbitControls",
791
+ "frameNode",
792
+ "bounds",
793
+ "scrubVideo",
794
+ "mat4",
795
+ "quatFromEuler",
796
+ "quatSlerp"
797
+ ],
798
+ "compat": [
799
+ [
800
+ "scene graph: nodes, TRS / matrix, hierarchy, bounds, frameNode()",
801
+ "yes",
802
+ ""
803
+ ],
804
+ [
805
+ "perspective camera, orbit controls (drag / wheel / pinch / arrow keys)",
806
+ "yes",
807
+ "auto-rotate off under reduced motion"
808
+ ],
809
+ [
810
+ "ambient + up to 4 directional / point lights",
811
+ "yes",
812
+ ""
813
+ ],
814
+ [
815
+ "standard material (metallic-roughness approximation), unlit, shader",
816
+ "yes",
817
+ "sRGB in/out, Reinhard tone mapping"
818
+ ],
819
+ [
820
+ "image / canvas / ImageBitmap / raw RGBA textures, mipmaps (power of two)",
821
+ "yes",
822
+ ""
823
+ ],
824
+ [
825
+ "video textures (MP4 / WebM), scroll-scrubbed video (scrubVideo)",
826
+ "yes",
827
+ "requestVideoFrameCallback; codecs depend on the browser"
828
+ ],
829
+ [
830
+ "shadows, normal / occlusion / metallic-roughness maps, IBL",
831
+ "no",
832
+ "planned work beyond 11.0"
833
+ ],
834
+ [
835
+ "WebGL1 / no WebGL2",
836
+ "no",
837
+ "createRenderer() throws a clear error"
838
+ ],
839
+ [
840
+ "SSR / workers",
841
+ "partial",
842
+ "math / geometry / scene graph are pure; rendering needs WebGL2 (OffscreenCanvas works)"
843
+ ]
844
+ ],
845
+ "example": "import { use } from 'motionary/runtime';\nimport { gl, createRenderer, Scene, Camera, GlNode, torus, standardMaterial } from 'motionary/runtime/gl';\nuse(gl);\nconst r = createRenderer(canvas);\nconst scene = new Scene();\nscene.add(new GlNode('donut', { geometry: torus(), material: standardMaterial({ color: [0.5, 0.55, 1, 1] }) }));\nr.resize(); r.render(scene, new Camera({ position: [0, 0.5, 3] }));"
846
+ },
847
+ {
848
+ "kind": "runtime",
849
+ "id": "format-gltf",
850
+ "label": "motionary/runtime/format-gltf",
851
+ "title": "glTF 2.0 / GLB loader",
852
+ "summary": "Load glTF 2.0 (.gltf with external or data: buffers, .glb) into motionary/runtime/gl nodes: node hierarchy, meshes, PBR metallic-roughness materials, embedded / external images.",
853
+ "install": "npm i motionary",
854
+ "importPath": "motionary/runtime/format-gltf",
855
+ "import": "import { use } from 'motionary/runtime';\nimport { formatGltf } from 'motionary/runtime/format-gltf';",
856
+ "register": "use(formatGltf);",
857
+ "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-gltf.iife.js\"></script>",
858
+ "cdnEsm": "https://cdn.jsdelivr.net/npm/motionary@10/dist/runtime/format-gltf.js",
859
+ "order": "Register the core first, then the module: use(formatGltf) also registers the core. CDN: load runtime.iife.js, then runtime/format-gltf.iife.js (it registers itself).",
860
+ "docs": "docs/runtime/format-gltf.md",
861
+ "budget": 6144,
862
+ "exports": [
863
+ "formatGltf",
864
+ "loadGltf",
865
+ "parseGlb",
866
+ "gltfToNode",
867
+ "readAccessor",
868
+ "SUPPORTED_EXTENSIONS"
869
+ ],
870
+ "compat": [
871
+ [
872
+ ".gltf (external + data: URI buffers / images) and .glb",
873
+ "yes",
874
+ ""
875
+ ],
876
+ [
877
+ "scenes, node hierarchy, TRS and matrix transforms",
878
+ "yes",
879
+ ""
880
+ ],
881
+ [
882
+ "POSITION / NORMAL / TEXCOORD_0, indices, all component types, normalised ints, byteStride",
883
+ "yes",
884
+ "missing normals computed (flat)"
885
+ ],
886
+ [
887
+ "primitive modes points / lines / triangles / strips / fans",
888
+ "yes",
889
+ "strips and fans converted to triangles"
890
+ ],
891
+ [
892
+ "PBR metallic-roughness factors, base colour texture, emissive, alpha blend, double-sided",
893
+ "yes",
894
+ "KHR_materials_emissive_strength, KHR_materials_unlit"
895
+ ],
896
+ [
897
+ "skins, morph targets, animations",
898
+ "no",
899
+ "arrive in 10.8"
900
+ ],
901
+ [
902
+ "Draco / meshopt / KTX2 (Basis) compression",
903
+ "no",
904
+ "files that require them fail with a clear error; decoder hooks planned for 10.9"
905
+ ],
906
+ [
907
+ "sparse accessors, cameras, KHR_lights_punctual, texture transforms",
908
+ "no",
909
+ "ignored"
910
+ ],
911
+ [
912
+ "SSR / workers",
913
+ "partial",
914
+ "parseGlb / gltfToNode are pure; loadGltf decodes images with createImageBitmap"
915
+ ]
916
+ ],
917
+ "example": "import { use } from 'motionary/runtime';\nimport { gl, createRenderer, Scene, Camera, frameNode } from 'motionary/runtime/gl';\nimport { formatGltf, loadGltf } from 'motionary/runtime/format-gltf';\nuse(gl, formatGltf);\nconst model = await loadGltf('/models/chair.glb');\nconst scene = new Scene().add(model), cam = new Camera();\nframeNode(cam, model);\nconst r = createRenderer(canvas); r.resize(); r.render(scene, cam);"
918
+ },
919
+ {
920
+ "kind": "runtime",
921
+ "id": "format-obj",
922
+ "label": "motionary/runtime/format-obj",
923
+ "title": "OBJ / MTL loader",
924
+ "summary": "Load Wavefront OBJ (+ MTL materials and diffuse textures) into motionary/runtime/gl nodes: polygons triangulated, groups, per-material meshes.",
925
+ "install": "npm i motionary",
926
+ "importPath": "motionary/runtime/format-obj",
927
+ "import": "import { use } from 'motionary/runtime';\nimport { formatObj } from 'motionary/runtime/format-obj';",
928
+ "register": "use(formatObj);",
929
+ "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-obj.iife.js\"></script>",
930
+ "cdnEsm": "https://cdn.jsdelivr.net/npm/motionary@10/dist/runtime/format-obj.js",
931
+ "order": "Register the core first, then the module: use(formatObj) also registers the core. CDN: load runtime.iife.js, then runtime/format-obj.iife.js (it registers itself).",
932
+ "docs": "docs/runtime/format-obj.md",
933
+ "budget": 3072,
934
+ "exports": [
935
+ "formatObj",
936
+ "loadObj",
937
+ "parseObj",
938
+ "parseMtl",
939
+ "objToNode",
940
+ "objMaterial"
941
+ ],
942
+ "compat": [
943
+ [
944
+ "v / vt / vn, faces with any vertex count (fan-triangulated), negative indices",
945
+ "yes",
946
+ ""
947
+ ],
948
+ [
949
+ "o / g groups, usemtl (one mesh per material), mtllib",
950
+ "yes",
951
+ ""
952
+ ],
953
+ [
954
+ "MTL Kd, Ks + Ns (→ roughness), Ke, d / Tr, map_Kd (options stripped)",
955
+ "yes",
956
+ ""
957
+ ],
958
+ [
959
+ "missing normals",
960
+ "yes",
961
+ "computed (flat)"
962
+ ],
963
+ [
964
+ "smoothing groups (s), lines (l), free-form curves / surfaces",
965
+ "no",
966
+ "ignored"
967
+ ],
968
+ [
969
+ "bump / normal / specular maps, PBR MTL extensions",
970
+ "no",
971
+ "ignored"
972
+ ],
973
+ [
974
+ "SSR / workers",
975
+ "partial",
976
+ "parsing is pure; loadObj fetches files and decodes textures with createImageBitmap"
977
+ ]
978
+ ],
979
+ "example": "import { use } from 'motionary/runtime';\nimport { gl, Scene } from 'motionary/runtime/gl';\nimport { formatObj, loadObj } from 'motionary/runtime/format-obj';\nuse(gl, formatObj);\nconst cube = await loadObj('/models/cube.obj'); // + cube.mtl + textures next to it\nnew Scene().add(cube);"
495
980
  }
496
981
  ],
497
982
  "components": [
@@ -3157,6 +3642,78 @@
3157
3642
  "prerequisites": null,
3158
3643
  "source": "src/components/widgets/gesture-sticker.ts"
3159
3644
  },
3645
+ {
3646
+ "id": "gl-scene",
3647
+ "tag": "usa-gl-scene",
3648
+ "title": "3D scene (glTF / OBJ)",
3649
+ "description": "10.5: a WebGL2 3D viewer on Motionary’s own renderer — glTF 2.0 / GLB and OBJ / MTL models or built-in shapes, PBR-style materials, orbit controls (drag, wheel, pinch, arrow keys), auto-rotate and video textures. Requires motionary/runtime/gl (+ format-gltf for .gltf / .glb, format-obj for .obj) — npm i motionary, then use(gl, formatGltf, formatObj) before it mounts. Alias: <usa-three-scene>.",
3650
+ "category": "ui",
3651
+ "since": "10.5",
3652
+ "keywords": [
3653
+ "3d",
3654
+ "webgl",
3655
+ "gltf",
3656
+ "glb",
3657
+ "obj",
3658
+ "model viewer",
3659
+ "runtime"
3660
+ ],
3661
+ "import": {
3662
+ "path": "motionary/components/widgets",
3663
+ "define": "defineGlScene",
3664
+ "register": "defineGlScene();"
3665
+ },
3666
+ "cdn": "https://unpkg.com/motionary@10/dist/widgets.umd.js",
3667
+ "attributes": [
3668
+ "src",
3669
+ "shape",
3670
+ "color",
3671
+ "metallic",
3672
+ "roughness",
3673
+ "background",
3674
+ "exposure",
3675
+ "controls",
3676
+ "auto-rotate",
3677
+ "video",
3678
+ "video-scrub",
3679
+ "label"
3680
+ ],
3681
+ "events": [
3682
+ "usa:error",
3683
+ "usa:load",
3684
+ "usa:runtime-missing"
3685
+ ],
3686
+ "slots": [],
3687
+ "methods": [
3688
+ "reload"
3689
+ ],
3690
+ "example": "<usa-gl-scene src=\"/models/chair.glb\" controls auto-rotate=\"20\" label=\"Chair\"></usa-gl-scene>",
3691
+ "esm": "import { use } from 'motionary/runtime';\nimport { gl } from 'motionary/runtime/gl';\nimport { formatGltf } from 'motionary/runtime/format-gltf';\nimport { formatObj } from 'motionary/runtime/format-obj';\n\nuse(gl, formatGltf, formatObj);\nimport { defineGlScene } from 'motionary/components/widgets';\n\ndefineGlScene(); // registers <usa-gl-scene>\n\n/* then use it in your HTML:\n<usa-gl-scene src=\"/models/chair.glb\" controls auto-rotate=\"20\" label=\"Chair\"></usa-gl-scene>\n*/",
3692
+ "requires": [
3693
+ "gl",
3694
+ "format-gltf",
3695
+ "format-obj"
3696
+ ],
3697
+ "prerequisites": {
3698
+ "badge": "Requires: motionary/runtime/gl + motionary/runtime/format-gltf + motionary/runtime/format-obj",
3699
+ "modules": [
3700
+ "motionary/runtime/gl",
3701
+ "motionary/runtime/format-gltf",
3702
+ "motionary/runtime/format-obj"
3703
+ ],
3704
+ "install": "npm i motionary",
3705
+ "importAndRegister": "import { use } from 'motionary/runtime';\nimport { gl } from 'motionary/runtime/gl';\nimport { formatGltf } from 'motionary/runtime/format-gltf';\nimport { formatObj } from 'motionary/runtime/format-obj';\nimport { defineGlScene } from 'motionary/components/widgets';\n\nuse(gl, formatGltf, formatObj);\ndefineGlScene(); // registers <usa-gl-scene> — after the prerequisites",
3706
+ "order": "Register the core first, then the module: use(gl) also registers the core. CDN: load runtime.iife.js, then runtime/gl.iife.js (it registers itself). Register the core first, then the module: use(formatGltf) also registers the core. CDN: load runtime.iife.js, then runtime/format-gltf.iife.js (it registers itself). Register the core first, then the module: use(formatObj) also registers the core. CDN: load runtime.iife.js, then runtime/format-obj.iife.js (it registers itself).",
3707
+ "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/gl.iife.js\"></script>\n<script src=\"https://cdn.jsdelivr.net/npm/motionary@10/dist/runtime/format-gltf.iife.js\"></script>\n<script src=\"https://cdn.jsdelivr.net/npm/motionary@10/dist/runtime/format-obj.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>",
3708
+ "example": "<usa-gl-scene src=\"/models/chair.glb\" controls auto-rotate=\"20\" label=\"Chair\"></usa-gl-scene>",
3709
+ "docs": [
3710
+ "https://github.com/HarrisonCN/Motionary/blob/main/docs/runtime/gl.md",
3711
+ "https://github.com/HarrisonCN/Motionary/blob/main/docs/runtime/format-gltf.md",
3712
+ "https://github.com/HarrisonCN/Motionary/blob/main/docs/runtime/format-obj.md"
3713
+ ]
3714
+ },
3715
+ "source": "src/components/widgets/gl-scene.ts"
3716
+ },
3160
3717
  {
3161
3718
  "id": "glitch",
3162
3719
  "tag": "usa-glitch",
@@ -3227,6 +3784,47 @@
3227
3784
  "prerequisites": null,
3228
3785
  "source": "src/components/widgets/globe.ts"
3229
3786
  },
3787
+ {
3788
+ "id": "gpu-particles",
3789
+ "tag": "usa-gpu-particles",
3790
+ "title": "GPU particle canvas",
3791
+ "description": "10.5 (WebGPU effects 2.0): tens of thousands of particles simulated by a WebGPU compute shader and drawn as instanced quads — swirl, galaxy or fountain, pointer repulsion, trails; Canvas 2D fallback where WebGPU is missing.",
3792
+ "category": "ui",
3793
+ "since": "10.5",
3794
+ "keywords": [
3795
+ "webgpu",
3796
+ "compute shader",
3797
+ "particles",
3798
+ "gpu",
3799
+ "canvas"
3800
+ ],
3801
+ "import": {
3802
+ "path": "motionary/components/widgets",
3803
+ "define": "defineGpuParticles",
3804
+ "register": "defineGpuParticles();"
3805
+ },
3806
+ "cdn": "https://unpkg.com/motionary@10/dist/widgets.umd.js",
3807
+ "attributes": [
3808
+ "count",
3809
+ "mode",
3810
+ "colors",
3811
+ "size",
3812
+ "speed",
3813
+ "trail",
3814
+ "pointer",
3815
+ "label"
3816
+ ],
3817
+ "events": [
3818
+ "usa:backend"
3819
+ ],
3820
+ "slots": [],
3821
+ "methods": [],
3822
+ "example": "<usa-gpu-particles count=\"30000\" mode=\"galaxy\" colors=\"#818cf8,#f472b6\" pointer></usa-gpu-particles>",
3823
+ "esm": "import { defineGpuParticles } from 'motionary/components/widgets';\n\ndefineGpuParticles(); // registers <usa-gpu-particles>\n\n/* then use it in your HTML:\n<usa-gpu-particles count=\"30000\" mode=\"galaxy\" colors=\"#818cf8,#f472b6\" pointer></usa-gpu-particles>\n*/",
3824
+ "requires": [],
3825
+ "prerequisites": null,
3826
+ "source": "src/components/widgets/gpu-particles.ts"
3827
+ },
3230
3828
  {
3231
3829
  "id": "gradient-text",
3232
3830
  "tag": "usa-gradient-text",
@@ -5104,6 +5702,47 @@
5104
5702
  "prerequisites": null,
5105
5703
  "source": "src/components/widgets/panorama.ts"
5106
5704
  },
5705
+ {
5706
+ "id": "parallax-layers",
5707
+ "tag": "usa-parallax-layers",
5708
+ "title": "Parallax layers",
5709
+ "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.",
5710
+ "category": "reveal",
5711
+ "since": "10.4",
5712
+ "keywords": [
5713
+ "parallax",
5714
+ "depth",
5715
+ "layers",
5716
+ "view timeline",
5717
+ "scroll-driven"
5718
+ ],
5719
+ "import": {
5720
+ "path": "motionary/components/widgets",
5721
+ "define": "defineParallaxLayers",
5722
+ "register": "defineParallaxLayers();"
5723
+ },
5724
+ "cdn": "https://unpkg.com/motionary@10/dist/widgets.umd.js",
5725
+ "attributes": [
5726
+ "range",
5727
+ "engine",
5728
+ "horizontal",
5729
+ "pointer",
5730
+ "strength",
5731
+ "preview"
5732
+ ],
5733
+ "events": [
5734
+ "usa:progress"
5735
+ ],
5736
+ "slots": [],
5737
+ "methods": [
5738
+ "layers"
5739
+ ],
5740
+ "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>",
5741
+ "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*/",
5742
+ "requires": [],
5743
+ "prerequisites": null,
5744
+ "source": "src/components/widgets/parallax-layers.ts"
5745
+ },
5107
5746
  {
5108
5747
  "id": "particles",
5109
5748
  "tag": "usa-particles",
@@ -6138,6 +6777,48 @@
6138
6777
  "prerequisites": null,
6139
6778
  "source": "src/components/reveal/scroll-progress.ts"
6140
6779
  },
6780
+ {
6781
+ "id": "scroll-ring",
6782
+ "tag": "usa-scroll-ring",
6783
+ "title": "Scroll progress ring",
6784
+ "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.",
6785
+ "category": "reveal",
6786
+ "since": "10.4",
6787
+ "keywords": [
6788
+ "scroll progress",
6789
+ "reading progress",
6790
+ "back to top",
6791
+ "animation-timeline",
6792
+ "scroll-driven"
6793
+ ],
6794
+ "import": {
6795
+ "path": "motionary/components/widgets",
6796
+ "define": "defineScrollRing",
6797
+ "register": "defineScrollRing();"
6798
+ },
6799
+ "cdn": "https://unpkg.com/motionary@10/dist/widgets.umd.js",
6800
+ "attributes": [
6801
+ "for",
6802
+ "engine",
6803
+ "label",
6804
+ "back-to-top",
6805
+ "size",
6806
+ "thickness",
6807
+ "horizontal",
6808
+ "preview"
6809
+ ],
6810
+ "events": [
6811
+ "usa:progress",
6812
+ "usa:top"
6813
+ ],
6814
+ "slots": [],
6815
+ "methods": [],
6816
+ "example": "<usa-scroll-ring label back-to-top></usa-scroll-ring>",
6817
+ "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*/",
6818
+ "requires": [],
6819
+ "prerequisites": null,
6820
+ "source": "src/components/widgets/scroll-ring.ts"
6821
+ },
6141
6822
  {
6142
6823
  "id": "scroll-scene",
6143
6824
  "tag": "usa-scroll-scene",
@@ -6308,6 +6989,45 @@
6308
6989
  }
6309
6990
  ]
6310
6991
  },
6992
+ {
6993
+ "id": "shader-backdrop",
6994
+ "tag": "usa-shader-backdrop",
6995
+ "title": "Shader backdrop + post chain",
6996
+ "description": "10.5 (WebGPU effects 2.0): an animated shader background (aurora, plasma, waves, nebula or your own GLSL) run through a post-processing chain — bloom, vignette, grain, chromatic aberration, pixelate, scanlines — in any order; CSS gradient fallback.",
6997
+ "category": "ui",
6998
+ "since": "10.5",
6999
+ "keywords": [
7000
+ "shader",
7001
+ "background",
7002
+ "post-processing",
7003
+ "bloom",
7004
+ "glsl"
7005
+ ],
7006
+ "import": {
7007
+ "path": "motionary/components/widgets",
7008
+ "define": "defineShaderBackdrop",
7009
+ "register": "defineShaderBackdrop();"
7010
+ },
7011
+ "cdn": "https://unpkg.com/motionary@10/dist/widgets.umd.js",
7012
+ "attributes": [
7013
+ "preset",
7014
+ "post",
7015
+ "colors",
7016
+ "speed",
7017
+ "intensity",
7018
+ "label"
7019
+ ],
7020
+ "events": [
7021
+ "usa:backend"
7022
+ ],
7023
+ "slots": [],
7024
+ "methods": [],
7025
+ "example": "<usa-shader-backdrop preset=\"aurora\" post=\"bloom,vignette,grain\">\n <h1>Hello</h1>\n</usa-shader-backdrop>",
7026
+ "esm": "import { defineShaderBackdrop } from 'motionary/components/widgets';\n\ndefineShaderBackdrop(); // registers <usa-shader-backdrop>\n\n/* then use it in your HTML:\n<usa-shader-backdrop preset=\"aurora\" post=\"bloom,vignette,grain\">\n <h1>Hello</h1>\n</usa-shader-backdrop>\n*/",
7027
+ "requires": [],
7028
+ "prerequisites": null,
7029
+ "source": "src/components/widgets/shader-backdrop.ts"
7030
+ },
6311
7031
  {
6312
7032
  "id": "sheet",
6313
7033
  "tag": "usa-sheet",
@@ -6556,6 +7276,70 @@
6556
7276
  "prerequisites": null,
6557
7277
  "source": "src/components/ui/slider.ts"
6558
7278
  },
7279
+ {
7280
+ "id": "smooth-scroller",
7281
+ "tag": "usa-smooth-scroll",
7282
+ "title": "Smooth scroll",
7283
+ "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.",
7284
+ "category": "interaction",
7285
+ "since": "10.4",
7286
+ "keywords": [
7287
+ "smooth scroll",
7288
+ "inertia",
7289
+ "lerp",
7290
+ "anchors",
7291
+ "runtime"
7292
+ ],
7293
+ "import": {
7294
+ "path": "motionary/components/widgets",
7295
+ "define": "defineSmoothScroll",
7296
+ "register": "defineSmoothScroll();"
7297
+ },
7298
+ "cdn": "https://unpkg.com/motionary@10/dist/widgets.umd.js",
7299
+ "attributes": [
7300
+ "lerp",
7301
+ "duration",
7302
+ "ease",
7303
+ "wheel-multiplier",
7304
+ "horizontal",
7305
+ "touch",
7306
+ "anchors",
7307
+ "offset",
7308
+ "wrapper",
7309
+ "preview"
7310
+ ],
7311
+ "events": [
7312
+ "usa:scroll",
7313
+ "usa:ready",
7314
+ "usa:runtime-missing"
7315
+ ],
7316
+ "slots": [],
7317
+ "methods": [
7318
+ "glideTo",
7319
+ "stop",
7320
+ "resume"
7321
+ ],
7322
+ "example": "<usa-smooth-scroll lerp=\"0.1\" offset=\"64\"></usa-smooth-scroll>",
7323
+ "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*/",
7324
+ "requires": [
7325
+ "smooth"
7326
+ ],
7327
+ "prerequisites": {
7328
+ "badge": "Requires: motionary/runtime/smooth",
7329
+ "modules": [
7330
+ "motionary/runtime/smooth"
7331
+ ],
7332
+ "install": "npm i motionary",
7333
+ "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",
7334
+ "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).",
7335
+ "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>",
7336
+ "example": "<usa-smooth-scroll lerp=\"0.1\" offset=\"64\"></usa-smooth-scroll>",
7337
+ "docs": [
7338
+ "https://github.com/HarrisonCN/Motionary/blob/main/docs/runtime/smooth.md"
7339
+ ]
7340
+ },
7341
+ "source": "src/components/widgets/smooth-scroll.ts"
7342
+ },
6559
7343
  {
6560
7344
  "id": "sparkline",
6561
7345
  "tag": "usa-sparkline",
@@ -7480,6 +8264,27 @@
7480
8264
  "prerequisites": null,
7481
8265
  "source": "src/components/widgets/theme-switcher.ts"
7482
8266
  },
8267
+ {
8268
+ "id": "three-scene",
8269
+ "tag": "usa-three-scene",
8270
+ "title": "<usa-three-scene>",
8271
+ "description": "`<usa-three-scene>` — alias of `<usa-gl-scene>` (same attributes, events and methods; no Three.js involved).",
8272
+ "category": "widgets",
8273
+ "import": {
8274
+ "path": "motionary/components/widgets",
8275
+ "define": "defineThreeScene",
8276
+ "register": "defineThreeScene();"
8277
+ },
8278
+ "cdn": "https://unpkg.com/motionary@10/dist/widgets.umd.js",
8279
+ "attributes": [],
8280
+ "events": [],
8281
+ "slots": [],
8282
+ "methods": [],
8283
+ "example": "<usa-three-scene></usa-three-scene>",
8284
+ "requires": [],
8285
+ "prerequisites": null,
8286
+ "source": "src/components/widgets/gl-scene.ts"
8287
+ },
7483
8288
  {
7484
8289
  "id": "tilt",
7485
8290
  "tag": "usa-tilt",