motionary 12.9.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.
- package/AGENTS.md +2 -2
- package/CHANGELOG.md +28 -0
- package/README.md +394 -223
- package/README_ja.md +245 -118
- package/README_zh.md +245 -118
- package/bin/public-paths.mjs +3 -0
- package/dist/chunks/{anim-image-D_WUCgp4.cjs → anim-image-Bp-A3hNC.cjs} +2 -2
- package/dist/chunks/{anim-image-KyCg37rY.js → anim-image-DeBvYIDu.js} +2 -2
- package/dist/chunks/{audio-DNNfcWi9.js → audio-BV1YemPb.js} +3 -3
- package/dist/chunks/{audio-BSQmg3MB.cjs → audio-CztPMZ1b.cjs} +3 -3
- package/dist/chunks/{badge-wall-Dg7S7RJn.js → badge-wall-BBAW52s-.js} +2 -2
- package/dist/chunks/{badge-wall-BPbL8OTC.cjs → badge-wall-COxq4-hJ.cjs} +2 -2
- package/dist/chunks/{base-B3me2y0o.cjs → base-BG_mxssu.cjs} +3 -2
- package/dist/chunks/{base-zSGb8ujt.js → base-CBMzOs1k.js} +3 -2
- package/dist/chunks/{bg-generator-U6fomxZX.cjs → bg-generator-Bw0JAZG7.cjs} +2 -2
- package/dist/chunks/{bg-generator-DKX8nt8T.js → bg-generator-CFjnTyP9.js} +2 -2
- package/dist/chunks/bind-B_CTL6Qn.js +1 -1
- package/dist/chunks/bind-Ui43-n2d.cjs +1 -1
- package/dist/chunks/{builtins-Simwbnqg.js → builtins-DINhkShu.js} +3 -3
- package/dist/chunks/{builtins-Cz3iufK6.cjs → builtins-Dk6hr4_C.cjs} +3 -3
- package/dist/chunks/{carousel-BvdFWXZC.cjs → carousel-6UZLhjGL.cjs} +2 -2
- package/dist/chunks/{carousel-C36_TV-w.js → carousel-BQiUPJ6H.js} +2 -2
- package/dist/chunks/{cart-drawer-BRK4G_aL.cjs → cart-drawer-BhHW454c.cjs} +2 -2
- package/dist/chunks/{cart-drawer-BIeW2ITt.js → cart-drawer-DTBLUsXS.js} +2 -2
- package/dist/chunks/{code-export-B6NVzEhx.js → code-export-B_q_hPy8.js} +2 -2
- package/dist/chunks/{code-export-BUcIsaA0.cjs → code-export-CbKPNcnx.cjs} +2 -2
- package/dist/chunks/{color-picker-CZvB7e4m.cjs → color-picker-C17hLqcy.cjs} +3 -3
- package/dist/chunks/{color-picker-6qKpXxrS.js → color-picker-DAAhbpHV.js} +3 -3
- package/dist/chunks/{command-palette-BSTQQK3b.js → command-palette-B-_C5aOb.js} +2 -2
- package/dist/chunks/{command-palette-CNnX1Qlx.cjs → command-palette-CABkONwK.cjs} +2 -2
- package/dist/chunks/{core-BdLFN0RS.cjs → core-Bg5WaRYY.cjs} +2 -2
- package/dist/chunks/core-BjcOCpJt.cjs +1 -1
- package/dist/chunks/{core-BOCM9zD5.js → core-CBU40kLB.js} +2 -2
- package/dist/chunks/{core-BcQb_f91.js → core-D1vhyt2F.js} +2 -2
- package/dist/chunks/{core-KIvPGg0c.cjs → core-DMrg99HN.cjs} +2 -2
- package/dist/chunks/core-Dj6iomdc.js +1 -1
- package/dist/chunks/{countdown-D5fCuduX.cjs → countdown-5kyFj3EA.cjs} +2 -2
- package/dist/chunks/{countdown-CzDT07_X.js → countdown-BWy4-V8Y.js} +2 -2
- package/dist/chunks/{date-picker-DKv1uKYq.js → date-picker-CAreI9C7.js} +2 -2
- package/dist/chunks/{date-picker-DJ5URMsx.cjs → date-picker-V4SjW1_f.cjs} +2 -2
- package/dist/chunks/ease-HwYZnZat.cjs +1 -1
- package/dist/chunks/ease-XN8_0sXu.js +1 -1
- package/dist/chunks/{equalizer-D3iO1wBO.cjs → equalizer-B0fb-kFT.cjs} +2 -2
- package/dist/chunks/{equalizer-C8mel4Mn.js → equalizer-BPS1yV-f.js} +2 -2
- package/dist/chunks/{festival-banner-BYn-HCza.js → festival-banner-CvGwychu.js} +2 -2
- package/dist/chunks/{festival-banner-Dx7QAmxt.cjs → festival-banner-DWCMdZM1.cjs} +2 -2
- package/dist/chunks/{field-CLbSJL_S.cjs → field-D5hYtW6A.cjs} +2 -2
- package/dist/chunks/{field-BlWcKLcW.js → field-iruUHpdy.js} +2 -2
- package/dist/chunks/{fx-BaPAanPW.cjs → fx-aA8nn1zv.cjs} +2 -2
- package/dist/chunks/{fx-DUteojZx.js → fx-tuYvq2Dr.js} +2 -2
- package/dist/chunks/generative-2LhxG5BJ.js +1 -1
- package/dist/chunks/generative-BHIj-NU0.cjs +1 -1
- package/dist/chunks/{gl-scene-BzOKrqVW.cjs → gl-scene-B9QYN-U7.cjs} +3 -3
- package/dist/chunks/{gl-scene-DqFpR0Z7.js → gl-scene-BZnZV6e0.js} +3 -3
- package/dist/chunks/{globe-DDPNdPPD.cjs → globe-BvTRCzBa.cjs} +2 -2
- package/dist/chunks/{globe-6qzMhWwL.js → globe-t8Tz1KrC.js} +2 -2
- package/dist/chunks/{gpu-Dw1udOJW.cjs → gpu-BFYGfLfN.cjs} +2 -2
- package/dist/chunks/{gpu-ML0i9eNv.js → gpu-CxTWIssF.js} +2 -2
- package/dist/chunks/{gpu-particles-Z95SjKpc.cjs → gpu-particles-C4UZX5H4.cjs} +2 -2
- package/dist/chunks/{gpu-particles-Ce1Q_xJk.js → gpu-particles-GxP4a0P6.js} +2 -2
- package/dist/chunks/index-tags-B-JBecYg.js +1 -1
- package/dist/chunks/index-tags-hLIF2Clq.cjs +1 -1
- package/dist/chunks/key-click-BLm3BI8_.js +1 -1
- package/dist/chunks/key-click-v7I4K5Sr.cjs +1 -1
- package/dist/chunks/{keyframes-DbVzmsRL.js → keyframes-B6Ju70i1.js} +2 -2
- package/dist/chunks/{keyframes-cJHH8OjN.cjs → keyframes-DhUhKdn2.cjs} +2 -2
- package/dist/chunks/{leaderboard-ButHN_NI.cjs → leaderboard-D3aXcUrH.cjs} +2 -2
- package/dist/chunks/{leaderboard-PaGjUBdI.js → leaderboard-DqCbNSLV.js} +2 -2
- package/dist/chunks/{location-card-D-jdyQge.js → location-card-BFWhuOvM.js} +2 -2
- package/dist/chunks/{location-card-CLR05EP-.cjs → location-card-D50y0yPP.cjs} +2 -2
- package/dist/chunks/{lottie-icon-1x0omshZ.js → lottie-icon-Cg99YqMK.js} +2 -2
- package/dist/chunks/{lottie-icon-DDKThCMc.cjs → lottie-icon-CiL7TQeN.cjs} +2 -2
- package/dist/chunks/{lottie-player-DGUpDJeC.cjs → lottie-player--_SwVeIS.cjs} +3 -3
- package/dist/chunks/{lottie-player-CHqBhRAB.js → lottie-player-CvGhfdfy.js} +3 -3
- package/dist/chunks/{lyrics-r4Z0TGnm.js → lyrics-BW8Ajj8K.js} +2 -2
- package/dist/chunks/{lyrics-gmFffOvn.cjs → lyrics-CmZKfI0D.cjs} +2 -2
- package/dist/chunks/{manifest-Bcz6rQ20.cjs → manifest-CKtkSVw4.cjs} +2 -2
- package/dist/chunks/{manifest-pFJWahGJ.js → manifest-CQUlazDF.js} +2 -2
- package/dist/chunks/{menu-BTGBkd2U.js → menu-2qfS--b1.js} +2 -2
- package/dist/chunks/{menu-BgO53POm.cjs → menu-BDG5gcER.cjs} +2 -2
- package/dist/chunks/{menu-toggle-BJEK8BJD.cjs → menu-toggle-934mf8c-.cjs} +3 -3
- package/dist/chunks/{menu-toggle-Dch8f2GK.js → menu-toggle-DuXU6-hH.js} +3 -3
- package/dist/chunks/{nav-morph-BlfdTr2-.js → nav-morph-Bc0SfHn9.js} +2 -2
- package/dist/chunks/{nav-morph-DvE3FgWw.cjs → nav-morph-DeVvWJm-.cjs} +2 -2
- package/dist/chunks/{otp-B1_JY5KD.cjs → otp-C0PpgU4T.cjs} +2 -2
- package/dist/chunks/{otp-Dxw6l5CL.js → otp-CwhyPG7i.js} +2 -2
- package/dist/chunks/{pagination-C5bamOI4.cjs → pagination-4NCqUPrX.cjs} +3 -3
- package/dist/chunks/{pagination-CFOc73i-.js → pagination-D7C1zFvF.js} +3 -3
- package/dist/chunks/{physics-playground-C5K776AL.cjs → physics-playground-C8Dp1VZo.cjs} +4 -4
- package/dist/chunks/{physics-playground-DHO_tLsW.js → physics-playground-Dfb6XJrk.js} +4 -4
- package/dist/chunks/{player-B7QRAdUN.cjs → player-BNOKDUw-.cjs} +4 -4
- package/dist/chunks/{player-BA50IpKZ.js → player-DtLIUxwJ.js} +4 -4
- package/dist/chunks/{presence-230b12uw.cjs → presence-CwaD7bup.cjs} +2 -2
- package/dist/chunks/{presence-CPc3nH2E.js → presence-DRGK2bwc.js} +2 -2
- package/dist/chunks/presets-BYBVJVeP.js +1 -1
- package/dist/chunks/presets-CUHys3sK.cjs +1 -1
- package/dist/chunks/{prize-wheel-CYEPyee6.cjs → prize-wheel-Cl48woXn.cjs} +2 -2
- package/dist/chunks/{prize-wheel-ClMtfLVa.js → prize-wheel-DtR0WMqK.js} +2 -2
- package/dist/chunks/{product-gallery-mML9zLXE.cjs → product-gallery-C3q6aoVe.cjs} +2 -2
- package/dist/chunks/{product-gallery-DlVGui98.js → product-gallery-s0Mojkcm.js} +2 -2
- package/dist/chunks/{progress-ring-C8OHcD1x.cjs → progress-ring-B8Ytgw_Q.cjs} +2 -2
- package/dist/chunks/{progress-ring-u5QwkDUc.js → progress-ring-Q1yoAUrU.js} +2 -2
- package/dist/chunks/{prop-panel-CYTkWP9Y.js → prop-panel-BoejVIkT.js} +2 -2
- package/dist/chunks/{prop-panel-B4SaLelu.cjs → prop-panel-CLYoy2fY.cjs} +2 -2
- package/dist/chunks/{radar-BWjX0-2G.cjs → radar-B0f-lKWX.cjs} +2 -2
- package/dist/chunks/{radar-B7ZGs9Ca.js → radar-BAfz6Y20.js} +2 -2
- package/dist/chunks/{reactions-BTTEhsnZ.js → reactions-CAMzdddC.js} +2 -2
- package/dist/chunks/{reactions-D2QL8ezS.cjs → reactions-Dfadd7FC.cjs} +2 -2
- package/dist/chunks/{registry-CYojuxi5.js → registry-4UDF3Dpk.js} +2 -2
- package/dist/chunks/{registry-D3VGJOuX.js → registry-BgdHqx0s.js} +3 -3
- package/dist/chunks/{registry-VKfDCYYI.cjs → registry-D3N8O2Nc.cjs} +3 -3
- package/dist/chunks/{registry-BB1oO-lR.cjs → registry-LE5iyTqw.cjs} +2 -2
- package/dist/chunks/{retro-button-CiVnwK4T.js → retro-button-DPOGCNEB.js} +2 -2
- package/dist/chunks/{retro-button-CqLmeF6H.cjs → retro-button-oiGvtRdV.cjs} +2 -2
- package/dist/chunks/{rive-CtYlVrH0.js → rive-BiqV3D2R.js} +2 -2
- package/dist/chunks/{rive-CfWKBIa5.cjs → rive-D2POjYyT.cjs} +2 -2
- package/dist/chunks/{runtime-link-CyExCzuU.cjs → runtime-link-6mNrr9AF.cjs} +3 -3
- package/dist/chunks/{runtime-link-CvJOTQYQ.js → runtime-link-yprBSd9n.js} +3 -3
- package/dist/chunks/scroll-driven-CQbwzCdn.cjs +1 -1
- package/dist/chunks/scroll-driven-LghshrWq.js +1 -1
- package/dist/chunks/{scroll-scene-CFHW9iRD.cjs → scroll-scene-C34tV2yS.cjs} +4 -4
- package/dist/chunks/{scroll-scene-BuR-Rq0p.js → scroll-scene-DMfol8B-.js} +4 -4
- package/dist/chunks/{segmented-omNqJ1vK.cjs → segmented-Bs0lNncg.cjs} +2 -2
- package/dist/chunks/{segmented-BEuxQKN8.js → segmented-DnGy8Aw_.js} +2 -2
- package/dist/chunks/{shader-backdrop-jJaiqu2T.js → shader-backdrop-CQBsDITY.js} +2 -2
- package/dist/chunks/{shader-backdrop-Tnlj5ag3.cjs → shader-backdrop-Df_2GJFz.cjs} +2 -2
- package/dist/chunks/shared-BxK1D7EZ.cjs +1 -1
- package/dist/chunks/shared-C8Pi6tuh.js +1 -1
- package/dist/chunks/shared-CkKHWrtJ.js +1 -1
- package/dist/chunks/shared-jkgRH-Hx.cjs +1 -1
- package/dist/chunks/{sheet-BfH5vWIW.cjs → sheet-6Vp7Yox1.cjs} +40 -17
- package/dist/chunks/{sheet-BHvZA7rD.js → sheet-CAItJBXn.js} +40 -17
- package/dist/chunks/sign-DvZ1jHxE.js +1 -1
- package/dist/chunks/sign-RAkQIWrM.cjs +1 -1
- package/dist/chunks/{skeleton-reveal-Dwm8Z6Iv.js → skeleton-reveal-CNr6jhZN.js} +2 -2
- package/dist/chunks/{skeleton-reveal-n4L3iur-.cjs → skeleton-reveal-DH7sd6uV.cjs} +2 -2
- package/dist/chunks/{sparkline-BtSW-HY0.js → sparkline-MRwlHeWm.js} +2 -2
- package/dist/chunks/{sparkline-DZiGHCOf.cjs → sparkline-we35dC6w.cjs} +2 -2
- package/dist/chunks/{spring-CznnvQCN.js → spring-2YZXQmr7.js} +2 -2
- package/dist/chunks/{spring-DcM7pQgx.cjs → spring-CibVO2Tk.cjs} +2 -2
- package/dist/chunks/stagger-B9sKPwQB.js +1 -1
- package/dist/chunks/stagger-DFKwqOQG.cjs +1 -1
- package/dist/chunks/{suggestion-chips-BVt6aSMC.cjs → suggestion-chips-DIzEGoUE.cjs} +2 -2
- package/dist/chunks/{suggestion-chips-CtgmWPtH.js → suggestion-chips-DWViXX9m.js} +2 -2
- package/dist/chunks/{switch-BKhvELnx.cjs → switch-DSzo6hVT.cjs} +3 -3
- package/dist/chunks/{switch-CZCdSuCz.js → switch-iQNaYTQB.js} +3 -3
- package/dist/chunks/{tab-bar-B3ucWWMl.cjs → tab-bar-DZtJO0Ge.cjs} +2 -2
- package/dist/chunks/{tab-bar-2d1734DE.js → tab-bar-DzSapgXH.js} +2 -2
- package/dist/chunks/{ticker-Bx4j1lSk.cjs → ticker-D73Bn74b.cjs} +2 -2
- package/dist/chunks/{ticker-vWmxVVge.js → ticker-vHgAp_Uz.js} +2 -2
- package/dist/chunks/{tip-r4VuAjSI.js → tip-Cg4VdOV4.js} +2 -2
- package/dist/chunks/{tip-BQwC2KtE.cjs → tip-CoXfHx5J.cjs} +2 -2
- package/dist/chunks/{toast-stack-DfFjAKGz.cjs → toast-stack-B0YJ93dM.cjs} +4 -4
- package/dist/chunks/{toast-stack-D3zrI7U6.js → toast-stack-DZ5XkmO_.js} +4 -4
- package/dist/chunks/{tween-DhlovBgd.js → tween-BtX9Wj7P.js} +2 -2
- package/dist/chunks/{tween-DjySqWFm.cjs → tween-CO_7OEFf.cjs} +2 -2
- package/dist/chunks/{upload-progress-DmywVhec.cjs → upload-progress-Bv5i3ebk.cjs} +2 -2
- package/dist/chunks/{upload-progress-CkfDSMr-.js → upload-progress-CZbedTLC.js} +2 -2
- package/dist/chunks/{variants-DRi3tBJf.js → variants-B8gnRVha.js} +2 -2
- package/dist/chunks/{variants-cVfgIaXa.cjs → variants-D7gblATl.cjs} +2 -2
- package/dist/chunks/{voice-button-DVovZYBR.js → voice-button-BEibeass.js} +2 -2
- package/dist/chunks/{voice-button-CZ5cpeWN.cjs → voice-button-DfDRNgmG.cjs} +2 -2
- package/dist/chunks/{weather-card-pF9sSKuI.js → weather-card-BO_6E5OV.js} +2 -2
- package/dist/chunks/{weather-card-DCzxr5T4.cjs → weather-card-DodZfOsv.cjs} +2 -2
- package/dist/chunks/{worker-canvas-CDc2aIKC.cjs → worker-canvas-Bqsw_Fym.cjs} +2 -2
- package/dist/chunks/{worker-canvas-Hl3quLAh.js → worker-canvas-D2TU72M8.js} +2 -2
- package/dist/chunks/{xp-bar-D4Yq5Dpv.cjs → xp-bar-CUHPolzJ.cjs} +2 -2
- package/dist/chunks/{xp-bar-j1FsL32r.js → xp-bar-CsASrTkD.js} +2 -2
- package/dist/components/a11y.cjs +2 -2
- package/dist/components/a11y.js +3 -3
- package/dist/components/ai.cjs +1 -1
- package/dist/components/ai.js +1 -1
- package/dist/components/angular.cjs +10 -10
- package/dist/components/angular.d.cts +1 -1
- package/dist/components/angular.d.ts +1 -1
- package/dist/components/angular.js +10 -10
- package/dist/components/background.cjs +3 -3
- package/dist/components/background.js +3 -3
- package/dist/components/bridge.cjs +2 -2
- package/dist/components/bridge.js +2 -2
- package/dist/components/cards.cjs +4 -4
- package/dist/components/cards.js +4 -4
- package/dist/components/click.cjs +4 -4
- package/dist/components/click.js +4 -4
- package/dist/components/core.cjs +1 -1
- package/dist/components/core.js +1 -1
- package/dist/components/depth.cjs +4 -4
- package/dist/components/depth.js +4 -4
- package/dist/components/design.cjs +5 -5
- package/dist/components/design.d.cts +1 -1
- package/dist/components/design.d.ts +1 -1
- package/dist/components/design.js +5 -5
- package/dist/components/dotlottie.cjs +5 -5
- package/dist/components/dotlottie.js +5 -5
- package/dist/components/dsl.cjs +3 -3
- package/dist/components/dsl.js +3 -3
- package/dist/components/effects.cjs +8 -8
- package/dist/components/effects.js +10 -10
- package/dist/components/engine.cjs +3 -3
- package/dist/components/engine.js +4 -4
- package/dist/components/feedback.cjs +2 -2
- package/dist/components/feedback.js +2 -2
- package/dist/components/fx-3d.cjs +3 -3
- package/dist/components/fx-3d.js +3 -3
- package/dist/components/fx-ai.cjs +3 -3
- package/dist/components/fx-ai.js +3 -3
- package/dist/components/fx-chart.cjs +3 -3
- package/dist/components/fx-chart.js +3 -3
- package/dist/components/fx-cinema.cjs +3 -3
- package/dist/components/fx-cinema.js +3 -3
- package/dist/components/fx-cyber.cjs +3 -3
- package/dist/components/fx-cyber.js +3 -3
- package/dist/components/fx-festival.cjs +3 -3
- package/dist/components/fx-festival.js +3 -3
- package/dist/components/fx-focus.cjs +3 -3
- package/dist/components/fx-focus.js +3 -3
- package/dist/components/fx-form.cjs +3 -3
- package/dist/components/fx-form.js +3 -3
- package/dist/components/fx-game.cjs +3 -3
- package/dist/components/fx-game.js +3 -3
- package/dist/components/fx-genart.cjs +3 -3
- package/dist/components/fx-genart.js +3 -3
- package/dist/components/fx-geo.cjs +3 -3
- package/dist/components/fx-geo.js +3 -3
- package/dist/components/fx-gesture.cjs +3 -3
- package/dist/components/fx-gesture.js +3 -3
- package/dist/components/fx-gpu.cjs +4 -4
- package/dist/components/fx-gpu.js +4 -4
- package/dist/components/fx-light.cjs +3 -3
- package/dist/components/fx-light.js +3 -3
- package/dist/components/fx-lottie.cjs +3 -3
- package/dist/components/fx-lottie.js +3 -3
- package/dist/components/fx-morph.cjs +3 -3
- package/dist/components/fx-morph.js +3 -3
- package/dist/components/fx-music.cjs +4 -4
- package/dist/components/fx-music.js +4 -4
- package/dist/components/fx-organic.cjs +3 -3
- package/dist/components/fx-organic.js +3 -3
- package/dist/components/fx-paper.cjs +3 -3
- package/dist/components/fx-paper.js +3 -3
- package/dist/components/fx-perf.cjs +3 -3
- package/dist/components/fx-perf.js +3 -3
- package/dist/components/fx-physics.cjs +3 -3
- package/dist/components/fx-physics.js +3 -3
- package/dist/components/fx-retro.cjs +3 -3
- package/dist/components/fx-retro.js +3 -3
- package/dist/components/fx-safe.cjs +3 -3
- package/dist/components/fx-safe.js +3 -3
- package/dist/components/fx-shop.cjs +3 -3
- package/dist/components/fx-shop.js +3 -3
- package/dist/components/fx-social.cjs +3 -3
- package/dist/components/fx-social.js +3 -3
- package/dist/components/fx-spatial.cjs +3 -3
- package/dist/components/fx-spatial.js +3 -3
- package/dist/components/fx-surface.cjs +3 -3
- package/dist/components/fx-surface.js +3 -3
- package/dist/components/fx-text.cjs +3 -3
- package/dist/components/fx-text.js +3 -3
- package/dist/components/fx-transitions.cjs +4 -4
- package/dist/components/fx-transitions.js +4 -4
- package/dist/components/fx-video.cjs +3 -3
- package/dist/components/fx-video.js +3 -3
- package/dist/components/fx-weather.cjs +3 -3
- package/dist/components/fx-weather.js +3 -3
- package/dist/components/fx.cjs +6 -6
- package/dist/components/fx.js +7 -7
- package/dist/components/fx2.cjs +6 -6
- package/dist/components/fx2.js +7 -7
- package/dist/components/gesture.cjs +4 -4
- package/dist/components/gesture.js +5 -5
- package/dist/components/gl-model.cjs +5 -5
- package/dist/components/gl-model.js +5 -5
- package/dist/components/interaction.cjs +2 -2
- package/dist/components/interaction.js +2 -2
- package/dist/components/jsx.cjs +1 -1
- package/dist/components/jsx.js +1 -1
- package/dist/components/layout.cjs +2 -2
- package/dist/components/layout.js +2 -2
- package/dist/components/lazy.cjs +1 -1
- package/dist/components/lazy.js +1 -1
- package/dist/components/lite.cjs +9 -8
- package/dist/components/lite.js +9 -8
- package/dist/components/marketplace.cjs +4 -4
- package/dist/components/marketplace.js +5 -5
- package/dist/components/native.cjs +4 -4
- package/dist/components/native.js +4 -4
- package/dist/components/packs.cjs +3 -3
- package/dist/components/packs.js +3 -3
- package/dist/components/page.cjs +3 -3
- package/dist/components/page.js +4 -4
- package/dist/components/perf.cjs +2 -2
- package/dist/components/perf.js +3 -3
- package/dist/components/physics.cjs +3 -3
- package/dist/components/physics.js +4 -4
- package/dist/components/plugins.cjs +5 -5
- package/dist/components/plugins.js +5 -5
- package/dist/components/react.cjs +1 -1
- package/dist/components/react.js +1 -1
- package/dist/components/reveal.cjs +2 -2
- package/dist/components/reveal.js +2 -2
- package/dist/components/snap-carousel.cjs +4 -4
- package/dist/components/snap-carousel.js +4 -4
- package/dist/components/solid.cjs +9 -9
- package/dist/components/solid.js +9 -9
- package/dist/components/svelte.cjs +9 -9
- package/dist/components/svelte.js +9 -9
- package/dist/components/svg.cjs +2 -2
- package/dist/components/svg.js +2 -2
- package/dist/components/text.cjs +3 -3
- package/dist/components/text.js +3 -3
- package/dist/components/timeline.cjs +3 -3
- package/dist/components/timeline.js +4 -4
- package/dist/components/tokens.cjs +1 -1
- package/dist/components/tokens.js +1 -1
- package/dist/components/transitions.cjs +2 -2
- package/dist/components/transitions.js +2 -2
- package/dist/components/ui.cjs +8 -8
- package/dist/components/ui.js +9 -9
- package/dist/components/vue.cjs +9 -9
- package/dist/components/vue.js +9 -9
- package/dist/components/webgl.cjs +2 -2
- package/dist/components/webgl.js +2 -2
- package/dist/components/widgets.cjs +62 -62
- package/dist/components/widgets.d.cts +4 -3
- package/dist/components/widgets.d.ts +4 -3
- package/dist/components/widgets.js +111 -111
- package/dist/components.cjs +9 -9
- package/dist/components.js +11 -11
- package/dist/components.umd.js +2 -2
- package/dist/effects/achievement-unlock.cjs +3 -3
- package/dist/effects/achievement-unlock.js +3 -3
- package/dist/effects/aurora-veil.cjs +3 -3
- package/dist/effects/aurora-veil.js +3 -3
- package/dist/effects/badge-pop.cjs +3 -3
- package/dist/effects/badge-pop.js +3 -3
- package/dist/effects/bars-grow.cjs +3 -3
- package/dist/effects/bars-grow.js +3 -3
- package/dist/effects/beat-bounce.cjs +4 -4
- package/dist/effects/beat-bounce.js +4 -4
- package/dist/effects/blob-button.cjs +3 -3
- package/dist/effects/blob-button.js +3 -3
- package/dist/effects/bloom.cjs +3 -3
- package/dist/effects/bloom.js +3 -3
- package/dist/effects/breathe.cjs +3 -3
- package/dist/effects/breathe.js +3 -3
- package/dist/effects/brushed-metal.cjs +3 -3
- package/dist/effects/brushed-metal.js +3 -3
- package/dist/effects/camera-dolly.cjs +3 -3
- package/dist/effects/camera-dolly.js +3 -3
- package/dist/effects/card-flip-3d.cjs +3 -3
- package/dist/effects/card-flip-3d.js +3 -3
- package/dist/effects/chest-open.cjs +3 -3
- package/dist/effects/chest-open.js +3 -3
- package/dist/effects/cloth.cjs +3 -3
- package/dist/effects/cloth.js +3 -3
- package/dist/effects/coin-burst.cjs +3 -3
- package/dist/effects/coin-burst.js +3 -3
- package/dist/effects/color-pulse.cjs +3 -3
- package/dist/effects/color-pulse.js +3 -3
- package/dist/effects/crt-power.cjs +3 -3
- package/dist/effects/crt-power.js +3 -3
- package/dist/effects/crumple.cjs +3 -3
- package/dist/effects/crumple.js +3 -3
- package/dist/effects/data-decode.cjs +3 -3
- package/dist/effects/data-decode.js +3 -3
- package/dist/effects/day-cycle.cjs +3 -3
- package/dist/effects/day-cycle.js +3 -3
- package/dist/effects/depth-in.cjs +3 -3
- package/dist/effects/depth-in.js +3 -3
- package/dist/effects/depth-pop.cjs +3 -3
- package/dist/effects/depth-pop.js +3 -3
- package/dist/effects/depth-stack.cjs +3 -3
- package/dist/effects/depth-stack.js +3 -3
- package/dist/effects/dolly-in.cjs +3 -3
- package/dist/effects/dolly-in.js +3 -3
- package/dist/effects/dots-pop.cjs +3 -3
- package/dist/effects/dots-pop.js +3 -3
- package/dist/effects/field-shake.cjs +3 -3
- package/dist/effects/field-shake.js +3 -3
- package/dist/effects/field-success.cjs +3 -3
- package/dist/effects/field-success.js +3 -3
- package/dist/effects/film-burn.cjs +3 -3
- package/dist/effects/film-burn.js +3 -3
- package/dist/effects/fire.cjs +4 -4
- package/dist/effects/fire.js +4 -4
- package/dist/effects/fireflies.cjs +4 -4
- package/dist/effects/fireflies.js +4 -4
- package/dist/effects/firework-burst.cjs +3 -3
- package/dist/effects/firework-burst.js +3 -3
- package/dist/effects/flip-chars.cjs +3 -3
- package/dist/effects/flip-chars.js +3 -3
- package/dist/effects/fluid.cjs +4 -4
- package/dist/effects/fluid.js +4 -4
- package/dist/effects/fly-to-cart.cjs +3 -3
- package/dist/effects/fly-to-cart.js +3 -3
- package/dist/effects/focus-draw.cjs +3 -3
- package/dist/effects/focus-draw.js +3 -3
- package/dist/effects/focus-glow.cjs +3 -3
- package/dist/effects/focus-glow.js +3 -3
- package/dist/effects/fog.cjs +3 -3
- package/dist/effects/fog.js +3 -3
- package/dist/effects/font-breathe.cjs +3 -3
- package/dist/effects/font-breathe.js +3 -3
- package/dist/effects/form-cascade.cjs +3 -3
- package/dist/effects/form-cascade.js +3 -3
- package/dist/effects/gen-skeleton.cjs +3 -3
- package/dist/effects/gen-skeleton.js +3 -3
- package/dist/effects/glass-frost.cjs +3 -3
- package/dist/effects/glass-frost.js +3 -3
- package/dist/effects/glitch-text.cjs +3 -3
- package/dist/effects/glitch-text.js +3 -3
- package/dist/effects/globe-spin.cjs +3 -3
- package/dist/effects/globe-spin.js +3 -3
- package/dist/effects/god-rays.cjs +3 -3
- package/dist/effects/god-rays.js +3 -3
- package/dist/effects/gpu-lift.cjs +3 -3
- package/dist/effects/gpu-lift.js +3 -3
- package/dist/effects/grain-flicker.cjs +3 -3
- package/dist/effects/grain-flicker.js +3 -3
- package/dist/effects/halftone-in.cjs +3 -3
- package/dist/effects/halftone-in.js +3 -3
- package/dist/effects/highlight-sweep.cjs +3 -3
- package/dist/effects/highlight-sweep.js +3 -3
- package/dist/effects/hologram.cjs +3 -3
- package/dist/effects/hologram.js +3 -3
- package/dist/effects/hud-frame.cjs +3 -3
- package/dist/effects/hud-frame.js +3 -3
- package/dist/effects/icon-pop.cjs +3 -3
- package/dist/effects/icon-pop.js +3 -3
- package/dist/effects/icon-swap.cjs +3 -3
- package/dist/effects/icon-swap.js +3 -3
- package/dist/effects/idle-reveal.cjs +3 -3
- package/dist/effects/idle-reveal.js +3 -3
- package/dist/effects/ink.cjs +4 -4
- package/dist/effects/ink.js +4 -4
- package/dist/effects/jump-cut.cjs +3 -3
- package/dist/effects/jump-cut.js +3 -3
- package/dist/effects/kaleido.cjs +3 -3
- package/dist/effects/kaleido.js +3 -3
- package/dist/effects/label-float.cjs +3 -3
- package/dist/effects/label-float.js +3 -3
- package/dist/effects/lantern-rise.cjs +3 -3
- package/dist/effects/lantern-rise.js +3 -3
- package/dist/effects/leaves.cjs +4 -4
- package/dist/effects/leaves.js +4 -4
- package/dist/effects/letterbox.cjs +3 -3
- package/dist/effects/letterbox.js +3 -3
- package/dist/effects/level-up.cjs +3 -3
- package/dist/effects/level-up.js +3 -3
- package/dist/effects/light-follow.cjs +3 -3
- package/dist/effects/light-follow.js +3 -3
- package/dist/effects/lightning.cjs +3 -3
- package/dist/effects/lightning.js +3 -3
- package/dist/effects/line-draw.cjs +3 -3
- package/dist/effects/line-draw.js +3 -3
- package/dist/effects/liquid-text.cjs +3 -3
- package/dist/effects/liquid-text.js +3 -3
- package/dist/effects/liquid-wipe.cjs +3 -3
- package/dist/effects/liquid-wipe.js +3 -3
- package/dist/effects/lottie-play.cjs +3 -3
- package/dist/effects/lottie-play.js +3 -3
- package/dist/effects/magnet.cjs +3 -3
- package/dist/effects/magnet.js +3 -3
- package/dist/effects/marching-ants.cjs +3 -3
- package/dist/effects/marching-ants.js +3 -3
- package/dist/effects/marker-pulse.cjs +3 -3
- package/dist/effects/marker-pulse.js +3 -3
- package/dist/effects/mention-glow.cjs +3 -3
- package/dist/effects/mention-glow.js +3 -3
- package/dist/effects/mesh-drift.cjs +3 -3
- package/dist/effects/mesh-drift.js +3 -3
- package/dist/effects/message-in.cjs +3 -3
- package/dist/effects/message-in.js +3 -3
- package/dist/effects/mosaic-flip.cjs +3 -3
- package/dist/effects/mosaic-flip.js +3 -3
- package/dist/effects/neon-ignite.cjs +3 -3
- package/dist/effects/neon-ignite.js +3 -3
- package/dist/effects/neon-pulse.cjs +3 -3
- package/dist/effects/neon-pulse.js +3 -3
- package/dist/effects/neon-write.cjs +3 -3
- package/dist/effects/neon-write.js +3 -3
- package/dist/effects/neu-press.cjs +3 -3
- package/dist/effects/neu-press.js +3 -3
- package/dist/effects/noise-reveal.cjs +3 -3
- package/dist/effects/noise-reveal.js +3 -3
- package/dist/effects/number-roll.cjs +3 -3
- package/dist/effects/number-roll.js +3 -3
- package/dist/effects/orbit-camera.cjs +3 -3
- package/dist/effects/orbit-camera.js +3 -3
- package/dist/effects/orbit-in.cjs +3 -3
- package/dist/effects/orbit-in.js +3 -3
- package/dist/effects/origami.cjs +3 -3
- package/dist/effects/origami.js +3 -3
- package/dist/effects/page-curl.cjs +3 -3
- package/dist/effects/page-curl.js +3 -3
- package/dist/effects/pan-reveal.cjs +3 -3
- package/dist/effects/pan-reveal.js +3 -3
- package/dist/effects/paper-unfold.cjs +3 -3
- package/dist/effects/paper-unfold.js +3 -3
- package/dist/effects/particle-text.cjs +3 -3
- package/dist/effects/particle-text.js +3 -3
- package/dist/effects/path-morph.cjs +3 -3
- package/dist/effects/path-morph.js +3 -3
- package/dist/effects/pearlescent.cjs +3 -3
- package/dist/effects/pearlescent.js +3 -3
- package/dist/effects/pencil-sketch.cjs +3 -3
- package/dist/effects/pencil-sketch.js +3 -3
- package/dist/effects/pin-drop.cjs +3 -3
- package/dist/effects/pin-drop.js +3 -3
- package/dist/effects/pinball.cjs +3 -3
- package/dist/effects/pinball.js +3 -3
- package/dist/effects/pinch-hint.cjs +3 -3
- package/dist/effects/pinch-hint.js +3 -3
- package/dist/effects/pixelate-in.cjs +3 -3
- package/dist/effects/pixelate-in.js +3 -3
- package/dist/effects/pointer-shadow.cjs +3 -3
- package/dist/effects/pointer-shadow.js +3 -3
- package/dist/effects/portal-open.cjs +3 -3
- package/dist/effects/portal-open.js +3 -3
- package/dist/effects/price-flip.cjs +3 -3
- package/dist/effects/price-flip.js +3 -3
- package/dist/effects/product-spin.cjs +3 -3
- package/dist/effects/product-spin.js +3 -3
- package/dist/effects/rack-focus.cjs +3 -3
- package/dist/effects/rack-focus.js +3 -3
- package/dist/effects/radial-spectrum.cjs +4 -4
- package/dist/effects/radial-spectrum.js +4 -4
- package/dist/effects/rain-glass.cjs +3 -3
- package/dist/effects/rain-glass.js +3 -3
- package/dist/effects/reaction-burst.cjs +3 -3
- package/dist/effects/reaction-burst.js +3 -3
- package/dist/effects/read-receipt.cjs +3 -3
- package/dist/effects/read-receipt.js +3 -3
- package/dist/effects/refraction.cjs +3 -3
- package/dist/effects/refraction.js +3 -3
- package/dist/effects/ring-sweep.cjs +3 -3
- package/dist/effects/ring-sweep.js +3 -3
- package/dist/effects/ripple-dissolve.cjs +3 -3
- package/dist/effects/ripple-dissolve.js +3 -3
- package/dist/effects/rope.cjs +3 -3
- package/dist/effects/rope.js +3 -3
- package/dist/effects/route-draw.cjs +3 -3
- package/dist/effects/route-draw.js +3 -3
- package/dist/effects/safe-fade.cjs +3 -3
- package/dist/effects/safe-fade.js +3 -3
- package/dist/effects/sakura.cjs +4 -4
- package/dist/effects/sakura.js +4 -4
- package/dist/effects/sale-shine.cjs +3 -3
- package/dist/effects/sale-shine.js +3 -3
- package/dist/effects/sankey-flow.cjs +3 -3
- package/dist/effects/sankey-flow.js +3 -3
- package/dist/effects/scanline-sweep.cjs +3 -3
- package/dist/effects/scanline-sweep.js +3 -3
- package/dist/effects/shatter.cjs +3 -3
- package/dist/effects/shatter.js +3 -3
- package/dist/effects/smoke.cjs +4 -4
- package/dist/effects/smoke.js +4 -4
- package/dist/effects/snowfall.cjs +3 -3
- package/dist/effects/snowfall.js +3 -3
- package/dist/effects/soft-body.cjs +3 -3
- package/dist/effects/soft-body.js +3 -3
- package/dist/effects/sound-particles.cjs +4 -4
- package/dist/effects/sound-particles.js +4 -4
- package/dist/effects/spatial-float.cjs +3 -3
- package/dist/effects/spatial-float.js +3 -3
- package/dist/effects/spectrum-mirror.cjs +4 -4
- package/dist/effects/spectrum-mirror.js +4 -4
- package/dist/effects/splash.cjs +4 -4
- package/dist/effects/splash.js +4 -4
- package/dist/effects/spooky-float.cjs +3 -3
- package/dist/effects/spooky-float.js +3 -3
- package/dist/effects/stock-pulse.cjs +3 -3
- package/dist/effects/stock-pulse.js +3 -3
- package/dist/effects/stream-text.cjs +3 -3
- package/dist/effects/stream-text.js +3 -3
- package/dist/effects/stroke-draw.cjs +3 -3
- package/dist/effects/stroke-draw.js +3 -3
- package/dist/effects/success-check.cjs +3 -3
- package/dist/effects/success-check.js +3 -3
- package/dist/effects/swipe-hint.cjs +3 -3
- package/dist/effects/swipe-hint.js +3 -3
- package/dist/effects/text-trail.cjs +3 -3
- package/dist/effects/text-trail.js +3 -3
- package/dist/effects/thinking-glow.cjs +3 -3
- package/dist/effects/thinking-glow.js +3 -3
- package/dist/effects/tilt-wobble.cjs +3 -3
- package/dist/effects/tilt-wobble.js +3 -3
- package/dist/effects/typing-dots.cjs +3 -3
- package/dist/effects/typing-dots.js +3 -3
- package/dist/effects/underline-sweep.cjs +3 -3
- package/dist/effects/underline-sweep.js +3 -3
- package/dist/effects/vhs-glitch.cjs +3 -3
- package/dist/effects/vhs-glitch.js +3 -3
- package/dist/effects/vine-grow.cjs +3 -3
- package/dist/effects/vine-grow.js +3 -3
- package/dist/effects/vinyl-spin.cjs +4 -4
- package/dist/effects/vinyl-spin.js +4 -4
- package/dist/effects/voice-wave.cjs +3 -3
- package/dist/effects/voice-wave.js +3 -3
- package/dist/effects/water-drop.cjs +3 -3
- package/dist/effects/water-drop.js +3 -3
- package/dist/effects/watercolor.cjs +3 -3
- package/dist/effects/watercolor.js +3 -3
- package/dist/effects/waveform-scope.cjs +4 -4
- package/dist/effects/waveform-scope.js +4 -4
- package/dist/effects/xmas-snow.cjs +3 -3
- package/dist/effects/xmas-snow.js +3 -3
- package/dist/effects/xp-gain.cjs +3 -3
- package/dist/effects/xp-gain.js +3 -3
- package/dist/effects/y2k-shine.cjs +3 -3
- package/dist/effects/y2k-shine.js +3 -3
- package/dist/element.cjs +1 -1
- package/dist/element.js +1 -1
- package/dist/element.umd.js +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.js +3 -3
- package/dist/index.umd.js +1 -1
- package/dist/llms-full.txt +306 -300
- package/dist/llms.txt +2 -2
- package/dist/manifest.json +308 -279
- package/dist/presets/extended.cjs +1 -1
- package/dist/presets/extended.js +1 -1
- package/dist/presets-extended.umd.js +1 -1
- package/dist/react.cjs +1 -1
- package/dist/react.js +1 -1
- package/dist/runtime/drag-snap.cjs +2 -2
- package/dist/runtime/drag-snap.iife.js +1 -1
- package/dist/runtime/drag-snap.js +2 -2
- package/dist/runtime/format-apng.cjs +5 -5
- package/dist/runtime/format-apng.iife.js +1 -1
- package/dist/runtime/format-apng.js +5 -5
- package/dist/runtime/format-css.cjs +5 -5
- package/dist/runtime/format-css.iife.js +1 -1
- package/dist/runtime/format-css.js +5 -5
- package/dist/runtime/format-gif.cjs +5 -5
- package/dist/runtime/format-gif.iife.js +1 -1
- package/dist/runtime/format-gif.js +5 -5
- package/dist/runtime/format-gltf.cjs +2 -2
- package/dist/runtime/format-gltf.iife.js +1 -1
- package/dist/runtime/format-gltf.js +2 -2
- package/dist/runtime/format-motion.cjs +5 -5
- package/dist/runtime/format-motion.iife.js +1 -1
- package/dist/runtime/format-motion.js +5 -5
- package/dist/runtime/format-obj.cjs +2 -2
- package/dist/runtime/format-obj.iife.js +1 -1
- package/dist/runtime/format-obj.js +2 -2
- package/dist/runtime/format-scene.cjs +2 -2
- package/dist/runtime/format-scene.iife.js +1 -1
- package/dist/runtime/format-scene.js +2 -2
- package/dist/runtime/format-sprite.cjs +4 -4
- package/dist/runtime/format-sprite.iife.js +1 -1
- package/dist/runtime/format-sprite.js +4 -4
- package/dist/runtime/format-svg.cjs +4 -4
- package/dist/runtime/format-svg.iife.js +1 -1
- package/dist/runtime/format-svg.js +4 -4
- package/dist/runtime/format-webp.cjs +5 -5
- package/dist/runtime/format-webp.iife.js +1 -1
- package/dist/runtime/format-webp.js +5 -5
- package/dist/runtime/gl.cjs +2 -2
- package/dist/runtime/gl.iife.js +1 -1
- package/dist/runtime/gl.js +2 -2
- package/dist/runtime/gltf-anim.cjs +2 -2
- package/dist/runtime/gltf-anim.iife.js +1 -1
- package/dist/runtime/gltf-anim.js +2 -2
- package/dist/runtime/gltf-decoders.cjs +2 -2
- package/dist/runtime/gltf-decoders.iife.js +1 -1
- package/dist/runtime/gltf-decoders.js +2 -2
- package/dist/runtime/lottie-state.cjs +2 -2
- package/dist/runtime/lottie-state.iife.js +1 -1
- package/dist/runtime/lottie-state.js +2 -2
- package/dist/runtime/physics.cjs +2 -2
- package/dist/runtime/physics.iife.js +1 -1
- package/dist/runtime/physics.js +2 -2
- package/dist/runtime/scroll.cjs +3 -3
- package/dist/runtime/scroll.iife.js +1 -1
- package/dist/runtime/scroll.js +3 -3
- package/dist/runtime/smooth.cjs +2 -2
- package/dist/runtime/smooth.iife.js +1 -1
- package/dist/runtime/smooth.js +2 -2
- package/dist/runtime/text.cjs +2 -2
- package/dist/runtime/text.iife.js +1 -1
- package/dist/runtime/text.js +2 -2
- package/dist/runtime/vector.cjs +4 -4
- package/dist/runtime/vector.iife.js +1 -1
- package/dist/runtime/vector.js +4 -4
- package/dist/runtime.cjs +4 -4
- package/dist/runtime.d.cts +2 -2
- package/dist/runtime.d.ts +2 -2
- package/dist/runtime.iife.js +2 -2
- package/dist/runtime.js +6 -6
- package/dist/solid.cjs +1 -1
- package/dist/solid.js +1 -1
- package/dist/svelte.cjs +1 -1
- package/dist/svelte.js +1 -1
- package/dist/vue.cjs +1 -1
- package/dist/vue.js +1 -1
- package/dist/widgets/add-to-cart.cjs +6 -6
- package/dist/widgets/add-to-cart.js +6 -6
- package/dist/widgets/badge-wall.cjs +3 -3
- package/dist/widgets/badge-wall.js +3 -3
- package/dist/widgets/bar-chart.cjs +2 -2
- package/dist/widgets/bar-chart.js +2 -2
- package/dist/widgets/bg-generator.cjs +4 -4
- package/dist/widgets/bg-generator.js +4 -4
- package/dist/widgets/carousel.cjs +3 -3
- package/dist/widgets/carousel.js +3 -3
- package/dist/widgets/cart-drawer.cjs +3 -3
- package/dist/widgets/cart-drawer.js +3 -3
- package/dist/widgets/chapter-nav.cjs +2 -2
- package/dist/widgets/chapter-nav.js +2 -2
- package/dist/widgets/chat-composer.cjs +2 -2
- package/dist/widgets/chat-composer.js +2 -2
- package/dist/widgets/clock-control.cjs +2 -2
- package/dist/widgets/clock-control.js +2 -2
- package/dist/widgets/code-export.cjs +3 -3
- package/dist/widgets/code-export.js +3 -3
- package/dist/widgets/color-picker.cjs +3 -3
- package/dist/widgets/color-picker.js +3 -3
- package/dist/widgets/command-palette.cjs +3 -3
- package/dist/widgets/command-palette.js +3 -3
- package/dist/widgets/compare.cjs +2 -2
- package/dist/widgets/compare.js +2 -2
- package/dist/widgets/countdown.cjs +3 -3
- package/dist/widgets/countdown.js +3 -3
- package/dist/widgets/cube-gallery.cjs +2 -2
- package/dist/widgets/cube-gallery.js +2 -2
- package/dist/widgets/date-picker.cjs +3 -3
- package/dist/widgets/date-picker.js +3 -3
- package/dist/widgets/disclosure.cjs +3 -3
- package/dist/widgets/disclosure.js +3 -3
- package/dist/widgets/dock.cjs +2 -2
- package/dist/widgets/dock.js +2 -2
- package/dist/widgets/dotlottie.cjs +5 -5
- package/dist/widgets/dotlottie.js +5 -5
- package/dist/widgets/equalizer.cjs +3 -3
- package/dist/widgets/equalizer.js +3 -3
- package/dist/widgets/festival-banner.cjs +3 -3
- package/dist/widgets/festival-banner.js +3 -3
- package/dist/widgets/field.cjs +3 -3
- package/dist/widgets/field.js +3 -3
- package/dist/widgets/file-drop.cjs +2 -2
- package/dist/widgets/file-drop.js +2 -2
- package/dist/widgets/gauge.cjs +2 -2
- package/dist/widgets/gauge.js +2 -2
- package/dist/widgets/gen-art.cjs +3 -3
- package/dist/widgets/gen-art.js +3 -3
- package/dist/widgets/gesture-sticker.cjs +3 -3
- package/dist/widgets/gesture-sticker.js +3 -3
- package/dist/widgets/gl-model.cjs +5 -5
- package/dist/widgets/gl-model.js +5 -5
- package/dist/widgets/gl-scene.cjs +5 -5
- package/dist/widgets/gl-scene.js +5 -5
- package/dist/widgets/globe.cjs +3 -3
- package/dist/widgets/globe.js +3 -3
- package/dist/widgets/gpu-particles.cjs +3 -3
- package/dist/widgets/gpu-particles.js +3 -3
- package/dist/widgets/gyro-card.cjs +3 -3
- package/dist/widgets/gyro-card.js +3 -3
- package/dist/widgets/hero-video.cjs +3 -3
- package/dist/widgets/hero-video.js +3 -3
- package/dist/widgets/hud-panel.cjs +2 -2
- package/dist/widgets/hud-panel.js +2 -2
- package/dist/widgets/hydrate.cjs +2 -2
- package/dist/widgets/hydrate.js +2 -2
- package/dist/widgets/install-button.cjs +2 -2
- package/dist/widgets/install-button.js +2 -2
- package/dist/widgets/kanban.cjs +2 -2
- package/dist/widgets/kanban.js +2 -2
- package/dist/widgets/keyframe-editor.cjs +5 -5
- package/dist/widgets/keyframe-editor.js +5 -5
- package/dist/widgets/kpi.cjs +3 -3
- package/dist/widgets/kpi.js +3 -3
- package/dist/widgets/leaderboard.cjs +3 -3
- package/dist/widgets/leaderboard.js +3 -3
- package/dist/widgets/liquid-nav.cjs +2 -2
- package/dist/widgets/liquid-nav.js +2 -2
- package/dist/widgets/location-card.cjs +3 -3
- package/dist/widgets/location-card.js +3 -3
- package/dist/widgets/lottie-icon.cjs +4 -4
- package/dist/widgets/lottie-icon.js +4 -4
- package/dist/widgets/lottie-player.cjs +5 -5
- package/dist/widgets/lottie-player.js +5 -5
- package/dist/widgets/lottie.cjs +3 -3
- package/dist/widgets/lottie.js +3 -3
- package/dist/widgets/lyrics.cjs +3 -3
- package/dist/widgets/lyrics.js +3 -3
- package/dist/widgets/masonry-flow.cjs +2 -2
- package/dist/widgets/masonry-flow.js +2 -2
- package/dist/widgets/menu-toggle.cjs +3 -3
- package/dist/widgets/menu-toggle.js +3 -3
- package/dist/widgets/menu.cjs +3 -3
- package/dist/widgets/menu.js +3 -3
- package/dist/widgets/message-list.cjs +2 -2
- package/dist/widgets/message-list.js +2 -2
- package/dist/widgets/milestones.cjs +2 -2
- package/dist/widgets/milestones.js +2 -2
- package/dist/widgets/modal.cjs +3 -3
- package/dist/widgets/modal.js +3 -3
- package/dist/widgets/motion-inspector.cjs +3 -3
- package/dist/widgets/motion-inspector.js +3 -3
- package/dist/widgets/motion-prefs.cjs +3 -3
- package/dist/widgets/motion-prefs.js +3 -3
- package/dist/widgets/motion-prompt.cjs +2 -2
- package/dist/widgets/motion-prompt.js +2 -2
- package/dist/widgets/motion-spec.cjs +4 -4
- package/dist/widgets/motion-spec.js +4 -4
- package/dist/widgets/motion.cjs +3 -3
- package/dist/widgets/motion.js +3 -3
- package/dist/widgets/music-player.cjs +2 -2
- package/dist/widgets/music-player.js +2 -2
- package/dist/widgets/native-preview.cjs +4 -4
- package/dist/widgets/native-preview.js +4 -4
- package/dist/widgets/nav-morph.cjs +3 -3
- package/dist/widgets/nav-morph.js +3 -3
- package/dist/widgets/notification-bell.cjs +2 -2
- package/dist/widgets/notification-bell.js +2 -2
- package/dist/widgets/odometer.cjs +3 -3
- package/dist/widgets/odometer.js +3 -3
- package/dist/widgets/organic-card.cjs +3 -3
- package/dist/widgets/organic-card.js +3 -3
- package/dist/widgets/otp.cjs +3 -3
- package/dist/widgets/otp.js +3 -3
- package/dist/widgets/pagination.cjs +3 -3
- package/dist/widgets/pagination.js +3 -3
- package/dist/widgets/panorama.cjs +3 -3
- package/dist/widgets/panorama.js +3 -3
- package/dist/widgets/parallax-layers.cjs +2 -2
- package/dist/widgets/parallax-layers.js +2 -2
- package/dist/widgets/pause-all.cjs +2 -2
- package/dist/widgets/pause-all.js +2 -2
- package/dist/widgets/perf-monitor.cjs +3 -3
- package/dist/widgets/perf-monitor.js +3 -3
- package/dist/widgets/physics-playground.cjs +5 -5
- package/dist/widgets/physics-playground.js +5 -5
- package/dist/widgets/plugin-card.cjs +4 -4
- package/dist/widgets/plugin-card.js +4 -4
- package/dist/widgets/plugin-store.cjs +4 -4
- package/dist/widgets/plugin-store.js +4 -4
- package/dist/widgets/presence.cjs +3 -3
- package/dist/widgets/presence.js +3 -3
- package/dist/widgets/prize-wheel.cjs +3 -3
- package/dist/widgets/prize-wheel.js +3 -3
- package/dist/widgets/product-gallery.cjs +3 -3
- package/dist/widgets/product-gallery.js +3 -3
- package/dist/widgets/progress-ring.cjs +3 -3
- package/dist/widgets/progress-ring.js +3 -3
- package/dist/widgets/prop-panel.cjs +3 -3
- package/dist/widgets/prop-panel.js +3 -3
- package/dist/widgets/pull-cord.cjs +3 -3
- package/dist/widgets/pull-cord.js +3 -3
- package/dist/widgets/radar.cjs +3 -3
- package/dist/widgets/radar.js +3 -3
- package/dist/widgets/reactions.cjs +3 -3
- package/dist/widgets/reactions.js +3 -3
- package/dist/widgets/red-envelope.cjs +2 -2
- package/dist/widgets/red-envelope.js +2 -2
- package/dist/widgets/retro-button.cjs +3 -3
- package/dist/widgets/retro-button.js +3 -3
- package/dist/widgets/rive.cjs +3 -3
- package/dist/widgets/rive.js +3 -3
- package/dist/widgets/route-transition.cjs +2 -2
- package/dist/widgets/route-transition.js +2 -2
- package/dist/widgets/scene.cjs +3 -3
- package/dist/widgets/scene.js +3 -3
- package/dist/widgets/scroll-ring.cjs +2 -2
- package/dist/widgets/scroll-ring.js +2 -2
- package/dist/widgets/scroll-scene.cjs +5 -5
- package/dist/widgets/scroll-scene.js +5 -5
- package/dist/widgets/segmented.cjs +3 -3
- package/dist/widgets/segmented.js +3 -3
- package/dist/widgets/shader-backdrop.cjs +3 -3
- package/dist/widgets/shader-backdrop.js +3 -3
- package/dist/widgets/sheet.cjs +3 -3
- package/dist/widgets/sheet.js +3 -3
- package/dist/widgets/shortcut.cjs +3 -3
- package/dist/widgets/shortcut.js +3 -3
- package/dist/widgets/skeleton-reveal.cjs +3 -3
- package/dist/widgets/skeleton-reveal.js +3 -3
- package/dist/widgets/sketch-chart.cjs +3 -3
- package/dist/widgets/sketch-chart.js +3 -3
- package/dist/widgets/smooth-scroll.cjs +4 -4
- package/dist/widgets/smooth-scroll.js +4 -4
- package/dist/widgets/snap-carousel.cjs +4 -4
- package/dist/widgets/snap-carousel.js +4 -4
- package/dist/widgets/sparkline.cjs +3 -3
- package/dist/widgets/sparkline.js +3 -3
- package/dist/widgets/spatial-card.cjs +2 -2
- package/dist/widgets/spatial-card.js +2 -2
- package/dist/widgets/star-rating.cjs +2 -2
- package/dist/widgets/star-rating.js +2 -2
- package/dist/widgets/stepper.cjs +3 -3
- package/dist/widgets/stepper.js +3 -3
- package/dist/widgets/sticky-wall.cjs +3 -3
- package/dist/widgets/sticky-wall.js +3 -3
- package/dist/widgets/stories.cjs +2 -2
- package/dist/widgets/stories.js +2 -2
- package/dist/widgets/suggestion-chips.cjs +3 -3
- package/dist/widgets/suggestion-chips.js +3 -3
- package/dist/widgets/swipe-deck.cjs +2 -2
- package/dist/widgets/swipe-deck.js +2 -2
- package/dist/widgets/switch.cjs +3 -3
- package/dist/widgets/switch.js +3 -3
- package/dist/widgets/tab-bar.cjs +3 -3
- package/dist/widgets/tab-bar.js +3 -3
- package/dist/widgets/terminal.cjs +2 -2
- package/dist/widgets/terminal.js +2 -2
- package/dist/widgets/text-splitter.cjs +4 -4
- package/dist/widgets/text-splitter.js +4 -4
- package/dist/widgets/theme-surface.cjs +3 -3
- package/dist/widgets/theme-surface.js +3 -3
- package/dist/widgets/theme-switcher.cjs +3 -3
- package/dist/widgets/theme-switcher.js +3 -3
- package/dist/widgets/tip.cjs +3 -3
- package/dist/widgets/tip.js +3 -3
- package/dist/widgets/toast-stack.cjs +4 -4
- package/dist/widgets/toast-stack.js +4 -4
- package/dist/widgets/token-editor.cjs +2 -2
- package/dist/widgets/token-editor.js +2 -2
- package/dist/widgets/upload-progress.cjs +3 -3
- package/dist/widgets/upload-progress.js +3 -3
- package/dist/widgets/video-card.cjs +2 -2
- package/dist/widgets/video-card.js +2 -2
- package/dist/widgets/voice-button.cjs +3 -3
- package/dist/widgets/voice-button.js +3 -3
- package/dist/widgets/volume-knob.cjs +3 -3
- package/dist/widgets/volume-knob.js +3 -3
- package/dist/widgets/weather-card.cjs +3 -3
- package/dist/widgets/weather-card.js +3 -3
- package/dist/widgets/worker-canvas.cjs +4 -4
- package/dist/widgets/worker-canvas.js +4 -4
- package/dist/widgets/xp-bar.cjs +3 -3
- package/dist/widgets/xp-bar.js +3 -3
- package/dist/widgets.umd.js +2 -2
- package/docs/ai-provider.md +1 -1
- package/docs/architecture.md +1 -1
- package/docs/component-contract.md +12 -2
- package/docs/components/README.md +1 -1
- package/docs/components/usa-accordion.md +1 -1
- package/docs/components/usa-acrylic.md +1 -1
- package/docs/components/usa-add-to-cart.md +1 -1
- package/docs/components/usa-ambient.md +1 -1
- package/docs/components/usa-anim-icon.md +1 -1
- package/docs/components/usa-audio.md +1 -1
- package/docs/components/usa-aurora.md +1 -1
- package/docs/components/usa-auto-animate.md +1 -1
- package/docs/components/usa-auto-skeleton.md +1 -1
- package/docs/components/usa-avatar-stack.md +1 -1
- package/docs/components/usa-back-to-top.md +1 -1
- package/docs/components/usa-badge-wall.md +1 -1
- package/docs/components/usa-badge.md +1 -1
- package/docs/components/usa-bar-chart.md +1 -1
- package/docs/components/usa-bg-generator.md +1 -1
- package/docs/components/usa-blobs.md +1 -1
- package/docs/components/usa-bottom-sheet.md +1 -1
- package/docs/components/usa-button.md +1 -1
- package/docs/components/usa-card-stack.md +1 -1
- package/docs/components/usa-card.md +1 -1
- package/docs/components/usa-carousel-3d.md +1 -1
- package/docs/components/usa-carousel.md +1 -1
- package/docs/components/usa-cart-drawer.md +1 -1
- package/docs/components/usa-chapter-nav.md +1 -1
- package/docs/components/usa-chat-composer.md +1 -1
- package/docs/components/usa-check.md +1 -1
- package/docs/components/usa-checkbox.md +1 -1
- package/docs/components/usa-click.md +1 -1
- package/docs/components/usa-clock-control.md +1 -1
- package/docs/components/usa-code-export.md +1 -1
- package/docs/components/usa-color-picker.md +1 -1
- package/docs/components/usa-command-palette.md +1 -1
- package/docs/components/usa-compare.md +1 -1
- package/docs/components/usa-countdown.md +1 -1
- package/docs/components/usa-counter.md +1 -1
- package/docs/components/usa-cube-gallery.md +1 -1
- package/docs/components/usa-cube.md +1 -1
- package/docs/components/usa-cursor.md +1 -1
- package/docs/components/usa-date-picker.md +1 -1
- package/docs/components/usa-depth.md +1 -1
- package/docs/components/usa-dialog.md +2 -2
- package/docs/components/usa-disclosure.md +1 -1
- package/docs/components/usa-distort.md +1 -1
- package/docs/components/usa-dock.md +1 -1
- package/docs/components/usa-dot-network.md +1 -1
- package/docs/components/usa-dotlottie.md +6 -6
- package/docs/components/usa-double-tap.md +1 -1
- package/docs/components/usa-draggable.md +1 -1
- package/docs/components/usa-draw.md +1 -1
- package/docs/components/usa-drawer.md +1 -1
- package/docs/components/usa-equalizer.md +1 -1
- package/docs/components/usa-fab.md +1 -1
- package/docs/components/usa-festival-banner.md +1 -1
- package/docs/components/usa-field.md +1 -1
- package/docs/components/usa-file-drop.md +1 -1
- package/docs/components/usa-fullpage.md +1 -1
- package/docs/components/usa-fx.md +1 -1
- package/docs/components/usa-gauge.md +1 -1
- package/docs/components/usa-gen-art.md +1 -1
- package/docs/components/usa-gesture-fx.md +1 -1
- package/docs/components/usa-gesture-sticker.md +1 -1
- package/docs/components/usa-gl-model.md +7 -7
- package/docs/components/usa-gl-scene.md +8 -8
- package/docs/components/usa-glitch.md +1 -1
- package/docs/components/usa-globe.md +1 -1
- package/docs/components/usa-gpu-particles.md +1 -1
- package/docs/components/usa-gradient-text.md +1 -1
- package/docs/components/usa-grain.md +1 -1
- package/docs/components/usa-grid-glow.md +1 -1
- package/docs/components/usa-gyro-card.md +1 -1
- package/docs/components/usa-handwriting.md +1 -1
- package/docs/components/usa-hero-video.md +1 -1
- package/docs/components/usa-hold.md +1 -1
- package/docs/components/usa-hud-panel.md +1 -1
- package/docs/components/usa-hydrate.md +1 -1
- package/docs/components/usa-icon-morph.md +1 -1
- package/docs/components/usa-install-button.md +3 -3
- package/docs/components/usa-kanban.md +1 -1
- package/docs/components/usa-keyframe-editor.md +1 -1
- package/docs/components/usa-kpi.md +1 -1
- package/docs/components/usa-leaderboard.md +1 -1
- package/docs/components/usa-like.md +1 -1
- package/docs/components/usa-liquid-nav.md +1 -1
- package/docs/components/usa-liquid.md +1 -1
- package/docs/components/usa-loading-bar.md +1 -1
- package/docs/components/usa-location-card.md +1 -1
- package/docs/components/usa-lottie-icon.md +1 -1
- package/docs/components/usa-lottie-player.md +5 -5
- package/docs/components/usa-lottie.md +1 -1
- package/docs/components/usa-lyrics.md +1 -1
- package/docs/components/usa-magnetic.md +1 -1
- package/docs/components/usa-marquee.md +1 -1
- package/docs/components/usa-mask-reveal.md +1 -1
- package/docs/components/usa-masonry-flow.md +1 -1
- package/docs/components/usa-masonry.md +1 -1
- package/docs/components/usa-menu-toggle.md +1 -1
- package/docs/components/usa-menu.md +1 -1
- package/docs/components/usa-message-list.md +1 -1
- package/docs/components/usa-milestones.md +1 -1
- package/docs/components/usa-modal.md +6 -6
- package/docs/components/usa-morph.md +1 -1
- package/docs/components/usa-motion-inspector.md +1 -1
- package/docs/components/usa-motion-prefs.md +1 -1
- package/docs/components/usa-motion-prompt.md +1 -1
- package/docs/components/usa-motion-spec.md +1 -1
- package/docs/components/usa-motion-switch.md +1 -1
- package/docs/components/usa-motion-theme.md +1 -1
- package/docs/components/usa-motion.md +1 -1
- package/docs/components/usa-music-player.md +1 -1
- package/docs/components/usa-native-preview.md +1 -1
- package/docs/components/usa-nav-morph.md +1 -1
- package/docs/components/usa-navbar.md +1 -1
- package/docs/components/usa-notification-bell.md +1 -1
- package/docs/components/usa-odometer.md +1 -1
- package/docs/components/usa-organic-card.md +1 -1
- package/docs/components/usa-otp.md +1 -1
- package/docs/components/usa-overscroll.md +1 -1
- package/docs/components/usa-pack.md +1 -1
- package/docs/components/usa-pagination.md +1 -1
- package/docs/components/usa-panorama.md +1 -1
- package/docs/components/usa-parallax-layers.md +1 -1
- package/docs/components/usa-particles.md +1 -1
- package/docs/components/usa-pause-all.md +1 -1
- package/docs/components/usa-perf-monitor.md +1 -1
- package/docs/components/usa-physics-playground.md +6 -6
- package/docs/components/usa-pinch-zoom.md +1 -1
- package/docs/components/usa-player.md +1 -1
- package/docs/components/usa-plugin-card.md +4 -4
- package/docs/components/usa-plugin-store.md +1 -1
- package/docs/components/usa-popover.md +1 -1
- package/docs/components/usa-post-fx.md +1 -1
- package/docs/components/usa-presence.md +1 -1
- package/docs/components/usa-press.md +1 -1
- package/docs/components/usa-prize-wheel.md +1 -1
- package/docs/components/usa-product-gallery.md +1 -1
- package/docs/components/usa-progress-ring.md +1 -1
- package/docs/components/usa-progress.md +1 -1
- package/docs/components/usa-prop-panel.md +1 -1
- package/docs/components/usa-pull-cord.md +1 -1
- package/docs/components/usa-pull-refresh.md +2 -2
- package/docs/components/usa-radar.md +1 -1
- package/docs/components/usa-reactions.md +1 -1
- package/docs/components/usa-red-envelope.md +1 -1
- package/docs/components/usa-retro-button.md +1 -1
- package/docs/components/usa-reveal.md +1 -1
- package/docs/components/usa-ripple.md +1 -1
- package/docs/components/usa-rive.md +3 -3
- package/docs/components/usa-route-transition.md +1 -1
- package/docs/components/usa-scene.md +1 -1
- package/docs/components/usa-scramble.md +1 -1
- package/docs/components/usa-scroll-highlight.md +1 -1
- package/docs/components/usa-scroll-progress.md +1 -1
- package/docs/components/usa-scroll-ring.md +1 -1
- package/docs/components/usa-scroll-scene.md +5 -5
- package/docs/components/usa-scrolly.md +1 -1
- package/docs/components/usa-segmented.md +1 -1
- package/docs/components/usa-shader-backdrop.md +1 -1
- package/docs/components/usa-shader.md +1 -1
- package/docs/components/usa-sheet.md +6 -6
- package/docs/components/usa-shimmer-text.md +1 -1
- package/docs/components/usa-shortcut.md +1 -1
- package/docs/components/usa-skeleton-reveal.md +1 -1
- package/docs/components/usa-skeleton.md +1 -1
- package/docs/components/usa-sketch-chart.md +1 -1
- package/docs/components/usa-slider.md +1 -1
- package/docs/components/usa-smooth-scroll.md +5 -5
- package/docs/components/usa-snap-carousel.md +5 -5
- package/docs/components/usa-sparkline.md +1 -1
- package/docs/components/usa-spatial-card.md +1 -1
- package/docs/components/usa-spinner.md +1 -1
- package/docs/components/usa-splash.md +1 -1
- package/docs/components/usa-split-text.md +1 -1
- package/docs/components/usa-spotlight.md +1 -1
- package/docs/components/usa-spring.md +1 -1
- package/docs/components/usa-stagger.md +1 -1
- package/docs/components/usa-star-rating.md +1 -1
- package/docs/components/usa-stepper.md +1 -1
- package/docs/components/usa-sticky-stack.md +1 -1
- package/docs/components/usa-sticky-wall.md +1 -1
- package/docs/components/usa-stories.md +1 -1
- package/docs/components/usa-story.md +1 -1
- package/docs/components/usa-suggestion-chips.md +1 -1
- package/docs/components/usa-swipe-deck.md +1 -1
- package/docs/components/usa-swipeable.md +1 -1
- package/docs/components/usa-switch.md +1 -1
- package/docs/components/usa-tab-bar.md +1 -1
- package/docs/components/usa-tabs.md +1 -1
- package/docs/components/usa-terminal.md +1 -1
- package/docs/components/usa-text-rotate.md +1 -1
- package/docs/components/usa-text-splitter.md +5 -5
- package/docs/components/usa-theme-surface.md +1 -1
- package/docs/components/usa-theme-switcher.md +1 -1
- package/docs/components/usa-tilt.md +1 -1
- package/docs/components/usa-timeline.md +1 -1
- package/docs/components/usa-tip.md +1 -1
- package/docs/components/usa-toast-stack.md +1 -1
- package/docs/components/usa-toaster.md +1 -1
- package/docs/components/usa-token-editor.md +1 -1
- package/docs/components/usa-typewriter.md +1 -1
- package/docs/components/usa-upload-progress.md +1 -1
- package/docs/components/usa-video-card.md +1 -1
- package/docs/components/usa-view-switch.md +1 -1
- package/docs/components/usa-voice-button.md +1 -1
- package/docs/components/usa-volume-knob.md +1 -1
- package/docs/components/usa-water-ripple.md +1 -1
- package/docs/components/usa-wave-text.md +1 -1
- package/docs/components/usa-weather-card.md +1 -1
- package/docs/components/usa-worker-canvas.md +1 -1
- package/docs/components/usa-xp-bar.md +1 -1
- package/docs/components.md +53 -53
- package/docs/contract-report.json +1175 -27
- package/docs/contract-report.md +23 -15
- package/docs/mcp.md +2 -2
- package/docs/runtime/core.md +2 -2
- package/docs/runtime/drag-snap.md +3 -3
- package/docs/runtime/format-apng.md +3 -3
- package/docs/runtime/format-css.md +3 -3
- package/docs/runtime/format-gif.md +3 -3
- package/docs/runtime/format-gltf.md +3 -3
- package/docs/runtime/format-motion.md +3 -3
- package/docs/runtime/format-obj.md +3 -3
- package/docs/runtime/format-scene.md +3 -3
- package/docs/runtime/format-sprite.md +3 -3
- package/docs/runtime/format-svg.md +3 -3
- package/docs/runtime/format-webp.md +3 -3
- package/docs/runtime/gl.md +3 -3
- package/docs/runtime/gltf-anim.md +3 -3
- package/docs/runtime/gltf-decoders.md +3 -3
- package/docs/runtime/lottie-state.md +3 -3
- package/docs/runtime/physics.md +3 -3
- package/docs/runtime/scroll.md +3 -3
- package/docs/runtime/smooth.md +3 -3
- package/docs/runtime/text.md +3 -3
- package/docs/runtime/vector.md +3 -3
- package/docs/runtime-tiers.md +1 -1
- package/docs/upgrading-13.md +2 -0
- package/docs/versions.md +43 -0
- package/figma-plugin/README.md +1 -1
- package/figma-plugin/code.js +2 -2
- package/package.json +2 -54
- package/dist/deprecated/components-ai.d.cts +0 -21
- package/dist/deprecated/components-ai.d.ts +0 -21
- package/dist/deprecated/components-angular.d.cts +0 -12
- package/dist/deprecated/components-angular.d.ts +0 -12
- package/dist/deprecated/components-core.d.cts +0 -17
- package/dist/deprecated/components-core.d.ts +0 -17
- package/dist/deprecated/components-design.d.cts +0 -7
- package/dist/deprecated/components-design.d.ts +0 -7
- package/dist/deprecated/design.d.cts +0 -7
- package/dist/deprecated/design.d.ts +0 -7
package/README.md
CHANGED
|
@@ -2,21 +2,53 @@
|
|
|
2
2
|
|
|
3
3
|
# Motionary
|
|
4
4
|
|
|
5
|
-
**Scroll animations
|
|
5
|
+
**Scroll animations, animated Web Components and a zero-dependency motion runtime for the web.**
|
|
6
6
|
|
|
7
|
-
_Formerly **use-scroll-animate
|
|
7
|
+
_Formerly **use-scroll-animate**. The old npm package is still published as an alias of the same build._
|
|
8
8
|
|
|
9
|
-
[](https://www.npmjs.com/package/motionary) [](https://github.com/HarrisonCN/Motionary/actions/workflows/ci.yml) [](./LICENSE)
|
|
9
|
+
[](https://www.npmjs.com/package/motionary) [](https://github.com/HarrisonCN/Motionary/actions/workflows/ci.yml) [](https://bundlejs.com/?q=motionary/core) [](./LICENSE)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
**English** | [简体中文](./README_zh.md) | [日本語](./README_ja.md)
|
|
12
12
|
|
|
13
|
-
**[
|
|
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
|
|
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
|
-
<!--
|
|
29
|
-
<script src="https://unpkg.com/motionary@
|
|
30
|
-
<script src="https://unpkg.com/motionary@
|
|
31
|
-
<script src="https://unpkg.com/motionary@
|
|
62
|
+
<script src="https://unpkg.com/motionary@13/dist/index.umd.js"></script> <!-- scroll API: window.ScrollAnimate -->
|
|
63
|
+
<script src="https://unpkg.com/motionary@13/dist/presets-extended.umd.js"></script> <!-- +181 presets -->
|
|
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@
|
|
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
|
-
##
|
|
71
|
+
## Quick start
|
|
37
72
|
|
|
38
|
-
|
|
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();
|
|
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
|
-
|
|
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
|
-
|
|
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,89 +162,255 @@ const { animateRef } = useScrollAnimate({ animation: 'zoom-in' });
|
|
|
94
162
|
```jsx
|
|
95
163
|
// Solid
|
|
96
164
|
import { scrollAnimate } from 'motionary/solid';
|
|
97
|
-
scrollAnimate; //
|
|
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)
|
|
170
|
+
// Angular (standalone): the <usa-*> elements
|
|
103
171
|
import { APP_INITIALIZER, CUSTOM_ELEMENTS_SCHEMA, Component } from '@angular/core';
|
|
104
|
-
import {
|
|
105
|
-
|
|
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-
|
|
109
|
-
export class
|
|
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
|
-
|
|
113
|
-
|
|
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
|
-
> 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).
|
|
123
181
|
|
|
124
|
-
|
|
182
|
+
## Runtime and tiers
|
|
125
183
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
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
|
|
134
201
|
```
|
|
135
202
|
|
|
136
|
-
|
|
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
|
|
137
208
|
|
|
138
|
-
|
|
|
209
|
+
| Page | What it does |
|
|
139
210
|
|---|---|
|
|
140
|
-
|
|
|
141
|
-
|
|
|
142
|
-
|
|
|
143
|
-
|
|
|
144
|
-
|
|
|
145
|
-
|
|
|
146
|
-
|
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
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
|
+
```
|
|
151
274
|
|
|
152
|
-
|
|
275
|
+
Claude Code: `claude mcp add motionary -- npx -y -p motionary motionary-mcp`.
|
|
153
276
|
|
|
154
|
-
|
|
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).
|
|
155
283
|
|
|
156
|
-
|
|
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.
|
|
157
289
|
|
|
158
|
-
|
|
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 |
|
|
159
358
|
|---|---|
|
|
160
|
-
|
|
|
161
|
-
|
|
|
162
|
-
|
|
|
163
|
-
|
|
|
164
|
-
|
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
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>
|
|
180
414
|
|
|
181
415
|
<!-- runtime:start -->
|
|
182
416
|
## Runtime (`motionary/runtime`) & prerequisites
|
|
@@ -185,28 +419,28 @@ Motionary ships its own zero-dependency animation runtime — shared ticker, twe
|
|
|
185
419
|
|
|
186
420
|
| Module | Import | CDN (IIFE) | Register | gzip budget |
|
|
187
421
|
|---|---|---|---|---|
|
|
188
|
-
| [Runtime core](docs/runtime/core.md) | `motionary/runtime` | `https://cdn.jsdelivr.net/npm/motionary@
|
|
189
|
-
| [CSS @keyframes & WAAPI keyframes loader](docs/runtime/format-css.md) | `motionary/runtime/format-css` | `https://cdn.jsdelivr.net/npm/motionary@
|
|
190
|
-
| [Motion / Framer keyframe JSON loader](docs/runtime/format-motion.md) | `motionary/runtime/format-motion` | `https://cdn.jsdelivr.net/npm/motionary@
|
|
191
|
-
| [Scroll scenes](docs/runtime/scroll.md) | `motionary/runtime/scroll` | `https://cdn.jsdelivr.net/npm/motionary@
|
|
192
|
-
| [SVG loader: SMIL playback + path morphing](docs/runtime/format-svg.md) | `motionary/runtime/format-svg` | `https://cdn.jsdelivr.net/npm/motionary@
|
|
193
|
-
| [Text splitting](docs/runtime/text.md) | `motionary/runtime/text` | `https://cdn.jsdelivr.net/npm/motionary@
|
|
194
|
-
| [Sprite sheets & image sequences](docs/runtime/format-sprite.md) | `motionary/runtime/format-sprite` | `https://cdn.jsdelivr.net/npm/motionary@
|
|
195
|
-
| [Smooth scrolling](docs/runtime/smooth.md) | `motionary/runtime/smooth` | `https://cdn.jsdelivr.net/npm/motionary@
|
|
196
|
-
| [GIF decoder](docs/runtime/format-gif.md) | `motionary/runtime/format-gif` | `https://cdn.jsdelivr.net/npm/motionary@
|
|
197
|
-
| [APNG loader](docs/runtime/format-apng.md) | `motionary/runtime/format-apng` | `https://cdn.jsdelivr.net/npm/motionary@
|
|
198
|
-
| [Animated WebP loader](docs/runtime/format-webp.md) | `motionary/runtime/format-webp` | `https://cdn.jsdelivr.net/npm/motionary@
|
|
199
|
-
| [WebGL2 scene renderer](docs/runtime/gl.md) | `motionary/runtime/gl` | `https://cdn.jsdelivr.net/npm/motionary@
|
|
200
|
-
| [glTF 2.0 / GLB loader](docs/runtime/format-gltf.md) | `motionary/runtime/format-gltf` | `https://cdn.jsdelivr.net/npm/motionary@
|
|
201
|
-
| [OBJ / MTL loader](docs/runtime/format-obj.md) | `motionary/runtime/format-obj` | `https://cdn.jsdelivr.net/npm/motionary@
|
|
202
|
-
| [Lottie + dotLottie player](docs/runtime/vector.md) | `motionary/runtime/vector` | `https://cdn.jsdelivr.net/npm/motionary@
|
|
422
|
+
| [Runtime core](docs/runtime/core.md) | `motionary/runtime` | `https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js` | `use();` | 5.5 KB |
|
|
423
|
+
| [CSS @keyframes & WAAPI keyframes loader](docs/runtime/format-css.md) | `motionary/runtime/format-css` | `https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/format-css.iife.js` | `use(formatCss);` | 2.5 KB |
|
|
424
|
+
| [Motion / Framer keyframe JSON loader](docs/runtime/format-motion.md) | `motionary/runtime/format-motion` | `https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/format-motion.iife.js` | `use(formatMotion);` | 2.5 KB |
|
|
425
|
+
| [Scroll scenes](docs/runtime/scroll.md) | `motionary/runtime/scroll` | `https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/scroll.iife.js` | `use(scroll);` | 4.5 KB |
|
|
426
|
+
| [SVG loader: SMIL playback + path morphing](docs/runtime/format-svg.md) | `motionary/runtime/format-svg` | `https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/format-svg.iife.js` | `use(formatSvg);` | 5.0 KB |
|
|
427
|
+
| [Text splitting](docs/runtime/text.md) | `motionary/runtime/text` | `https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/text.iife.js` | `use(text);` | 2.5 KB |
|
|
428
|
+
| [Sprite sheets & image sequences](docs/runtime/format-sprite.md) | `motionary/runtime/format-sprite` | `https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/format-sprite.iife.js` | `use(formatSprite);` | 3.0 KB |
|
|
429
|
+
| [Smooth scrolling](docs/runtime/smooth.md) | `motionary/runtime/smooth` | `https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/smooth.iife.js` | `use(smooth);` | 3.5 KB |
|
|
430
|
+
| [GIF decoder](docs/runtime/format-gif.md) | `motionary/runtime/format-gif` | `https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/format-gif.iife.js` | `use(formatGif);` | 3.0 KB |
|
|
431
|
+
| [APNG loader](docs/runtime/format-apng.md) | `motionary/runtime/format-apng` | `https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/format-apng.iife.js` | `use(formatApng);` | 3.0 KB |
|
|
432
|
+
| [Animated WebP loader](docs/runtime/format-webp.md) | `motionary/runtime/format-webp` | `https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/format-webp.iife.js` | `use(formatWebp);` | 3.0 KB |
|
|
433
|
+
| [WebGL2 scene renderer](docs/runtime/gl.md) | `motionary/runtime/gl` | `https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/gl.iife.js` | `use(gl);` | 9.0 KB |
|
|
434
|
+
| [glTF 2.0 / GLB loader](docs/runtime/format-gltf.md) | `motionary/runtime/format-gltf` | `https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/format-gltf.iife.js` | `use(formatGltf);` | 6.0 KB |
|
|
435
|
+
| [OBJ / MTL loader](docs/runtime/format-obj.md) | `motionary/runtime/format-obj` | `https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/format-obj.iife.js` | `use(formatObj);` | 3.0 KB |
|
|
436
|
+
| [Lottie + dotLottie player](docs/runtime/vector.md) | `motionary/runtime/vector` | `https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/vector.iife.js` | `use(vector);` | 12.0 KB |
|
|
203
437
|
| [Official Rive runtime](docs/runtime/rive.md) | `@rive-app/canvas` | `https://unpkg.com/@rive-app/canvas@2.44.1/rive.js` | `provideRiveRuntime(() => import('@rive-app/canvas')); // lazy: fetched when the first <usa-rive> mounts` | official runtime (not bundled) |
|
|
204
|
-
| [2D rigid-body physics](docs/runtime/physics.md) | `motionary/runtime/physics` | `https://cdn.jsdelivr.net/npm/motionary@
|
|
205
|
-
| [Scene JSON (motionary-scene@1)](docs/runtime/format-scene.md) | `motionary/runtime/format-scene` | `https://cdn.jsdelivr.net/npm/motionary@
|
|
206
|
-
| [Drag, inertia and snap points](docs/runtime/drag-snap.md) | `motionary/runtime/drag-snap` | `https://cdn.jsdelivr.net/npm/motionary@
|
|
207
|
-
| [glTF animation, skinning and morph targets](docs/runtime/gltf-anim.md) | `motionary/runtime/gltf-anim` | `https://cdn.jsdelivr.net/npm/motionary@
|
|
208
|
-
| [dotLottie themes + state machines](docs/runtime/lottie-state.md) | `motionary/runtime/lottie-state` | `https://cdn.jsdelivr.net/npm/motionary@
|
|
209
|
-
| [glTF decoder hooks (Draco, KTX2)](docs/runtime/gltf-decoders.md) | `motionary/runtime/gltf-decoders` | `https://cdn.jsdelivr.net/npm/motionary@
|
|
438
|
+
| [2D rigid-body physics](docs/runtime/physics.md) | `motionary/runtime/physics` | `https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/physics.iife.js` | `use(physics);` | 10.0 KB |
|
|
439
|
+
| [Scene JSON (motionary-scene@1)](docs/runtime/format-scene.md) | `motionary/runtime/format-scene` | `https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/format-scene.iife.js` | `use(formatScene);` | 3.0 KB |
|
|
440
|
+
| [Drag, inertia and snap points](docs/runtime/drag-snap.md) | `motionary/runtime/drag-snap` | `https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/drag-snap.iife.js` | `use(dragSnap);` | 4.0 KB |
|
|
441
|
+
| [glTF animation, skinning and morph targets](docs/runtime/gltf-anim.md) | `motionary/runtime/gltf-anim` | `https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/gltf-anim.iife.js` | `use(gltfAnim);` | 4.5 KB |
|
|
442
|
+
| [dotLottie themes + state machines](docs/runtime/lottie-state.md) | `motionary/runtime/lottie-state` | `https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/lottie-state.iife.js` | `use(lottieState);` | 3.5 KB |
|
|
443
|
+
| [glTF decoder hooks (Draco, KTX2)](docs/runtime/gltf-decoders.md) | `motionary/runtime/gltf-decoders` | `https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/gltf-decoders.iife.js` | `use(gltfDecoders);` | 3.0 KB |
|
|
210
444
|
| [Official Draco decoder (Google)](docs/runtime/draco3d.md) | `draco3d` | `https://www.gstatic.com/draco/versioned/decoders/1.5.7/draco_decoder.js` | `provideGltfDecoder('draco', () => import('draco3d')); // lazy: fetched when the first Draco-compressed model loads` | official runtime (not bundled) |
|
|
211
445
|
| [Official Basis Universal transcoder (Binomial)](docs/runtime/basis-transcoder.md) | `basis_transcoder.js` | `https://cdn.jsdelivr.net/gh/BinomialLLC/basis_universal@1.16.4/webgl/transcoder/build/basis_transcoder.js` | `provideGltfDecoder('ktx2', () => import('/vendor/basis_transcoder.js').then((m) => m.default || window.BASIS)); // lazy: fetched with the first KTX2 texture` | official runtime (not bundled) |
|
|
212
446
|
|
|
@@ -228,10 +462,10 @@ definePluginCard(); // registers <usa-plugin-card> — after the prerequisites
|
|
|
228
462
|
- **CDN:**
|
|
229
463
|
|
|
230
464
|
```html
|
|
231
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
465
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
232
466
|
<!-- then the component bundles -->
|
|
233
|
-
<script src="https://unpkg.com/motionary@
|
|
234
|
-
<script src="https://unpkg.com/motionary@
|
|
467
|
+
<script src="https://unpkg.com/motionary@13/dist/components.umd.js"></script>
|
|
468
|
+
<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>
|
|
235
469
|
```
|
|
236
470
|
|
|
237
471
|
- **Minimal example:**
|
|
@@ -259,11 +493,11 @@ defineScrollScene(); // registers <usa-scroll-scene> — after the prerequisites
|
|
|
259
493
|
- **CDN:**
|
|
260
494
|
|
|
261
495
|
```html
|
|
262
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
263
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
496
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
497
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/scroll.iife.js"></script>
|
|
264
498
|
<!-- then the component bundles -->
|
|
265
|
-
<script src="https://unpkg.com/motionary@
|
|
266
|
-
<script src="https://unpkg.com/motionary@
|
|
499
|
+
<script src="https://unpkg.com/motionary@13/dist/components.umd.js"></script>
|
|
500
|
+
<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>
|
|
267
501
|
```
|
|
268
502
|
|
|
269
503
|
- **Minimal example:**
|
|
@@ -292,11 +526,11 @@ defineTextSplitter(); // registers <usa-text-splitter> — after the prerequisit
|
|
|
292
526
|
- **CDN:**
|
|
293
527
|
|
|
294
528
|
```html
|
|
295
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
296
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
529
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
530
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/text.iife.js"></script>
|
|
297
531
|
<!-- then the component bundles -->
|
|
298
|
-
<script src="https://unpkg.com/motionary@
|
|
299
|
-
<script src="https://unpkg.com/motionary@
|
|
532
|
+
<script src="https://unpkg.com/motionary@13/dist/components.umd.js"></script>
|
|
533
|
+
<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>
|
|
300
534
|
```
|
|
301
535
|
|
|
302
536
|
- **Minimal example:**
|
|
@@ -322,11 +556,11 @@ defineSmoothScroll(); // registers <usa-smooth-scroll> — after the prerequisit
|
|
|
322
556
|
- **CDN:**
|
|
323
557
|
|
|
324
558
|
```html
|
|
325
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
326
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
559
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
560
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/smooth.iife.js"></script>
|
|
327
561
|
<!-- then the component bundles -->
|
|
328
|
-
<script src="https://unpkg.com/motionary@
|
|
329
|
-
<script src="https://unpkg.com/motionary@
|
|
562
|
+
<script src="https://unpkg.com/motionary@13/dist/components.umd.js"></script>
|
|
563
|
+
<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>
|
|
330
564
|
```
|
|
331
565
|
|
|
332
566
|
- **Minimal example:**
|
|
@@ -355,14 +589,14 @@ defineGlScene(); // registers <usa-gl-scene> — after the prerequisites
|
|
|
355
589
|
- **CDN:**
|
|
356
590
|
|
|
357
591
|
```html
|
|
358
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
359
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
360
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
361
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
362
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
592
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
593
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/gl.iife.js"></script>
|
|
594
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/format-gltf.iife.js"></script>
|
|
595
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/format-obj.iife.js"></script>
|
|
596
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/gltf-anim.iife.js"></script>
|
|
363
597
|
<!-- then the component bundles -->
|
|
364
|
-
<script src="https://unpkg.com/motionary@
|
|
365
|
-
<script src="https://unpkg.com/motionary@
|
|
598
|
+
<script src="https://unpkg.com/motionary@13/dist/components.umd.js"></script>
|
|
599
|
+
<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>
|
|
366
600
|
```
|
|
367
601
|
|
|
368
602
|
- **Minimal example:**
|
|
@@ -388,11 +622,11 @@ defineLottiePlayer(); // registers <usa-lottie-player> — after the prerequisit
|
|
|
388
622
|
- **CDN:**
|
|
389
623
|
|
|
390
624
|
```html
|
|
391
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
392
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
625
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
626
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/vector.iife.js"></script>
|
|
393
627
|
<!-- then the component bundles -->
|
|
394
|
-
<script src="https://unpkg.com/motionary@
|
|
395
|
-
<script src="https://unpkg.com/motionary@
|
|
628
|
+
<script src="https://unpkg.com/motionary@13/dist/components.umd.js"></script>
|
|
629
|
+
<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>
|
|
396
630
|
```
|
|
397
631
|
|
|
398
632
|
- **Minimal example:**
|
|
@@ -419,8 +653,8 @@ defineRive(); // registers <usa-rive> — after the prerequisites
|
|
|
419
653
|
```html
|
|
420
654
|
<script src="https://unpkg.com/@rive-app/canvas@2.44.1/rive.js"></script>
|
|
421
655
|
<!-- then the component bundles -->
|
|
422
|
-
<script src="https://unpkg.com/motionary@
|
|
423
|
-
<script src="https://unpkg.com/motionary@
|
|
656
|
+
<script src="https://unpkg.com/motionary@13/dist/components.umd.js"></script>
|
|
657
|
+
<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>
|
|
424
658
|
```
|
|
425
659
|
|
|
426
660
|
- **Minimal example:**
|
|
@@ -447,12 +681,12 @@ definePhysicsPlayground(); // registers <usa-physics-playground> — after the p
|
|
|
447
681
|
- **CDN:**
|
|
448
682
|
|
|
449
683
|
```html
|
|
450
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
451
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
452
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
684
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
685
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/physics.iife.js"></script>
|
|
686
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/format-scene.iife.js"></script>
|
|
453
687
|
<!-- then the component bundles -->
|
|
454
|
-
<script src="https://unpkg.com/motionary@
|
|
455
|
-
<script src="https://unpkg.com/motionary@
|
|
688
|
+
<script src="https://unpkg.com/motionary@13/dist/components.umd.js"></script>
|
|
689
|
+
<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>
|
|
456
690
|
```
|
|
457
691
|
|
|
458
692
|
- **Minimal example:**
|
|
@@ -478,11 +712,11 @@ defineSnapCarousel(); // registers <usa-snap-carousel> — after the prerequisit
|
|
|
478
712
|
- **CDN:**
|
|
479
713
|
|
|
480
714
|
```html
|
|
481
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
482
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
715
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
716
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/drag-snap.iife.js"></script>
|
|
483
717
|
<!-- then the component bundles -->
|
|
484
|
-
<script src="https://unpkg.com/motionary@
|
|
485
|
-
<script src="https://unpkg.com/motionary@
|
|
718
|
+
<script src="https://unpkg.com/motionary@13/dist/components.umd.js"></script>
|
|
719
|
+
<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>
|
|
486
720
|
```
|
|
487
721
|
|
|
488
722
|
- **Minimal example:**
|
|
@@ -513,12 +747,12 @@ defineDotLottie(); // registers <usa-dotlottie> — after the prerequisites
|
|
|
513
747
|
- **CDN:**
|
|
514
748
|
|
|
515
749
|
```html
|
|
516
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
517
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
518
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
750
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
751
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/vector.iife.js"></script>
|
|
752
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/lottie-state.iife.js"></script>
|
|
519
753
|
<!-- then the component bundles -->
|
|
520
|
-
<script src="https://unpkg.com/motionary@
|
|
521
|
-
<script src="https://unpkg.com/motionary@
|
|
754
|
+
<script src="https://unpkg.com/motionary@13/dist/components.umd.js"></script>
|
|
755
|
+
<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>
|
|
522
756
|
```
|
|
523
757
|
|
|
524
758
|
- **Minimal example:**
|
|
@@ -549,15 +783,15 @@ defineGlModel(); // registers <usa-gl-model> — after the prerequisites
|
|
|
549
783
|
- **CDN:**
|
|
550
784
|
|
|
551
785
|
```html
|
|
552
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
553
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
554
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
555
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
786
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
787
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/gl.iife.js"></script>
|
|
788
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/format-gltf.iife.js"></script>
|
|
789
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/gltf-decoders.iife.js"></script>
|
|
556
790
|
<script src="https://www.gstatic.com/draco/versioned/decoders/1.5.7/draco_decoder.js"></script>
|
|
557
791
|
<script src="https://cdn.jsdelivr.net/gh/BinomialLLC/basis_universal@1.16.4/webgl/transcoder/build/basis_transcoder.js"></script>
|
|
558
792
|
<!-- then the component bundles -->
|
|
559
|
-
<script src="https://unpkg.com/motionary@
|
|
560
|
-
<script src="https://unpkg.com/motionary@
|
|
793
|
+
<script src="https://unpkg.com/motionary@13/dist/components.umd.js"></script>
|
|
794
|
+
<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>
|
|
561
795
|
```
|
|
562
796
|
|
|
563
797
|
- **Minimal example:**
|
|
@@ -568,13 +802,18 @@ defineGlModel(); // registers <usa-gl-model> — after the prerequisites
|
|
|
568
802
|
|
|
569
803
|
<!-- runtime:end -->
|
|
570
804
|
|
|
805
|
+
</details>
|
|
806
|
+
|
|
807
|
+
<details>
|
|
808
|
+
<summary><b>Stable API and compatibility matrix (frozen in 11.0)</b></summary>
|
|
809
|
+
|
|
571
810
|
<!-- stable:start -->
|
|
572
811
|
## Stable API (11.x) & compatibility matrix
|
|
573
812
|
|
|
574
813
|
From 11.0 these are stable and follow semver until 12.0 (additions only in minors; see [docs/upgrading-11.md](./docs/upgrading-11.md)):
|
|
575
814
|
|
|
576
815
|
- `motionary/runtime` and every `motionary/runtime/<module>` export and module id;
|
|
577
|
-
- the AI manifest **schema v2** (`components.json`, `motionary/manifest.json`, `stability: "stable"`) and the `motionary-scene@1` format;
|
|
816
|
+
- the AI manifest **schema v2** (`components.json`, `motionary/tooling/manifest.json`, `stability: "stable"`) and the `motionary-scene@1` format;
|
|
578
817
|
- `motionary-mcp` **2.x** tool names and result shapes;
|
|
579
818
|
- the individual entry points (`motionary/widgets/<name>`, `motionary/effects/<name>`, `motionary/components/<name>`) and their fixed gzip budgets;
|
|
580
819
|
- the compatibility matrix below — a ✅ row is not removed before 12.0.
|
|
@@ -609,72 +848,4 @@ From 11.0 these are stable and follow semver until 12.0 (additions only in minor
|
|
|
609
848
|
Feature by feature: [docs/compat-matrix.md](./docs/compat-matrix.md).
|
|
610
849
|
<!-- stable:end -->
|
|
611
850
|
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
- 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()`).
|
|
615
|
-
- `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.
|
|
616
|
-
- Details: [docs/accessibility.md](./docs/accessibility.md).
|
|
617
|
-
|
|
618
|
-
## Performance & size
|
|
619
|
-
|
|
620
|
-
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):
|
|
621
|
-
|
|
622
|
-
| What you import | gzip |
|
|
623
|
-
|---|---:|
|
|
624
|
-
| `import ScrollAnimate from 'motionary'` (default instance) | 5.72 kB |
|
|
625
|
-
| Everything from the main entry | 8.69 kB |
|
|
626
|
-
| `dist/index.umd.js` (CDN) | 8.81 kB |
|
|
627
|
-
| `parallax()` alone | 1.22 kB |
|
|
628
|
-
| `motionary/presets/extended` (181 presets) | 4.69 kB |
|
|
629
|
-
| `motionary/components/reveal` | 4.10 kB |
|
|
630
|
-
| `motionary/components/effects` (8 effect packs) | 26.40 kB |
|
|
631
|
-
| `motionary/components/lite` (every component, CSS on demand) | 68.48 kB |
|
|
632
|
-
| `motionary/components` (every component + CSS) | 85.15 kB |
|
|
633
|
-
| `dist/components.umd.js` (CDN, everything) | 106.75 kB |
|
|
634
|
-
|
|
635
|
-
More: [docs/performance.md](./docs/performance.md).
|
|
636
|
-
|
|
637
|
-
## Browser support
|
|
638
|
-
|
|
639
|
-
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()`.
|
|
640
|
-
|
|
641
|
-
## Documentation
|
|
642
|
-
|
|
643
|
-
- **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).
|
|
644
|
-
- **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).
|
|
645
|
-
- **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).
|
|
646
|
-
- **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).
|
|
647
|
-
- **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.
|
|
648
|
-
|
|
649
|
-
- [API reference](./docs/API.md) — every export, option and `data-sa-*` attribute
|
|
650
|
-
- [Presets](./docs/presets.md) — all 214 by category
|
|
651
|
-
- [Components](./docs/components.md) — every `<usa-*>` element, attribute and event
|
|
652
|
-
- [Frameworks & SSR](./docs/frameworks-ssr.md) · [Windows apps](./docs/windows-apps.md) · [Hybrid apps (MAUI, Flutter, Electron, Tauri)](./docs/hybrid-apps.md)
|
|
653
|
-
- [Motion tokens](./docs/motion-tokens.md) · [Migrating from AOS](./docs/migration-from-aos.md) · [from GSAP ScrollTrigger](./docs/migration-from-gsap-scrolltrigger.md)
|
|
654
|
-
- [Demo page](./demo/index.html) — every preset clickable, no build step
|
|
655
|
-
|
|
656
|
-
## Upgrading
|
|
657
|
-
|
|
658
|
-
- 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).
|
|
659
|
-
- [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)
|
|
660
|
-
- [Changelog](./CHANGELOG.md)
|
|
661
|
-
|
|
662
|
-
## Architecture
|
|
663
|
-
|
|
664
|
-
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).
|
|
665
|
-
|
|
666
|
-
**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).
|
|
667
|
-
|
|
668
|
-
**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).
|
|
669
|
-
|
|
670
|
-
**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).
|
|
671
|
-
|
|
672
|
-
**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).
|
|
673
|
-
|
|
674
|
-
## Roadmap
|
|
675
|
-
|
|
676
|
-
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).
|
|
677
|
-
|
|
678
|
-
## Contributing & license
|
|
679
|
-
|
|
680
|
-
Issues and PRs welcome — see [CONTRIBUTING.md](./CONTRIBUTING.md). MIT © HarrisonCN — see [LICENSE](./LICENSE).
|
|
851
|
+
</details>
|