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
@@ -1,4 +1,4 @@
1
- # Motionary 10.3.0 — full component reference
1
+ # Motionary 10.5.0 — full component reference
2
2
 
3
3
  Generated from the source. Machine-readable version: https://harrisoncn.github.io/Motionary/components.json (schema https://harrisoncn.github.io/Motionary/components.schema.json).
4
4
 
@@ -158,6 +158,167 @@ const img = new Image(); img.src = '/slime.png'; await img.decode();
158
158
  spritePlayer(document.querySelector('canvas'), sheet, img, { tag: 'bounce' });
159
159
  ```
160
160
 
161
+ ### motionary/runtime/smooth — Smooth scrolling
162
+
163
+ 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.
164
+
165
+ - Install: `npm i motionary`
166
+ - Import: `motionary/runtime/smooth`
167
+ - Register: `use(smooth);` — 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).
168
+ - CDN:
169
+
170
+ ```html
171
+ <script src="https://cdn.jsdelivr.net/npm/motionary@10/dist/runtime.iife.js"></script>
172
+ <script src="https://cdn.jsdelivr.net/npm/motionary@10/dist/runtime/smooth.iife.js"></script>
173
+ ```
174
+
175
+ ```js
176
+ import { use } from 'motionary/runtime';
177
+ import { smooth, smoothScroll } from 'motionary/runtime/smooth';
178
+ use(smooth);
179
+ const s = smoothScroll({ lerp: 0.1, anchors: { offset: -64 } });
180
+ s.scrollTo('#pricing');
181
+ ```
182
+
183
+ ### motionary/runtime/format-gif — GIF decoder
184
+
185
+ Decode animated GIFs (own LZW decoder, no DOM) into composited RGBA frames and play / scrub / reverse them on a canvas as a runtime timeline.
186
+
187
+ - Install: `npm i motionary`
188
+ - Import: `motionary/runtime/format-gif`
189
+ - Register: `use(formatGif);` — 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).
190
+ - CDN:
191
+
192
+ ```html
193
+ <script src="https://cdn.jsdelivr.net/npm/motionary@10/dist/runtime.iife.js"></script>
194
+ <script src="https://cdn.jsdelivr.net/npm/motionary@10/dist/runtime/format-gif.iife.js"></script>
195
+ ```
196
+
197
+ ```js
198
+ import { use } from 'motionary/runtime';
199
+ import { formatGif, loadGif, animatedImagePlayer } from 'motionary/runtime/format-gif';
200
+ use(formatGif);
201
+ const gif = await loadGif('/loader.gif');
202
+ const player = animatedImagePlayer(document.querySelector('canvas'), gif);
203
+ player.pause(); player.progress = 0.5; // scrub
204
+ ```
205
+
206
+ ### motionary/runtime/format-apng — APNG loader
207
+
208
+ 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.
209
+
210
+ - Install: `npm i motionary`
211
+ - Import: `motionary/runtime/format-apng`
212
+ - Register: `use(formatApng);` — 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).
213
+ - CDN:
214
+
215
+ ```html
216
+ <script src="https://cdn.jsdelivr.net/npm/motionary@10/dist/runtime.iife.js"></script>
217
+ <script src="https://cdn.jsdelivr.net/npm/motionary@10/dist/runtime/format-apng.iife.js"></script>
218
+ ```
219
+
220
+ ```js
221
+ import { use } from 'motionary/runtime';
222
+ import { formatApng, loadApng, animatedImagePlayer } from 'motionary/runtime/format-apng';
223
+ use(formatApng);
224
+ const anim = await loadApng('/sticker.png');
225
+ animatedImagePlayer(document.querySelector('canvas'), anim);
226
+ ```
227
+
228
+ ### motionary/runtime/format-webp — Animated WebP loader
229
+
230
+ 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.
231
+
232
+ - Install: `npm i motionary`
233
+ - Import: `motionary/runtime/format-webp`
234
+ - Register: `use(formatWebp);` — 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).
235
+ - CDN:
236
+
237
+ ```html
238
+ <script src="https://cdn.jsdelivr.net/npm/motionary@10/dist/runtime.iife.js"></script>
239
+ <script src="https://cdn.jsdelivr.net/npm/motionary@10/dist/runtime/format-webp.iife.js"></script>
240
+ ```
241
+
242
+ ```js
243
+ import { use } from 'motionary/runtime';
244
+ import { formatWebp, loadWebp, animatedImagePlayer } from 'motionary/runtime/format-webp';
245
+ use(formatWebp);
246
+ const anim = await loadWebp('/hero.webp');
247
+ const p = animatedImagePlayer(document.querySelector('canvas'), anim, { speed: 0.5 });
248
+ ```
249
+
250
+ ### motionary/runtime/gl — WebGL2 scene renderer
251
+
252
+ 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.
253
+
254
+ - Install: `npm i motionary`
255
+ - Import: `motionary/runtime/gl`
256
+ - Register: `use(gl);` — 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).
257
+ - CDN:
258
+
259
+ ```html
260
+ <script src="https://cdn.jsdelivr.net/npm/motionary@10/dist/runtime.iife.js"></script>
261
+ <script src="https://cdn.jsdelivr.net/npm/motionary@10/dist/runtime/gl.iife.js"></script>
262
+ ```
263
+
264
+ ```js
265
+ import { use } from 'motionary/runtime';
266
+ import { gl, createRenderer, Scene, Camera, GlNode, torus, standardMaterial } from 'motionary/runtime/gl';
267
+ use(gl);
268
+ const r = createRenderer(canvas);
269
+ const scene = new Scene();
270
+ scene.add(new GlNode('donut', { geometry: torus(), material: standardMaterial({ color: [0.5, 0.55, 1, 1] }) }));
271
+ r.resize(); r.render(scene, new Camera({ position: [0, 0.5, 3] }));
272
+ ```
273
+
274
+ ### motionary/runtime/format-gltf — glTF 2.0 / GLB loader
275
+
276
+ 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.
277
+
278
+ - Install: `npm i motionary`
279
+ - Import: `motionary/runtime/format-gltf`
280
+ - Register: `use(formatGltf);` — 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).
281
+ - CDN:
282
+
283
+ ```html
284
+ <script src="https://cdn.jsdelivr.net/npm/motionary@10/dist/runtime.iife.js"></script>
285
+ <script src="https://cdn.jsdelivr.net/npm/motionary@10/dist/runtime/format-gltf.iife.js"></script>
286
+ ```
287
+
288
+ ```js
289
+ import { use } from 'motionary/runtime';
290
+ import { gl, createRenderer, Scene, Camera, frameNode } from 'motionary/runtime/gl';
291
+ import { formatGltf, loadGltf } from 'motionary/runtime/format-gltf';
292
+ use(gl, formatGltf);
293
+ const model = await loadGltf('/models/chair.glb');
294
+ const scene = new Scene().add(model), cam = new Camera();
295
+ frameNode(cam, model);
296
+ const r = createRenderer(canvas); r.resize(); r.render(scene, cam);
297
+ ```
298
+
299
+ ### motionary/runtime/format-obj — OBJ / MTL loader
300
+
301
+ Load Wavefront OBJ (+ MTL materials and diffuse textures) into motionary/runtime/gl nodes: polygons triangulated, groups, per-material meshes.
302
+
303
+ - Install: `npm i motionary`
304
+ - Import: `motionary/runtime/format-obj`
305
+ - Register: `use(formatObj);` — 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).
306
+ - CDN:
307
+
308
+ ```html
309
+ <script src="https://cdn.jsdelivr.net/npm/motionary@10/dist/runtime.iife.js"></script>
310
+ <script src="https://cdn.jsdelivr.net/npm/motionary@10/dist/runtime/format-obj.iife.js"></script>
311
+ ```
312
+
313
+ ```js
314
+ import { use } from 'motionary/runtime';
315
+ import { gl, Scene } from 'motionary/runtime/gl';
316
+ import { formatObj, loadObj } from 'motionary/runtime/format-obj';
317
+ use(gl, formatObj);
318
+ const cube = await loadObj('/models/cube.obj'); // + cube.mtl + textures next to it
319
+ new Scene().add(cube);
320
+ ```
321
+
161
322
  ## Components
162
323
 
163
324
  ### <usa-accordion> — Accordion
@@ -1086,6 +1247,44 @@ Full-screen sections that snap one at a time, with keyboard paging, dot navigati
1086
1247
  </usa-gesture-sticker>
1087
1248
  ```
