motionary 13.0.0 → 13.0.1

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 (938) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +323 -153
  3. package/README_ja.md +245 -118
  4. package/README_zh.md +245 -118
  5. package/dist/chunks/{anim-image-D3zLsN-S.cjs → anim-image-Bp-A3hNC.cjs} +2 -2
  6. package/dist/chunks/{anim-image-D6JtZnwb.js → anim-image-DeBvYIDu.js} +2 -2
  7. package/dist/chunks/{audio-DNNfcWi9.js → audio-BV1YemPb.js} +3 -3
  8. package/dist/chunks/{audio-BSQmg3MB.cjs → audio-CztPMZ1b.cjs} +3 -3
  9. package/dist/chunks/{badge-wall-Dg7S7RJn.js → badge-wall-BBAW52s-.js} +2 -2
  10. package/dist/chunks/{badge-wall-BPbL8OTC.cjs → badge-wall-COxq4-hJ.cjs} +2 -2
  11. package/dist/chunks/{base-B3me2y0o.cjs → base-BG_mxssu.cjs} +3 -2
  12. package/dist/chunks/{base-zSGb8ujt.js → base-CBMzOs1k.js} +3 -2
  13. package/dist/chunks/{bg-generator-U6fomxZX.cjs → bg-generator-Bw0JAZG7.cjs} +2 -2
  14. package/dist/chunks/{bg-generator-DKX8nt8T.js → bg-generator-CFjnTyP9.js} +2 -2
  15. package/dist/chunks/bind-B_CTL6Qn.js +1 -1
  16. package/dist/chunks/bind-Ui43-n2d.cjs +1 -1
  17. package/dist/chunks/{builtins-Simwbnqg.js → builtins-DINhkShu.js} +3 -3
  18. package/dist/chunks/{builtins-Cz3iufK6.cjs → builtins-Dk6hr4_C.cjs} +3 -3
  19. package/dist/chunks/{carousel-BvdFWXZC.cjs → carousel-6UZLhjGL.cjs} +2 -2
  20. package/dist/chunks/{carousel-C36_TV-w.js → carousel-BQiUPJ6H.js} +2 -2
  21. package/dist/chunks/{cart-drawer-BRK4G_aL.cjs → cart-drawer-BhHW454c.cjs} +2 -2
  22. package/dist/chunks/{cart-drawer-BIeW2ITt.js → cart-drawer-DTBLUsXS.js} +2 -2
  23. package/dist/chunks/{code-export-B6NVzEhx.js → code-export-B_q_hPy8.js} +2 -2
  24. package/dist/chunks/{code-export-BUcIsaA0.cjs → code-export-CbKPNcnx.cjs} +2 -2
  25. package/dist/chunks/{color-picker-CZvB7e4m.cjs → color-picker-C17hLqcy.cjs} +3 -3
  26. package/dist/chunks/{color-picker-6qKpXxrS.js → color-picker-DAAhbpHV.js} +3 -3
  27. package/dist/chunks/{command-palette-BSTQQK3b.js → command-palette-B-_C5aOb.js} +2 -2
  28. package/dist/chunks/{command-palette-CNnX1Qlx.cjs → command-palette-CABkONwK.cjs} +2 -2
  29. package/dist/chunks/{core-BdLFN0RS.cjs → core-Bg5WaRYY.cjs} +2 -2
  30. package/dist/chunks/core-BjcOCpJt.cjs +1 -1
  31. package/dist/chunks/{core-BOCM9zD5.js → core-CBU40kLB.js} +2 -2
  32. package/dist/chunks/{core-BcQb_f91.js → core-D1vhyt2F.js} +2 -2
  33. package/dist/chunks/{core-KIvPGg0c.cjs → core-DMrg99HN.cjs} +2 -2
  34. package/dist/chunks/core-Dj6iomdc.js +1 -1
  35. package/dist/chunks/{countdown-D5fCuduX.cjs → countdown-5kyFj3EA.cjs} +2 -2
  36. package/dist/chunks/{countdown-CzDT07_X.js → countdown-BWy4-V8Y.js} +2 -2
  37. package/dist/chunks/{date-picker-DKv1uKYq.js → date-picker-CAreI9C7.js} +2 -2
  38. package/dist/chunks/{date-picker-DJ5URMsx.cjs → date-picker-V4SjW1_f.cjs} +2 -2
  39. package/dist/chunks/ease-HwYZnZat.cjs +1 -1
  40. package/dist/chunks/ease-XN8_0sXu.js +1 -1
  41. package/dist/chunks/{equalizer-D3iO1wBO.cjs → equalizer-B0fb-kFT.cjs} +2 -2
  42. package/dist/chunks/{equalizer-C8mel4Mn.js → equalizer-BPS1yV-f.js} +2 -2
  43. package/dist/chunks/{festival-banner-BYn-HCza.js → festival-banner-CvGwychu.js} +2 -2
  44. package/dist/chunks/{festival-banner-Dx7QAmxt.cjs → festival-banner-DWCMdZM1.cjs} +2 -2
  45. package/dist/chunks/{field-CLbSJL_S.cjs → field-D5hYtW6A.cjs} +2 -2
  46. package/dist/chunks/{field-BlWcKLcW.js → field-iruUHpdy.js} +2 -2
  47. package/dist/chunks/{fx-BaPAanPW.cjs → fx-aA8nn1zv.cjs} +2 -2
  48. package/dist/chunks/{fx-DUteojZx.js → fx-tuYvq2Dr.js} +2 -2
  49. package/dist/chunks/generative-2LhxG5BJ.js +1 -1
  50. package/dist/chunks/generative-BHIj-NU0.cjs +1 -1
  51. package/dist/chunks/{gl-scene-7iATBiAo.cjs → gl-scene-B9QYN-U7.cjs} +3 -3
  52. package/dist/chunks/{gl-scene-CS6F2id8.js → gl-scene-BZnZV6e0.js} +3 -3
  53. package/dist/chunks/{globe-DDPNdPPD.cjs → globe-BvTRCzBa.cjs} +2 -2
  54. package/dist/chunks/{globe-6qzMhWwL.js → globe-t8Tz1KrC.js} +2 -2
  55. package/dist/chunks/{gpu-Dw1udOJW.cjs → gpu-BFYGfLfN.cjs} +2 -2
  56. package/dist/chunks/{gpu-ML0i9eNv.js → gpu-CxTWIssF.js} +2 -2
  57. package/dist/chunks/{gpu-particles-Z95SjKpc.cjs → gpu-particles-C4UZX5H4.cjs} +2 -2
  58. package/dist/chunks/{gpu-particles-Ce1Q_xJk.js → gpu-particles-GxP4a0P6.js} +2 -2
  59. package/dist/chunks/index-tags-B-JBecYg.js +1 -1
  60. package/dist/chunks/index-tags-hLIF2Clq.cjs +1 -1
  61. package/dist/chunks/key-click-BLm3BI8_.js +1 -1
  62. package/dist/chunks/key-click-v7I4K5Sr.cjs +1 -1
  63. package/dist/chunks/{keyframes-BAtnMJd-.js → keyframes-B6Ju70i1.js} +2 -2
  64. package/dist/chunks/{keyframes-CbM8m-7I.cjs → keyframes-DhUhKdn2.cjs} +2 -2
  65. package/dist/chunks/{leaderboard-ButHN_NI.cjs → leaderboard-D3aXcUrH.cjs} +2 -2
  66. package/dist/chunks/{leaderboard-PaGjUBdI.js → leaderboard-DqCbNSLV.js} +2 -2
  67. package/dist/chunks/{location-card-D-jdyQge.js → location-card-BFWhuOvM.js} +2 -2
  68. package/dist/chunks/{location-card-CLR05EP-.cjs → location-card-D50y0yPP.cjs} +2 -2
  69. package/dist/chunks/{lottie-icon-1x0omshZ.js → lottie-icon-Cg99YqMK.js} +2 -2
  70. package/dist/chunks/{lottie-icon-DDKThCMc.cjs → lottie-icon-CiL7TQeN.cjs} +2 -2
  71. package/dist/chunks/{lottie-player-BaZsKC-H.cjs → lottie-player--_SwVeIS.cjs} +3 -3
  72. package/dist/chunks/{lottie-player-D7exPyhQ.js → lottie-player-CvGhfdfy.js} +3 -3
  73. package/dist/chunks/{lyrics-r4Z0TGnm.js → lyrics-BW8Ajj8K.js} +2 -2
  74. package/dist/chunks/{lyrics-gmFffOvn.cjs → lyrics-CmZKfI0D.cjs} +2 -2
  75. package/dist/chunks/{manifest-Bcz6rQ20.cjs → manifest-CKtkSVw4.cjs} +2 -2
  76. package/dist/chunks/{manifest-pFJWahGJ.js → manifest-CQUlazDF.js} +2 -2
  77. package/dist/chunks/{menu-BTGBkd2U.js → menu-2qfS--b1.js} +2 -2
  78. package/dist/chunks/{menu-BgO53POm.cjs → menu-BDG5gcER.cjs} +2 -2
  79. package/dist/chunks/{menu-toggle-BJEK8BJD.cjs → menu-toggle-934mf8c-.cjs} +3 -3
  80. package/dist/chunks/{menu-toggle-Dch8f2GK.js → menu-toggle-DuXU6-hH.js} +3 -3
  81. package/dist/chunks/{nav-morph-BlfdTr2-.js → nav-morph-Bc0SfHn9.js} +2 -2
  82. package/dist/chunks/{nav-morph-DvE3FgWw.cjs → nav-morph-DeVvWJm-.cjs} +2 -2
  83. package/dist/chunks/{otp-B1_JY5KD.cjs → otp-C0PpgU4T.cjs} +2 -2
  84. package/dist/chunks/{otp-Dxw6l5CL.js → otp-CwhyPG7i.js} +2 -2
  85. package/dist/chunks/{pagination-C5bamOI4.cjs → pagination-4NCqUPrX.cjs} +3 -3
  86. package/dist/chunks/{pagination-CFOc73i-.js → pagination-D7C1zFvF.js} +3 -3
  87. package/dist/chunks/{physics-playground-MeKCuHR-.cjs → physics-playground-C8Dp1VZo.cjs} +4 -4
  88. package/dist/chunks/{physics-playground-CGAdvO6r.js → physics-playground-Dfb6XJrk.js} +4 -4
  89. package/dist/chunks/{player-B7QRAdUN.cjs → player-BNOKDUw-.cjs} +4 -4
  90. package/dist/chunks/{player-BA50IpKZ.js → player-DtLIUxwJ.js} +4 -4
  91. package/dist/chunks/{presence-230b12uw.cjs → presence-CwaD7bup.cjs} +2 -2
  92. package/dist/chunks/{presence-CPc3nH2E.js → presence-DRGK2bwc.js} +2 -2
  93. package/dist/chunks/presets-BYBVJVeP.js +1 -1
  94. package/dist/chunks/presets-CUHys3sK.cjs +1 -1
  95. package/dist/chunks/{prize-wheel-CYEPyee6.cjs → prize-wheel-Cl48woXn.cjs} +2 -2
  96. package/dist/chunks/{prize-wheel-ClMtfLVa.js → prize-wheel-DtR0WMqK.js} +2 -2
  97. package/dist/chunks/{product-gallery-mML9zLXE.cjs → product-gallery-C3q6aoVe.cjs} +2 -2
  98. package/dist/chunks/{product-gallery-DlVGui98.js → product-gallery-s0Mojkcm.js} +2 -2
  99. package/dist/chunks/{progress-ring-C8OHcD1x.cjs → progress-ring-B8Ytgw_Q.cjs} +2 -2
  100. package/dist/chunks/{progress-ring-u5QwkDUc.js → progress-ring-Q1yoAUrU.js} +2 -2
  101. package/dist/chunks/{prop-panel-CYTkWP9Y.js → prop-panel-BoejVIkT.js} +2 -2
  102. package/dist/chunks/{prop-panel-B4SaLelu.cjs → prop-panel-CLYoy2fY.cjs} +2 -2
  103. package/dist/chunks/{radar-BWjX0-2G.cjs → radar-B0f-lKWX.cjs} +2 -2
  104. package/dist/chunks/{radar-B7ZGs9Ca.js → radar-BAfz6Y20.js} +2 -2
  105. package/dist/chunks/{reactions-BTTEhsnZ.js → reactions-CAMzdddC.js} +2 -2
  106. package/dist/chunks/{reactions-D2QL8ezS.cjs → reactions-Dfadd7FC.cjs} +2 -2
  107. package/dist/chunks/{registry-CYojuxi5.js → registry-4UDF3Dpk.js} +2 -2
  108. package/dist/chunks/{registry-DQEOHLh7.js → registry-BgdHqx0s.js} +2 -2
  109. package/dist/chunks/{registry-CFnXdATC.cjs → registry-D3N8O2Nc.cjs} +2 -2
  110. package/dist/chunks/{registry-BB1oO-lR.cjs → registry-LE5iyTqw.cjs} +2 -2
  111. package/dist/chunks/{retro-button-CiVnwK4T.js → retro-button-DPOGCNEB.js} +2 -2
  112. package/dist/chunks/{retro-button-CqLmeF6H.cjs → retro-button-oiGvtRdV.cjs} +2 -2
  113. package/dist/chunks/{rive-CtYlVrH0.js → rive-BiqV3D2R.js} +2 -2
  114. package/dist/chunks/{rive-CfWKBIa5.cjs → rive-D2POjYyT.cjs} +2 -2
  115. package/dist/chunks/{runtime-link-D1Vn3BZq.cjs → runtime-link-6mNrr9AF.cjs} +3 -3
  116. package/dist/chunks/{runtime-link-C3_nsDxl.js → runtime-link-yprBSd9n.js} +3 -3
  117. package/dist/chunks/scroll-driven-CQbwzCdn.cjs +1 -1
  118. package/dist/chunks/scroll-driven-LghshrWq.js +1 -1
  119. package/dist/chunks/{scroll-scene-DSymhsCt.cjs → scroll-scene-C34tV2yS.cjs} +4 -4
  120. package/dist/chunks/{scroll-scene-Bp9Txz5d.js → scroll-scene-DMfol8B-.js} +4 -4
  121. package/dist/chunks/{segmented-omNqJ1vK.cjs → segmented-Bs0lNncg.cjs} +2 -2
  122. package/dist/chunks/{segmented-BEuxQKN8.js → segmented-DnGy8Aw_.js} +2 -2
  123. package/dist/chunks/{shader-backdrop-jJaiqu2T.js → shader-backdrop-CQBsDITY.js} +2 -2
  124. package/dist/chunks/{shader-backdrop-Tnlj5ag3.cjs → shader-backdrop-Df_2GJFz.cjs} +2 -2
  125. package/dist/chunks/shared-BxK1D7EZ.cjs +1 -1
  126. package/dist/chunks/shared-C8Pi6tuh.js +1 -1
  127. package/dist/chunks/shared-CkKHWrtJ.js +1 -1
  128. package/dist/chunks/shared-jkgRH-Hx.cjs +1 -1
  129. package/dist/chunks/{sheet-BfH5vWIW.cjs → sheet-6Vp7Yox1.cjs} +40 -17
  130. package/dist/chunks/{sheet-BHvZA7rD.js → sheet-CAItJBXn.js} +40 -17
  131. package/dist/chunks/sign-DvZ1jHxE.js +1 -1
  132. package/dist/chunks/sign-RAkQIWrM.cjs +1 -1
  133. package/dist/chunks/{skeleton-reveal-Dwm8Z6Iv.js → skeleton-reveal-CNr6jhZN.js} +2 -2
  134. package/dist/chunks/{skeleton-reveal-n4L3iur-.cjs → skeleton-reveal-DH7sd6uV.cjs} +2 -2
  135. package/dist/chunks/{sparkline-BtSW-HY0.js → sparkline-MRwlHeWm.js} +2 -2
  136. package/dist/chunks/{sparkline-DZiGHCOf.cjs → sparkline-we35dC6w.cjs} +2 -2
  137. package/dist/chunks/{spring-CznnvQCN.js → spring-2YZXQmr7.js} +2 -2
  138. package/dist/chunks/{spring-DcM7pQgx.cjs → spring-CibVO2Tk.cjs} +2 -2
  139. package/dist/chunks/stagger-B9sKPwQB.js +1 -1
  140. package/dist/chunks/stagger-DFKwqOQG.cjs +1 -1
  141. package/dist/chunks/{suggestion-chips-BVt6aSMC.cjs → suggestion-chips-DIzEGoUE.cjs} +2 -2
  142. package/dist/chunks/{suggestion-chips-CtgmWPtH.js → suggestion-chips-DWViXX9m.js} +2 -2
  143. package/dist/chunks/{switch-BKhvELnx.cjs → switch-DSzo6hVT.cjs} +3 -3
  144. package/dist/chunks/{switch-CZCdSuCz.js → switch-iQNaYTQB.js} +3 -3
  145. package/dist/chunks/{tab-bar-B3ucWWMl.cjs → tab-bar-DZtJO0Ge.cjs} +2 -2
  146. package/dist/chunks/{tab-bar-2d1734DE.js → tab-bar-DzSapgXH.js} +2 -2
  147. package/dist/chunks/{ticker-Dj7p5cMU.cjs → ticker-D73Bn74b.cjs} +2 -2
  148. package/dist/chunks/{ticker-CFlr9gom.js → ticker-vHgAp_Uz.js} +2 -2
  149. package/dist/chunks/{tip-r4VuAjSI.js → tip-Cg4VdOV4.js} +2 -2
  150. package/dist/chunks/{tip-BQwC2KtE.cjs → tip-CoXfHx5J.cjs} +2 -2
  151. package/dist/chunks/{toast-stack-DfFjAKGz.cjs → toast-stack-B0YJ93dM.cjs} +4 -4
  152. package/dist/chunks/{toast-stack-D3zrI7U6.js → toast-stack-DZ5XkmO_.js} +4 -4
  153. package/dist/chunks/{tween-DJfADHZK.js → tween-BtX9Wj7P.js} +2 -2
  154. package/dist/chunks/{tween-fNIolo0r.cjs → tween-CO_7OEFf.cjs} +2 -2
  155. package/dist/chunks/{upload-progress-DmywVhec.cjs → upload-progress-Bv5i3ebk.cjs} +2 -2
  156. package/dist/chunks/{upload-progress-CkfDSMr-.js → upload-progress-CZbedTLC.js} +2 -2
  157. package/dist/chunks/{variants-DRi3tBJf.js → variants-B8gnRVha.js} +2 -2
  158. package/dist/chunks/{variants-cVfgIaXa.cjs → variants-D7gblATl.cjs} +2 -2
  159. package/dist/chunks/{voice-button-DVovZYBR.js → voice-button-BEibeass.js} +2 -2
  160. package/dist/chunks/{voice-button-CZ5cpeWN.cjs → voice-button-DfDRNgmG.cjs} +2 -2
  161. package/dist/chunks/{weather-card-pF9sSKuI.js → weather-card-BO_6E5OV.js} +2 -2
  162. package/dist/chunks/{weather-card-DCzxr5T4.cjs → weather-card-DodZfOsv.cjs} +2 -2
  163. package/dist/chunks/{worker-canvas-CDc2aIKC.cjs → worker-canvas-Bqsw_Fym.cjs} +2 -2
  164. package/dist/chunks/{worker-canvas-Hl3quLAh.js → worker-canvas-D2TU72M8.js} +2 -2
  165. package/dist/chunks/{xp-bar-D4Yq5Dpv.cjs → xp-bar-CUHPolzJ.cjs} +2 -2
  166. package/dist/chunks/{xp-bar-j1FsL32r.js → xp-bar-CsASrTkD.js} +2 -2
  167. package/dist/components/a11y.cjs +2 -2
  168. package/dist/components/a11y.js +3 -3
  169. package/dist/components/ai.cjs +1 -1
  170. package/dist/components/ai.js +1 -1
  171. package/dist/components/angular.cjs +9 -9
  172. package/dist/components/angular.js +9 -9
  173. package/dist/components/background.cjs +3 -3
  174. package/dist/components/background.js +3 -3
  175. package/dist/components/bridge.cjs +2 -2
  176. package/dist/components/bridge.js +2 -2
  177. package/dist/components/cards.cjs +4 -4
  178. package/dist/components/cards.js +4 -4
  179. package/dist/components/click.cjs +4 -4
  180. package/dist/components/click.js +4 -4
  181. package/dist/components/core.cjs +1 -1
  182. package/dist/components/core.js +1 -1
  183. package/dist/components/depth.cjs +4 -4
  184. package/dist/components/depth.js +4 -4
  185. package/dist/components/design.cjs +4 -4
  186. package/dist/components/design.js +4 -4
  187. package/dist/components/dotlottie.cjs +5 -5
  188. package/dist/components/dotlottie.js +5 -5
  189. package/dist/components/dsl.cjs +3 -3
  190. package/dist/components/dsl.js +3 -3
  191. package/dist/components/effects.cjs +8 -8
  192. package/dist/components/effects.js +10 -10
  193. package/dist/components/engine.cjs +3 -3
  194. package/dist/components/engine.js +4 -4
  195. package/dist/components/feedback.cjs +2 -2
  196. package/dist/components/feedback.js +2 -2
  197. package/dist/components/fx-3d.cjs +3 -3
  198. package/dist/components/fx-3d.js +3 -3
  199. package/dist/components/fx-ai.cjs +3 -3
  200. package/dist/components/fx-ai.js +3 -3
  201. package/dist/components/fx-chart.cjs +3 -3
  202. package/dist/components/fx-chart.js +3 -3
  203. package/dist/components/fx-cinema.cjs +3 -3
  204. package/dist/components/fx-cinema.js +3 -3
  205. package/dist/components/fx-cyber.cjs +3 -3
  206. package/dist/components/fx-cyber.js +3 -3
  207. package/dist/components/fx-festival.cjs +3 -3
  208. package/dist/components/fx-festival.js +3 -3
  209. package/dist/components/fx-focus.cjs +3 -3
  210. package/dist/components/fx-focus.js +3 -3
  211. package/dist/components/fx-form.cjs +3 -3
  212. package/dist/components/fx-form.js +3 -3
  213. package/dist/components/fx-game.cjs +3 -3
  214. package/dist/components/fx-game.js +3 -3
  215. package/dist/components/fx-genart.cjs +3 -3
  216. package/dist/components/fx-genart.js +3 -3
  217. package/dist/components/fx-geo.cjs +3 -3
  218. package/dist/components/fx-geo.js +3 -3
  219. package/dist/components/fx-gesture.cjs +3 -3
  220. package/dist/components/fx-gesture.js +3 -3
  221. package/dist/components/fx-gpu.cjs +4 -4
  222. package/dist/components/fx-gpu.js +4 -4
  223. package/dist/components/fx-light.cjs +3 -3
  224. package/dist/components/fx-light.js +3 -3
  225. package/dist/components/fx-lottie.cjs +3 -3
  226. package/dist/components/fx-lottie.js +3 -3
  227. package/dist/components/fx-morph.cjs +3 -3
  228. package/dist/components/fx-morph.js +3 -3
  229. package/dist/components/fx-music.cjs +4 -4
  230. package/dist/components/fx-music.js +4 -4
  231. package/dist/components/fx-organic.cjs +3 -3
  232. package/dist/components/fx-organic.js +3 -3
  233. package/dist/components/fx-paper.cjs +3 -3
  234. package/dist/components/fx-paper.js +3 -3
  235. package/dist/components/fx-perf.cjs +3 -3
  236. package/dist/components/fx-perf.js +3 -3
  237. package/dist/components/fx-physics.cjs +3 -3
  238. package/dist/components/fx-physics.js +3 -3
  239. package/dist/components/fx-retro.cjs +3 -3
  240. package/dist/components/fx-retro.js +3 -3
  241. package/dist/components/fx-safe.cjs +3 -3
  242. package/dist/components/fx-safe.js +3 -3
  243. package/dist/components/fx-shop.cjs +3 -3
  244. package/dist/components/fx-shop.js +3 -3
  245. package/dist/components/fx-social.cjs +3 -3
  246. package/dist/components/fx-social.js +3 -3
  247. package/dist/components/fx-spatial.cjs +3 -3
  248. package/dist/components/fx-spatial.js +3 -3
  249. package/dist/components/fx-surface.cjs +3 -3
  250. package/dist/components/fx-surface.js +3 -3
  251. package/dist/components/fx-text.cjs +3 -3
  252. package/dist/components/fx-text.js +3 -3
  253. package/dist/components/fx-transitions.cjs +4 -4
  254. package/dist/components/fx-transitions.js +4 -4
  255. package/dist/components/fx-video.cjs +3 -3
  256. package/dist/components/fx-video.js +3 -3
  257. package/dist/components/fx-weather.cjs +3 -3
  258. package/dist/components/fx-weather.js +3 -3
  259. package/dist/components/fx.cjs +6 -6
  260. package/dist/components/fx.js +7 -7
  261. package/dist/components/fx2.cjs +6 -6
  262. package/dist/components/fx2.js +7 -7
  263. package/dist/components/gesture.cjs +4 -4
  264. package/dist/components/gesture.js +5 -5
  265. package/dist/components/gl-model.cjs +5 -5
  266. package/dist/components/gl-model.js +5 -5
  267. package/dist/components/interaction.cjs +2 -2
  268. package/dist/components/interaction.js +2 -2
  269. package/dist/components/jsx.cjs +1 -1
  270. package/dist/components/jsx.js +1 -1
  271. package/dist/components/layout.cjs +2 -2
  272. package/dist/components/layout.js +2 -2
  273. package/dist/components/lazy.cjs +1 -1
  274. package/dist/components/lazy.js +1 -1
  275. package/dist/components/lite.cjs +9 -8
  276. package/dist/components/lite.js +9 -8
  277. package/dist/components/marketplace.cjs +4 -4
  278. package/dist/components/marketplace.js +5 -5
  279. package/dist/components/native.cjs +4 -4
  280. package/dist/components/native.js +4 -4
  281. package/dist/components/packs.cjs +3 -3
  282. package/dist/components/packs.js +3 -3
  283. package/dist/components/page.cjs +3 -3
  284. package/dist/components/page.js +4 -4
  285. package/dist/components/perf.cjs +2 -2
  286. package/dist/components/perf.js +3 -3
  287. package/dist/components/physics.cjs +3 -3
  288. package/dist/components/physics.js +4 -4
  289. package/dist/components/plugins.cjs +5 -5
  290. package/dist/components/plugins.js +5 -5
  291. package/dist/components/react.cjs +1 -1
  292. package/dist/components/react.js +1 -1
  293. package/dist/components/reveal.cjs +2 -2
  294. package/dist/components/reveal.js +2 -2
  295. package/dist/components/snap-carousel.cjs +4 -4
  296. package/dist/components/snap-carousel.js +4 -4
  297. package/dist/components/solid.cjs +9 -9
  298. package/dist/components/solid.js +9 -9
  299. package/dist/components/svelte.cjs +9 -9
  300. package/dist/components/svelte.js +9 -9
  301. package/dist/components/svg.cjs +2 -2
  302. package/dist/components/svg.js +2 -2
  303. package/dist/components/text.cjs +3 -3
  304. package/dist/components/text.js +3 -3
  305. package/dist/components/timeline.cjs +3 -3
  306. package/dist/components/timeline.js +4 -4
  307. package/dist/components/tokens.cjs +1 -1
  308. package/dist/components/tokens.js +1 -1
  309. package/dist/components/transitions.cjs +2 -2
  310. package/dist/components/transitions.js +2 -2
  311. package/dist/components/ui.cjs +8 -8
  312. package/dist/components/ui.js +9 -9
  313. package/dist/components/vue.cjs +9 -9
  314. package/dist/components/vue.js +9 -9
  315. package/dist/components/webgl.cjs +2 -2
  316. package/dist/components/webgl.js +2 -2
  317. package/dist/components/widgets.cjs +62 -62
  318. package/dist/components/widgets.d.cts +2 -1
  319. package/dist/components/widgets.d.ts +2 -1
  320. package/dist/components/widgets.js +111 -111
  321. package/dist/components.cjs +9 -9
  322. package/dist/components.js +11 -11
  323. package/dist/components.umd.js +2 -2
  324. package/dist/effects/achievement-unlock.cjs +3 -3
  325. package/dist/effects/achievement-unlock.js +3 -3
  326. package/dist/effects/aurora-veil.cjs +3 -3
  327. package/dist/effects/aurora-veil.js +3 -3
  328. package/dist/effects/badge-pop.cjs +3 -3
  329. package/dist/effects/badge-pop.js +3 -3
  330. package/dist/effects/bars-grow.cjs +3 -3
  331. package/dist/effects/bars-grow.js +3 -3
  332. package/dist/effects/beat-bounce.cjs +4 -4
  333. package/dist/effects/beat-bounce.js +4 -4
  334. package/dist/effects/blob-button.cjs +3 -3
  335. package/dist/effects/blob-button.js +3 -3
  336. package/dist/effects/bloom.cjs +3 -3
  337. package/dist/effects/bloom.js +3 -3
  338. package/dist/effects/breathe.cjs +3 -3
  339. package/dist/effects/breathe.js +3 -3
  340. package/dist/effects/brushed-metal.cjs +3 -3
  341. package/dist/effects/brushed-metal.js +3 -3
  342. package/dist/effects/camera-dolly.cjs +3 -3
  343. package/dist/effects/camera-dolly.js +3 -3
  344. package/dist/effects/card-flip-3d.cjs +3 -3
  345. package/dist/effects/card-flip-3d.js +3 -3
  346. package/dist/effects/chest-open.cjs +3 -3
  347. package/dist/effects/chest-open.js +3 -3
  348. package/dist/effects/cloth.cjs +3 -3
  349. package/dist/effects/cloth.js +3 -3
  350. package/dist/effects/coin-burst.cjs +3 -3
  351. package/dist/effects/coin-burst.js +3 -3
  352. package/dist/effects/color-pulse.cjs +3 -3
  353. package/dist/effects/color-pulse.js +3 -3
  354. package/dist/effects/crt-power.cjs +3 -3
  355. package/dist/effects/crt-power.js +3 -3
  356. package/dist/effects/crumple.cjs +3 -3
  357. package/dist/effects/crumple.js +3 -3
  358. package/dist/effects/data-decode.cjs +3 -3
  359. package/dist/effects/data-decode.js +3 -3
  360. package/dist/effects/day-cycle.cjs +3 -3
  361. package/dist/effects/day-cycle.js +3 -3
  362. package/dist/effects/depth-in.cjs +3 -3
  363. package/dist/effects/depth-in.js +3 -3
  364. package/dist/effects/depth-pop.cjs +3 -3
  365. package/dist/effects/depth-pop.js +3 -3
  366. package/dist/effects/depth-stack.cjs +3 -3
  367. package/dist/effects/depth-stack.js +3 -3
  368. package/dist/effects/dolly-in.cjs +3 -3
  369. package/dist/effects/dolly-in.js +3 -3
  370. package/dist/effects/dots-pop.cjs +3 -3
  371. package/dist/effects/dots-pop.js +3 -3
  372. package/dist/effects/field-shake.cjs +3 -3
  373. package/dist/effects/field-shake.js +3 -3
  374. package/dist/effects/field-success.cjs +3 -3
  375. package/dist/effects/field-success.js +3 -3
  376. package/dist/effects/film-burn.cjs +3 -3
  377. package/dist/effects/film-burn.js +3 -3
  378. package/dist/effects/fire.cjs +4 -4
  379. package/dist/effects/fire.js +4 -4
  380. package/dist/effects/fireflies.cjs +4 -4
  381. package/dist/effects/fireflies.js +4 -4
  382. package/dist/effects/firework-burst.cjs +3 -3
  383. package/dist/effects/firework-burst.js +3 -3
  384. package/dist/effects/flip-chars.cjs +3 -3
  385. package/dist/effects/flip-chars.js +3 -3
  386. package/dist/effects/fluid.cjs +4 -4
  387. package/dist/effects/fluid.js +4 -4
  388. package/dist/effects/fly-to-cart.cjs +3 -3
  389. package/dist/effects/fly-to-cart.js +3 -3
  390. package/dist/effects/focus-draw.cjs +3 -3
  391. package/dist/effects/focus-draw.js +3 -3
  392. package/dist/effects/focus-glow.cjs +3 -3
  393. package/dist/effects/focus-glow.js +3 -3
  394. package/dist/effects/fog.cjs +3 -3
  395. package/dist/effects/fog.js +3 -3
  396. package/dist/effects/font-breathe.cjs +3 -3
  397. package/dist/effects/font-breathe.js +3 -3
  398. package/dist/effects/form-cascade.cjs +3 -3
  399. package/dist/effects/form-cascade.js +3 -3
  400. package/dist/effects/gen-skeleton.cjs +3 -3
  401. package/dist/effects/gen-skeleton.js +3 -3
  402. package/dist/effects/glass-frost.cjs +3 -3
  403. package/dist/effects/glass-frost.js +3 -3
  404. package/dist/effects/glitch-text.cjs +3 -3
  405. package/dist/effects/glitch-text.js +3 -3
  406. package/dist/effects/globe-spin.cjs +3 -3
  407. package/dist/effects/globe-spin.js +3 -3
  408. package/dist/effects/god-rays.cjs +3 -3
  409. package/dist/effects/god-rays.js +3 -3
  410. package/dist/effects/gpu-lift.cjs +3 -3
  411. package/dist/effects/gpu-lift.js +3 -3
  412. package/dist/effects/grain-flicker.cjs +3 -3
  413. package/dist/effects/grain-flicker.js +3 -3
  414. package/dist/effects/halftone-in.cjs +3 -3
  415. package/dist/effects/halftone-in.js +3 -3
  416. package/dist/effects/highlight-sweep.cjs +3 -3
  417. package/dist/effects/highlight-sweep.js +3 -3
  418. package/dist/effects/hologram.cjs +3 -3
  419. package/dist/effects/hologram.js +3 -3
  420. package/dist/effects/hud-frame.cjs +3 -3
  421. package/dist/effects/hud-frame.js +3 -3
  422. package/dist/effects/icon-pop.cjs +3 -3
  423. package/dist/effects/icon-pop.js +3 -3
  424. package/dist/effects/icon-swap.cjs +3 -3
  425. package/dist/effects/icon-swap.js +3 -3
  426. package/dist/effects/idle-reveal.cjs +3 -3
  427. package/dist/effects/idle-reveal.js +3 -3
  428. package/dist/effects/ink.cjs +4 -4
  429. package/dist/effects/ink.js +4 -4
  430. package/dist/effects/jump-cut.cjs +3 -3
  431. package/dist/effects/jump-cut.js +3 -3
  432. package/dist/effects/kaleido.cjs +3 -3
  433. package/dist/effects/kaleido.js +3 -3
  434. package/dist/effects/label-float.cjs +3 -3
  435. package/dist/effects/label-float.js +3 -3
  436. package/dist/effects/lantern-rise.cjs +3 -3
  437. package/dist/effects/lantern-rise.js +3 -3
  438. package/dist/effects/leaves.cjs +4 -4
  439. package/dist/effects/leaves.js +4 -4
  440. package/dist/effects/letterbox.cjs +3 -3
  441. package/dist/effects/letterbox.js +3 -3
  442. package/dist/effects/level-up.cjs +3 -3
  443. package/dist/effects/level-up.js +3 -3
  444. package/dist/effects/light-follow.cjs +3 -3
  445. package/dist/effects/light-follow.js +3 -3
  446. package/dist/effects/lightning.cjs +3 -3
  447. package/dist/effects/lightning.js +3 -3
  448. package/dist/effects/line-draw.cjs +3 -3
  449. package/dist/effects/line-draw.js +3 -3
  450. package/dist/effects/liquid-text.cjs +3 -3
  451. package/dist/effects/liquid-text.js +3 -3
  452. package/dist/effects/liquid-wipe.cjs +3 -3
  453. package/dist/effects/liquid-wipe.js +3 -3
  454. package/dist/effects/lottie-play.cjs +3 -3
  455. package/dist/effects/lottie-play.js +3 -3
  456. package/dist/effects/magnet.cjs +3 -3
  457. package/dist/effects/magnet.js +3 -3
  458. package/dist/effects/marching-ants.cjs +3 -3
  459. package/dist/effects/marching-ants.js +3 -3
  460. package/dist/effects/marker-pulse.cjs +3 -3
  461. package/dist/effects/marker-pulse.js +3 -3
  462. package/dist/effects/mention-glow.cjs +3 -3
  463. package/dist/effects/mention-glow.js +3 -3
  464. package/dist/effects/mesh-drift.cjs +3 -3
  465. package/dist/effects/mesh-drift.js +3 -3
  466. package/dist/effects/message-in.cjs +3 -3
  467. package/dist/effects/message-in.js +3 -3
  468. package/dist/effects/mosaic-flip.cjs +3 -3
  469. package/dist/effects/mosaic-flip.js +3 -3
  470. package/dist/effects/neon-ignite.cjs +3 -3
  471. package/dist/effects/neon-ignite.js +3 -3
  472. package/dist/effects/neon-pulse.cjs +3 -3
  473. package/dist/effects/neon-pulse.js +3 -3
  474. package/dist/effects/neon-write.cjs +3 -3
  475. package/dist/effects/neon-write.js +3 -3
  476. package/dist/effects/neu-press.cjs +3 -3
  477. package/dist/effects/neu-press.js +3 -3
  478. package/dist/effects/noise-reveal.cjs +3 -3
  479. package/dist/effects/noise-reveal.js +3 -3
  480. package/dist/effects/number-roll.cjs +3 -3
  481. package/dist/effects/number-roll.js +3 -3
  482. package/dist/effects/orbit-camera.cjs +3 -3
  483. package/dist/effects/orbit-camera.js +3 -3
  484. package/dist/effects/orbit-in.cjs +3 -3
  485. package/dist/effects/orbit-in.js +3 -3
  486. package/dist/effects/origami.cjs +3 -3
  487. package/dist/effects/origami.js +3 -3
  488. package/dist/effects/page-curl.cjs +3 -3
  489. package/dist/effects/page-curl.js +3 -3
  490. package/dist/effects/pan-reveal.cjs +3 -3
  491. package/dist/effects/pan-reveal.js +3 -3
  492. package/dist/effects/paper-unfold.cjs +3 -3
  493. package/dist/effects/paper-unfold.js +3 -3
  494. package/dist/effects/particle-text.cjs +3 -3
  495. package/dist/effects/particle-text.js +3 -3
  496. package/dist/effects/path-morph.cjs +3 -3
  497. package/dist/effects/path-morph.js +3 -3
  498. package/dist/effects/pearlescent.cjs +3 -3
  499. package/dist/effects/pearlescent.js +3 -3
  500. package/dist/effects/pencil-sketch.cjs +3 -3
  501. package/dist/effects/pencil-sketch.js +3 -3
  502. package/dist/effects/pin-drop.cjs +3 -3
  503. package/dist/effects/pin-drop.js +3 -3
  504. package/dist/effects/pinball.cjs +3 -3
  505. package/dist/effects/pinball.js +3 -3
  506. package/dist/effects/pinch-hint.cjs +3 -3
  507. package/dist/effects/pinch-hint.js +3 -3
  508. package/dist/effects/pixelate-in.cjs +3 -3
  509. package/dist/effects/pixelate-in.js +3 -3
  510. package/dist/effects/pointer-shadow.cjs +3 -3
  511. package/dist/effects/pointer-shadow.js +3 -3
  512. package/dist/effects/portal-open.cjs +3 -3
  513. package/dist/effects/portal-open.js +3 -3
  514. package/dist/effects/price-flip.cjs +3 -3
  515. package/dist/effects/price-flip.js +3 -3
  516. package/dist/effects/product-spin.cjs +3 -3
  517. package/dist/effects/product-spin.js +3 -3
  518. package/dist/effects/rack-focus.cjs +3 -3
  519. package/dist/effects/rack-focus.js +3 -3
  520. package/dist/effects/radial-spectrum.cjs +4 -4
  521. package/dist/effects/radial-spectrum.js +4 -4
  522. package/dist/effects/rain-glass.cjs +3 -3
  523. package/dist/effects/rain-glass.js +3 -3
  524. package/dist/effects/reaction-burst.cjs +3 -3
  525. package/dist/effects/reaction-burst.js +3 -3
  526. package/dist/effects/read-receipt.cjs +3 -3
  527. package/dist/effects/read-receipt.js +3 -3
  528. package/dist/effects/refraction.cjs +3 -3
  529. package/dist/effects/refraction.js +3 -3
  530. package/dist/effects/ring-sweep.cjs +3 -3
  531. package/dist/effects/ring-sweep.js +3 -3
  532. package/dist/effects/ripple-dissolve.cjs +3 -3
  533. package/dist/effects/ripple-dissolve.js +3 -3
  534. package/dist/effects/rope.cjs +3 -3
  535. package/dist/effects/rope.js +3 -3
  536. package/dist/effects/route-draw.cjs +3 -3
  537. package/dist/effects/route-draw.js +3 -3
  538. package/dist/effects/safe-fade.cjs +3 -3
  539. package/dist/effects/safe-fade.js +3 -3
  540. package/dist/effects/sakura.cjs +4 -4
  541. package/dist/effects/sakura.js +4 -4
  542. package/dist/effects/sale-shine.cjs +3 -3
  543. package/dist/effects/sale-shine.js +3 -3
  544. package/dist/effects/sankey-flow.cjs +3 -3
  545. package/dist/effects/sankey-flow.js +3 -3
  546. package/dist/effects/scanline-sweep.cjs +3 -3
  547. package/dist/effects/scanline-sweep.js +3 -3
  548. package/dist/effects/shatter.cjs +3 -3
  549. package/dist/effects/shatter.js +3 -3
  550. package/dist/effects/smoke.cjs +4 -4
  551. package/dist/effects/smoke.js +4 -4
  552. package/dist/effects/snowfall.cjs +3 -3
  553. package/dist/effects/snowfall.js +3 -3
  554. package/dist/effects/soft-body.cjs +3 -3
  555. package/dist/effects/soft-body.js +3 -3
  556. package/dist/effects/sound-particles.cjs +4 -4
  557. package/dist/effects/sound-particles.js +4 -4
  558. package/dist/effects/spatial-float.cjs +3 -3
  559. package/dist/effects/spatial-float.js +3 -3
  560. package/dist/effects/spectrum-mirror.cjs +4 -4
  561. package/dist/effects/spectrum-mirror.js +4 -4
  562. package/dist/effects/splash.cjs +4 -4
  563. package/dist/effects/splash.js +4 -4
  564. package/dist/effects/spooky-float.cjs +3 -3
  565. package/dist/effects/spooky-float.js +3 -3
  566. package/dist/effects/stock-pulse.cjs +3 -3
  567. package/dist/effects/stock-pulse.js +3 -3
  568. package/dist/effects/stream-text.cjs +3 -3
  569. package/dist/effects/stream-text.js +3 -3
  570. package/dist/effects/stroke-draw.cjs +3 -3
  571. package/dist/effects/stroke-draw.js +3 -3
  572. package/dist/effects/success-check.cjs +3 -3
  573. package/dist/effects/success-check.js +3 -3
  574. package/dist/effects/swipe-hint.cjs +3 -3
  575. package/dist/effects/swipe-hint.js +3 -3
  576. package/dist/effects/text-trail.cjs +3 -3
  577. package/dist/effects/text-trail.js +3 -3
  578. package/dist/effects/thinking-glow.cjs +3 -3
  579. package/dist/effects/thinking-glow.js +3 -3
  580. package/dist/effects/tilt-wobble.cjs +3 -3
  581. package/dist/effects/tilt-wobble.js +3 -3
  582. package/dist/effects/typing-dots.cjs +3 -3
  583. package/dist/effects/typing-dots.js +3 -3
  584. package/dist/effects/underline-sweep.cjs +3 -3
  585. package/dist/effects/underline-sweep.js +3 -3
  586. package/dist/effects/vhs-glitch.cjs +3 -3
  587. package/dist/effects/vhs-glitch.js +3 -3
  588. package/dist/effects/vine-grow.cjs +3 -3
  589. package/dist/effects/vine-grow.js +3 -3
  590. package/dist/effects/vinyl-spin.cjs +4 -4
  591. package/dist/effects/vinyl-spin.js +4 -4
  592. package/dist/effects/voice-wave.cjs +3 -3
  593. package/dist/effects/voice-wave.js +3 -3
  594. package/dist/effects/water-drop.cjs +3 -3
  595. package/dist/effects/water-drop.js +3 -3
  596. package/dist/effects/watercolor.cjs +3 -3
  597. package/dist/effects/watercolor.js +3 -3
  598. package/dist/effects/waveform-scope.cjs +4 -4
  599. package/dist/effects/waveform-scope.js +4 -4
  600. package/dist/effects/xmas-snow.cjs +3 -3
  601. package/dist/effects/xmas-snow.js +3 -3
  602. package/dist/effects/xp-gain.cjs +3 -3
  603. package/dist/effects/xp-gain.js +3 -3
  604. package/dist/effects/y2k-shine.cjs +3 -3
  605. package/dist/effects/y2k-shine.js +3 -3
  606. package/dist/element.cjs +1 -1
  607. package/dist/element.js +1 -1
  608. package/dist/element.umd.js +1 -1
  609. package/dist/index.cjs +3 -3
  610. package/dist/index.js +3 -3
  611. package/dist/index.umd.js +1 -1
  612. package/dist/llms-full.txt +7 -1
  613. package/dist/llms.txt +1 -1
  614. package/dist/manifest.json +39 -11
  615. package/dist/presets/extended.cjs +1 -1
  616. package/dist/presets/extended.js +1 -1
  617. package/dist/presets-extended.umd.js +1 -1
  618. package/dist/react.cjs +1 -1
  619. package/dist/react.js +1 -1
  620. package/dist/runtime/drag-snap.cjs +2 -2
  621. package/dist/runtime/drag-snap.iife.js +1 -1
  622. package/dist/runtime/drag-snap.js +2 -2
  623. package/dist/runtime/format-apng.cjs +5 -5
  624. package/dist/runtime/format-apng.iife.js +1 -1
  625. package/dist/runtime/format-apng.js +5 -5
  626. package/dist/runtime/format-css.cjs +5 -5
  627. package/dist/runtime/format-css.iife.js +1 -1
  628. package/dist/runtime/format-css.js +5 -5
  629. package/dist/runtime/format-gif.cjs +5 -5
  630. package/dist/runtime/format-gif.iife.js +1 -1
  631. package/dist/runtime/format-gif.js +5 -5
  632. package/dist/runtime/format-gltf.cjs +2 -2
  633. package/dist/runtime/format-gltf.iife.js +1 -1
  634. package/dist/runtime/format-gltf.js +2 -2
  635. package/dist/runtime/format-motion.cjs +5 -5
  636. package/dist/runtime/format-motion.iife.js +1 -1
  637. package/dist/runtime/format-motion.js +5 -5
  638. package/dist/runtime/format-obj.cjs +2 -2
  639. package/dist/runtime/format-obj.iife.js +1 -1
  640. package/dist/runtime/format-obj.js +2 -2
  641. package/dist/runtime/format-scene.cjs +2 -2
  642. package/dist/runtime/format-scene.iife.js +1 -1
  643. package/dist/runtime/format-scene.js +2 -2
  644. package/dist/runtime/format-sprite.cjs +4 -4
  645. package/dist/runtime/format-sprite.iife.js +1 -1
  646. package/dist/runtime/format-sprite.js +4 -4
  647. package/dist/runtime/format-svg.cjs +4 -4
  648. package/dist/runtime/format-svg.iife.js +1 -1
  649. package/dist/runtime/format-svg.js +4 -4
  650. package/dist/runtime/format-webp.cjs +5 -5
  651. package/dist/runtime/format-webp.iife.js +1 -1
  652. package/dist/runtime/format-webp.js +5 -5
  653. package/dist/runtime/gl.cjs +2 -2
  654. package/dist/runtime/gl.iife.js +1 -1
  655. package/dist/runtime/gl.js +2 -2
  656. package/dist/runtime/gltf-anim.cjs +2 -2
  657. package/dist/runtime/gltf-anim.iife.js +1 -1
  658. package/dist/runtime/gltf-anim.js +2 -2
  659. package/dist/runtime/gltf-decoders.cjs +2 -2
  660. package/dist/runtime/gltf-decoders.iife.js +1 -1
  661. package/dist/runtime/gltf-decoders.js +2 -2
  662. package/dist/runtime/lottie-state.cjs +2 -2
  663. package/dist/runtime/lottie-state.iife.js +1 -1
  664. package/dist/runtime/lottie-state.js +2 -2
  665. package/dist/runtime/physics.cjs +2 -2
  666. package/dist/runtime/physics.iife.js +1 -1
  667. package/dist/runtime/physics.js +2 -2
  668. package/dist/runtime/scroll.cjs +3 -3
  669. package/dist/runtime/scroll.iife.js +1 -1
  670. package/dist/runtime/scroll.js +3 -3
  671. package/dist/runtime/smooth.cjs +2 -2
  672. package/dist/runtime/smooth.iife.js +1 -1
  673. package/dist/runtime/smooth.js +2 -2
  674. package/dist/runtime/text.cjs +2 -2
  675. package/dist/runtime/text.iife.js +1 -1
  676. package/dist/runtime/text.js +2 -2
  677. package/dist/runtime/vector.cjs +4 -4
  678. package/dist/runtime/vector.iife.js +1 -1
  679. package/dist/runtime/vector.js +4 -4
  680. package/dist/runtime.cjs +4 -4
  681. package/dist/runtime.d.cts +1 -1
  682. package/dist/runtime.d.ts +1 -1
  683. package/dist/runtime.iife.js +2 -2
  684. package/dist/runtime.js +6 -6
  685. package/dist/solid.cjs +1 -1
  686. package/dist/solid.js +1 -1
  687. package/dist/svelte.cjs +1 -1
  688. package/dist/svelte.js +1 -1
  689. package/dist/vue.cjs +1 -1
  690. package/dist/vue.js +1 -1
  691. package/dist/widgets/add-to-cart.cjs +6 -6
  692. package/dist/widgets/add-to-cart.js +6 -6
  693. package/dist/widgets/badge-wall.cjs +3 -3
  694. package/dist/widgets/badge-wall.js +3 -3
  695. package/dist/widgets/bar-chart.cjs +2 -2
  696. package/dist/widgets/bar-chart.js +2 -2
  697. package/dist/widgets/bg-generator.cjs +4 -4
  698. package/dist/widgets/bg-generator.js +4 -4
  699. package/dist/widgets/carousel.cjs +3 -3
  700. package/dist/widgets/carousel.js +3 -3
  701. package/dist/widgets/cart-drawer.cjs +3 -3
  702. package/dist/widgets/cart-drawer.js +3 -3
  703. package/dist/widgets/chapter-nav.cjs +2 -2
  704. package/dist/widgets/chapter-nav.js +2 -2
  705. package/dist/widgets/chat-composer.cjs +2 -2
  706. package/dist/widgets/chat-composer.js +2 -2
  707. package/dist/widgets/clock-control.cjs +2 -2
  708. package/dist/widgets/clock-control.js +2 -2
  709. package/dist/widgets/code-export.cjs +3 -3
  710. package/dist/widgets/code-export.js +3 -3
  711. package/dist/widgets/color-picker.cjs +3 -3
  712. package/dist/widgets/color-picker.js +3 -3
  713. package/dist/widgets/command-palette.cjs +3 -3
  714. package/dist/widgets/command-palette.js +3 -3
  715. package/dist/widgets/compare.cjs +2 -2
  716. package/dist/widgets/compare.js +2 -2
  717. package/dist/widgets/countdown.cjs +3 -3
  718. package/dist/widgets/countdown.js +3 -3
  719. package/dist/widgets/cube-gallery.cjs +2 -2
  720. package/dist/widgets/cube-gallery.js +2 -2
  721. package/dist/widgets/date-picker.cjs +3 -3
  722. package/dist/widgets/date-picker.js +3 -3
  723. package/dist/widgets/disclosure.cjs +3 -3
  724. package/dist/widgets/disclosure.js +3 -3
  725. package/dist/widgets/dock.cjs +2 -2
  726. package/dist/widgets/dock.js +2 -2
  727. package/dist/widgets/dotlottie.cjs +5 -5
  728. package/dist/widgets/dotlottie.js +5 -5
  729. package/dist/widgets/equalizer.cjs +3 -3
  730. package/dist/widgets/equalizer.js +3 -3
  731. package/dist/widgets/festival-banner.cjs +3 -3
  732. package/dist/widgets/festival-banner.js +3 -3
  733. package/dist/widgets/field.cjs +3 -3
  734. package/dist/widgets/field.js +3 -3
  735. package/dist/widgets/file-drop.cjs +2 -2
  736. package/dist/widgets/file-drop.js +2 -2
  737. package/dist/widgets/gauge.cjs +2 -2
  738. package/dist/widgets/gauge.js +2 -2
  739. package/dist/widgets/gen-art.cjs +3 -3
  740. package/dist/widgets/gen-art.js +3 -3
  741. package/dist/widgets/gesture-sticker.cjs +3 -3
  742. package/dist/widgets/gesture-sticker.js +3 -3
  743. package/dist/widgets/gl-model.cjs +5 -5
  744. package/dist/widgets/gl-model.js +5 -5
  745. package/dist/widgets/gl-scene.cjs +5 -5
  746. package/dist/widgets/gl-scene.js +5 -5
  747. package/dist/widgets/globe.cjs +3 -3
  748. package/dist/widgets/globe.js +3 -3
  749. package/dist/widgets/gpu-particles.cjs +3 -3
  750. package/dist/widgets/gpu-particles.js +3 -3
  751. package/dist/widgets/gyro-card.cjs +3 -3
  752. package/dist/widgets/gyro-card.js +3 -3
  753. package/dist/widgets/hero-video.cjs +3 -3
  754. package/dist/widgets/hero-video.js +3 -3
  755. package/dist/widgets/hud-panel.cjs +2 -2
  756. package/dist/widgets/hud-panel.js +2 -2
  757. package/dist/widgets/hydrate.cjs +2 -2
  758. package/dist/widgets/hydrate.js +2 -2
  759. package/dist/widgets/install-button.cjs +2 -2
  760. package/dist/widgets/install-button.js +2 -2
  761. package/dist/widgets/kanban.cjs +2 -2
  762. package/dist/widgets/kanban.js +2 -2
  763. package/dist/widgets/keyframe-editor.cjs +5 -5
  764. package/dist/widgets/keyframe-editor.js +5 -5
  765. package/dist/widgets/kpi.cjs +3 -3
  766. package/dist/widgets/kpi.js +3 -3
  767. package/dist/widgets/leaderboard.cjs +3 -3
  768. package/dist/widgets/leaderboard.js +3 -3
  769. package/dist/widgets/liquid-nav.cjs +2 -2
  770. package/dist/widgets/liquid-nav.js +2 -2
  771. package/dist/widgets/location-card.cjs +3 -3
  772. package/dist/widgets/location-card.js +3 -3
  773. package/dist/widgets/lottie-icon.cjs +4 -4
  774. package/dist/widgets/lottie-icon.js +4 -4
  775. package/dist/widgets/lottie-player.cjs +5 -5
  776. package/dist/widgets/lottie-player.js +5 -5
  777. package/dist/widgets/lottie.cjs +3 -3
  778. package/dist/widgets/lottie.js +3 -3
  779. package/dist/widgets/lyrics.cjs +3 -3
  780. package/dist/widgets/lyrics.js +3 -3
  781. package/dist/widgets/masonry-flow.cjs +2 -2
  782. package/dist/widgets/masonry-flow.js +2 -2
  783. package/dist/widgets/menu-toggle.cjs +3 -3
  784. package/dist/widgets/menu-toggle.js +3 -3
  785. package/dist/widgets/menu.cjs +3 -3
  786. package/dist/widgets/menu.js +3 -3
  787. package/dist/widgets/message-list.cjs +2 -2
  788. package/dist/widgets/message-list.js +2 -2
  789. package/dist/widgets/milestones.cjs +2 -2
  790. package/dist/widgets/milestones.js +2 -2
  791. package/dist/widgets/modal.cjs +3 -3
  792. package/dist/widgets/modal.js +3 -3
  793. package/dist/widgets/motion-inspector.cjs +3 -3
  794. package/dist/widgets/motion-inspector.js +3 -3
  795. package/dist/widgets/motion-prefs.cjs +3 -3
  796. package/dist/widgets/motion-prefs.js +3 -3
  797. package/dist/widgets/motion-prompt.cjs +2 -2
  798. package/dist/widgets/motion-prompt.js +2 -2
  799. package/dist/widgets/motion-spec.cjs +4 -4
  800. package/dist/widgets/motion-spec.js +4 -4
  801. package/dist/widgets/motion.cjs +3 -3
  802. package/dist/widgets/motion.js +3 -3
  803. package/dist/widgets/music-player.cjs +2 -2
  804. package/dist/widgets/music-player.js +2 -2
  805. package/dist/widgets/native-preview.cjs +4 -4
  806. package/dist/widgets/native-preview.js +4 -4
  807. package/dist/widgets/nav-morph.cjs +3 -3
  808. package/dist/widgets/nav-morph.js +3 -3
  809. package/dist/widgets/notification-bell.cjs +2 -2
  810. package/dist/widgets/notification-bell.js +2 -2
  811. package/dist/widgets/odometer.cjs +3 -3
  812. package/dist/widgets/odometer.js +3 -3
  813. package/dist/widgets/organic-card.cjs +3 -3
  814. package/dist/widgets/organic-card.js +3 -3
  815. package/dist/widgets/otp.cjs +3 -3
  816. package/dist/widgets/otp.js +3 -3
  817. package/dist/widgets/pagination.cjs +3 -3
  818. package/dist/widgets/pagination.js +3 -3
  819. package/dist/widgets/panorama.cjs +3 -3
  820. package/dist/widgets/panorama.js +3 -3
  821. package/dist/widgets/parallax-layers.cjs +2 -2
  822. package/dist/widgets/parallax-layers.js +2 -2
  823. package/dist/widgets/pause-all.cjs +2 -2
  824. package/dist/widgets/pause-all.js +2 -2
  825. package/dist/widgets/perf-monitor.cjs +3 -3
  826. package/dist/widgets/perf-monitor.js +3 -3
  827. package/dist/widgets/physics-playground.cjs +5 -5
  828. package/dist/widgets/physics-playground.js +5 -5
  829. package/dist/widgets/plugin-card.cjs +4 -4
  830. package/dist/widgets/plugin-card.js +4 -4
  831. package/dist/widgets/plugin-store.cjs +4 -4
  832. package/dist/widgets/plugin-store.js +4 -4
  833. package/dist/widgets/presence.cjs +3 -3
  834. package/dist/widgets/presence.js +3 -3
  835. package/dist/widgets/prize-wheel.cjs +3 -3
  836. package/dist/widgets/prize-wheel.js +3 -3
  837. package/dist/widgets/product-gallery.cjs +3 -3
  838. package/dist/widgets/product-gallery.js +3 -3
  839. package/dist/widgets/progress-ring.cjs +3 -3
  840. package/dist/widgets/progress-ring.js +3 -3
  841. package/dist/widgets/prop-panel.cjs +3 -3
  842. package/dist/widgets/prop-panel.js +3 -3
  843. package/dist/widgets/pull-cord.cjs +3 -3
  844. package/dist/widgets/pull-cord.js +3 -3
  845. package/dist/widgets/radar.cjs +3 -3
  846. package/dist/widgets/radar.js +3 -3
  847. package/dist/widgets/reactions.cjs +3 -3
  848. package/dist/widgets/reactions.js +3 -3
  849. package/dist/widgets/red-envelope.cjs +2 -2
  850. package/dist/widgets/red-envelope.js +2 -2
  851. package/dist/widgets/retro-button.cjs +3 -3
  852. package/dist/widgets/retro-button.js +3 -3
  853. package/dist/widgets/rive.cjs +3 -3
  854. package/dist/widgets/rive.js +3 -3
  855. package/dist/widgets/route-transition.cjs +2 -2
  856. package/dist/widgets/route-transition.js +2 -2
  857. package/dist/widgets/scene.cjs +3 -3
  858. package/dist/widgets/scene.js +3 -3
  859. package/dist/widgets/scroll-ring.cjs +2 -2
  860. package/dist/widgets/scroll-ring.js +2 -2
  861. package/dist/widgets/scroll-scene.cjs +5 -5
  862. package/dist/widgets/scroll-scene.js +5 -5
  863. package/dist/widgets/segmented.cjs +3 -3
  864. package/dist/widgets/segmented.js +3 -3
  865. package/dist/widgets/shader-backdrop.cjs +3 -3
  866. package/dist/widgets/shader-backdrop.js +3 -3
  867. package/dist/widgets/sheet.cjs +3 -3
  868. package/dist/widgets/sheet.js +3 -3
  869. package/dist/widgets/shortcut.cjs +3 -3
  870. package/dist/widgets/shortcut.js +3 -3
  871. package/dist/widgets/skeleton-reveal.cjs +3 -3
  872. package/dist/widgets/skeleton-reveal.js +3 -3
  873. package/dist/widgets/sketch-chart.cjs +3 -3
  874. package/dist/widgets/sketch-chart.js +3 -3
  875. package/dist/widgets/smooth-scroll.cjs +4 -4
  876. package/dist/widgets/smooth-scroll.js +4 -4
  877. package/dist/widgets/snap-carousel.cjs +4 -4
  878. package/dist/widgets/snap-carousel.js +4 -4
  879. package/dist/widgets/sparkline.cjs +3 -3
  880. package/dist/widgets/sparkline.js +3 -3
  881. package/dist/widgets/spatial-card.cjs +2 -2
  882. package/dist/widgets/spatial-card.js +2 -2
  883. package/dist/widgets/star-rating.cjs +2 -2
  884. package/dist/widgets/star-rating.js +2 -2
  885. package/dist/widgets/stepper.cjs +3 -3
  886. package/dist/widgets/stepper.js +3 -3
  887. package/dist/widgets/sticky-wall.cjs +3 -3
  888. package/dist/widgets/sticky-wall.js +3 -3
  889. package/dist/widgets/stories.cjs +2 -2
  890. package/dist/widgets/stories.js +2 -2
  891. package/dist/widgets/suggestion-chips.cjs +3 -3
  892. package/dist/widgets/suggestion-chips.js +3 -3
  893. package/dist/widgets/swipe-deck.cjs +2 -2
  894. package/dist/widgets/swipe-deck.js +2 -2
  895. package/dist/widgets/switch.cjs +3 -3
  896. package/dist/widgets/switch.js +3 -3
  897. package/dist/widgets/tab-bar.cjs +3 -3
  898. package/dist/widgets/tab-bar.js +3 -3
  899. package/dist/widgets/terminal.cjs +2 -2
  900. package/dist/widgets/terminal.js +2 -2
  901. package/dist/widgets/text-splitter.cjs +4 -4
  902. package/dist/widgets/text-splitter.js +4 -4
  903. package/dist/widgets/theme-surface.cjs +3 -3
  904. package/dist/widgets/theme-surface.js +3 -3
  905. package/dist/widgets/theme-switcher.cjs +3 -3
  906. package/dist/widgets/theme-switcher.js +3 -3
  907. package/dist/widgets/tip.cjs +3 -3
  908. package/dist/widgets/tip.js +3 -3
  909. package/dist/widgets/toast-stack.cjs +4 -4
  910. package/dist/widgets/toast-stack.js +4 -4
  911. package/dist/widgets/token-editor.cjs +2 -2
  912. package/dist/widgets/token-editor.js +2 -2
  913. package/dist/widgets/upload-progress.cjs +3 -3
  914. package/dist/widgets/upload-progress.js +3 -3
  915. package/dist/widgets/video-card.cjs +2 -2
  916. package/dist/widgets/video-card.js +2 -2
  917. package/dist/widgets/voice-button.cjs +3 -3
  918. package/dist/widgets/voice-button.js +3 -3
  919. package/dist/widgets/volume-knob.cjs +3 -3
  920. package/dist/widgets/volume-knob.js +3 -3
  921. package/dist/widgets/weather-card.cjs +3 -3
  922. package/dist/widgets/weather-card.js +3 -3
  923. package/dist/widgets/worker-canvas.cjs +4 -4
  924. package/dist/widgets/worker-canvas.js +4 -4
  925. package/dist/widgets/xp-bar.cjs +3 -3
  926. package/dist/widgets/xp-bar.js +3 -3
  927. package/dist/widgets.umd.js +2 -2
  928. package/docs/ai-provider.md +1 -1
  929. package/docs/component-contract.md +12 -2
  930. package/docs/components/usa-dialog.md +1 -1
  931. package/docs/components/usa-modal.md +5 -5
  932. package/docs/components/usa-pull-refresh.md +1 -1
  933. package/docs/components/usa-sheet.md +5 -5
  934. package/docs/contract-report.json +1175 -27
  935. package/docs/contract-report.md +23 -15
  936. package/docs/versions.md +43 -0
  937. package/figma-plugin/code.js +1 -1
  938. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -7,6 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [13.0.1] - 2026-10-10