1088
1249
 
1250
+ ### <usa-gl-scene> — 3D scene (glTF / OBJ)
1251
+
1252
+ 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>.
1253
+
1254
+ - Import: `import { defineGlScene } from 'motionary/components/widgets'; defineGlScene();`
1255
+ - CDN: https://unpkg.com/motionary@10/dist/widgets.umd.js
1256
+ - Attributes: `src`, `shape`, `color`, `metallic`, `roughness`, `background`, `exposure`, `controls`, `auto-rotate`, `video`, `video-scrub`, `label`
1257
+ - Events: `usa:error`, `usa:load`, `usa:runtime-missing`
1258
+ - Methods: `reload()`
1259
+ - Requires: motionary/runtime/gl + motionary/runtime/format-gltf + motionary/runtime/format-obj
1260
+ - Install: `npm i motionary`
1261
+ - 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).
1262
+
1263
+ ```js
1264
+ import { use } from 'motionary/runtime';
1265
+ import { gl } from 'motionary/runtime/gl';
1266
+ import { formatGltf } from 'motionary/runtime/format-gltf';
1267
+ import { formatObj } from 'motionary/runtime/format-obj';
1268
+ import { defineGlScene } from 'motionary/components/widgets';
1269
+
1270
+ use(gl, formatGltf, formatObj);
1271
+ defineGlScene(); // registers <usa-gl-scene> — after the prerequisites
1272
+ ```
1273
+
1274
+ ```html
1275
+ <script src="https://cdn.jsdelivr.net/npm/motionary@10/dist/runtime.iife.js"></script>
1276
+ <script src="https://cdn.jsdelivr.net/npm/motionary@10/dist/runtime/gl.iife.js"></script>
1277
+ <script src="https://cdn.jsdelivr.net/npm/motionary@10/dist/runtime/format-gltf.iife.js"></script>
1278
+ <script src="https://cdn.jsdelivr.net/npm/motionary@10/dist/runtime/format-obj.iife.js"></script>
1279
+ <!-- then the component bundles -->
1280
+ <script src="https://unpkg.com/motionary@10/dist/components.umd.js"></script>
1281
+ <script src="https://unpkg.com/motionary@10/dist/widgets.umd.js"></script>
1282
+ ```
1283
+
1284
+ ```html
1285
+ <usa-gl-scene src="/models/chair.glb" controls auto-rotate="20" label="Chair"></usa-gl-scene>
1286
+ ```
1287
+
1089
1288
  ### <usa-glitch> — Glitch text
1090
1289
 
1091
1290
  An RGB-split, sliced glitch — always on or on hover.
@@ -1114,6 +1313,19 @@ An RGB-split, sliced glitch — always on or on hover.
1114
1313
  <script>globe.flyTo('London');</script>
1115
1314
  ```
1116
1315
 
1316
+ ### <usa-gpu-particles> — GPU particle canvas
1317
+
1318
+ 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.
1319
+
1320
+ - Import: `import { defineGpuParticles } from 'motionary/components/widgets'; defineGpuParticles();`
1321
+ - CDN: https://unpkg.com/motionary@10/dist/widgets.umd.js
1322
+ - Attributes: `count`, `mode`, `colors`, `size`, `speed`, `trail`, `pointer`, `label`
1323
+ - Events: `usa:backend`
1324
+
1325
+ ```html
1326
+ <usa-gpu-particles count="30000" mode="galaxy" colors="#818cf8,#f472b6" pointer></usa-gpu-particles>
1327
+ ```
1328
+
1117
1329
  ### <usa-gradient-text> — Gradient flow
1118
1330
 
1119
1331
  Text filled with a multi-colour gradient that keeps flowing.
@@ -1915,6 +2127,23 @@ Product cards reveal and lift, “Add to cart” presses and flies the product i
1915
2127
  <usa-panorama src="pano-equirect.jpg" label="Lake at dawn" autorotate="6"></usa-panorama>
1916
2128
  ```