11
+
12
+ ### Fixed (component contract)
13
+ - **`usa:*` events are now `composed: true`.** The base `emit()` dispatched `bubbles: true, cancelable: true` but not `composed`, although the contract documents composed events since 12.0 — so an event from a `<usa-*>` element inside a shadow root (a Lit / Stencil / Angular-emulated component, or `<usa-dialog>`'s own) stopped at that root. `emit()` and the direct dispatches of `usa:runtime-missing`, `usa:refresh` (`<usa-pull-refresh>`), `usa:hydrated` (`hydrateMotion()`) and `usa:added` now compose. **Behaviour note:** listeners outside a shadow root (e.g. on `document`) now receive these events, with `event.target` retargeted to the outermost shadow host (`event.composedPath()[0]` is still the element). Event names, `detail`, `bubbles` and `cancelable` are unchanged; events fired at `document` (`usa:motion`, `usa:sensitivity`, `usa:degrade`, `usa:native-settings`) are unaffected.
14
+ - **`<usa-modal>` / `<usa-sheet>`: `label` is live.** It was read once on mount, so changing it later left the dialog's accessible name stale. `label` and `persistent` are now observed; `label`, `effect` and `side` update in place — also while the overlay is open (a re-mount would have closed it without `usa:close`). `aria-labelledby` still wins over `label`. `open` stays initial-only (state goes through `show()` / `close()` / `toggle()`), now as a documented exemption.
15
+ - **Contract audit sees every public component.** `scripts/contract-audit.mjs` only recognised `export function defineX(tag = …)`, so `<usa-modal>` and `<usa-sheet>` (`export const defineModal = (tag = 'usa-modal') => defineOverlay(…)`) were never audited (207 of 209). It now audits the `export const` form against the helper it delegates to, and reads `observedAttributes` getters written as a conditional list. The AI manifest scanner had the same gap: `motionary/tooling/manifest.json` now lists `<usa-modal>` / `<usa-sheet>` attributes, events (`usa:open`, `usa:close`) and methods (`show`, `close`, `toggle`) instead of empty lists.
16
+ - **Exemption comments could satisfy their own rule:** a `// contract-exempt: reduced-motion — …` comment matched the reduced-motion guard (`reduced`), so it masked nothing and would have hidden a later regression. The rules now ignore comments.
17
+
18
+ ### Checks
19
+ - `check:contract` requires the audited tag set to equal the manifest's public components (209 = 209) and fails when a new component is not audited ("is in the manifest but not audited").
20
+ - Exemptions are scoped: `// contract-exempt: <rule>(<item>, …) — <reason>`. Per-item rules (`attr-unobserved`, `event-*`, `lifecycle-global-listener`, `error-prefix`) must name their items and mask only those (`exempt-unscoped`); an exemption that masks nothing is a finding (`exempt-unused`); new rule `event-composed`. The 26 existing exemptions were rewritten to the scoped form (no reasons changed) and one added (`<usa-modal>` / `<usa-sheet>` `attr-unobserved(open)`): 209 components, 0 findings, 28 documented exemptions.
21
+ - Event detail shapes are specified: the audit records each `usa:*` event's `detail` shape and `test/fixtures/event-details-13.json` is the spec (154 components, 224 events).
22
+ - New `test/fixes-13-0-1.test.ts`: both define forms, manifest ⇔ audit coverage and the failing `--check`, scoped / unused / cross-element exemptions, overlay attributes live while open, `emit()` flags, events crossing two nested open shadow roots and a closed one (`<usa-modal>`, `<usa-sheet>`, `<usa-dialog>`, `usa:runtime-missing`), every element-level `usa:*` dispatch composed, detail-shape spec. No size budget changed.
23
+
10
24
  ## [13.0.0] - 2026-10-10
11
25
 
12
26
  ### Breaking
package/README.md CHANGED
@@ -2,21 +2,53 @@
2
2
 
3
3
  # Motionary
4
4
 
5
- **Scroll animations and animated Web Components for the modern web — 214 scroll presets, 90 effects, zero dependencies.**
5
+ **Scroll animations, animated Web Components and a zero-dependency motion runtime for the web.**
6
6
 
7
- _Formerly **use-scroll-animate** — same API, same `<usa-*>` tags; the old npm package keeps working as an alias._
7
+ _Formerly **use-scroll-animate**. The old npm package is still published as an alias of the same build._
8
8
 
9
- [![npm](https://img.shields.io/npm/v/motionary?style=flat-square)](https://www.npmjs.com/package/motionary) [![CI](https://github.com/HarrisonCN/Motionary/actions/workflows/ci.yml/badge.svg)](https://github.com/HarrisonCN/Motionary/actions/workflows/ci.yml) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg?style=flat-square)](./LICENSE)
9
+ [![npm](https://img.shields.io/npm/v/motionary?style=flat-square)](https://www.npmjs.com/package/motionary) [![CI](https://github.com/HarrisonCN/Motionary/actions/workflows/ci.yml/badge.svg)](https://github.com/HarrisonCN/Motionary/actions/workflows/ci.yml) [![motionary/core size](https://deno.bundlejs.com/?q=motionary/core&badge)](https://bundlejs.com/?q=motionary/core) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg?style=flat-square)](./LICENSE)
10
10
 
11
- [English](./README.md) | [简体中文](./README_zh.md) | [日本語](./README_ja.md)
11
+ **English** | [简体中文](./README_zh.md) | [日本語](./README_ja.md)
12
12
 
13
- **[🛍 Animation Store](https://harrisoncn.github.io/Motionary/showcase/)** · **[🧩 Components](https://harrisoncn.github.io/Motionary/showcase/components.html)** · **[🎛 Playground](https://harrisoncn.github.io/Motionary/showcase/playground.html)** · **[📜 Story](https://harrisoncn.github.io/Motionary/showcase/story.html)**
14
-
15
- <sub>The Store lets you preview, tweak and copy all <b>227</b> animations — 214 scroll presets plus card, click, physics and page effects — at desktop and phone sizes.</sub>
13
+ **[Animation Store](https://harrisoncn.github.io/Motionary/showcase/)** · **[Components](https://harrisoncn.github.io/Motionary/showcase/components.html)** · **[Component playground](https://harrisoncn.github.io/Motionary/showcase/run.html)** · **[Timeline playground](https://harrisoncn.github.io/Motionary/showcase/playground.html)** · **[Scroll story](https://harrisoncn.github.io/Motionary/showcase/story.html)**
16
14
 
17
15
  </div>
18
16
 
19
- Motionary reveals content as it scrolls into view (IntersectionObserver + Web Animations, or the browser's native scroll timeline) and ships 94 animated custom elements — cards, buttons, physics, page transitions, backgrounds, WebGL and more — that work in any framework, in plain HTML and in desktop web-view apps (Electron, Tauri, WebView2). Everything respects `prefers-reduced-motion`.
17
+ Motionary reveals content as it scrolls into view and gives you 209 animated `<usa-*>` custom elements: cards, buttons,
18
+ physics, page transitions, generative backgrounds, Lottie, WebGL and more. It runs in plain HTML, in React, Vue, Svelte,
19
+ Solid and Angular, and in desktop web views (Electron, Tauri, WebView2). It has no runtime dependencies, every entry point
20
+ is tree-shakeable and has a gzip budget checked in CI, and every animation respects `prefers-reduced-motion`.
21
+
22
+ > 13.0: discover, copy, run. The 12.x tooling is now stable: MCP mounted validation (`validate_snippet { mount: true }`) and
23
+ > version-aware answers (`check_compat`), the Figma plugin export, the [component playground](https://harrisoncn.github.io/Motionary/showcase/run.html),
24
+ > `npx motionary export` and `npx motionary compat`. The import paths deprecated in 11.5 are removed. See
25
+ > [Upgrading to 13](#upgrading-to-13).
26
+
27
+ ## Contents
28
+
29
+ [Features](#features) · [Install](#install) · [Quick start](#quick-start) · [Runtime tiers](#runtime-and-tiers) ·
30
+ [Components](#components-gallery-and-playground) · [CLI](#cli) · [MCP server and AI](#mcp-server-and-ai) ·
31
+ [Figma plugin](#figma-plugin) · [Accessibility](#accessibility) · [Size budgets](#size-budgets) ·
32
+ [Upgrading to 13](#upgrading-to-13) · [Versions](#versions-and-compatibility) · [Docs](#documentation) ·
33
+ [Contributing](#contributing) · [Reference](#reference)
34
+
35
+ ## Features
36
+
37
+ - **214 scroll-reveal presets** in 14 families (33 in the core, 181 more in `motionary/presets/extended`): fades, zooms,
38
+ 3D flips, clip-path shapes, blur and mask, bounce, depth, glitch, and scroll-linked `scrub-*`. Also `timeline()`,
39
+ `staggerChildren()` and `parallax()`.
40
+ - **209 `<usa-*>` Web Components**: 91 in `motionary/components` (by category) and 118 widgets, one entry point each
41
+ (`motionary/widgets/<name>`). Plus 141 effects with their own entry points (`motionary/effects/<name>`).
42
+ - **Motion Core**: `createMotion()` from `motionary/core`, a plugin-based engine at about 2.5 KB gzip (budget 10 KB).
43
+ - **A runtime of its own**: `motionary/runtime` (ticker, tween, timeline) plus 20 modules: scroll scenes, smooth scrolling,
44
+ text splitting, SVG morphing, sprites, GIF / APNG / WebP, Lottie and dotLottie, WebGL2, glTF / OBJ, 2D physics. They are
45
+ grouped in three tiers, and you pay only for the modules you import.
46
+ - **Any framework**: `motionary/react`, `motionary/vue`, `motionary/svelte`, `motionary/solid` and `motionary/angular`, plus
47
+ element wrappers in `motionary/components/react` · `vue` · `svelte` · `solid`. Importing on the server does nothing.
48
+ - **Tooling**: an MCP server for AI assistants, a local motion parser with an optional LLM provider, a Figma plugin, a
49
+ CLI that exports to CSS / mini program WXSS / HarmonyOS ArkTS, and codemods for every major.
50
+ - **Accessible by default**: reduced motion everywhere, user-facing motion controls, and one component contract
51
+ (attributes, events, keyboard, lifecycle) checked in CI.
20
52
 
21
53
  ## Install
22
54
 
@@ -24,41 +56,77 @@ Motionary reveals content as it scrolls into view (IntersectionObserver + Web An
24
56
  npm i motionary
25
57
  ```
26
58
 
59
+ No build step? Use the CDN. URLs pin the major version (`@13`):
60
+
27
61
  ```html
28
- <!-- CDN (no build) -->
29
- <script src="https://unpkg.com/motionary@13/dist/index.umd.js"></script> <!-- window.ScrollAnimate -->
62
+ <script src="https://unpkg.com/motionary@13/dist/index.umd.js"></script> <!-- scroll API: window.ScrollAnimate -->
30
63
  <script src="https://unpkg.com/motionary@13/dist/presets-extended.umd.js"></script> <!-- +181 presets -->
31
- <script src="https://unpkg.com/motionary@13/dist/components.umd.js"></script> <!-- every <usa-*>, window.UsaComponents -->
64
+ <script src="https://unpkg.com/motionary@13/dist/components.umd.js"></script> <!-- the motionary/components elements: window.UsaComponents -->
65
+ <script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script> <!-- the widgets: window.UsaWidgets -->
32
66
  ```
33
67
 
34
- jsDelivr works too: `https://cdn.jsdelivr.net/npm/motionary@13/dist/…`. Existing `use-scroll-animate` installs and `unpkg.com/use-scroll-animate@6` URLs keep working.
68
+ jsDelivr works too: `https://cdn.jsdelivr.net/npm/motionary@13/dist/…`. Already on `use-scroll-animate`? It keeps
69
+ working, at the same versions. To switch, replace the name in imports and URLs ([details](./docs/versions.md)).
35
70
 
36
- ## 30-second quickstart
71
+ ## Quick start
37
72
 
38
- Mark elements with `data-sa` and pick a preset with `data-sa-animation` (every option has a `data-sa-*` attribute), or use the JS API:
73
+ ### HTML: data attributes
39
74
 
40
75
  ```html
41
- <!-- 1. HTML only: data attributes + one init() call -->
42
76
  <h2 data-sa data-sa-animation="fade-in-up">Hello</h2>
43
77
  <div data-sa data-sa-animation="bounce-in-up" data-sa-delay="150">Card</div>
78
+
44
79
  <script type="module">
45
80
  import ScrollAnimate from 'motionary';
46
81
  import 'motionary/presets/extended'; // optional: +181 presets (bounce-in-up, clip-diamond, …)
47
- ScrollAnimate.init(); // picks up every [data-sa]
82
+ ScrollAnimate.init(); // picks up every [data-sa]
48
83
  </script>
49
84
  ```
50
85
 
86
+ Every option has a `data-sa-*` attribute ([API reference](./docs/API.md)).
87
+
88
+ ### JavaScript
89
+
51
90
  ```js
52
- // 2. JS API
53
- import ScrollAnimate, { staggerChildren, parallax, timeline } from 'motionary';
91
+ import ScrollAnimate, { staggerChildren, parallax } from 'motionary';
54
92
 
55
93
  ScrollAnimate.observe('.card', { animation: 'zoom-in-up', duration: 800, easing: 'spring' });
56
94
  staggerChildren(document.querySelector('.grid'), { animation: 'stagger-pop', stagger: 60 });
57
95
  parallax('.hero-bg', { speed: 0.3 });
96
+ // native scroll timeline, off the main thread where the browser supports it
58
97
  ScrollAnimate.observe('.logo', { animation: 'scrub-spin', engine: 'css', viewRange: ['cover 0%', 'cover 100%'] });
59
98
  ```
60
99
 
61
- Frameworks — each adapter is its own entry point and cleans up on unmount:
100
+ ### Motion Core (`motionary/core`)
101
+
102
+ ```js
103
+ import { createMotion } from 'motionary/core';
104
+ import { retro, cinema } from 'motionary/plugins';
105
+
106
+ const motion = createMotion().use(retro, cinema);
107
+ motion.reveal('.card', 'fade-up', { stagger: 80 }); // scroll-in entrances
108
+ motion.bind(button, 'vhs-glitch', { trigger: 'click' }); // an effect on a trigger
109
+ await motion.play(hero, 'dolly-in', { duration: 900 }); // play once and wait for it
110
+ ```
111
+
112
+ More: [docs/core.md](./docs/core.md).
113
+
114
+ ### Web Components
115
+
116
+ ```html
117
+ <script type="module">
118
+ import { defineComponents } from 'motionary/components';
119
+ defineComponents(); // or lazyDefine() from 'motionary/components/lazy': loads only the tags on the page
120
+ </script>
121
+
122
+ <usa-card effect="holo">…</usa-card>
123
+ <usa-button deform="gooey">Buy</usa-button>
124
+ <usa-fx effect="confetti" trigger="click"><button>Celebrate</button></usa-fx>
125
+ ```
126
+
127
+ ### Frameworks
128
+
129
+ Each adapter is its own entry point and cleans up on unmount.
62
130
 
63
131
  ```jsx
64
132
  // React
@@ -94,90 +162,255 @@ const { animateRef } = useScrollAnimate({ animation: 'zoom-in' });
94
162
  ```jsx
95
163
  // Solid
96
164
  import { scrollAnimate } from 'motionary/solid';
97
- scrollAnimate; // keep the directive import (TypeScript)
165
+ scrollAnimate; // keeps the directive import (TypeScript)
98
166
  export const Card = () => <div use:scrollAnimate={{ animation: 'blur-in-up' }}>Hello</div>;
99
167
  ```
100
168
 
101
169
  ```ts
102
- // Angular (standalone) — the animated Web Components
170
+ // Angular (standalone): the <usa-*> elements
103
171
  import { APP_INITIALIZER, CUSTOM_ELEMENTS_SCHEMA, Component } from '@angular/core';
104
- import { usaInitializer } from 'motionary/angular';
105
- import 'motionary/presets/extended'; // lets <usa-reveal effect> use every preset name
106
- // app.config.ts: providers: [{ provide: APP_INITIALIZER, multi: true, useFactory: usaInitializer() }]
172
+ import { provideUsa } from 'motionary/angular';
173
+ // app.config.ts: providers: [provideUsa(APP_INITIALIZER, ['click', 'ui'])] (the categories to register)
107
174
  @Component({ standalone: true, schemas: [CUSTOM_ELEMENTS_SCHEMA],
108
- template: `<usa-reveal effect="bounce-in-up"><h2>Hello</h2></usa-reveal>` })
109
- export class Hero {}
175
+ template: `<usa-checkbox label="Motion" [checked]="on" (usa:change)="on = $any($event).detail.checked"></usa-checkbox>` })
176
+ export class Settings { on = false; }
110
177
  ```
111
178
 
112
- > 11.5: Angular has the top-level entry `motionary/angular` (`motionary/angular` still works until 13.0). Layer subpaths and deprecated paths: [docs/public-api.md](./docs/public-api.md) · `npx motionary doctor`.
113
- > 11.6: `suggestMotion(text, { provider })` from `motionary/tooling/ai` — local parser by default, optional user-supplied LLM ([docs/ai-provider.md](./docs/ai-provider.md)).
114
- > 11.7: every `<usa-*>` element is audited against one contract — attributes, events, keyboard, lifecycle, reduced motion, errors ([docs/component-contract.md](./docs/component-contract.md), [report](./docs/contract-report.md)).
115
- > 11.9: preparing for 12.0 — [docs/upgrading-12.md](./docs/upgrading-12.md) · `npx motionary doctor` · `npx usa-codemod-12 --write`.
116
- > 12.0: one component contract for every `<usa-*>` element, enforced in CI — [docs/component-contract.md](./docs/component-contract.md) · upgrading: [docs/upgrading-12.md](./docs/upgrading-12.md).
117
- > 12.1: cross-platform 3.0 — `npx motionary export --target css|wxss|arkts` for mini programs and HarmonyOS ArkUI, plus a [cross-platform previewer](https://harrisoncn.github.io/Motionary/showcase/xplat.html) — [docs/cross-platform.md](./docs/cross-platform.md).
118
- > 12.2: `motionary-mcp` `validate_snippet { mount: true }` mounts generated code in a headless DOM with the real bundles and checks it against the component contract — [docs/mcp.md](./docs/mcp.md#mounted-validation-122).
119
- > 12.3: the Figma plugin exports motion tokens (W3C JSON + CSS) and a runnable HTML page per selection, prerequisites in order — [figma-plugin/README.md](./figma-plugin/README.md).
120
- > 12.4: [component playground](https://harrisoncn.github.io/Motionary/showcase/run.html) — every component as a runnable page with its prerequisites and tier, one-click copy.
121
- > 12.5: version compatibility — the manifest records when each component / module arrived and changed; `motionary-mcp` answers for your installed version; `npx motionary compat <version>` — [docs/version-compat.md](./docs/version-compat.md).
122
- > 13.0: discover, copy, run — the 12.x tooling is stable (MCP mounted validation `validate_snippet { mount }` + version-aware answers `check_compat`, Figma export, component playground, `motionary export`, `motionary compat`); the import paths deprecated in 11.5 are removed — [docs/upgrading-13.md](./docs/upgrading-13.md).
123
- > 12.9: preparing for 13.0 — the import paths deprecated in 11.5 are removed in 13.0: [docs/upgrading-13.md](./docs/upgrading-13.md) · `npx motionary doctor` · `npx usa-codemod-13 --write`.
179
+ SSR, Next.js, Nuxt and SvelteKit: [docs/frameworks-ssr.md](./docs/frameworks-ssr.md). Every public subpath by layer:
180
+ [docs/public-api.md](./docs/public-api.md).
124
181
 
125
- Animated components need no framework at all:
182
+ ## Runtime and tiers
126
183
 
127
- ```html
128
- <script type="module">
129
- import { defineComponents } from 'motionary/components';
130
- defineComponents(); // or lazyDefine() from 'motionary/components/lazy'
131
- </script>
132
- <usa-card effect="holo">…</usa-card>
133
- <usa-button deform="gooey">Buy</usa-button>
134
- <usa-fx effect="confetti" trigger="click"><button>Celebrate</button></usa-fx>
184
+ `motionary/runtime` is Motionary's own animation runtime: a shared ticker, tween and timeline engine, and one module per
185
+ feature or file format (`motionary/runtime/<module>`). Register what you use with `use()`. Each module belongs to a tier,
186
+ and a module only depends on its own tier or lower ones, so a basic page never downloads WebGL, 3D or physics code.
187
+
188
+ | Tier | Modules | Bundle (gzip, 13.0) | Budget |
189
+ |---|---|---:|---:|
190
+ | **Basic** | core (ticker, tween, timeline), `scroll`, `text`, `format-css`, `format-motion` | 10.83 KB | 12 KB |
191
+ | **Standard** | basic + `smooth`, `drag-snap`, `format-svg`, `format-sprite`, `format-gif`, `format-apng`, `format-webp`, `vector` (Lottie / dotLottie), `lottie-state`; official Rive runtime | 33.74 KB | 37 KB |
192
+ | **Advanced** | standard + `gl` (WebGL2), `format-gltf`, `format-obj`, `gltf-anim`, `gltf-decoders` (Draco / KTX2), `physics`, `format-scene` | 54.55 KB | 60 KB |
193
+
194
+ ```js
195
+ import { use } from 'motionary/runtime';
196
+ import { scroll } from 'motionary/runtime/scroll';
197
+ import { defineScrollScene } from 'motionary/components/widgets';
198
+
199
+ use(scroll); // register the module first (this also registers the core)
200
+ defineScrollScene(); // then the component that needs it
135
201
  ```
136
202
 
137
- ## What's inside
203
+ A component that needs a module shows a **Requires:** badge in the gallery, and it throws a clear error (install, import,
204
+ CDN) when the module is missing. Details: [docs/runtime-tiers.md](./docs/runtime-tiers.md), one page per module in
205
+ [docs/runtime/](./docs/runtime/), and the [module and prerequisite tables](#reference) at the end of this README.
206
+
207
+ ## Components, gallery and playground
138
208
 
139
- | Area | What you get |
209
+ | Page | What it does |
140
210
  |---|---|
141
- | **Scroll presets** | **214** reveal presets (33 core + 181 in `motionary/presets/extended`) in 14 families — fades, zooms, 3D flips & doors, overshoot slides, clip-path shapes, blur & mask, bounce & elastic, colour & light, depth, glitch / typewriter, stagger-ready and scroll-linked `scrub-*`; plus `timeline()` with 10 timeline presets |
142
- | **Cards, clicks & button morphs** | `<usa-card>` with 10 effects (flip, holo, glass, border glow, …), stacks & 3D carousel; 7 click components with 4 button deforms (squash · wobble · gooey · dent) and icon morphs; 12 registered card / click effects (holo, book-open, shockwave, ink-splash, emoji-rain, …) |
143
- | **Physics & bounce** | `<usa-spring>`, `<usa-draggable>` (spring-back · inertia · snap), `<usa-overscroll>`; `spring()` / `solveSpring()` with 7 spring presets; 7 physics effects (bounce-in, rubber-band, gravity-text, bell-swing, …) |
144
- | **Page transitions** | `pageTransition()`, `viewTransition()`, `sharedTransition()`, `flip()`, MPA transitions; 7 page effects (curtain, iris, pixel-dissolve, blinds, velocity-skew, …); `<usa-dialog>`, `<usa-view-switch>` |
145
- | **Generative backgrounds** | 6 canvas backgrounds (flow-field, voronoi, mesh-gradient, starfield, metaballs, contours) + 9 background elements (aurora, particles, grain, blobs, water ripple, Acrylic / Mica, …) |
146
- | **Sound-reactive** | `<usa-audio>` + Web Audio beat detection (`createBeatDetector()`, `onBeat()`); 3 audio visualisers (spectrum-bars, pulse-ring, wave-ring); any effect can fire on the beat |
147
- | **Cursor & gestures** | 5 cursor effects (comet / ribbon / sparkle trails, magnetic dots, spotlight) + `<usa-cursor>`; fling · twist · long-press → effects with `<usa-gesture-fx>`; `<usa-swipeable>`, `<usa-pinch-zoom>` |
148
- | **Themes** | 5 theme packs (neon · paper · glass · retro · brutalist) via `<usa-motion-theme>` / `applyMotionTheme()`, each with a signature effect; motion tokens (`/components/tokens`) |
149
- | **Micro-interactions** | 23 ready-made UI moments: copy-success, like-heart, add-to-cart, send-plane, upvote, trash-shake, input-shake, success-check, notify-badge, … |
150
- | **`<usa-player>` & stories** | `<usa-player>` plays JSON animations (keyframe tracks, presets, effects; load / view / scroll / click triggers) exported from the Playground; `<usa-story>` with 6 scroll-story templates |
151
- | **WebGL** | `<usa-shader>`, `<usa-distort>`, `<usa-liquid>`, `<usa-post-fx>` — 5 particle presets, 9 post effects (bloom, CRT, chromatic, glitch, …) with CSS fallbacks and a power-saving governor |
211
+ | [Animation Store](https://harrisoncn.github.io/Motionary/showcase/) | Preview, tweak and copy every preset and effect at desktop and phone sizes |
212
+ | [Components](https://harrisoncn.github.io/Motionary/showcase/components.html) | The gallery: every `<usa-*>` element with its attributes, prerequisites and tier |
213
+ | [Component playground](https://harrisoncn.github.io/Motionary/showcase/run.html) | Each component as a complete runnable page: edit, **Run**, **Copy** or **Download .html**; deep links like `run.html#usa-tilt` |
214
+ | [Timeline playground](https://harrisoncn.github.io/Motionary/showcase/playground.html) | Visual keyframe editor; exports JSON for `<usa-player>` |
215
+ | [Scroll story](https://harrisoncn.github.io/Motionary/showcase/story.html) | `<usa-story>` scroll-storytelling templates |
216
+ | [Cross-platform previewer](https://harrisoncn.github.io/Motionary/showcase/xplat.html) | One preset on the web, in a mini program and in HarmonyOS ArkUI |
217
+ | [demo/index.html](./demo/index.html) | Every preset, no build step (open it locally) |
218
+
219
+ Import one category (`motionary/components/cards`), everything (`motionary/components`), the CSS-on-demand build
220
+ (`motionary/components/lite`), or one widget (`motionary/widgets/<name>`, e.g. `motionary/widgets/toast-stack`).
221
+ Every element: [docs/components.md](./docs/components.md), one page per element in
222
+ [docs/components/](./docs/components/README.md), every entry point in [docs/entry-points.md](./docs/entry-points.md).
223
+
224
+ <details>
225
+ <summary><b>The 91 elements in <code>motionary/components</code></b></summary>
226
+
227
+ | Category | Entry | Elements |
228
+ |---|---|---|
229
+ | **Scroll reveal** | `motionary/components/reveal` | `<usa-reveal>` · `<usa-stagger>` · `<usa-scroll-progress>` · `<usa-scrolly>` |
230
+ | **Text** | `motionary/components/text` | `<usa-typewriter>` · `<usa-split-text>` · `<usa-scramble>` · `<usa-counter>` · `<usa-shimmer-text>` · `<usa-text-rotate>` · `<usa-wave-text>` · `<usa-glitch>` · `<usa-gradient-text>` · `<usa-handwriting>` · `<usa-scroll-highlight>` |
231
+ | **Interaction** | `motionary/components/interaction` | `<usa-ripple>` · `<usa-magnetic>` · `<usa-tilt>` · `<usa-spotlight>` · `<usa-press>` |
232
+ | **Feedback** | `motionary/components/feedback` | `<usa-spinner>` · `<usa-skeleton>` · `<usa-progress>` · `<usa-toaster>` · `<usa-check>` |
233
+ | **Backgrounds** | `motionary/components/background` | `<usa-aurora>` · `<usa-particles>` · `<usa-grain>` · `<usa-marquee>` · `<usa-acrylic>` · `<usa-grid-glow>` · `<usa-blobs>` · `<usa-water-ripple>` · `<usa-dot-network>` |
234
+ | **Transitions** | `motionary/components/transitions` | `<usa-dialog>` · `<usa-accordion>` · `<usa-view-switch>` |
235
+ | **Spring & physics** | `motionary/components/physics` | `<usa-spring>` · `<usa-draggable>` · `<usa-overscroll>` |
236
+ | **Cards** | `motionary/components/cards` | `<usa-card>` · `<usa-card-stack>` · `<usa-sticky-stack>` · `<usa-carousel-3d>` |
237
+ | **Click & buttons** | `motionary/components/click` | `<usa-click>` · `<usa-button>` · `<usa-icon-morph>` · `<usa-like>` · `<usa-hold>` · `<usa-double-tap>` · `<usa-checkbox>` |
238
+ | **UI kit** | `motionary/components/ui` | `<usa-tabs>` · `<usa-drawer>` · `<usa-bottom-sheet>` · `<usa-pull-refresh>` · `<usa-fab>` · `<usa-navbar>` · `<usa-slider>` · `<usa-popover>` · `<usa-badge>` · `<usa-avatar-stack>` |
239
+ | **Page-wide** | `motionary/components/page` | `<usa-cursor>` · `<usa-fullpage>` · `<usa-loading-bar>` · `<usa-back-to-top>` · `<usa-ambient>` · `<usa-splash>` · `<usa-auto-skeleton>` · `<usa-motion-switch>` |
240
+ | **Timeline** | `motionary/components/timeline` | `<usa-timeline>` |
241
+ | **Gestures** | `motionary/components/gesture` | `<usa-swipeable>` · `<usa-pinch-zoom>` |
242
+ | **SVG** | `motionary/components/svg` | `<usa-draw>` · `<usa-morph>` · `<usa-mask-reveal>` · `<usa-anim-icon>` |
243
+ | **WebGL** | `motionary/components/webgl` | `<usa-shader>` · `<usa-distort>` · `<usa-liquid>` · `<usa-post-fx>` |
244
+ | **3D depth** | `motionary/components/depth` | `<usa-cube>` · `<usa-depth>` |
245
+ | **Layout** | `motionary/components/layout` | `<usa-auto-animate>` · `<usa-masonry>` |
246
+ | **Packs** | `motionary/components/packs` | `<usa-pack>` |
247
+ | **Effect registry** | `motionary/components/fx` | `<usa-fx>` |
248
+ | **Effect packs** | `motionary/components/effects` | `<usa-player>` · `<usa-story>` · `<usa-audio>` · `<usa-motion-theme>` · `<usa-gesture-fx>` |
249
+
250
+ </details>
251
+
252
+ ## CLI
253
+
254
+ Everything ships in the `motionary` package and runs with `npx`:
255
+
256
+ | Command | What it does |
257
+ |---|---|
258
+ | `npx motionary doctor [paths…] [--json]` | Lists removed import paths and legacy event names in your project. Exits with code 1 when it finds any, so you can use it in CI |
259
+ | `npx motionary export --target css\|wxss\|arkts [--presets a,b] [--rpx] [--out file]` | Exports presets and motion tokens to CSS, mini program WXSS or HarmonyOS ArkTS ([docs/cross-platform.md](./docs/cross-platform.md)) |
260
+ | `npx motionary compat <version> [--json]` | What a project on that version can use, and what changed after it ([docs/version-compat.md](./docs/version-compat.md)) |
261
+ | `npx usa-codemod-13 [--write] [paths…]` | Rewrites the paths removed in 13.0 and CDN URLs pinned to `@10` / `@11` / `@12`. It is a dry run unless you pass `--write`. `usa-codemod-5` … `usa-codemod-12` cover the earlier majors |
262
+ | `npx create-motionary-plugin <name>` | Scaffolds an effect plugin with tests and a signing script |
263
+ | `npx -y -p motionary motionary-mcp` | Starts the MCP server (next section) |
264
+
265
+ ## MCP server and AI
266
+
267
+ `motionary-mcp` is a read-only [Model Context Protocol](https://modelcontextprotocol.io) server. It lets Claude, Cursor,
268
+ VS Code, Windsurf, Zed and other MCP clients look up the component catalog and get snippets that already install, import
269
+ and register every prerequisite in the right order.
270
+
271
+ ```json
272
+ { "mcpServers": { "motionary": { "command": "npx", "args": ["-y", "-p", "motionary", "motionary-mcp"] } } }
273
+ ```
152
274
 
153
- 90 effects share one registry (`registerEffect()` / `playEffect()` / `bindEffect()` / `<usa-fx>`, `motionary/components/fx`); the 5.x packs live in `motionary/components/effects`.
275
+ Claude Code: `claude mcp add motionary -- npx -y -p motionary motionary-mcp`.
154
276
 
155
- ### All 94 animated components
277
+ - Tools: `list_components`, `search_components`, `get_component`, `get_example`, `scaffold_snippet`, `suggest_motion`,
278
+ `validate_snippet`, `check_compat`.
279
+ - `validate_snippet { mount: true }` mounts the markup in jsdom (an optional peer: `npm i -D jsdom`) with the real bundles
280
+ and checks it against the component contract. The snippet's own scripts never run.
281
+ - Answers match the version installed in your project. `check_compat` lists what that version is missing or does differently.
282
+ - Full guide: [docs/mcp.md](./docs/mcp.md).
156
283
 
157
- Import one category (`motionary/components/cards`), everything (`motionary/components`), the CSS-on-demand build (`/components/lite`), or let `lazyDefine()` load only the tags on the page. Wrappers: `/components/react`, `/vue`, `/svelte`, `/solid`, `/angular`.
284
+ **Motion from text.** `motionary/tooling/ai` turns a description like "fade the cards up slowly, one after another" into
285
+ an effect, keyframes, CSS and matching components. The default parser is local and deterministic (English and
286
+ Chinese). To use your own LLM, pass a provider to `suggestMotion()`. Motionary bundles no vendor SDK and makes no
287
+ network request unless you pass a provider. Answers are checked against a JSON Schema, and the local result is used if
288
+ they fail.
158
289
 
159
- | Entry | Elements |
290
+ ```ts
291
+ import { suggestMotion } from 'motionary/tooling/ai';
292
+ const { intent, source } = await suggestMotion('cards cascade in like falling dominoes', { provider }); // provider is optional
293
+ el.animate(intent.keyframes, intent.options);
294
+ ```
295
+
296
+ More: [docs/ai-provider.md](./docs/ai-provider.md) · [prompt guide](./docs/ai-prompt-guide.md) · [AGENTS.md](./AGENTS.md) ·
297
+ the site serves [`components.json`](https://harrisoncn.github.io/Motionary/components.json) and
298
+ [`llms.txt`](https://harrisoncn.github.io/Motionary/llms.txt).
299
+
300
+ ## Figma plugin
301
+
302
+ [figma-plugin/](./figma-plugin/README.md) (also in `node_modules/motionary/figma-plugin/`) exports the current selection
303
+ as a **complete HTML page** (tokens, prerequisite scripts in order, one element per layer), **CSS tokens** and
304
+ **motion.tokens.json** (W3C design tokens). A layer named after a component (`usa-tilt`) becomes that element. Figma
305
+ variables `motion/duration/*` and `motion/easing/*` override the default tokens. The plugin has no network access and
306
+ never edits the document. See [figma-plugin/README.md](./figma-plugin/README.md) and [docs/motion-tokens.md](./docs/motion-tokens.md).
307
+
308
+ ## Accessibility
309
+
310
+ - With `prefers-reduced-motion: reduce`, scroll reveals show content right away (no entrance, parallax or scrub), and
311
+ components switch to calm states (`staticAlternative()`, `adaptKeyframes()`).
312
+ - `motionary/components/a11y`: `setMotionSensitivity()` lets users turn off flashes, loops or parallax. It also has `announce()`
313
+ for live regions, `auditMotionA11y()` and `baselineReport()`. `<usa-motion-switch>` is a ready-made motion toggle for users.
314
+ - Every element follows one [component contract](./docs/component-contract.md) (keyboard, focus, events, lifecycle,
315
+ reduced motion), and `npm run check:contract` enforces it in CI.
316
+ - More: [docs/accessibility.md](./docs/accessibility.md).
317
+
318
+ ## Size budgets
319
+
320
+ Every entry point has a fixed gzip budget in [`size-budget.json`](./size-budget.json) (401 entries). CI fails when an
321
+ entry goes over its budget, and budgets are never raised automatically. Measured on the 13.0.0 build (minified + gzip):
322
+
323
+ | What you import | gzip | Budget |
324
+ |---|---:|---:|
325
+ | `motionary/core` (`createMotion`) | 2.53 KB | 10.00 KB |
326
+ | `import ScrollAnimate from 'motionary'` (default instance) | 5.49 KB | 6.00 KB |
327
+ | Everything from `motionary` | 8.77 KB | 9.75 KB |
328
+ | `dist/index.umd.js` (CDN) | 8.93 KB | 9.75 KB |
329
+ | `parallax()` alone | 0.94 KB | 2.00 KB |
330
+ | `motionary/presets/extended` (181 presets) | 4.69 KB | 5.25 KB |
331
+ | `motionary/runtime` (runtime core) | 5.42 KB | 5.50 KB |
332
+ | `motionary/components/reveal` | 4.32 KB | 5.00 KB |
333
+ | `motionary/components/lite` (every element, CSS on demand) | 69.61 KB | 70.00 KB |
334
+ | `motionary/components` (every element + CSS) | 85.66 KB | 93.75 KB |
335
+ | `dist/components.umd.js` (CDN, everything) | 107.40 KB | 115.75 KB |
336
+
337
+ By default there are no scroll listeners (IntersectionObserver is used instead). Animations stay on the compositor
338
+ (`transform`, `opacity`, `filter`, `clip-path`). Imports have no side effects
339
+ ([docs/tree-shaking.md](./docs/tree-shaking.md)). Every PR also measures first-screen transfer, script time, GPU resources
340
+ and frame stability in headless Chrome ([docs/perf-ci.md](./docs/perf-ci.md)). Source maps are not shipped to npm. They are
341
+ attached to each GitHub release instead ([docs/source-maps.md](./docs/source-maps.md)). More: [docs/performance.md](./docs/performance.md).
342
+
343
+ **Browsers:** evergreen browsers since 2023 (Chrome / Edge ≥ 111, Safari ≥ 16.4, Firefox ≥ 115, WebView2, Electron ≥ 24).
344
+ Motionary uses View Transitions and scroll-driven animations where the browser has them, and falls back to JavaScript
345
+ where it does not. `baselineReport()` checks a given browser.
346
+
347
+ ## Upgrading to 13
348
+
349
+ 13.0 breaks one thing: **the import paths deprecated in 11.5 are removed.** Their replacements serve the same files,
350
+ so behaviour and bundle size do not change.
351
+
352
+ ```bash
353
+ npx motionary doctor # lists every removed path (and any legacy event name) in your project
354
+ npx usa-codemod-13 --write # rewrites them, plus CDN URLs pinned to @10 / @11 / @12 → @13
355
+ ```
356
+
357
+ | Removed | Use instead |
160
358
  |---|---|
161
- | **Scroll reveal** (`/components/reveal`) | `<usa-reveal>` · `<usa-stagger>` · `<usa-scroll-progress>` · `<usa-scrolly>` |
162
- | **Text** (`/components/text`) | `<usa-typewriter>` · `<usa-split-text>` · `<usa-scramble>` · `<usa-counter>` · `<usa-shimmer-text>` · `<usa-text-rotate>` · `<usa-wave-text>` · `<usa-glitch>` · `<usa-gradient-text>` · `<usa-handwriting>` · `<usa-scroll-highlight>` |
163
- | **Interaction** (`/components/interaction`) | `<usa-ripple>` · `<usa-magnetic>` · `<usa-tilt>` · `<usa-spotlight>` · `<usa-press>` · `<usa-switch>` |
164
- | **Feedback** (`/components/feedback`) | `<usa-spinner>` · `<usa-skeleton>` · `<usa-progress>` · `<usa-toaster>` · `<usa-check>` |
165
- | **Backgrounds** (`/components/background`) | `<usa-aurora>` · `<usa-particles>` · `<usa-grain>` · `<usa-marquee>` · `<usa-acrylic>` · `<usa-grid-glow>` · `<usa-blobs>` · `<usa-water-ripple>` · `<usa-dot-network>` |
166
- | **Transitions** (`/components/transitions`) | `<usa-dialog>` · `<usa-accordion>` · `<usa-view-switch>` |
167
- | **Spring & physics** (`/components/physics`) | `<usa-spring>` · `<usa-draggable>` · `<usa-overscroll>` |
168
- | **Cards** (`/components/cards`) | `<usa-card>` · `<usa-card-stack>` · `<usa-sticky-stack>` · `<usa-carousel-3d>` |
169
- | **Click & buttons** (`/components/click`) | `<usa-click>` · `<usa-button>` · `<usa-icon-morph>` · `<usa-like>` · `<usa-hold>` · `<usa-double-tap>` · `<usa-checkbox>` |
170
- | **UI kit** (`/components/ui`) | `<usa-tabs>` · `<usa-drawer>` · `<usa-bottom-sheet>` · `<usa-pull-refresh>` · `<usa-fab>` · `<usa-navbar>` · `<usa-slider>` · `<usa-popover>` · `<usa-badge>` · `<usa-avatar-stack>` |
171
- | **Page-wide** (`/components/page`) | `<usa-cursor>` · `<usa-fullpage>` · `<usa-loading-bar>` · `<usa-back-to-top>` · `<usa-ambient>` · `<usa-splash>` · `<usa-auto-skeleton>` · `<usa-motion-switch>` |
172
- | **Timeline** (`/components/timeline`) | `<usa-timeline>` |
173
- | **Gestures** (`/components/gesture`) | `<usa-swipeable>` · `<usa-pinch-zoom>` |
174
- | **SVG** (`/components/svg`) | `<usa-draw>` · `<usa-morph>` · `<usa-mask-reveal>` · `<usa-anim-icon>` |
175
- | **WebGL** (`/components/webgl`) | `<usa-shader>` · `<usa-distort>` · `<usa-liquid>` · `<usa-post-fx>` |
176
- | **3D depth** (`/components/depth`) | `<usa-cube>` · `<usa-depth>` |
177
- | **Layout** (`/components/layout`) | `<usa-auto-animate>` · `<usa-masonry>` |
178
- | **Packs** (`/components/packs`) | `<usa-pack>` |
179
- | **Effect registry** (`/components/fx`) | `<usa-fx>` |
180
- | **Effect packs** (`/components/effects`) | `<usa-player>` · `<usa-story>` · `<usa-audio>` · `<usa-motion-theme>` · `<usa-gesture-fx>` |
359
+ | ~~motionary/components/core~~ | `motionary/core` |
360
+ | ~~motionary/components/ai~~ | `motionary/tooling/ai` |
361
+ | ~~motionary/components/design~~, ~~motionary/design~~ | `motionary/tooling/design` |
362
+ | ~~motionary/components/angular~~ | `motionary/angular` |
363
+ | ~~motionary/manifest.json~~, ~~motionary/manifest.schema.json~~ | `motionary/tooling/manifest.json`, `motionary/tooling/manifest.schema.json` |
364
+
365
+ The same applies to `use-scroll-animate/…`. Full guide: [docs/upgrading-13.md](./docs/upgrading-13.md).
366
+ Earlier majors: [12](./docs/upgrading-12.md) · [11](./docs/upgrading-11.md) · [10](./docs/upgrading-10.md) ·
367
+ [9](./docs/upgrading-9.md) · [8](./docs/upgrading-8.md) · [7](./docs/upgrading-7.md) · [6](./docs/upgrading-6.md) ·
368
+ [5](./docs/upgrading-5.md) · [4](./docs/upgrading-4.md) · [3](./docs/upgrading-3.md) · [2](./docs/deprecations.md).
369
+ Coming from another library: [AOS](./docs/migration-from-aos.md) · [GSAP ScrollTrigger](./docs/migration-from-gsap-scrolltrigger.md).
370
+
371
+ ## Versions and compatibility
372
+
373
+ - **npm dist-tags:** `latest` is the current major with its patch releases (13.0.1). Each minor release also gets its own tag `v<major>-<minor>`
374
+ (for example `v12-9`). `motionary` and `use-scroll-animate` are published together at the same versions.
375
+ - **CDN:** URLs pin a major (`motionary@13`). Exact pins (`motionary@12.4.0`) keep working.
376
+ - **Semver:** breaking changes come only in majors, each with a guide and a codemod. Deprecations stay in place until the
377
+ next major, with `@deprecated` types and no runtime warning.
378
+ - **What each version has:** `since` / `changed` for every component and runtime module ([docs/version-compat.md](./docs/version-compat.md)),
379
+ feature-by-feature support ([docs/compat-matrix.md](./docs/compat-matrix.md)).
380
+ - Details: [docs/versions.md](./docs/versions.md) · [CHANGELOG.md](./CHANGELOG.md).
381
+
382
+ ## Documentation
383
+
384
+ | Topic | Docs |
385
+ |---|---|
386
+ | Reference | [API](./docs/API.md) · [Presets](./docs/presets.md) (all 214) · [Components](./docs/components.md) · [Entry points](./docs/entry-points.md) · [Public API by layer](./docs/public-api.md) · [Motion Core](./docs/core.md) |
387
+ | Runtime | [Runtime tiers](./docs/runtime-tiers.md) · [Modules](./docs/runtime/) · [Compatibility matrix](./docs/compat-matrix.md) |
388
+ | Platforms | [Frameworks & SSR](./docs/frameworks-ssr.md) · [Windows apps](./docs/windows-apps.md) · [Hybrid apps (MAUI, Flutter, Electron, Tauri)](./docs/hybrid-apps.md) · [Cross-platform export](./docs/cross-platform.md) · [Examples](./examples/) |
389
+ | Design & AI | [Motion tokens](./docs/motion-tokens.md) · [Figma plugin](./figma-plugin/README.md) · [MCP server](./docs/mcp.md) · [AI provider](./docs/ai-provider.md) · [Prompt guide](./docs/ai-prompt-guide.md) |
390
+ | Quality | [Accessibility](./docs/accessibility.md) · [Component contract](./docs/component-contract.md) · [Performance](./docs/performance.md) · [Perf CI](./docs/perf-ci.md) · [Tree-shaking](./docs/tree-shaking.md) · [Source maps](./docs/source-maps.md) |
391
+ | Project | [Architecture](./docs/architecture.md) · [Roadmap](./docs/ROADMAP.md) · [Versions](./docs/versions.md) · [Changelog](./CHANGELOG.md) |
392
+
393
+ The architecture has four layers: Motion Core, Runtime, Components, and Tooling, with the framework entries on top.
394
+ `test/architecture.test.ts` enforces the import rules between layers ([docs/architecture.md](./docs/architecture.md)).
395
+
396
+ The docs in `docs/` are in English, except the roadmap, which is in Chinese.
397
+
398
+ ## Contributing
399
+
400
+ Issues and pull requests are welcome. See [CONTRIBUTING.md](./CONTRIBUTING.md). Before you open a PR, run `npm test`,
401
+ `npm run build`, `npm run check:contract`, `npm run check:peer-docs` and `npm run size:check`. When you change behaviour,
402
+ update this README together with [README_zh.md](./README_zh.md) and [README_ja.md](./README_ja.md).
403
+
404
+ ## License
405
+
406
+ MIT © HarrisonCN. See [LICENSE](./LICENSE).
407
+
408
+ ## Reference
409
+
410
+ `node scripts/gen-runtime-docs.mjs` generates the tables below from the tested module data. Do not edit them by hand.
411
+
412
+ <details>
413
+ <summary><b>Runtime modules and component prerequisites</b></summary>
181
414
 
182
415
  <!-- runtime:start -->
183
416
  ## Runtime (`motionary/runtime`) & prerequisites
@@ -569,6 +802,11 @@ defineGlModel(); // registers <usa-gl-model> — after the prerequisites
569
802
 
570
803
  <!-- runtime:end -->
571
804
 
805
+ </details>
806
+
807
+ <details>
808
+ <summary><b>Stable API and compatibility matrix (frozen in 11.0)</b></summary>
809
+
572
810
  <!-- stable:start -->
573
811
  ## Stable API (11.x) & compatibility matrix
574
812
 
@@ -610,72 +848,4 @@ From 11.0 these are stable and follow semver until 12.0 (additions only in minor
610
848
  Feature by feature: [docs/compat-matrix.md](./docs/compat-matrix.md).
611
849
  <!-- stable:end -->
612
850
 
613
- ## Accessibility & reduced motion
614
-
615
- - With `prefers-reduced-motion: reduce`, scroll reveals show content immediately (no entrance, parallax or scrub motion), and components fall back to calm states (`staticAlternative()` / `adaptKeyframes()`).
616
- - `motionary/components/a11y`: `setMotionSensitivity()` levels let users drop flashes, loops or parallax; `announce()` live regions; `auditMotionA11y()`; `baselineReport()`. `<usa-motion-switch>` is a ready-made user-facing motion toggle.
617
- - Details: [docs/accessibility.md](./docs/accessibility.md).
618
-
619
- ## Performance & size
620
-
621
- No scroll listeners by default (IntersectionObserver), animations on the compositor (`transform`, `opacity`, `filter`, `clip-path`), optional off-main-thread native scroll timelines (`engine: 'css'`). Every entry is tree-shakeable and has a gzip budget enforced in CI (`size-budget.json`). Measured for 6.1 (minified + gzip):
622
-
623
- | What you import | gzip |
624
- |---|---:|
625
- | `import ScrollAnimate from 'motionary'` (default instance) | 5.72 kB |
626
- | Everything from the main entry | 8.69 kB |
627
- | `dist/index.umd.js` (CDN) | 8.81 kB |
628
- | `parallax()` alone | 1.22 kB |
629
- | `motionary/presets/extended` (181 presets) | 4.69 kB |
630
- | `motionary/components/reveal` | 4.10 kB |
631
- | `motionary/components/effects` (8 effect packs) | 26.40 kB |
632
- | `motionary/components/lite` (every component, CSS on demand) | 68.48 kB |
633
- | `motionary/components` (every component + CSS) | 85.15 kB |
634
- | `dist/components.umd.js` (CDN, everything) | 106.75 kB |
635
-
636
- More: [docs/performance.md](./docs/performance.md).
637
-
638
- ## Browser support
639
-
640
- Evergreen browsers since 2023: Chrome / Edge ≥ 111, Safari ≥ 16.4, Firefox ≥ 115, WebView2, Electron ≥ 24 (Custom Elements, Web Animations, IntersectionObserver, ResizeObserver, constructable stylesheets). View Transitions and scroll-driven animations are progressive — used when present, JS fallback otherwise. Importing on the server (SSR) is a no-op. Check a browser with `baselineReport()`.
641
-
642
- ## Documentation
643
-
644
- - **Individual entry points (10.8+):** new components ship as their own entry (`motionary/components/snap-carousel`, `motionary/components/gl-model`, `motionary/components/dotlottie`) and are not added to `motionary/components/widgets` or the all-components `motionary/components/lite` bundle (its 70 KB gzip budget is fixed).
645
- - **Per-component entry points (10.9):** every widget has `motionary/widgets/<name>` (tag without `usa-`, e.g. `motionary/widgets/toast-stack`, `motionary/widgets/dock`) and every 6.x+ effect has `motionary/effects/<name>` (e.g. `motionary/effects/pearlescent`, `motionary/effects/spectrum-mirror`); each registers only its own tag / effect, has a fixed gzip budget, and is listed in `components.json` (`entry`, `effects`). Full list: [docs/entry-points.md](docs/entry-points.md).
646
- - **Upgrading to 11:** [docs/upgrading-11.md](docs/upgrading-11.md) (`npx usa-codemod-11 --write src`); 10.9 audit: [docs/audit-10.9.md](docs/audit-10.9.md).
647
- - **MCP server:** `npx -y -p motionary motionary-mcp` — read-only component catalog for MCP clients (search, API, prerequisite-aware snippets; 2.0 adds `suggest_motion` and `validate_snippet`): [docs/mcp.md](docs/mcp.md).
648
- - **AI assistants:** [AGENTS.md](AGENTS.md) · [prompt guide](docs/ai-prompt-guide.md) · one page per component in [docs/components/](docs/components/README.md) · `components.json` / `llms.txt` / `llms-full.txt` on the site root.
649
-
650
- - [API reference](./docs/API.md) — every export, option and `data-sa-*` attribute
651
- - [Presets](./docs/presets.md) — all 214 by category
652
- - [Components](./docs/components.md) — every `<usa-*>` element, attribute and event
653
- - [Frameworks & SSR](./docs/frameworks-ssr.md) · [Windows apps](./docs/windows-apps.md) · [Hybrid apps (MAUI, Flutter, Electron, Tauri)](./docs/hybrid-apps.md)
654
- - [Motion tokens](./docs/motion-tokens.md) · [Migrating from AOS](./docs/migration-from-aos.md) · [from GSAP ScrollTrigger](./docs/migration-from-gsap-scrolltrigger.md)
655
- - [Demo page](./demo/index.html) — every preset clickable, no build step
656
-
657
- ## Upgrading
658
-
659
- - From `use-scroll-animate`: `npm i motionary` and replace `use-scroll-animate` with `motionary` in imports and CDN URLs — nothing else changes (the old package name keeps receiving the same releases).
660
- - [Upgrading to 11.0](./docs/upgrading-11.md) (`npx usa-codemod-11`) · [10.0](./docs/upgrading-10.md) · [Upgrading to 6.0](./docs/upgrading-6.md) (`npx usa-codemod-6`) · [Upgrading to 5.0](./docs/upgrading-5.md) (`npx usa-codemod-5`) · [4.0](./docs/upgrading-4.md) · [3.0](./docs/upgrading-3.md) · [2.0](./docs/deprecations.md)
661
- - [Changelog](./CHANGELOG.md)
662
-
663
- ## Architecture
664
-
665
- Four logical layers — Public API (HTML · React · Vue · Svelte · Solid · Angular) → Components · Motion Core · Runtime → Motion Intelligence & Tooling — with import rules enforced by `test/architecture.test.ts`: [docs/architecture.md](./docs/architecture.md).
666
-
667
- **Tree-shaking (11.1):** importing a module registers nothing and writes nothing to the page until you call `define*()` / `register*()` / `use()`; `sideEffects` lists only CSS, the UMD / IIFE builds, `presets/extended` and `components/lite`. Importing one export pulls in only its own code — see [docs/tree-shaking.md](./docs/tree-shaking.md).
668
-
669
- **Source maps (11.2):** not shipped to npm (the package is about half the size); every built file still links its map in the release tag on GitHub, so DevTools resolves it on demand — see [docs/source-maps.md](./docs/source-maps.md).
670
-
671
- **Performance in CI (11.3):** every PR measures, in headless Chrome, the first-screen transfer with on-demand loading, script parse / execute time, WebGL resources (and leaks after removal) and frame stability, against fixed budgets — see [docs/perf-ci.md](./docs/perf-ci.md).
672
-
673
- **Runtime tiers (11.4):** `motionary/runtime` modules are **basic** (ticker, tween, timeline, scroll, text, CSS / WAAPI keyframes), **standard** (smooth scrolling, drag-snap, SVG, sprites, GIF / APNG / WebP, Lottie) or **advanced** (WebGL, 3D files and decoders, physics) — a page that only uses basic never pays for the rest. The manifest, the Store badges and `RUNTIME_TIERS` say which; see [docs/runtime-tiers.md](./docs/runtime-tiers.md).
674
-
675
- ## Roadmap
676
-
677
- One version per PR towards 7.0 — particles & fluids, text effects, light & materials, 3D scenes, morphing, transitions, weather, interactive physics: [docs/ROADMAP.md](./docs/ROADMAP.md).
678
-
679
- ## Contributing & license
680
-
681
- Issues and PRs welcome — see [CONTRIBUTING.md](./CONTRIBUTING.md). MIT © HarrisonCN — see [LICENSE](./LICENSE).
851
+ </details>