1917
2129
 
2130
+ ### <usa-parallax-layers> — Parallax layers
2131
+
2132
+ 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.
2133
+
2134
+ - Import: `import { defineParallaxLayers } from 'motionary/components/widgets'; defineParallaxLayers();`
2135
+ - CDN: https://unpkg.com/motionary@10/dist/widgets.umd.js
2136
+ - Attributes: `range`, `engine`, `horizontal`, `pointer`, `strength`, `preview`
2137
+ - Events: `usa:progress`
2138
+ - Methods: `layers()`
2139
+
2140
+ ```html
2141
+ <usa-parallax-layers range="120">
2142
+ <img data-depth="0.6" src="mountains.webp" alt="">
2143
+ <h2 data-depth="-0.3">Above the clouds</h2>
2144
+ </usa-parallax-layers>
2145
+ ```
2146
+
1918
2147
  ### <usa-particles> — Particles
1919
2148
 
1920
2149
  A canvas constellation that drifts away from the pointer. Runs only while visible, DPR ≤ 2, a still frame under reduced motion.
@@ -2356,6 +2585,19 @@ Reading progress of the page or of one article. Compositor-only scaleX, role="pr
2356
2585
  <usa-scroll-progress target="#post" position="bottom"></usa-scroll-progress>
2357
2586
  ```
2358
2587
 
2588
+ ### <usa-scroll-ring> — Scroll progress ring
2589
+
2590
+ 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.
2591
+
2592
+ - Import: `import { defineScrollRing } from 'motionary/components/widgets'; defineScrollRing();`
2593
+ - CDN: https://unpkg.com/motionary@10/dist/widgets.umd.js
2594
+ - Attributes: `for`, `engine`, `label`, `back-to-top`, `size`, `thickness`, `horizontal`, `preview`
2595
+ - Events: `usa:progress`, `usa:top`
2596
+
2597
+ ```html
2598
+ <usa-scroll-ring label back-to-top></usa-scroll-ring>
2599
+ ```
2600
+
2359
2601
  ### <usa-scroll-scene> — Scroll scene
2360
2602
 
2361
2603
  10.2: a scroll-linked scene — children with data-scrub="opacity: 0 -> 1; x: -80 -> 0" are tweened as you scroll, scrubbed directly or smoothed (scrub="120"), with optional pin, markers and stagger. Requires motionary/runtime/scroll — npm i motionary, then use(scroll) before the scene mounts.
@@ -2446,6 +2688,21 @@ A GPU shader behind your content: gradient, plasma, waves or aurora presets —
2446
2688
  </usa-shader>
2447
2689
  ```
2448
2690
 
2691
+ ### <usa-shader-backdrop> — Shader backdrop + post chain
2692
+
2693
+ 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.
2694
+
2695
+ - Import: `import { defineShaderBackdrop } from 'motionary/components/widgets'; defineShaderBackdrop();`
2696
+ - CDN: https://unpkg.com/motionary@10/dist/widgets.umd.js
2697
+ - Attributes: `preset`, `post`, `colors`, `speed`, `intensity`, `label`
2698
+ - Events: `usa:backend`
2699
+
2700
+ ```html
2701
+ <usa-shader-backdrop preset="aurora" post="bloom,vignette,grain">
2702
+ <h1>Hello</h1>
2703
+ </usa-shader-backdrop>
2704
+ ```
2705
+
2449
2706
  ### <usa-sheet> — Drawer / bottom sheet
2450
2707
 
2451
2708
  6.3: a side sheet from the right, left, top or bottom with a blurred backdrop; the bottom sheet can be dragged down to dismiss and springs back otherwise. Native <dialog> underneath.
@@ -2550,6 +2807,40 @@ A form-associated range slider: spring-following thumb, value bubble, full keybo
2550
2807
  <usa-slider name="volume" value="40" bubble label="Volume"></usa-slider>
2551
2808
  ```
2552
2809
 
2810
+ ### <usa-smooth-scroll> — Smooth scroll
2811
+
2812
+ 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.
2813
+
2814
+ - Import: `import { defineSmoothScroll } from 'motionary/components/widgets'; defineSmoothScroll();`
2815
+ - CDN: https://unpkg.com/motionary@10/dist/widgets.umd.js
2816
+ - Attributes: `lerp`, `duration`, `ease`, `wheel-multiplier`, `horizontal`, `touch`, `anchors`, `offset`, `wrapper`, `preview`
2817
+ - Events: `usa:scroll`, `usa:ready`, `usa:runtime-missing`
2818
+ - Methods: `glideTo()`, `stop()`, `resume()`
2819
+ - Requires: motionary/runtime/smooth
2820
+ - Install: `npm i motionary`
2821
+ - 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).
2822
+
2823
+ ```js
2824
+ import { use } from 'motionary/runtime';
2825
+ import { smooth } from 'motionary/runtime/smooth';
2826
+ import { defineSmoothScroll } from 'motionary/components/widgets';
2827
+
2828
+ use(smooth);
2829
+ defineSmoothScroll(); // registers <usa-smooth-scroll> — after the prerequisites
2830
+ ```
2831
+
2832
+ ```html
2833
+ <script src="https://cdn.jsdelivr.net/npm/motionary@10/dist/runtime.iife.js"></script>
2834
+ <script src="https://cdn.jsdelivr.net/npm/motionary@10/dist/runtime/smooth.iife.js"></script>
2835
+ <!-- then the component bundles -->
2836
+ <script src="https://unpkg.com/motionary@10/dist/components.umd.js"></script>
2837
+ <script src="https://unpkg.com/motionary@10/dist/widgets.umd.js"></script>
2838
+ ```
2839
+
2840
+ ```html
2841
+ <usa-smooth-scroll lerp="0.1" offset="64"></usa-smooth-scroll>
2842
+ ```
2843
+
2553
2844
  ### <usa-sparkline> — Sparkline
2554
2845
 
2555
2846
  7.2: a tiny inline trend — draws itself on first view, a soft area fades in, the last point pulses and new data morphs the line point by point. line | area | bars; hover shows the value.
@@ -2968,6 +3259,17 @@ defineTextSplitter(); // registers <usa-text-splitter> — after the prerequisit
2968
3259
  <usa-theme-switcher themes="light,dark,neon,glass,neu" persist></usa-theme-switcher>
2969
3260
  ```
2970
3261
 
3262
+ ### <usa-three-scene> — <usa-three-scene>
3263
+
3264
+ `<usa-three-scene>` — alias of `<usa-gl-scene>` (same attributes, events and methods; no Three.js involved).
3265
+
3266
+ - Import: `import { defineThreeScene } from 'motionary/components/widgets'; defineThreeScene();`
3267
+ - CDN: https://unpkg.com/motionary@10/dist/widgets.umd.js
3268
+
3269
+ ```html
3270
+ <usa-three-scene></usa-three-scene>
3271
+ ```
3272
+
2971
3273
  ### <usa-tilt> — 3D tilt card
2972
3274
 
2973
3275
  Tilts toward the pointer in 3D with an optional glare; exposes --usa-tilt-x/y for parallax layers inside.
package/dist/llms.txt CHANGED
@@ -1,6 +1,6 @@
1
- # Motionary 10.3.0
1
+ # Motionary 10.5.0
2
2
 
3
- > Motionary is a zero-dependency motion library: scroll animations, 200+ presets and 195 animated Web Components (<usa-*>) that work in plain HTML and every framework, plus motionary/runtime — its own tween/timeline engine and format loaders.
3
+ > Motionary is a zero-dependency motion library: scroll animations, 200+ presets and 202 animated Web Components (<usa-*>) that work in plain HTML and every framework, plus motionary/runtime — its own tween/timeline engine and format loaders.
4
4
 
5
5
  Install: `npm i motionary` · CDN: https://unpkg.com/motionary@10/dist/components.umd.js (+ https://unpkg.com/motionary@10/dist/widgets.umd.js for 6.x+ widgets) · Manifest: https://harrisoncn.github.io/Motionary/components.json · Full text: https://harrisoncn.github.io/Motionary/llms-full.txt
6
6
 
@@ -15,6 +15,13 @@ Rules for using a component: (1) import its define function from `import.path` a
15
15
  - [motionary/runtime/format-svg](https://github.com/HarrisonCN/Motionary/blob/main/docs/runtime/format-svg.md): Replay SVG SMIL animations (animate, set, animateTransform, animateMotion) on the runtime timeline, morph between any two paths, and measure paths without the DOM.
16
16
  - [motionary/runtime/text](https://github.com/HarrisonCN/Motionary/blob/main/docs/runtime/text.md): Split text into characters (grapheme-aware), words and lines for animation while keeping it accessible (aria-label with the full text, pieces hidden from assistive tech).
17
17
  - [motionary/runtime/format-sprite](https://github.com/HarrisonCN/Motionary/blob/main/docs/runtime/format-sprite.md): Play TexturePacker / Aseprite sprite sheets and numbered image sequences on a canvas or an element background, as runtime timelines (scrubbable).
18
+ - [motionary/runtime/smooth](https://github.com/HarrisonCN/Motionary/blob/main/docs/runtime/smooth.md): 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.
19
+ - [motionary/runtime/format-gif](https://github.com/HarrisonCN/Motionary/blob/main/docs/runtime/format-gif.md): Decode animated GIFs (own LZW decoder, no DOM) into composited RGBA frames and play / scrub / reverse them on a canvas as a runtime timeline.
20
+ - [motionary/runtime/format-apng](https://github.com/HarrisonCN/Motionary/blob/main/docs/runtime/format-apng.md): 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.
21
+ - [motionary/runtime/format-webp](https://github.com/HarrisonCN/Motionary/blob/main/docs/runtime/format-webp.md): 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.
22
+ - [motionary/runtime/gl](https://github.com/HarrisonCN/Motionary/blob/main/docs/runtime/gl.md): 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.
23
+ - [motionary/runtime/format-gltf](https://github.com/HarrisonCN/Motionary/blob/main/docs/runtime/format-gltf.md): 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.
24
+ - [motionary/runtime/format-obj](https://github.com/HarrisonCN/Motionary/blob/main/docs/runtime/format-obj.md): Load Wavefront OBJ (+ MTL materials and diffuse textures) into motionary/runtime/gl nodes: polygons triangulated, groups, per-material meshes.
18
25
 
19
26
  ## Components
20
27
 
@@ -78,8 +85,10 @@ Rules for using a component: (1) import its define function from `import.path` a
78
85
  - `<usa-gen-art>` (motionary/components/widgets): 9.3: seeded generative art on a canvas — flow fields, circle packing, Truchet tiles or layered waves in curated palettes; it draws itself in on screen and a tap
79
86
  - `<usa-gesture-fx>` (motionary/components/effects): 5.7: <usa-gesture-fx> plays any registered effect on a fling (fast release), a two-finger twist or a long press that charges --usa-charge 0 → 1. JS: bindGesture
80
87
  - `<usa-gesture-sticker>` (motionary/components/widgets): 8.7: a multi-touch sticker — drag with one finger, pinch with two to scale and twist to rotate, all at once, with a lifted shadow while held (wheel / Shift + wh
88
+ - `<usa-gl-scene>` (motionary/components/widgets; requires motionary/runtime/gl + motionary/runtime/format-gltf + motionary/runtime/format-obj): 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,
81
89
  - `<usa-glitch>` (motionary/components/text): An RGB-split, sliced glitch — always on or on hover.
82
90
  - `<usa-globe>` (motionary/components/widgets): 7.6: an SVG globe in orthographic projection — graticule, pulsing markers, spins while on screen, drag to turn it, flyTo(name) brings a city round to the front.
91
+ - `<usa-gpu-particles>` (motionary/components/widgets): 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
83
92
  - `<usa-gradient-text>` (motionary/components/text): Text filled with a multi-colour gradient that keeps flowing.
84
93
  - `<usa-grain>` (motionary/components/background): An SVG-noise grain overlay — no image to ship. animated makes it jitter like film.
85
94
  - `<usa-grid-glow>` (motionary/components/background): A line grid behind the content that lights up around the pointer.
@@ -132,6 +141,7 @@ Rules for using a component: (1) import its define function from `import.path` a
132
141
  - `<usa-pack>` (motionary/components/packs): Product cards reveal and lift, “Add to cart” presses and flies the product into the cart (which bumps), prices count up, badges pulse.
133
142
  - `<usa-pagination>` (motionary/components/widgets): 6.7: the highlight springs to the chosen page (squashing on the way) and page numbers slide in from the direction of travel when the window shifts. Prev / next,
134
143
  - `<usa-panorama>` (motionary/components/widgets): 8.8: a 360° panorama — drag or swipe to look around with inertia, a slow auto-rotate, a compass for the heading and a “View in XR” badge when the browser offers
144
+ - `<usa-parallax-layers>` (motionary/components/widgets): 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),
135
145
  - `<usa-particles>` (motionary/components/background): A canvas constellation that drifts away from the pointer. Runs only while visible, DPR ≤ 2, a still frame under reduced motion.
136
146
  - `<usa-pause-all>` (motionary/components/widgets): 9.5: one button that pauses all motion on the page (WCAG 2.2.2) — Motionary’s shared clock, every CSS / Web animation and autoplaying media — and resumes it aga
137
147
  - `<usa-perf-monitor>` (motionary/components/widgets): 9.6: a live performance overlay for motion work — FPS with a sparkline, active Motionary animations, frame-loop callbacks, long tasks and the shared clock — fla
@@ -161,10 +171,12 @@ Rules for using a component: (1) import its define function from `import.path` a
161
171
  - `<usa-scramble>` (motionary/components/text): Decodes text out of random glyphs, left to right. Trigger on view, hover/focus or manually.
162
172
  - `<usa-scroll-highlight>` (motionary/components/text): Words light up one by one as you read down the page, or a highlighter marker sweeps behind the text.
163
173
  - `<usa-scroll-progress>` (motionary/components/reveal): Reading progress of the page or of one article. Compositor-only scaleX, role="progressbar".
174
+ - `<usa-scroll-ring>` (motionary/components/widgets): 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-drive
164
175
  - `<usa-scroll-scene>` (motionary/components/widgets; requires motionary/runtime/scroll): 10.2: a scroll-linked scene — children with data-scrub="opacity: 0 -> 1; x: -80 -> 0" are tweened as you scroll, scrubbed directly or smoothed (scrub="120"), wi
165
176
  - `<usa-scrolly>` (motionary/components/reveal): A pinned graphic while [data-step] blocks scroll past; the active step drives the graphic via attributes, a CSS variable and events.
166
177
  - `<usa-segmented>` (motionary/components/widgets): 6.7: an iOS-style thumb slides under the chosen segment with a spring and stretches while it travels. A real radio group: arrow keys, Home / End. iOS, pill or o
167
178
  - `<usa-shader>` (motionary/components/webgl): A GPU shader behind your content: gradient, plasma, waves or aurora presets — or your own fragment shader in a <script type="x-shader/x-fragment">. Falls back t
179
+ - `<usa-shader-backdrop>` (motionary/components/widgets): 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,
168
180
  - `<usa-sheet>` (motionary/components/widgets): 6.3: a side sheet from the right, left, top or bottom with a blurred backdrop; the bottom sheet can be dragged down to dismiss and springs back otherwise. Nativ
169
181
  - `<usa-shimmer-text>` (motionary/components/text): A light sweep across gradient-filled text. CSS only; colours and speed via attributes or custom properties.
170
182
  - `<usa-shortcut>` (motionary/components/widgets): 7.9: keyboard-shortcut hints as keycaps (⌘ on Apple, Ctrl elsewhere); press the combination anywhere and the caps press down one after another and usa:trigger f
@@ -172,6 +184,7 @@ Rules for using a component: (1) import its define function from `import.path` a
172
184
  - `<usa-skeleton-reveal>` (motionary/components/widgets): 6.4: the skeleton is generated from the real content — one bar per rendered text line, blocks for images and marked elements — with one synchronized shimmer (wa
173
185
  - `<usa-sketch-chart>` (motionary/components/widgets): 8.5: a hand-drawn chart — wobbly pencil axes with hatched bars or a sketchy line, sketched in stroke by stroke when it scrolls into view.
174
186
  - `<usa-slider>` (motionary/components/ui): A form-associated range slider: spring-following thumb, value bubble, full keyboard support (arrows, Page Up/Down, Home/End).
187
+ - `<usa-smooth-scroll>` (motionary/components/widgets; requires motionary/runtime/smooth): 10.4: smooth, inertial wheel scrolling for the page or a container (wrapper), anchor links glide (with offset for sticky headers); keyboard / scrollbar / touch
175
188
  - `<usa-sparkline>` (motionary/components/widgets): 7.2: a tiny inline trend — draws itself on first view, a soft area fades in, the last point pulses and new data morphs the line point by point. line | area | ba
176
189
  - `<usa-spatial-card>` (motionary/components/widgets): 8.8: a spatial-computing window — frosted glass floating in depth, a soft gaze highlight that follows the pointer, layered content and an ornament bar; it eases
177
190
  - `<usa-spinner>` (motionary/components/feedback): Six indeterminate indicators: the WinUI progress ring, the Windows 10 orbiting dots, ring, typing dots, pulse and bars.
@@ -197,6 +210,7 @@ Rules for using a component: (1) import its define function from `import.path` a
197
210
  - `<usa-text-splitter>` (motionary/components/widgets; requires motionary/runtime/text): 10.3: splits its text into characters, words or lines and animates them in with a stagger (rise, fade, blur, flip, wave) when it scrolls into view — accessible,
198
211
  - `<usa-theme-surface>` (motionary/components/widgets): 8.6: a themeable card that follows the nearest theme — light, dark, neon (pulsing glow edge), glass (frosted backdrop with a sheen) or soft neumorphic relief —
199
212
  - `<usa-theme-switcher>` (motionary/components/widgets): 8.6: a segmented switcher for the 8.6 theme system — light, dark, neon, glass and soft (neumorphism); a pill slides under the active option and the page change
213
+ - `<usa-three-scene>` (motionary/components/widgets): `<usa-three-scene>` — alias of `<usa-gl-scene>` (same attributes, events and methods; no Three.js involved).
200
214
  - `<usa-tilt>` (motionary/components/interaction): Tilts toward the pointer in 3D with an optional glare; exposes --usa-tilt-x/y for parallax layers inside.
201
215
  - `<usa-timeline>` (motionary/components/timeline): Every data-tl child becomes a step in document order. data-at ('-=200', '<', 'label+=100') overlaps or aligns steps; scrub ties progress to scroll; trigger view
202
216
  - `<usa-tip>` (motionary/components/widgets): 6.6: springs out of its trigger with an arrow, flips to stay inside the viewport and shifts along the edge; hover + keyboard focus (Esc closes) or click popover