motionary 15.0.0 → 15.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +64 -0
- package/README.md +1 -1
- package/README_ja.md +1 -1
- package/README_zh.md +1 -1
- package/bin/mcp-tools-2.mjs +1 -1
- package/bin/motionary-mcp.mjs +39 -4
- package/bin/motionary.mjs +23 -0
- package/bin/public-paths.mjs +4 -0
- package/dist/chunks/{anim-image-Ez1S8O-R.js → anim-image-DemC-IrI.js} +2 -2
- package/dist/chunks/{anim-image-l5kN0qXS.cjs → anim-image-DlFRiQIv.cjs} +2 -2
- package/dist/chunks/audio-CWxlWX4e.js +1 -1
- package/dist/chunks/audio-D0LwPShE.cjs +1 -1
- package/dist/chunks/badge-wall-Bj-RRR7j.js +1 -1
- package/dist/chunks/badge-wall-CITexuW7.cjs +1 -1
- package/dist/chunks/base-BvH4nAcv.cjs +1 -1
- package/dist/chunks/base-QrtwTUOO.js +1 -1
- package/dist/chunks/bg-generator-CML8tPN8.cjs +1 -1
- package/dist/chunks/bg-generator-Dj1hH67O.js +1 -1
- package/dist/chunks/bind-B_CTL6Qn.js +1 -1
- package/dist/chunks/bind-Ui43-n2d.cjs +1 -1
- package/dist/chunks/builtins-DQ_KD-84.js +1 -1
- package/dist/chunks/builtins-DweCp29Z.cjs +1 -1
- package/dist/chunks/carousel-DEgoYGFx.js +1 -1
- package/dist/chunks/carousel-DU3rHTq0.cjs +1 -1
- package/dist/chunks/cart-drawer-C0pY0dmc.js +1 -1
- package/dist/chunks/cart-drawer-CkFMKMhx.cjs +1 -1
- package/dist/chunks/code-export-B-eHxa4Z.js +1 -1
- package/dist/chunks/code-export-PdGSl9WE.cjs +1 -1
- package/dist/chunks/color-picker-B_xWVH8H.cjs +1 -1
- package/dist/chunks/color-picker-D15wk7nJ.js +1 -1
- package/dist/chunks/command-palette-BDNe1gMK.js +1 -1
- package/dist/chunks/command-palette-ISetAeX1.cjs +1 -1
- package/dist/chunks/core-BgR-tTTI.js +1 -1
- package/dist/chunks/core-BjcOCpJt.cjs +1 -1
- package/dist/chunks/core-CC1UXXEC.js +1 -1
- package/dist/chunks/core-DbAYRKnS.cjs +1 -1
- package/dist/chunks/core-Dj6iomdc.js +1 -1
- package/dist/chunks/core-DjjKLmZ6.cjs +1 -1
- package/dist/chunks/countdown-CG0Ihedq.js +1 -1
- package/dist/chunks/countdown-RQViryt7.cjs +1 -1
- package/dist/chunks/date-picker-BgApzPNn.cjs +1 -1
- package/dist/chunks/date-picker-DdlDcukY.js +1 -1
- package/dist/chunks/ease-HwYZnZat.cjs +1 -1
- package/dist/chunks/ease-XN8_0sXu.js +1 -1
- package/dist/chunks/equalizer--Sk1CWfZ.js +1 -1
- package/dist/chunks/equalizer-_eD_ZdCl.cjs +1 -1
- package/dist/chunks/festival-banner-BBqV8cdf.js +1 -1
- package/dist/chunks/festival-banner-Bs18K0MJ.cjs +1 -1
- package/dist/chunks/field-DDv6HlpL.js +1 -1
- package/dist/chunks/field-Dwq8-CLN.cjs +1 -1
- package/dist/chunks/format-DrRrPbjl.cjs +1 -1
- package/dist/chunks/format-efFi6HuG.js +1 -1
- package/dist/chunks/fx-DaVuB89C.cjs +1 -1
- package/dist/chunks/fx-cO_b2EVv.js +1 -1
- package/dist/chunks/generative-BKoxWOSP.cjs +1 -1
- package/dist/chunks/generative-BNmS-QUD.js +1 -1
- package/dist/chunks/{gl-scene-Zv7xElRE.cjs → gl-scene-CEXKMWxX.cjs} +2 -2
- package/dist/chunks/{gl-scene-Br-dE_j4.js → gl-scene-T2lwGZQl.js} +2 -2
- package/dist/chunks/globe-DA0jyb6s.cjs +1 -1
- package/dist/chunks/globe-l0QidRYi.js +1 -1
- package/dist/chunks/gpu-B5AZJvCt.js +1 -1
- package/dist/chunks/gpu-C2C6iBQC.cjs +1 -1
- package/dist/chunks/gpu-particles-BCpT6_0b.js +1 -1
- package/dist/chunks/gpu-particles-wEO_rds1.cjs +1 -1
- package/dist/chunks/history-6uuzTeIv.js +1 -1
- package/dist/chunks/history-CLzpNgGy.cjs +1 -1
- package/dist/chunks/index-C9_FEsfz.cjs +1 -1
- package/dist/chunks/index-Pkno706C.js +1 -1
- 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-BVOosFM2.cjs → keyframes-BKv8S56l.cjs} +2 -2
- package/dist/chunks/{keyframes-DvXgqooA.js → keyframes-D0KXGa0l.js} +2 -2
- package/dist/chunks/leaderboard-CbiWHJt6.js +1 -1
- package/dist/chunks/leaderboard-DvSSQ8o3.cjs +1 -1
- package/dist/chunks/location-card-BZn9anlf.js +1 -1
- package/dist/chunks/location-card-DSPTApUe.cjs +1 -1
- package/dist/chunks/lottie-icon-BoxkukMd.cjs +1 -1
- package/dist/chunks/lottie-icon-DeHawSTn.js +1 -1
- package/dist/chunks/{lottie-player-cKs3HdWO.js → lottie-player-BIAdGS_V.js} +2 -2
- package/dist/chunks/{lottie-player-BMDI2OSn.cjs → lottie-player-D6rvim-c.cjs} +2 -2
- package/dist/chunks/lyrics-CRB7dA1j.cjs +1 -1
- package/dist/chunks/lyrics-DVbmLBlN.js +1 -1
- package/dist/chunks/manifest-B0WJg6hn.js +1 -1
- package/dist/chunks/manifest-xr3WET80.cjs +1 -1
- package/dist/chunks/menu-CZ1zHTT9.cjs +1 -1
- package/dist/chunks/menu-CnQ_M2MQ.js +1 -1
- package/dist/chunks/menu-toggle-5XOYiIyd.js +1 -1
- package/dist/chunks/menu-toggle-DGXN4VsN.cjs +1 -1
- package/dist/chunks/nav-morph-C4rD3wrU.cjs +1 -1
- package/dist/chunks/nav-morph-ziuI5hHS.js +1 -1
- package/dist/chunks/otp-Cb48zoUe.js +1 -1
- package/dist/chunks/otp-DUyEWYMi.cjs +1 -1
- package/dist/chunks/pagination-BIufB-g3.js +1 -1
- package/dist/chunks/pagination-DHmYZZU9.cjs +1 -1
- package/dist/chunks/{physics-playground-CyzcTx6k.cjs → physics-playground-BtK75h7t.cjs} +2 -2
- package/dist/chunks/{physics-playground-CARNAWIF.js → physics-playground-WZyMpcsa.js} +2 -2
- package/dist/chunks/play-CQqgxhgJ.js +1 -1
- package/dist/chunks/play-DCeKlDqE.cjs +1 -1
- package/dist/chunks/player-core-CeaR3esR.cjs +1 -1
- package/dist/chunks/player-core-DAEKafsQ.js +1 -1
- package/dist/chunks/presence-C-dO1CU4.js +1 -1
- package/dist/chunks/presence-DAthlALi.cjs +1 -1
- package/dist/chunks/presets-BYBVJVeP.js +1 -1
- package/dist/chunks/presets-CUHys3sK.cjs +1 -1
- package/dist/chunks/preview-CyTKsXQP.cjs +1 -1
- package/dist/chunks/preview-UQjXLU7f.js +1 -1
- package/dist/chunks/prize-wheel-emDopI5c.cjs +1 -1
- package/dist/chunks/prize-wheel-xiuulNSI.js +1 -1
- package/dist/chunks/product-gallery-BoiBGX9H.js +1 -1
- package/dist/chunks/product-gallery-CKtSVhZk.cjs +1 -1
- package/dist/chunks/progress-ring-BsEz1MN3.js +1 -1
- package/dist/chunks/progress-ring-C75O4MUi.cjs +1 -1
- package/dist/chunks/project-Blmkuhzk.js +1 -1
- package/dist/chunks/project-CX5rdp4c.cjs +1 -1
- package/dist/chunks/prop-panel-DFqga6H5.cjs +1 -1
- package/dist/chunks/prop-panel-DqIbmWmc.js +1 -1
- package/dist/chunks/radar-D-bZRrgs.cjs +1 -1
- package/dist/chunks/radar-t201zj2r.js +1 -1
- package/dist/chunks/reactions-BL2iO8iy.cjs +1 -1
- package/dist/chunks/reactions-CX-_6Suh.js +1 -1
- package/dist/chunks/registry-B1ipgYF7.js +1 -1
- package/dist/chunks/registry-CibnX7Ui.cjs +1 -1
- package/dist/chunks/{registry-BXcn3Rmb.cjs → registry-DEP0wglB.cjs} +2 -2
- package/dist/chunks/{registry-DpRQ0mwQ.js → registry-DX1-fKlt.js} +2 -2
- package/dist/chunks/retro-button-CPAMUUZ2.js +1 -1
- package/dist/chunks/retro-button-DrrBZ6w8.cjs +1 -1
- package/dist/chunks/rive-D6X4J0Mi.cjs +1 -1
- package/dist/chunks/rive-uSPb8arE.js +1 -1
- package/dist/chunks/{runtime-link-DxhZs5b1.js → runtime-link-BVTDHXtT.js} +2 -2
- package/dist/chunks/{runtime-link-CXAMMJPE.cjs → runtime-link-DHXTgKL0.cjs} +2 -2
- package/dist/chunks/scene-C4h75wjo.cjs +1 -1
- package/dist/chunks/scene-Dn6a9Id1.js +1 -1
- package/dist/chunks/scroll-driven-CQbwzCdn.cjs +1 -1
- package/dist/chunks/scroll-driven-LghshrWq.js +1 -1
- package/dist/chunks/{scroll-scene-B_FR6Uhq.js → scroll-scene-B2i_N036.js} +3 -3
- package/dist/chunks/{scroll-scene-C52FOb3j.cjs → scroll-scene-CS4pXErN.cjs} +3 -3
- package/dist/chunks/segmented-CpB4mKIn.cjs +1 -1
- package/dist/chunks/segmented-KPw5KH1W.js +1 -1
- package/dist/chunks/shader-backdrop-BodjXMhw.cjs +1 -1
- package/dist/chunks/shader-backdrop-JPI5yk7O.js +1 -1
- package/dist/chunks/shared-Bf72wLyt.cjs +1 -1
- package/dist/chunks/shared-CkKHWrtJ.js +1 -1
- package/dist/chunks/shared-jkgRH-Hx.cjs +1 -1
- package/dist/chunks/shared-o9CtwHmi.js +1 -1
- package/dist/chunks/sheet-B38ylIEW.cjs +1 -1
- package/dist/chunks/sheet-CheLvhW_.js +1 -1
- package/dist/chunks/sign-DvZ1jHxE.js +1 -1
- package/dist/chunks/sign-RAkQIWrM.cjs +1 -1
- package/dist/chunks/skeleton-reveal-DDDWXmcC.js +1 -1
- package/dist/chunks/skeleton-reveal-Dsd3Wp0n.cjs +1 -1
- package/dist/chunks/sparkline-DeKhZpVo.cjs +1 -1
- package/dist/chunks/sparkline-u-Oxv7YR.js +1 -1
- package/dist/chunks/spring-XEl_diDJ.cjs +1 -1
- package/dist/chunks/spring-YKWCyYGf.js +1 -1
- package/dist/chunks/stagger-B9sKPwQB.js +1 -1
- package/dist/chunks/stagger-DFKwqOQG.cjs +1 -1
- package/dist/chunks/suggestion-chips-BlX6Fmt-.js +1 -1
- package/dist/chunks/suggestion-chips-CAcbFTr4.cjs +1 -1
- package/dist/chunks/switch-DiTlApGd.cjs +1 -1
- package/dist/chunks/switch-kilxiPM3.js +1 -1
- package/dist/chunks/tab-bar-BBlVAqbq.cjs +1 -1
- package/dist/chunks/tab-bar-CBtsdbcT.js +1 -1
- package/dist/chunks/{ticker-DxIEEYhK.js → ticker-59mVRCJG.js} +2 -2
- package/dist/chunks/{ticker-B2EgwCXm.cjs → ticker-CKGmsYFs.cjs} +2 -2
- package/dist/chunks/tip-UhHR-P4Q.js +1 -1
- package/dist/chunks/tip-VGS3qAUm.cjs +1 -1
- package/dist/chunks/toast-stack-B_bO4fVO.js +1 -1
- package/dist/chunks/toast-stack-DprisNp_.cjs +1 -1
- package/dist/chunks/{tween-BggOaZ--.js → tween-BsbDyJOV.js} +2 -2
- package/dist/chunks/{tween-Cg8I2edt.cjs → tween-_-HhH1sT.cjs} +2 -2
- package/dist/chunks/upload-progress-CEAWkP-p.cjs +1 -1
- package/dist/chunks/upload-progress-kJz9Mw10.js +1 -1
- package/dist/chunks/v2-AmFfWfpi.js +1 -1
- package/dist/chunks/v2-BpVfM1Uo.cjs +1 -1
- package/dist/chunks/variants-BtqEJuki.cjs +1 -1
- package/dist/chunks/variants-CDG1W49e.js +1 -1
- package/dist/chunks/viewport-BAXHhZLV.js +1 -1
- package/dist/chunks/viewport-EFYGqMNa.cjs +1 -1
- package/dist/chunks/voice-button-9UauxvT9.cjs +1 -1
- package/dist/chunks/voice-button-leTq2whK.js +1 -1
- package/dist/chunks/weather-card-4Eg6e43D.cjs +1 -1
- package/dist/chunks/weather-card-CL5yJ4rw.js +1 -1
- package/dist/chunks/worker-canvas-BMBXAFWp.cjs +1 -1
- package/dist/chunks/worker-canvas-RGGXvIxH.js +1 -1
- package/dist/chunks/xp-bar-DgVUXJYh.js +1 -1
- package/dist/chunks/xp-bar-DkWfCTfB.cjs +1 -1
- package/dist/components/a11y.cjs +1 -1
- package/dist/components/a11y.js +1 -1
- package/dist/components/ai.cjs +1 -1
- package/dist/components/ai.js +1 -1
- package/dist/components/angular.cjs +1 -1
- package/dist/components/angular.js +1 -1
- package/dist/components/background.cjs +1 -1
- package/dist/components/background.js +1 -1
- package/dist/components/bridge.cjs +1 -1
- package/dist/components/bridge.js +1 -1
- package/dist/components/cards.cjs +1 -1
- package/dist/components/cards.js +1 -1
- package/dist/components/click.cjs +1 -1
- package/dist/components/click.js +1 -1
- package/dist/components/core.cjs +1 -1
- package/dist/components/core.js +1 -1
- package/dist/components/depth.cjs +1 -1
- package/dist/components/depth.js +1 -1
- package/dist/components/design.cjs +1 -1
- package/dist/components/design.js +1 -1
- package/dist/components/dotlottie.cjs +3 -3
- package/dist/components/dotlottie.js +3 -3
- package/dist/components/dsl.cjs +1 -1
- package/dist/components/dsl.js +1 -1
- package/dist/components/effects.cjs +1 -1
- package/dist/components/effects.js +1 -1
- package/dist/components/engine.cjs +1 -1
- package/dist/components/engine.js +1 -1
- package/dist/components/feedback.cjs +1 -1
- package/dist/components/feedback.js +1 -1
- package/dist/components/fx-3d.cjs +1 -1
- package/dist/components/fx-3d.js +1 -1
- package/dist/components/fx-ai.cjs +1 -1
- package/dist/components/fx-ai.js +1 -1
- package/dist/components/fx-chart.cjs +1 -1
- package/dist/components/fx-chart.js +1 -1
- package/dist/components/fx-cinema.cjs +1 -1
- package/dist/components/fx-cinema.js +1 -1
- package/dist/components/fx-cyber.cjs +1 -1
- package/dist/components/fx-cyber.js +1 -1
- package/dist/components/fx-festival.cjs +1 -1
- package/dist/components/fx-festival.js +1 -1
- package/dist/components/fx-focus.cjs +1 -1
- package/dist/components/fx-focus.js +1 -1
- package/dist/components/fx-form.cjs +1 -1
- package/dist/components/fx-form.js +1 -1
- package/dist/components/fx-game.cjs +1 -1
- package/dist/components/fx-game.js +1 -1
- package/dist/components/fx-genart.cjs +1 -1
- package/dist/components/fx-genart.js +1 -1
- package/dist/components/fx-geo.cjs +1 -1
- package/dist/components/fx-geo.js +1 -1
- package/dist/components/fx-gesture.cjs +1 -1
- package/dist/components/fx-gesture.js +1 -1
- package/dist/components/fx-gpu.cjs +1 -1
- package/dist/components/fx-gpu.js +1 -1
- package/dist/components/fx-light.cjs +1 -1
- package/dist/components/fx-light.js +1 -1
- package/dist/components/fx-lottie.cjs +1 -1
- package/dist/components/fx-lottie.js +1 -1
- package/dist/components/fx-morph.cjs +1 -1
- package/dist/components/fx-morph.js +1 -1
- package/dist/components/fx-music.cjs +1 -1
- package/dist/components/fx-music.js +1 -1
- package/dist/components/fx-organic.cjs +1 -1
- package/dist/components/fx-organic.js +1 -1
- package/dist/components/fx-paper.cjs +1 -1
- package/dist/components/fx-paper.js +1 -1
- package/dist/components/fx-perf.cjs +1 -1
- package/dist/components/fx-perf.js +1 -1
- package/dist/components/fx-physics.cjs +1 -1
- package/dist/components/fx-physics.js +1 -1
- package/dist/components/fx-retro.cjs +1 -1
- package/dist/components/fx-retro.js +1 -1
- package/dist/components/fx-safe.cjs +1 -1
- package/dist/components/fx-safe.js +1 -1
- package/dist/components/fx-shop.cjs +1 -1
- package/dist/components/fx-shop.js +1 -1
- package/dist/components/fx-social.cjs +1 -1
- package/dist/components/fx-social.js +1 -1
- package/dist/components/fx-spatial.cjs +1 -1
- package/dist/components/fx-spatial.js +1 -1
- package/dist/components/fx-surface.cjs +1 -1
- package/dist/components/fx-surface.js +1 -1
- package/dist/components/fx-text.cjs +1 -1
- package/dist/components/fx-text.js +1 -1
- package/dist/components/fx-transitions.cjs +1 -1
- package/dist/components/fx-transitions.js +1 -1
- package/dist/components/fx-video.cjs +1 -1
- package/dist/components/fx-video.js +1 -1
- package/dist/components/fx-weather.cjs +1 -1
- package/dist/components/fx-weather.js +1 -1
- package/dist/components/fx.cjs +1 -1
- package/dist/components/fx.js +1 -1
- package/dist/components/fx2.cjs +1 -1
- package/dist/components/fx2.js +1 -1
- package/dist/components/gesture.cjs +1 -1
- package/dist/components/gesture.js +1 -1
- package/dist/components/gl-model.cjs +3 -3
- package/dist/components/gl-model.js +3 -3
- package/dist/components/gl-pool.cjs +1 -1
- package/dist/components/gl-pool.js +1 -1
- package/dist/components/interaction.cjs +1 -1
- package/dist/components/interaction.js +1 -1
- package/dist/components/jsx.cjs +1 -1
- package/dist/components/jsx.js +1 -1
- package/dist/components/layout.cjs +1 -1
- package/dist/components/layout.js +1 -1
- package/dist/components/lazy.cjs +1 -1
- package/dist/components/lazy.js +1 -1
- package/dist/components/lite.cjs +1 -1
- package/dist/components/lite.js +1 -1
- package/dist/components/marketplace.cjs +1 -1
- package/dist/components/marketplace.js +1 -1
- package/dist/components/motion-layout.cjs +1 -1
- package/dist/components/motion-layout.js +1 -1
- package/dist/components/motion-scene.cjs +1 -1
- package/dist/components/motion-scene.js +1 -1
- package/dist/components/motion-tokens.cjs +1 -1
- package/dist/components/motion-tokens.js +1 -1
- package/dist/components/motion.cjs +1 -1
- package/dist/components/motion.js +1 -1
- package/dist/components/native.cjs +1 -1
- package/dist/components/native.js +1 -1
- package/dist/components/offscreen.cjs +1 -1
- package/dist/components/offscreen.js +1 -1
- package/dist/components/packs.cjs +1 -1
- package/dist/components/packs.js +1 -1
- package/dist/components/page.cjs +1 -1
- package/dist/components/page.js +1 -1
- package/dist/components/perf-tasks.cjs +1 -1
- package/dist/components/perf-tasks.js +1 -1
- package/dist/components/perf.cjs +1 -1
- package/dist/components/perf.js +1 -1
- package/dist/components/physics.cjs +1 -1
- package/dist/components/physics.js +1 -1
- package/dist/components/plugins.cjs +1 -1
- package/dist/components/plugins.js +1 -1
- package/dist/components/react.cjs +1 -1
- package/dist/components/react.js +1 -1
- package/dist/components/reveal.cjs +1 -1
- package/dist/components/reveal.js +1 -1
- package/dist/components/scene-v2.cjs +1 -1
- package/dist/components/scene-v2.js +1 -1
- package/dist/components/snap-carousel.cjs +2 -2
- package/dist/components/snap-carousel.js +2 -2
- package/dist/components/solid.cjs +1 -1
- package/dist/components/solid.js +1 -1
- package/dist/components/studio-ai.cjs +1 -1
- package/dist/components/studio-ai.js +1 -1
- package/dist/components/studio-app.cjs +1 -1
- package/dist/components/studio-app.js +1 -1
- package/dist/components/studio-assets.cjs +1 -1
- package/dist/components/studio-assets.js +1 -1
- package/dist/components/studio-canvas.cjs +1 -1
- package/dist/components/studio-canvas.js +1 -1
- package/dist/components/studio-export.cjs +1 -1
- package/dist/components/studio-export.js +1 -1
- package/dist/components/studio-native.cjs +344 -0
- package/dist/components/studio-native.d.cts +44 -0
- package/dist/components/studio-native.d.ts +44 -0
- package/dist/components/studio-native.js +339 -0
- package/dist/components/studio-provenance.cjs +158 -0
- package/dist/components/studio-provenance.d.cts +174 -0
- package/dist/components/studio-provenance.d.ts +174 -0
- package/dist/components/studio-provenance.js +145 -0
- package/dist/components/studio-templates.cjs +1 -1
- package/dist/components/studio-templates.js +1 -1
- package/dist/components/studio.cjs +1 -1
- package/dist/components/studio.js +1 -1
- package/dist/components/svelte.cjs +1 -1
- package/dist/components/svelte.js +1 -1
- package/dist/components/svg.cjs +1 -1
- package/dist/components/svg.js +1 -1
- package/dist/components/text.cjs +1 -1
- package/dist/components/text.js +1 -1
- package/dist/components/timeline-editor.cjs +1 -1
- package/dist/components/timeline-editor.js +1 -1
- package/dist/components/timeline.cjs +1 -1
- package/dist/components/timeline.js +1 -1
- package/dist/components/tokens.cjs +1 -1
- package/dist/components/tokens.js +1 -1
- package/dist/components/transitions.cjs +1 -1
- package/dist/components/transitions.js +1 -1
- package/dist/components/ui.cjs +1 -1
- package/dist/components/ui.js +1 -1
- package/dist/components/vue.cjs +1 -1
- package/dist/components/vue.js +1 -1
- package/dist/components/webgl.cjs +1 -1
- package/dist/components/webgl.js +1 -1
- package/dist/components/widgets.cjs +5 -5
- package/dist/components/widgets.js +7 -7
- package/dist/components.cjs +1 -1
- package/dist/components.js +1 -1
- package/dist/components.umd.js +1 -1
- package/dist/effects/achievement-unlock.cjs +1 -1
- package/dist/effects/achievement-unlock.js +1 -1
- package/dist/effects/aurora-veil.cjs +1 -1
- package/dist/effects/aurora-veil.js +1 -1
- package/dist/effects/badge-pop.cjs +1 -1
- package/dist/effects/badge-pop.js +1 -1
- package/dist/effects/bars-grow.cjs +1 -1
- package/dist/effects/bars-grow.js +1 -1
- package/dist/effects/beat-bounce.cjs +1 -1
- package/dist/effects/beat-bounce.js +1 -1
- package/dist/effects/blob-button.cjs +1 -1
- package/dist/effects/blob-button.js +1 -1
- package/dist/effects/bloom.cjs +1 -1
- package/dist/effects/bloom.js +1 -1
- package/dist/effects/breathe.cjs +1 -1
- package/dist/effects/breathe.js +1 -1
- package/dist/effects/brushed-metal.cjs +1 -1
- package/dist/effects/brushed-metal.js +1 -1
- package/dist/effects/camera-dolly.cjs +1 -1
- package/dist/effects/camera-dolly.js +1 -1
- package/dist/effects/card-flip-3d.cjs +1 -1
- package/dist/effects/card-flip-3d.js +1 -1
- package/dist/effects/chest-open.cjs +1 -1
- package/dist/effects/chest-open.js +1 -1
- package/dist/effects/cloth.cjs +1 -1
- package/dist/effects/cloth.js +1 -1
- package/dist/effects/coin-burst.cjs +1 -1
- package/dist/effects/coin-burst.js +1 -1
- package/dist/effects/color-pulse.cjs +1 -1
- package/dist/effects/color-pulse.js +1 -1
- package/dist/effects/crt-power.cjs +1 -1
- package/dist/effects/crt-power.js +1 -1
- package/dist/effects/crumple.cjs +1 -1
- package/dist/effects/crumple.js +1 -1
- package/dist/effects/data-decode.cjs +1 -1
- package/dist/effects/data-decode.js +1 -1
- package/dist/effects/day-cycle.cjs +1 -1
- package/dist/effects/day-cycle.js +1 -1
- package/dist/effects/depth-in.cjs +1 -1
- package/dist/effects/depth-in.js +1 -1
- package/dist/effects/depth-pop.cjs +1 -1
- package/dist/effects/depth-pop.js +1 -1
- package/dist/effects/depth-stack.cjs +1 -1
- package/dist/effects/depth-stack.js +1 -1
- package/dist/effects/dolly-in.cjs +1 -1
- package/dist/effects/dolly-in.js +1 -1
- package/dist/effects/dots-pop.cjs +1 -1
- package/dist/effects/dots-pop.js +1 -1
- package/dist/effects/field-shake.cjs +1 -1
- package/dist/effects/field-shake.js +1 -1
- package/dist/effects/field-success.cjs +1 -1
- package/dist/effects/field-success.js +1 -1
- package/dist/effects/film-burn.cjs +1 -1
- package/dist/effects/film-burn.js +1 -1
- package/dist/effects/fire.cjs +1 -1
- package/dist/effects/fire.js +1 -1
- package/dist/effects/fireflies.cjs +1 -1
- package/dist/effects/fireflies.js +1 -1
- package/dist/effects/firework-burst.cjs +1 -1
- package/dist/effects/firework-burst.js +1 -1
- package/dist/effects/flip-chars.cjs +1 -1
- package/dist/effects/flip-chars.js +1 -1
- package/dist/effects/fluid.cjs +1 -1
- package/dist/effects/fluid.js +1 -1
- package/dist/effects/fly-to-cart.cjs +1 -1
- package/dist/effects/fly-to-cart.js +1 -1
- package/dist/effects/focus-draw.cjs +1 -1
- package/dist/effects/focus-draw.js +1 -1
- package/dist/effects/focus-glow.cjs +1 -1
- package/dist/effects/focus-glow.js +1 -1
- package/dist/effects/fog.cjs +1 -1
- package/dist/effects/fog.js +1 -1
- package/dist/effects/font-breathe.cjs +1 -1
- package/dist/effects/font-breathe.js +1 -1
- package/dist/effects/form-cascade.cjs +1 -1
- package/dist/effects/form-cascade.js +1 -1
- package/dist/effects/gen-skeleton.cjs +1 -1
- package/dist/effects/gen-skeleton.js +1 -1
- package/dist/effects/glass-frost.cjs +1 -1
- package/dist/effects/glass-frost.js +1 -1
- package/dist/effects/glitch-text.cjs +1 -1
- package/dist/effects/glitch-text.js +1 -1
- package/dist/effects/globe-spin.cjs +1 -1
- package/dist/effects/globe-spin.js +1 -1
- package/dist/effects/god-rays.cjs +1 -1
- package/dist/effects/god-rays.js +1 -1
- package/dist/effects/gpu-lift.cjs +1 -1
- package/dist/effects/gpu-lift.js +1 -1
- package/dist/effects/grain-flicker.cjs +1 -1
- package/dist/effects/grain-flicker.js +1 -1
- package/dist/effects/halftone-in.cjs +1 -1
- package/dist/effects/halftone-in.js +1 -1
- package/dist/effects/highlight-sweep.cjs +1 -1
- package/dist/effects/highlight-sweep.js +1 -1
- package/dist/effects/hologram.cjs +1 -1
- package/dist/effects/hologram.js +1 -1
- package/dist/effects/hud-frame.cjs +1 -1
- package/dist/effects/hud-frame.js +1 -1
- package/dist/effects/icon-pop.cjs +1 -1
- package/dist/effects/icon-pop.js +1 -1
- package/dist/effects/icon-swap.cjs +1 -1
- package/dist/effects/icon-swap.js +1 -1
- package/dist/effects/idle-reveal.cjs +1 -1
- package/dist/effects/idle-reveal.js +1 -1
- package/dist/effects/ink.cjs +1 -1
- package/dist/effects/ink.js +1 -1
- package/dist/effects/jump-cut.cjs +1 -1
- package/dist/effects/jump-cut.js +1 -1
- package/dist/effects/kaleido.cjs +1 -1
- package/dist/effects/kaleido.js +1 -1
- package/dist/effects/label-float.cjs +1 -1
- package/dist/effects/label-float.js +1 -1
- package/dist/effects/lantern-rise.cjs +1 -1
- package/dist/effects/lantern-rise.js +1 -1
- package/dist/effects/leaves.cjs +1 -1
- package/dist/effects/leaves.js +1 -1
- package/dist/effects/letterbox.cjs +1 -1
- package/dist/effects/letterbox.js +1 -1
- package/dist/effects/level-up.cjs +1 -1
- package/dist/effects/level-up.js +1 -1
- package/dist/effects/light-follow.cjs +1 -1
- package/dist/effects/light-follow.js +1 -1
- package/dist/effects/lightning.cjs +1 -1
- package/dist/effects/lightning.js +1 -1
- package/dist/effects/line-draw.cjs +1 -1
- package/dist/effects/line-draw.js +1 -1
- package/dist/effects/liquid-text.cjs +1 -1
- package/dist/effects/liquid-text.js +1 -1
- package/dist/effects/liquid-wipe.cjs +1 -1
- package/dist/effects/liquid-wipe.js +1 -1
- package/dist/effects/lottie-play.cjs +1 -1
- package/dist/effects/lottie-play.js +1 -1
- package/dist/effects/magnet.cjs +1 -1
- package/dist/effects/magnet.js +1 -1
- package/dist/effects/marching-ants.cjs +1 -1
- package/dist/effects/marching-ants.js +1 -1
- package/dist/effects/marker-pulse.cjs +1 -1
- package/dist/effects/marker-pulse.js +1 -1
- package/dist/effects/mention-glow.cjs +1 -1
- package/dist/effects/mention-glow.js +1 -1
- package/dist/effects/mesh-drift.cjs +1 -1
- package/dist/effects/mesh-drift.js +1 -1
- package/dist/effects/message-in.cjs +1 -1
- package/dist/effects/message-in.js +1 -1
- package/dist/effects/mosaic-flip.cjs +1 -1
- package/dist/effects/mosaic-flip.js +1 -1
- package/dist/effects/neon-ignite.cjs +1 -1
- package/dist/effects/neon-ignite.js +1 -1
- package/dist/effects/neon-pulse.cjs +1 -1
- package/dist/effects/neon-pulse.js +1 -1
- package/dist/effects/neon-write.cjs +1 -1
- package/dist/effects/neon-write.js +1 -1
- package/dist/effects/neu-press.cjs +1 -1
- package/dist/effects/neu-press.js +1 -1
- package/dist/effects/noise-reveal.cjs +1 -1
- package/dist/effects/noise-reveal.js +1 -1
- package/dist/effects/number-roll.cjs +1 -1
- package/dist/effects/number-roll.js +1 -1
- package/dist/effects/orbit-camera.cjs +1 -1
- package/dist/effects/orbit-camera.js +1 -1
- package/dist/effects/orbit-in.cjs +1 -1
- package/dist/effects/orbit-in.js +1 -1
- package/dist/effects/origami.cjs +1 -1
- package/dist/effects/origami.js +1 -1
- package/dist/effects/page-curl.cjs +1 -1
- package/dist/effects/page-curl.js +1 -1
- package/dist/effects/pan-reveal.cjs +1 -1
- package/dist/effects/pan-reveal.js +1 -1
- package/dist/effects/paper-unfold.cjs +1 -1
- package/dist/effects/paper-unfold.js +1 -1
- package/dist/effects/particle-text.cjs +1 -1
- package/dist/effects/particle-text.js +1 -1
- package/dist/effects/path-morph.cjs +1 -1
- package/dist/effects/path-morph.js +1 -1
- package/dist/effects/pearlescent.cjs +1 -1
- package/dist/effects/pearlescent.js +1 -1
- package/dist/effects/pencil-sketch.cjs +1 -1
- package/dist/effects/pencil-sketch.js +1 -1
- package/dist/effects/pin-drop.cjs +1 -1
- package/dist/effects/pin-drop.js +1 -1
- package/dist/effects/pinball.cjs +1 -1
- package/dist/effects/pinball.js +1 -1
- package/dist/effects/pinch-hint.cjs +1 -1
- package/dist/effects/pinch-hint.js +1 -1
- package/dist/effects/pixelate-in.cjs +1 -1
- package/dist/effects/pixelate-in.js +1 -1
- package/dist/effects/pointer-shadow.cjs +1 -1
- package/dist/effects/pointer-shadow.js +1 -1
- package/dist/effects/portal-open.cjs +1 -1
- package/dist/effects/portal-open.js +1 -1
- package/dist/effects/price-flip.cjs +1 -1
- package/dist/effects/price-flip.js +1 -1
- package/dist/effects/product-spin.cjs +1 -1
- package/dist/effects/product-spin.js +1 -1
- package/dist/effects/rack-focus.cjs +1 -1
- package/dist/effects/rack-focus.js +1 -1
- package/dist/effects/radial-spectrum.cjs +1 -1
- package/dist/effects/radial-spectrum.js +1 -1
- package/dist/effects/rain-glass.cjs +1 -1
- package/dist/effects/rain-glass.js +1 -1
- package/dist/effects/reaction-burst.cjs +1 -1
- package/dist/effects/reaction-burst.js +1 -1
- package/dist/effects/read-receipt.cjs +1 -1
- package/dist/effects/read-receipt.js +1 -1
- package/dist/effects/refraction.cjs +1 -1
- package/dist/effects/refraction.js +1 -1
- package/dist/effects/ring-sweep.cjs +1 -1
- package/dist/effects/ring-sweep.js +1 -1
- package/dist/effects/ripple-dissolve.cjs +1 -1
- package/dist/effects/ripple-dissolve.js +1 -1
- package/dist/effects/rope.cjs +1 -1
- package/dist/effects/rope.js +1 -1
- package/dist/effects/route-draw.cjs +1 -1
- package/dist/effects/route-draw.js +1 -1
- package/dist/effects/safe-fade.cjs +1 -1
- package/dist/effects/safe-fade.js +1 -1
- package/dist/effects/sakura.cjs +1 -1
- package/dist/effects/sakura.js +1 -1
- package/dist/effects/sale-shine.cjs +1 -1
- package/dist/effects/sale-shine.js +1 -1
- package/dist/effects/sankey-flow.cjs +1 -1
- package/dist/effects/sankey-flow.js +1 -1
- package/dist/effects/scanline-sweep.cjs +1 -1
- package/dist/effects/scanline-sweep.js +1 -1
- package/dist/effects/shatter.cjs +1 -1
- package/dist/effects/shatter.js +1 -1
- package/dist/effects/smoke.cjs +1 -1
- package/dist/effects/smoke.js +1 -1
- package/dist/effects/snowfall.cjs +1 -1
- package/dist/effects/snowfall.js +1 -1
- package/dist/effects/soft-body.cjs +1 -1
- package/dist/effects/soft-body.js +1 -1
- package/dist/effects/sound-particles.cjs +1 -1
- package/dist/effects/sound-particles.js +1 -1
- package/dist/effects/spatial-float.cjs +1 -1
- package/dist/effects/spatial-float.js +1 -1
- package/dist/effects/spectrum-mirror.cjs +1 -1
- package/dist/effects/spectrum-mirror.js +1 -1
- package/dist/effects/splash.cjs +1 -1
- package/dist/effects/splash.js +1 -1
- package/dist/effects/spooky-float.cjs +1 -1
- package/dist/effects/spooky-float.js +1 -1
- package/dist/effects/stock-pulse.cjs +1 -1
- package/dist/effects/stock-pulse.js +1 -1
- package/dist/effects/stream-text.cjs +1 -1
- package/dist/effects/stream-text.js +1 -1
- package/dist/effects/stroke-draw.cjs +1 -1
- package/dist/effects/stroke-draw.js +1 -1
- package/dist/effects/success-check.cjs +1 -1
- package/dist/effects/success-check.js +1 -1
- package/dist/effects/swipe-hint.cjs +1 -1
- package/dist/effects/swipe-hint.js +1 -1
- package/dist/effects/text-trail.cjs +1 -1
- package/dist/effects/text-trail.js +1 -1
- package/dist/effects/thinking-glow.cjs +1 -1
- package/dist/effects/thinking-glow.js +1 -1
- package/dist/effects/tilt-wobble.cjs +1 -1
- package/dist/effects/tilt-wobble.js +1 -1
- package/dist/effects/typing-dots.cjs +1 -1
- package/dist/effects/typing-dots.js +1 -1
- package/dist/effects/underline-sweep.cjs +1 -1
- package/dist/effects/underline-sweep.js +1 -1
- package/dist/effects/vhs-glitch.cjs +1 -1
- package/dist/effects/vhs-glitch.js +1 -1
- package/dist/effects/vine-grow.cjs +1 -1
- package/dist/effects/vine-grow.js +1 -1
- package/dist/effects/vinyl-spin.cjs +1 -1
- package/dist/effects/vinyl-spin.js +1 -1
- package/dist/effects/voice-wave.cjs +1 -1
- package/dist/effects/voice-wave.js +1 -1
- package/dist/effects/water-drop.cjs +1 -1
- package/dist/effects/water-drop.js +1 -1
- package/dist/effects/watercolor.cjs +1 -1
- package/dist/effects/watercolor.js +1 -1
- package/dist/effects/waveform-scope.cjs +1 -1
- package/dist/effects/waveform-scope.js +1 -1
- package/dist/effects/xmas-snow.cjs +1 -1
- package/dist/effects/xmas-snow.js +1 -1
- package/dist/effects/xp-gain.cjs +1 -1
- package/dist/effects/xp-gain.js +1 -1
- package/dist/effects/y2k-shine.cjs +1 -1
- package/dist/effects/y2k-shine.js +1 -1
- package/dist/element.cjs +1 -1
- package/dist/element.js +1 -1
- package/dist/element.umd.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/llms-full.txt +1 -1
- package/dist/llms.txt +1 -1
- package/dist/manifest.json +1 -1
- 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 +3 -3
- package/dist/runtime/format-apng.iife.js +1 -1
- package/dist/runtime/format-apng.js +3 -3
- package/dist/runtime/format-css.cjs +3 -3
- package/dist/runtime/format-css.iife.js +1 -1
- package/dist/runtime/format-css.js +3 -3
- package/dist/runtime/format-gif.cjs +3 -3
- package/dist/runtime/format-gif.iife.js +1 -1
- package/dist/runtime/format-gif.js +3 -3
- 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 +4 -4
- package/dist/runtime/format-motion.iife.js +1 -1
- package/dist/runtime/format-motion.js +4 -4
- 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 +3 -3
- package/dist/runtime/format-sprite.iife.js +1 -1
- package/dist/runtime/format-sprite.js +3 -3
- package/dist/runtime/format-svg.cjs +3 -3
- package/dist/runtime/format-svg.iife.js +1 -1
- package/dist/runtime/format-svg.js +3 -3
- package/dist/runtime/format-webp.cjs +3 -3
- package/dist/runtime/format-webp.iife.js +1 -1
- package/dist/runtime/format-webp.js +3 -3
- 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 +3 -3
- package/dist/runtime/vector.iife.js +1 -1
- package/dist/runtime/vector.js +3 -3
- package/dist/runtime.cjs +4 -4
- package/dist/runtime.d.cts +1 -1
- package/dist/runtime.d.ts +1 -1
- 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 +1 -1
- package/dist/widgets/add-to-cart.js +1 -1
- package/dist/widgets/badge-wall.cjs +1 -1
- package/dist/widgets/badge-wall.js +1 -1
- package/dist/widgets/bar-chart.cjs +1 -1
- package/dist/widgets/bar-chart.js +1 -1
- package/dist/widgets/bg-generator.cjs +1 -1
- package/dist/widgets/bg-generator.js +1 -1
- package/dist/widgets/carousel.cjs +1 -1
- package/dist/widgets/carousel.js +1 -1
- package/dist/widgets/cart-drawer.cjs +1 -1
- package/dist/widgets/cart-drawer.js +1 -1
- package/dist/widgets/chapter-nav.cjs +1 -1
- package/dist/widgets/chapter-nav.js +1 -1
- package/dist/widgets/chat-composer.cjs +1 -1
- package/dist/widgets/chat-composer.js +1 -1
- package/dist/widgets/clock-control.cjs +1 -1
- package/dist/widgets/clock-control.js +1 -1
- package/dist/widgets/code-export.cjs +1 -1
- package/dist/widgets/code-export.js +1 -1
- package/dist/widgets/color-picker.cjs +1 -1
- package/dist/widgets/color-picker.js +1 -1
- package/dist/widgets/command-palette.cjs +1 -1
- package/dist/widgets/command-palette.js +1 -1
- package/dist/widgets/compare.cjs +1 -1
- package/dist/widgets/compare.js +1 -1
- package/dist/widgets/countdown.cjs +1 -1
- package/dist/widgets/countdown.js +1 -1
- package/dist/widgets/cube-gallery.cjs +1 -1
- package/dist/widgets/cube-gallery.js +1 -1
- package/dist/widgets/date-picker.cjs +1 -1
- package/dist/widgets/date-picker.js +1 -1
- package/dist/widgets/disclosure.cjs +1 -1
- package/dist/widgets/disclosure.js +1 -1
- package/dist/widgets/dock.cjs +1 -1
- package/dist/widgets/dock.js +1 -1
- package/dist/widgets/dotlottie.cjs +1 -1
- package/dist/widgets/dotlottie.js +1 -1
- package/dist/widgets/equalizer.cjs +1 -1
- package/dist/widgets/equalizer.js +1 -1
- package/dist/widgets/festival-banner.cjs +1 -1
- package/dist/widgets/festival-banner.js +1 -1
- package/dist/widgets/field.cjs +1 -1
- package/dist/widgets/field.js +1 -1
- package/dist/widgets/file-drop.cjs +1 -1
- package/dist/widgets/file-drop.js +1 -1
- package/dist/widgets/gauge.cjs +1 -1
- package/dist/widgets/gauge.js +1 -1
- package/dist/widgets/gen-art.cjs +1 -1
- package/dist/widgets/gen-art.js +1 -1
- package/dist/widgets/gesture-sticker.cjs +1 -1
- package/dist/widgets/gesture-sticker.js +1 -1
- package/dist/widgets/gl-model.cjs +1 -1
- package/dist/widgets/gl-model.js +1 -1
- package/dist/widgets/gl-scene.cjs +2 -2
- package/dist/widgets/gl-scene.js +2 -2
- package/dist/widgets/globe.cjs +1 -1
- package/dist/widgets/globe.js +1 -1
- package/dist/widgets/gpu-particles.cjs +1 -1
- package/dist/widgets/gpu-particles.js +1 -1
- package/dist/widgets/gyro-card.cjs +1 -1
- package/dist/widgets/gyro-card.js +1 -1
- package/dist/widgets/hero-video.cjs +1 -1
- package/dist/widgets/hero-video.js +1 -1
- package/dist/widgets/hud-panel.cjs +1 -1
- package/dist/widgets/hud-panel.js +1 -1
- package/dist/widgets/hydrate.cjs +1 -1
- package/dist/widgets/hydrate.js +1 -1
- package/dist/widgets/install-button.cjs +1 -1
- package/dist/widgets/install-button.js +1 -1
- package/dist/widgets/kanban.cjs +1 -1
- package/dist/widgets/kanban.js +1 -1
- package/dist/widgets/keyframe-editor.cjs +1 -1
- package/dist/widgets/keyframe-editor.js +1 -1
- package/dist/widgets/kpi.cjs +1 -1
- package/dist/widgets/kpi.js +1 -1
- package/dist/widgets/leaderboard.cjs +1 -1
- package/dist/widgets/leaderboard.js +1 -1
- package/dist/widgets/liquid-nav.cjs +1 -1
- package/dist/widgets/liquid-nav.js +1 -1
- package/dist/widgets/location-card.cjs +1 -1
- package/dist/widgets/location-card.js +1 -1
- package/dist/widgets/lottie-icon.cjs +1 -1
- package/dist/widgets/lottie-icon.js +1 -1
- package/dist/widgets/lottie-player.cjs +2 -2
- package/dist/widgets/lottie-player.js +2 -2
- package/dist/widgets/lottie.cjs +1 -1
- package/dist/widgets/lottie.js +1 -1
- package/dist/widgets/lyrics.cjs +1 -1
- package/dist/widgets/lyrics.js +1 -1
- package/dist/widgets/masonry-flow.cjs +1 -1
- package/dist/widgets/masonry-flow.js +1 -1
- package/dist/widgets/menu-toggle.cjs +1 -1
- package/dist/widgets/menu-toggle.js +1 -1
- package/dist/widgets/menu.cjs +1 -1
- package/dist/widgets/menu.js +1 -1
- package/dist/widgets/message-list.cjs +1 -1
- package/dist/widgets/message-list.js +1 -1
- package/dist/widgets/milestones.cjs +1 -1
- package/dist/widgets/milestones.js +1 -1
- package/dist/widgets/modal.cjs +1 -1
- package/dist/widgets/modal.js +1 -1
- package/dist/widgets/motion-inspector.cjs +2 -2
- package/dist/widgets/motion-inspector.js +2 -2
- package/dist/widgets/motion-prefs.cjs +1 -1
- package/dist/widgets/motion-prefs.js +1 -1
- package/dist/widgets/motion-prompt.cjs +1 -1
- package/dist/widgets/motion-prompt.js +1 -1
- package/dist/widgets/motion-spec.cjs +1 -1
- package/dist/widgets/motion-spec.js +1 -1
- package/dist/widgets/motion.cjs +1 -1
- package/dist/widgets/motion.js +1 -1
- package/dist/widgets/music-player.cjs +1 -1
- package/dist/widgets/music-player.js +1 -1
- package/dist/widgets/native-preview.cjs +1 -1
- package/dist/widgets/native-preview.js +1 -1
- package/dist/widgets/nav-morph.cjs +1 -1
- package/dist/widgets/nav-morph.js +1 -1
- package/dist/widgets/notification-bell.cjs +1 -1
- package/dist/widgets/notification-bell.js +1 -1
- package/dist/widgets/odometer.cjs +1 -1
- package/dist/widgets/odometer.js +1 -1
- package/dist/widgets/organic-card.cjs +1 -1
- package/dist/widgets/organic-card.js +1 -1
- package/dist/widgets/otp.cjs +1 -1
- package/dist/widgets/otp.js +1 -1
- package/dist/widgets/pagination.cjs +1 -1
- package/dist/widgets/pagination.js +1 -1
- package/dist/widgets/panorama.cjs +1 -1
- package/dist/widgets/panorama.js +1 -1
- package/dist/widgets/parallax-layers.cjs +1 -1
- package/dist/widgets/parallax-layers.js +1 -1
- package/dist/widgets/pause-all.cjs +1 -1
- package/dist/widgets/pause-all.js +1 -1
- package/dist/widgets/perf-monitor.cjs +1 -1
- package/dist/widgets/perf-monitor.js +1 -1
- package/dist/widgets/physics-playground.cjs +2 -2
- package/dist/widgets/physics-playground.js +2 -2
- package/dist/widgets/plugin-card.cjs +3 -3
- package/dist/widgets/plugin-card.js +3 -3
- package/dist/widgets/plugin-store.cjs +1 -1
- package/dist/widgets/plugin-store.js +1 -1
- package/dist/widgets/presence.cjs +1 -1
- package/dist/widgets/presence.js +1 -1
- package/dist/widgets/prize-wheel.cjs +1 -1
- package/dist/widgets/prize-wheel.js +1 -1
- package/dist/widgets/product-gallery.cjs +1 -1
- package/dist/widgets/product-gallery.js +1 -1
- package/dist/widgets/progress-ring.cjs +1 -1
- package/dist/widgets/progress-ring.js +1 -1
- package/dist/widgets/prop-panel.cjs +1 -1
- package/dist/widgets/prop-panel.js +1 -1
- package/dist/widgets/pull-cord.cjs +1 -1
- package/dist/widgets/pull-cord.js +1 -1
- package/dist/widgets/radar.cjs +1 -1
- package/dist/widgets/radar.js +1 -1
- package/dist/widgets/reactions.cjs +1 -1
- package/dist/widgets/reactions.js +1 -1
- package/dist/widgets/red-envelope.cjs +1 -1
- package/dist/widgets/red-envelope.js +1 -1
- package/dist/widgets/retro-button.cjs +1 -1
- package/dist/widgets/retro-button.js +1 -1
- package/dist/widgets/rive.cjs +1 -1
- package/dist/widgets/rive.js +1 -1
- package/dist/widgets/route-transition.cjs +1 -1
- package/dist/widgets/route-transition.js +1 -1
- package/dist/widgets/scene.cjs +1 -1
- package/dist/widgets/scene.js +1 -1
- package/dist/widgets/scroll-ring.cjs +1 -1
- package/dist/widgets/scroll-ring.js +1 -1
- package/dist/widgets/scroll-scene.cjs +2 -2
- package/dist/widgets/scroll-scene.js +2 -2
- package/dist/widgets/segmented.cjs +1 -1
- package/dist/widgets/segmented.js +1 -1
- package/dist/widgets/shader-backdrop.cjs +1 -1
- package/dist/widgets/shader-backdrop.js +1 -1
- package/dist/widgets/sheet.cjs +1 -1
- package/dist/widgets/sheet.js +1 -1
- package/dist/widgets/shortcut.cjs +1 -1
- package/dist/widgets/shortcut.js +1 -1
- package/dist/widgets/skeleton-reveal.cjs +1 -1
- package/dist/widgets/skeleton-reveal.js +1 -1
- package/dist/widgets/sketch-chart.cjs +1 -1
- package/dist/widgets/sketch-chart.js +1 -1
- package/dist/widgets/smooth-scroll.cjs +2 -2
- package/dist/widgets/smooth-scroll.js +2 -2
- package/dist/widgets/snap-carousel.cjs +1 -1
- package/dist/widgets/snap-carousel.js +1 -1
- package/dist/widgets/sparkline.cjs +1 -1
- package/dist/widgets/sparkline.js +1 -1
- package/dist/widgets/spatial-card.cjs +1 -1
- package/dist/widgets/spatial-card.js +1 -1
- package/dist/widgets/star-rating.cjs +1 -1
- package/dist/widgets/star-rating.js +1 -1
- package/dist/widgets/stepper.cjs +1 -1
- package/dist/widgets/stepper.js +1 -1
- package/dist/widgets/sticky-wall.cjs +1 -1
- package/dist/widgets/sticky-wall.js +1 -1
- package/dist/widgets/stories.cjs +1 -1
- package/dist/widgets/stories.js +1 -1
- package/dist/widgets/suggestion-chips.cjs +1 -1
- package/dist/widgets/suggestion-chips.js +1 -1
- package/dist/widgets/swipe-deck.cjs +1 -1
- package/dist/widgets/swipe-deck.js +1 -1
- package/dist/widgets/switch.cjs +1 -1
- package/dist/widgets/switch.js +1 -1
- package/dist/widgets/tab-bar.cjs +1 -1
- package/dist/widgets/tab-bar.js +1 -1
- package/dist/widgets/terminal.cjs +1 -1
- package/dist/widgets/terminal.js +1 -1
- package/dist/widgets/text-splitter.cjs +3 -3
- package/dist/widgets/text-splitter.js +3 -3
- package/dist/widgets/theme-surface.cjs +1 -1
- package/dist/widgets/theme-surface.js +1 -1
- package/dist/widgets/theme-switcher.cjs +1 -1
- package/dist/widgets/theme-switcher.js +1 -1
- package/dist/widgets/tip.cjs +1 -1
- package/dist/widgets/tip.js +1 -1
- package/dist/widgets/toast-stack.cjs +1 -1
- package/dist/widgets/toast-stack.js +1 -1
- package/dist/widgets/token-editor.cjs +1 -1
- package/dist/widgets/token-editor.js +1 -1
- package/dist/widgets/upload-progress.cjs +1 -1
- package/dist/widgets/upload-progress.js +1 -1
- package/dist/widgets/video-card.cjs +1 -1
- package/dist/widgets/video-card.js +1 -1
- package/dist/widgets/voice-button.cjs +1 -1
- package/dist/widgets/voice-button.js +1 -1
- package/dist/widgets/volume-knob.cjs +1 -1
- package/dist/widgets/volume-knob.js +1 -1
- package/dist/widgets/weather-card.cjs +1 -1
- package/dist/widgets/weather-card.js +1 -1
- package/dist/widgets/worker-canvas.cjs +1 -1
- package/dist/widgets/worker-canvas.js +1 -1
- package/dist/widgets/xp-bar.cjs +1 -1
- package/dist/widgets/xp-bar.js +1 -1
- package/dist/widgets.umd.js +2 -2
- package/docs/contract-report.json +1 -4946
- package/docs/mcp-gateway-interop.md +1 -0
- package/docs/mcp.md +1 -0
- package/docs/studio-native.md +61 -0
- package/docs/studio-provenance.md +58 -0
- package/docs/versions.md +1 -1
- package/package.json +43 -2
- package/docs/ROADMAP.md +0 -194
|
@@ -54,6 +54,7 @@ npx @winstonsayno/mcp-gateway@latest start -c mcp-gateway.yml
|
|
|
54
54
|
| `list_templates` | 1.0 — motionary-mcp 2.3: the shipped Studio templates (integrity-checked; license + required modules) | 14.8 |
|
|
55
55
|
| `get_template` | 1.0 — motionary-mcp 2.3: one template's manifest, Scene v2 document and script-less preview | 14.8 |
|
|
56
56
|
| `export_scene` | 1.0 — motionary-mcp 2.3: scene / project / template → 14.7 standalone files + `frameDigest` | 14.8 |
|
|
57
|
+
| `propose_edit` | 1.0 — motionary-mcp 2.4: prompt + scene → validated edit proposal (ops, diff, layers, provenance with the correlation id); writes nothing. With Gateway 15.1 canary the call's `X-Request-Id` joins the gateway lineage ([studio-provenance.md](./studio-provenance.md)) | 15.1 |
|
|
57
58
|
|
|
58
59
|
Every tool definition carries its version in `_meta["motionary/schemaVersion"]`; the new tools also publish an
|
|
59
60
|
`outputSchema` and put a `schema` id (`motionary-mcp/check_compatibility@1`, `motionary-mcp/suggest_fix@1`,
|
package/docs/mcp.md
CHANGED
|
@@ -39,6 +39,7 @@ Claude Code: `claude mcp add motionary -- npx -y -p motionary motionary-mcp`.
|
|
|
39
39
|
| `list_templates` (2.3, 14.8) | `query?` | the starter Studio templates shipped in the package (integrity-checked): id, name, version, SPDX license, author, required modules, layer / file counts |
|
|
40
40
|
| `get_template` (2.3, 14.8) | `id` | manifest, info, the Scene v2 document and a still preview (one inline HTML file without scripts) — see [studio-templates.md](./studio-templates.md) |
|
|
41
41
|
| `export_scene` (2.3, 14.8) | one of `scene` / `project` / `template`, `inline?`, `js?`, `fps?`, `title?` | the [14.7 standalone export](./studio-export.md): files (utf8 text, binary as base64), `digest` (`frameDigest`) and the report; writes nothing |
|
|
42
|
+
| `propose_edit` (2.4, 15.1) | `scene`, `prompt`, `selection?`, `requestId?` | a validated edit proposal: ops (each with a sentence), JSON `diff`, changed `layers`, `preview`, checks, and `provenance { generator: 'motionary-mcp/propose_edit', requestId }` (`requestId` = the argument or `params._meta.correlationId`); `applied: false` — writes nothing, Studio applies it only after review ([studio-provenance.md](./studio-provenance.md)) |
|
|
42
43
|
|
|
43
44
|
Unknown tags come back as tool errors (`isError: true`) with a hint to search first.
|
|
44
45
|
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# Cross-platform export 2.0 (`motionary/studio/native`, 15.2)
|
|
2
|
+
|
|
3
|
+
One Scene v2 document (or a timeline v1 document, or a Studio project `{ doc }`) → source code for five targets, each
|
|
4
|
+
with a **per-property loss report**. Every animated property of every playing track appears in the report exactly once,
|
|
5
|
+
as `supported` or as `lost` with a reason. Nothing is dropped silently. Pure functions: no DOM, no Node APIs, the same
|
|
6
|
+
input always gives the same text.
|
|
7
|
+
|
|
8
|
+
```js
|
|
9
|
+
import { exportNative, NATIVE_TARGETS, nativeSupport } from 'motionary/studio/native';
|
|
10
|
+
|
|
11
|
+
const { code, file, report } = exportNative(scene, { target: 'compose' });
|
|
12
|
+
// file → 'card-intro.kt'
|
|
13
|
+
// report → { target: 'compose', supported: [{ layer: 'title', prop: 'opacity' }, …],
|
|
14
|
+
// lost: [{ layer: 'card', prop: 'filter', reason: 'no compose equivalent in the supported subset' }], notes: [] }
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
```sh
|
|
18
|
+
npx motionary export --scene card.json --target swiftui --out CardIntro.swift --report loss.json
|
|
19
|
+
npx motionary export --scene card.json --target compose --strict # exit 1 when anything is lost
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## Targets
|
|
23
|
+
|
|
24
|
+
| Target | Output | Runtime it needs |
|
|
25
|
+
|---|---|---|
|
|
26
|
+
| `css` | `@keyframes` per track + `animation` rule, per-segment `animation-timing-function`, `prefers-reduced-motion` block and a `.usa-reduce-motion` class | any browser |
|
|
27
|
+
| `wxss` | the same for mini programs (WXSS / ACSS / TTSS); `rpx: true` turns `1px` into `2rpx` | WeChat / Alipay / ByteDance mini programs |
|
|
28
|
+
| `arkts` | one `Frame` interface + `START` / `END` constants + `play…(ctx, apply, reduceMotion)` per track using `UIContext.keyframeAnimateTo` | HarmonyOS API 11+ |
|
|
29
|
+
| `compose` | one `Modifier.…(play, reduceMotion)` per track: `updateTransition` + `keyframes { … at … using … }`, `graphicsLayer` for alpha / translation / scale / rotation, `background` for background color | Jetpack Compose (animation-core) |
|
|
30
|
+
| `swiftui` | one `ViewModifier` + `View` extension per track: `keyframeAnimator` with `LinearKeyframe(…, timingCurve: .bezier(…))`; `accessibilityReduceMotion` jumps to the end | iOS 17+ / macOS 14+ |
|
|
31
|
+
|
|
32
|
+
## Supported subset (native targets)
|
|
33
|
+
|
|
34
|
+
| Property / feature | `css` `wxss` | `arkts` `compose` `swiftui` |
|
|
35
|
+
|---|---|---|
|
|
36
|
+
| `opacity` | ✅ | ✅ |
|
|
37
|
+
| `transform`: `translate` / `translateX` / `translateY` (px), `scale` / `scaleX` / `scaleY`, `rotate` / `rotateZ` (deg, rad, turn, grad) | ✅ | ✅ |
|
|
38
|
+
| other transform functions (`skew`, `matrix`, 3D, `%` / `em` lengths) | ✅ | lost (the whole `transform` of that track, with the functions named) |
|
|
39
|
+
| `color`, `background-color` | ✅ | ✅ as hex (`#rgb`, `#rgba`, `#rrggbb`, `#rrggbbaa`); other color syntaxes are lost |
|
|
40
|
+
| easings `linear`, `ease`, `ease-in`, `ease-out`, `ease-in-out`, `cubic-bezier()` | ✅ | ✅ (as cubic Béziers) |
|
|
41
|
+
| other easings (`steps()`, `linear()`, springs) | ✅ | reported as lost `easing`; those segments play linear |
|
|
42
|
+
| any other CSS property (`filter`, `clip-path`, `box-shadow`, …) | ✅ | lost |
|
|
43
|
+
|
|
44
|
+
`nativeSupport(target, feature)` answers the same question in code. Muted layers (and everything outside a soloed
|
|
45
|
+
layer) are left out of the export and of the report, as in the Studio preview.
|
|
46
|
+
|
|
47
|
+
`report.ai` lists the 15.1 provenance records (`meta["motionary:provenance"]`, see
|
|
48
|
+
[studio-provenance.md](./studio-provenance.md)) that touched an exported layer — `{ id, generator, model?, requestId?, at,
|
|
49
|
+
layers }`, oldest first — so a reviewer can see which parts of the exported motion came from an AI edit. The generated
|
|
50
|
+
code is identical with or without provenance.
|
|
51
|
+
|
|
52
|
+
## Notes
|
|
53
|
+
|
|
54
|
+
- Segment easing follows CSS: the easing on a keyframe shapes the segment that **starts** there. Compose `using` and
|
|
55
|
+
ArkTS `curve` take it from the same keyframe; SwiftUI's `timingCurve` sits on the keyframe that **ends** the segment, so
|
|
56
|
+
the generator moves it one keyframe on.
|
|
57
|
+
- Tracks that start after 0 hold their first value until then (CSS `0%` block, Compose / SwiftUI hold keyframe).
|
|
58
|
+
- Golden files for the test scene live in `test/golden/native-15-2/`. CI has no Kotlin / Swift / ArkTS compiler: the
|
|
59
|
+
tests check the generated text against the golden files and with a bracket / string balance check. Compile the output
|
|
60
|
+
in your own app before shipping it; report a generator bug with the scene JSON and the target.
|
|
61
|
+
- The 12.1 `motionary export --target css|wxss|arkts` (presets + tokens) is unchanged; `--scene` selects this exporter.
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# AI edit provenance (`motionary/studio/provenance`, 15.1)
|
|
2
|
+
|
|
3
|
+
Every change an AI (or any other generator) makes to a Studio project can say where it came from:
|
|
4
|
+
`{ generator, model?, requestId?, at }`. The record is written **into the document** (`meta["motionary:provenance"]`) in
|
|
5
|
+
the **same undo step** as the change, so it is saved with the project, survives reopen, and disappears again on undo.
|
|
6
|
+
A proposal nobody accepted writes nothing — and leaves no record.
|
|
7
|
+
|
|
8
|
+
```js
|
|
9
|
+
import { createAiReview, proposeAiEdit } from 'motionary/studio/ai';
|
|
10
|
+
import { withProvenance, aiChanges, matchLineage, createProvenancePanel } from 'motionary/studio/provenance';
|
|
11
|
+
|
|
12
|
+
const proposal = await proposeAiEdit(history.doc, 'fade up the card', { provider });
|
|
13
|
+
const tracked = withProvenance(history, () => ({ generator: 'motionary/studio/ai', model: 'my-model', requestId, at: new Date().toISOString() }));
|
|
14
|
+
const review = createAiReview(tracked, proposal); // the 14.6 review: accept / reject per op
|
|
15
|
+
review.acceptAll();
|
|
16
|
+
review.apply(); // ONE undo step: the edit + its provenance record
|
|
17
|
+
aiChanges(history.doc, { aiOnly: true }); // [{ id: 'p1', generator, model, requestId, at, label, layers: ['card'] }]
|
|
18
|
+
createProvenancePanel(el, history); // newest first, "AI changes only" toggle, request-id filter
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
| Export | What it does |
|
|
22
|
+
|---|---|
|
|
23
|
+
| `withProvenance(history, info)` | Wraps an editor history: every `apply()` through it records `info` (or `info()` per change) with the changed layer ids, in the same step. A no-op change writes nothing. Everything else (undo / redo / gestures / subscribe) is the wrapped history. |
|
|
24
|
+
| `recordProvenance(doc, p, { label, layers })` | Pure: `doc` with one more record. Throws on an invalid value. At most 500 records are kept (oldest dropped). |
|
|
25
|
+
| `validateProvenance(p)` | `[]` or the problems: `generator` required, `model` a string, `requestId` 1–128 of `A–Z a–z 0–9 . _ : -`, `at` an ISO date. |
|
|
26
|
+
| `provenanceOf(doc)` / `aiChanges(doc, { aiOnly, requestId, generator })` | The records (copies), oldest first / filtered. |
|
|
27
|
+
| `changedLayers(a, b)` | Layer ids added, removed or edited between two documents. |
|
|
28
|
+
| `matchLineage(records, lineage)` | Joins records with MCP Gateway lineage entries (or the `{ lineage, total }` response body): `matched`, `missing` (has a request id the gateway does not know), `unattributed` (no request id). |
|
|
29
|
+
| `createProvenancePanel(root, history)` | A small list view of the records. |
|
|
30
|
+
|
|
31
|
+
## Tracing an AI edit to the gateway (MCP Gateway 15.1 canary)
|
|
32
|
+
|
|
33
|
+
`requestId` follows MCP Gateway's client correlation-id rule (`X-Request-Id`, else `X-Correlation-Id`, on REST or `/mcp`:
|
|
34
|
+
1–128 characters of `A–Z a–z 0–9 . _ : -`). Send one id per AI edit with the call, keep it in the provenance record,
|
|
35
|
+
and the gateway's call lineage finds the call behind it:
|
|
36
|
+
|
|
37
|
+
```
|
|
38
|
+
GET /api/v1/admin/ops/lineage?correlationId=<requestId> → { lineage: [{ requestId, correlationId, identity, tenant, target, decision, upstream, cost, traceId }], total }
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
`matchLineage(provenanceOf(doc), body)` then pairs each applied AI change with its gateway record. This was integrated
|
|
42
|
+
against **Gateway 15.1 canary** (`@winstonsayno/mcp-gateway@15.1.0-canary.1`, npm `canary`); it is a development
|
|
43
|
+
prerelease of the gateway, so treat the lineage route as a canary feature until the gateway ships it in a stable
|
|
44
|
+
release. See [examples/gateway-provenance](../examples/gateway-provenance/README.md).
|
|
45
|
+
|
|
46
|
+
## `propose_edit` (motionary-mcp 2.4)
|
|
47
|
+
|
|
48
|
+
The MCP server's `propose_edit` tool returns the same proposal as structured data — ops with a sentence each, the JSON
|
|
49
|
+
diff, the changed layer ids, the preview and the checks — plus `provenance: { generator: 'motionary-mcp/propose_edit',
|
|
50
|
+
requestId }`. It never writes (`applied: false`); the requestId is the `requestId` argument or the MCP
|
|
51
|
+
`params._meta.correlationId`. Studio applies the ops only after a person accepts them in the review. See
|
|
52
|
+
[mcp.md](./mcp.md).
|
|
53
|
+
|
|
54
|
+
## What it does not do
|
|
55
|
+
|
|
56
|
+
- It does not prove who made a change: a record is what the editor was told. Use it for review and auditing, not for
|
|
57
|
+
authorization.
|
|
58
|
+
- It stores no prompt text, scene content or keys — only generator, model, request id, time, label and layer ids.
|
package/docs/versions.md
CHANGED
|
@@ -11,7 +11,7 @@ URLs. Nothing else changes: the `<usa-*>` tags, the `usa-` classes, the globals
|
|
|
11
11
|
|
|
12
12
|
| Tag | Points to | Install |
|
|
13
13
|
|---|---|---|
|
|
14
|
-
| `latest` | the newest release of the current major (15.
|
|
14
|
+
| `latest` | the newest release of the current major (15.2.0 today) | `npm i motionary` |
|
|
15
15
|
| `v<major>-line` | each major line from 14 on, e.g. `v14-line` → the newest 14.x release (a bare `v14` is not allowed: npm rejects tag names that are valid SemVer ranges) | `npm i motionary@v14-line` |
|
|
16
16
|
| `next` | release candidates of the next major; never moves `latest` (15.0.0 today: the 15.0 candidate line is closed, the next candidate is 16.0.0-rc.1) | `npm i motionary@next` |
|
|
17
17
|
| `v14-lts` | the last 14.x release (14.9.0 today), security and severe fixes at least until 16.0 ships | `npm i motionary@v14-lts` |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "motionary",
|
|
3
|
-
"version": "15.
|
|
3
|
+
"version": "15.2.0",
|
|
4
4
|
"description": "Motionary (formerly use-scroll-animate): dependency-free scroll animations + 209 animated Web Components (91 core, 118 widgets) — 214 scroll-reveal presets, physics, page transitions, generative backgrounds, Lottie, WebGL and a motion runtime. React, Vue, Svelte, Solid, Angular or plain HTML.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -630,6 +630,26 @@
|
|
|
630
630
|
"default": "./dist/components/studio-app.cjs"
|
|
631
631
|
}
|
|
632
632
|
},
|
|
633
|
+
"./studio/provenance": {
|
|
634
|
+
"import": {
|
|
635
|
+
"types": "./dist/components/studio-provenance.d.ts",
|
|
636
|
+
"default": "./dist/components/studio-provenance.js"
|
|
637
|
+
},
|
|
638
|
+
"require": {
|
|
639
|
+
"types": "./dist/components/studio-provenance.d.cts",
|
|
640
|
+
"default": "./dist/components/studio-provenance.cjs"
|
|
641
|
+
}
|
|
642
|
+
},
|
|
643
|
+
"./studio/native": {
|
|
644
|
+
"import": {
|
|
645
|
+
"types": "./dist/components/studio-native.d.ts",
|
|
646
|
+
"default": "./dist/components/studio-native.js"
|
|
647
|
+
},
|
|
648
|
+
"require": {
|
|
649
|
+
"types": "./dist/components/studio-native.d.cts",
|
|
650
|
+
"default": "./dist/components/studio-native.cjs"
|
|
651
|
+
}
|
|
652
|
+
},
|
|
633
653
|
"./components/reveal": {
|
|
634
654
|
"import": {
|
|
635
655
|
"types": "./dist/components/reveal.d.ts",
|
|
@@ -910,6 +930,26 @@
|
|
|
910
930
|
"default": "./dist/components/studio-templates.cjs"
|
|
911
931
|
}
|
|
912
932
|
},
|
|
933
|
+
"./components/studio-provenance": {
|
|
934
|
+
"import": {
|
|
935
|
+
"types": "./dist/components/studio-provenance.d.ts",
|
|
936
|
+
"default": "./dist/components/studio-provenance.js"
|
|
937
|
+
},
|
|
938
|
+
"require": {
|
|
939
|
+
"types": "./dist/components/studio-provenance.d.cts",
|
|
940
|
+
"default": "./dist/components/studio-provenance.cjs"
|
|
941
|
+
}
|
|
942
|
+
},
|
|
943
|
+
"./components/studio-native": {
|
|
944
|
+
"import": {
|
|
945
|
+
"types": "./dist/components/studio-native.d.ts",
|
|
946
|
+
"default": "./dist/components/studio-native.js"
|
|
947
|
+
},
|
|
948
|
+
"require": {
|
|
949
|
+
"types": "./dist/components/studio-native.d.cts",
|
|
950
|
+
"default": "./dist/components/studio-native.cjs"
|
|
951
|
+
}
|
|
952
|
+
},
|
|
913
953
|
"./components/studio-app": {
|
|
914
954
|
"import": {
|
|
915
955
|
"types": "./dist/components/studio-app.d.ts",
|
|
@@ -4345,7 +4385,8 @@
|
|
|
4345
4385
|
"AGENTS.md",
|
|
4346
4386
|
"templates",
|
|
4347
4387
|
"!dist/**/*.map",
|
|
4348
|
-
"!docs/images"
|
|
4388
|
+
"!docs/images",
|
|
4389
|
+
"!docs/ROADMAP.md"
|
|
4349
4390
|
],
|
|
4350
4391
|
"sideEffects": [
|
|
4351
4392
|
"*.css",
|
package/docs/ROADMAP.md
DELETED
|
@@ -1,194 +0,0 @@
|
|
|
1
|
-
# Motionary 路线图
|
|
2
|
-
|
|
3
|
-
## 14.x → 15.0 版本追踪(2026-10-11 起采用)
|
|
4
|
-
|
|
5
|
-
从 14.2 起,路线图按 **版本 / 状态 / 优先级 / 验收标准** 追踪。每个版本在发布前,都要以最新的 main、正式 Release 和必需 CI 的结果重新核对;表中的“建议”不是发布承诺。
|
|
6
|
-
|
|
7
|
-
**状态:** `[已发布]` 已进入正式 Release,不再加新功能 · `[在研]` 已有代码或 PR,但未达到合并门槛 · `[建议]` 建议按此方向安排 · `[条件]` 是否需要取决于前一阶段的测试结果,不为凑版本号而发布。
|
|
8
|
-
**优先级:** P0 = 发布阻断 / 安全 / 数据正确性;P1 = 核心产品能力;P2 = 体验与生态增强。
|
|
9
|
-
|
|
10
|
-
| 版本 | 状态 | 优先级 | 核心内容 | 发布验收标准 |
|
|
11
|
-
| --- | --- | --- | --- | --- |
|
|
12
|
-
| v14.0.0 | [已发布] | P0 | Motion Engine v2(`motionary/motion`),Scene Format v2 成为正式格式,`motionary/compat-v13` | 已发布(PR #144)。 |
|
|
13
|
-
| v14.1.0 | [已发布] | P1 | Motion Tokens 2.0(`motionary/tokens`:语义、距离、模式、DTCG、CSS、Figma Variables) | 已发布(PR #146)。 |
|
|
14
|
-
| v14.2.0 | [已发布] | P0 | Layout Motion 2.0(`motionary/motion/layout`):FLIP 与缩放 / 圆角校正、布局组、可中断动画、共享 `layoutId` 元素、View Transitions(同文档 / 跨文档)及 FLIP 回退、reduced motion([docs/layout-motion.md](./layout-motion.md)) | 已发布(PR #147)。验收:Node 20/22/24、Chromium/Firefox/WebKit 和体积检查全绿后才合并;lite ≤ 70 KB,现有预算均未提高,新入口有独立的 8 KB 预算。 |
|
|
15
|
-
| v14.3.0 | [已发布] | P1 | 创作画布基础(`motionary/studio/canvas`):可视化选中、框选、多选、层级 / 锁定 / 隐藏、参考线与吸附(参考线、兄弟元素边缘 / 中心、网格)、指针与触控的拖拽 / 缩放 / 旋转及画布双指缩放、键盘导航与微移、无障碍选择模型([docs/studio-canvas.md](./studio-canvas.md)) | 已发布(14.3.0)。验收:每次编辑都是可在 Scene Format v2 上无损重放的操作,并经由时间轴编辑器的撤销 / 重做;不使用 window / document 全局监听(测试断言监听数回到基线);Chromium / Firefox / WebKit 用鼠标与触控指针模拟(手机视口)测试;lite ≤ 70 KB,现有预算均未提高,新入口独立 12 KB 预算。**真机清单(iOS Safari、Android Chrome、触控笔、触控板、读屏)尚待在真实设备上执行**,见 docs/studio-canvas.md。 |
|
|
16
|
-
| v14.4.0 | [已发布] | P0 | Motion Studio 1.0(`motionary/studio`):时间轴 UI(轨道与轨道组:折叠 / 静音 / 锁定;时间标尺;可拖动播放头;缩放)、关键帧拖动 / 框选 / 多选移动 / 复制粘贴及吸附到帧和其他关键帧、曲线编辑(cubic-bezier 手柄、预设、弹簧参数)、属性检查器、逐帧预览与确定性跳转、经现有历史的撤销重做、Scene v2 / 工程文件保存与读取;组合 13.6 时间轴编辑模型与 14.3 画布,不重复实现([docs/studio.md](./studio.md)) | 已发布(14.4.0)。验收:测试仅通过 UI API / DOM(不改 JSON)建立多轨动画,保存、在新 Studio 中重新打开后采样帧与舞台 DOM 一致;导出 / 导入回归测试通过;时间轴为 `role="grid"`,键盘导航与 ARIA 测试通过;除手势期间外无全局监听(测试断言监听数回到基线);Chromium / Firefox / WebKit 鼠标、键盘与触控指针(手机视口)测试;lite ≤ 70 KB,现有预算均未提高,新入口独立 25 KB 预算(含其引用的画布与编辑模型)。**真机清单(iOS Safari、Android Chrome、触控笔、触控板、读屏)尚待在真实设备上执行**,见 docs/studio.md。 |
|
|
17
|
-
| v14.5.0 | [已发布] | P1 | 工程与资源工作流(`motionary/studio/assets`):图片、SVG、字体、视频、音频资源引用(`url()` 与 `*src` 属性);相对路径解析并限制在工程目录内(越界、绝对路径、协议、编码穿越均拒绝);离线工程包(`motionary-studio-pack` v1,base64 + CRC-32);缺失 / 变更资源清单与按内容或文件名的重新链接建议;脚本类文件从不打包、解包或执行 | 工程迁移到另一台设备后能找到资源,或列出缺失项;资源路径限制在允许的工程目录内;不自动执行导入脚本。 |
|
|
18
|
-
| v14.6.0 | [已发布] | P1 | AI 创作助手 2.0(`motionary/studio/ai`):提示词 → Scene v2 op(沿用 `applyCanvasOps` 格式 + add-layer / remove-layer / set-layer / set-component);按选区局部修改;组件与版本匹配;修复建议(最接近的标签、移除当前版本没有的组件、默认缓动);Schema + 兼容性 + 无头渲染 + 可选 MCP / 浏览器校验后才预览;可插拔模型适配器 + 确定性 mock;模型输出仅作为数据解析;motionary-mcp 2.2 的 check_compatibility / suggest_fix / validate_snippet / suggest_motion 接受 Scene v2 | 每次 AI 编辑都是可逐条接受 / 拒绝的结构化 diff,接受部分作为一个撤销步骤写入历史;校验失败不提供任何 op,工程不变(单元测试 + Chromium 规格 test/browser/studio-ai.spec.mjs)。 |
|
|
19
|
-
| v14.7.0 | [已发布] | P1 | 输出与预览可靠性(`motionary/studio/export`):工程 → 独立 HTML/CSS(JS 可选);时间线烘焙为 CSS `@keyframes`(缓动 / 离散 / 自定义属性的段逐帧采样,所以每个帧时刻的值与 `sampleTimelineDoc` 一致);资源复制到 `assets/` 或内联为单文件;`frameDigest` 帧指纹;可续跑的帧导出作业 + 适配器接口(独立于基础导出,不内置视频编码器) | 独立导出的作品无需编辑器、无需网络即可运行;同一 Scene 两次导出逐字节相同,帧时刻的计算样式与采样值一致(Chromium / Firefox / WebKit);帧导出作业失败可从检查点续跑,且不阻塞基础导出;新入口独立预算(`motionary/components/studio-export` 15 KB,实测 13.49 KB),lite ≤ 70 KB,现有预算均未提高([docs/studio-export.md](./studio-export.md))。 |
|
|
20
|
-
| v14.8.0 | [已发布] | P2 | 模板与扩展生态(`motionary/studio/templates`):模板包 `motionary-template` v1(工程包 + 许可证 / 前置模块 / 令牌主题 / 完整性)、安装 / 预览 / 卸载、可信清单 | 模板可安装、预览、卸载,卸载后工程逐字节还原;许可与前置模块在 API / 文档 / MCP 三处一致;越界路径、超限、签名错误、脚本类文件一律拒绝且工程不变。实现:SHA-256 完整性(纯 JS)+ 可选 Ed25519 发布者签名(WebCrypto);安装 = 一个撤销步骤;预览 = 14.7 导出的无脚本单文件;内置 3 个 MIT 起步模板;motionary-mcp 2.3 `list_templates` / `get_template` / `export_scene`。新入口独立预算(`motionary/components/studio-templates` 19 KB,实测 17.87 KB,含 14.7 导出;不含预览 11.25 KB / 12 KB),lite ≤ 70 KB,现有预算均未提高([docs/studio-templates.md](./studio-templates.md))。Pages 模板画廊与 Gateway 租户模板目录推迟到 15.5。 |
|
|
21
|
-
| v14.9.0 | [已发布] | P0 | v15 兼容准备:15.0 删除清单定稿([docs/deprecations-v15.md](./deprecations-v15.md):`motionary/compat-v13` 整个入口 + `motionary codemod <5–10>`)全部发出开发期警告(`installCompatV13()` 安装时也提示,链接 v15 锚点);`npx motionary doctor --v15`(compat 导入 / require、旧 codemod 脚本、旧数据);`npx motionary migrate --to 15`(默认演练;`--write` 先写 `.bak` / `.bak.N`,旧数据原地转 Scene v2,删除可机械移除的 `installCompatV13`,其余列入 manual,损失报告 JSON);Studio 工程损坏 / 截断 / 未知版本只报告不改写;`15.0.0-rc.1` 仅发布到 `next` | doctor 找到每一处旧 API;迁移语料(13.x fixtures + 内置模板)逐字节等于黄金 Scene v2、0 损失;`next` 与 `latest` 隔离。说明:`motionary-scene@1` 是物理运行时(`motionary/runtime/format-scene`,`<usa-physics-playground>`)的世界 / 刚体格式,不是 Scene Format 的 v1;Scene v2 无法表达刚体与物理世界,所以原计划中的“`motionary-scene@1` 写出改为只读”取消,15.0 不改动它;14.x 期间没有新增其他 @deprecated 类型。无新入口、无预算变化([docs/migrating-to-v15.md](./migrating-to-v15.md))。 |
|
|
22
|
-
| v15.0.0 | [已发布] | P0 | **major** · Motion Studio 2.0 稳定主线(`motionary/studio/app`):把 canvas / studio / assets / ai / export / templates 组合成创作闭环;删除 `motionary/compat-v13`(14.0 起预告,14.9 警告) | 从零创建 → 编辑 → 预览 → 保存 → 重开 → 导出的完整闭环(三浏览器 + 手机视口)通过,重开前后帧指纹一致;升级不丢工程;附 codemod 与 migrating-to-v15;14.9.x 成为 `v14-lts`;lite ≤ 70 KB、零依赖。 |
|
|
23
|
-
|
|
24
|
-
### 15.x → 17.0(2026-10-13 起规划)
|
|
25
|
-
|
|
26
|
-
全部为 `[建议]`,发布前同样以 main、Release 与必需 CI 重新核对;`[条件]` 版本没有内容就跳过,不为版本号发版。
|
|
27
|
-
|
|
28
|
-
| 版本 | 状态 | 优先级 | 核心内容 | 发布验收标准 |
|
|
29
|
-
| --- | --- | --- | --- | --- |
|
|
30
|
-
| v15.1.0 | [建议] | P1 | AI 编辑溯源与 Gateway 协同:历史条目带生成者 / 模型 / 请求 id / 时间;motionary-mcp `propose_edit` 只返回 diff | 未经人确认的改动不写入工程;每个已应用的 AI 改动能对到 Gateway 审计记录(依赖 Gateway 15.1 调用因果追踪;未发布前以 14.x 审计字段 + 示例验证)。 |
|
|
31
|
-
| v15.2.0 | [建议] | P1 | 跨平台导出 2.0:CSS / WXSS / ArkTS 改为从 Scene v2 导出,新增 Compose / SwiftUI 支持子集 | 每个导出带逐项损失报告;黄金文件测试;独立入口与预算。 |
|
|
32
|
-
| v15.3.0 | [建议] | P1 | 无障碍与响应式动效:敏感度分级、焦点、缩放、断点变体 | Studio 与导出物行为一致;axe + 键盘 + reduced-motion 三浏览器;真机清单未在真实设备执行前标注“未执行”。 |
|
|
33
|
-
| v15.4.0 | [条件] | P2 | 渲染后端(WebGPU / 资源调度) | 只有 14.7 / 15.0 的性能数据证明需要时才做。 |
|
|
34
|
-
| v15.5.0 | [建议] | P2 | 团队工程与资源:`ProjectStore` 适配器、版本历史、冲突检测(Motionary 不自带服务器) | Gateway 示例中跨租户读取被拒并审计,配额生效。 |
|
|
35
|
-
| v15.9.0 | [建议] | P0 | v16 准备:Scene v3 草案 + 迁移预览;16.0 删除项全部警告 + codemod + 文档;`16.0.0-rc.1` 仅 `next` | 迁移语料 dry-run 损失报告完整;`next` / `latest` 隔离。 |
|
|
36
|
-
| v16.0.0 | [建议] | P0 | **major** · Scene Format v3(嵌套合成、组件即图层、断点变体)+ motionary-mcp 3.0 | v2 → v3 无损迁移或逐项损失报告;可表达部分导出帧指纹不变;`v15-lts`;codemod + migrating-to-v16。 |
|
|
37
|
-
| v16.1.0 | [建议] | P1 | 符号与实例 | 覆盖属性、主符号更新传播、导出去重。 |
|
|
38
|
-
| v16.2.0 | [建议] | P1 | Studio 插件 API(预览) | 沙箱运行、显式权限清单、插件崩溃不影响 Studio。 |
|
|
39
|
-
| v16.3.0 | [建议] | P2 | 性能预算进 Studio | 编辑时显示导出体积 / 帧成本,超预算阻止发布导出。 |
|
|
40
|
-
| v16.9.0 | [建议] | P0 | v17 准备 + `17.0.0-rc.1`(`next`) | 17.0 删除项全部警告 + codemod + 文档。 |
|
|
41
|
-
| v17.0.0 | [建议] | P0 | **major** · 平台稳定版:冻结 Scene v3、Studio 插件 API v1、MCP 3.x;删除 16.x 弃用;LTS 策略 | lite 仍 ≤ 70 KB、零依赖;`v16-lts` 维护期写入 versions.md。 |
|
|
42
|
-
|
|
43
|
-
**破坏性变更规则:** 只在 major(15.0 / 16.0 / 17.0)出现;至少提前一个 minor 发出开发期弃用警告(生产构建剔除),并附 codemod、`migrating-to-vN.md` 与 `deprecations-vN.md`。
|
|
44
|
-
|
|
45
|
-
### 每个版本都必须满足的发布约束
|
|
46
|
-
|
|
47
|
-
1. `motionary/core`、`motionary/motion`、`components/lite`、WebGL 和编辑器工具彼此独立;Studio 不进入 lite。
|
|
48
|
-
2. lite 约 70 KB gzip 的固定预算不因新功能提高,`dependencies` 保持为空,直到 v17.0 结束(除非某个 major 明确重新定义并写明理由);新增的大功能使用单独入口和独立预算,任何已有预算行都不静默上调。
|
|
49
|
-
3. 浏览器覆盖 Chromium、Firefox、WebKit;继续验证 SSR / Hydration 和移动端操作。
|
|
50
|
-
4. 工程格式、导出器和可视化时间轴必须支持确定性测试、回滚、恶意输入限制和迁移损失报告。
|
|
51
|
-
5. 必需 CI(Node 20/22/24、三种浏览器、体积 / Tree Shaking / 打包检查)为红灯时,一律不合并。
|
|
52
|
-
|
|
53
|
-
### 与 MCP Gateway 的联动
|
|
54
|
-
|
|
55
|
-
| 阶段 | 适用版本 | 优先级 | 目标 | 验收 |
|
|
56
|
-
| --- | --- | --- | --- | --- |
|
|
57
|
-
| I. 基础互通 | MCP 14.9 + Motionary 14.1+ | P1 | 保留 Gateway interop 测试,使用 Motionary MCP 的 check_compatibility、suggest_fix、validate_snippet | 工具调用统一授权;身份和租户可追溯;输出符合已公布的 Schema。 |
|
|
58
|
-
| II. 安全 AI 生成 | MCP 15.0 + Motionary 14.6 | P1 | 由 Gateway 管理 AI 的访问权限、预算和审计;Motionary 生成 / 修改 Scene v2 | 未授权的工具无法执行;生成的文档经过 Schema 和代码校验;提示注入拿不到额外权限。 |
|
|
59
|
-
| III. 编辑器协同 | MCP 15.x + Motionary 14.4–14.7 | P1 | AI 产生结构化 diff,Studio 展示差异,由用户批准、预览或撤销 | 人工确认前不修改工程;回滚稳定;每处改动都能关联到生成者和时间。 |
|
|
60
|
-
| IV. 资产与团队 | MCP 15.x + Motionary 14.8–15.0 | P2 | 多租户工程资源、版本管理、共享模板、审计与配额 | 不同租户的资源、密钥和缓存相互隔离;共享需要授权;导入资源不执行任意脚本。 |
|
|
61
|
-
| V. 产品闭环 | MCP 15.x + Motionary 15.0 | P1 | 自然语言 → Scene → Studio 编辑 → 浏览器测试 → 输出 HTML/CSS/JS | 示例工程端到端测试可重复;出错时报告具体步骤并给出修复方向。 |
|
|
62
|
-
| VI. 协议 3.0 | MCP 16 + Motionary 16.0 | P1 | motionary-mcp 3.0 工具 schema 与 Scene v3 | Gateway interop 用 MCP 3.0 通过;以 Gateway 实际发布为准。 |
|
|
63
|
-
|
|
64
|
-
Gateway 15.0 GA 仍受其门槛 A / B / C(72 小时 soak、专用硬件基线、外部安全复核)约束;在其通过前,Motionary 文档不写“已通过 Gateway 15 GA 验证”。
|
|
65
|
-
|
|
66
|
-
---
|
|
67
|
-
|
|
68
|
-
## 历史计划(10.0 → 13.x,归档)
|
|
69
|
-
|
|
70
|
-
以下是 10.0 之后的原始计划,保留作记录。其中的版本均已发布,最新状态见上表与 [CHANGELOG](../CHANGELOG.md)。
|
|
71
|
-
|
|
72
|
-
10.0 已发布:全新架构 —— 零依赖核心 `motionary/core`(gzip 后不到 10 KB,实测约 2 KB:`createMotion()`、入场预设、`play` / `bind` / `reveal`、统一暂停与倍速)、所有特效插件化(`motionary/plugins`,按需 `createMotion().use(retro, cinema)`)、GPU 特效默认使用 WebGPU(不支持时回退 WebGL2 → Canvas);移除 9.9 弃用的 `registerEffectPacks()`;`motionary` 与 `use-scroll-animate` 同时成为 npm `latest`。
|
|
73
|
-
|
|
74
|
-
下面是 10.1 → 11.0 的计划(2026-10-09 修订)。每个版本一个主题 + 一组新组件,另外贯穿两条长期主线:
|
|
75
|
-
|
|
76
|
-
- **主线 A · AI 可读组件**:让 AI 模型能自己发现、理解并正确使用每一个组件 —— 机器可读的组件清单 `components.json`、`llms.txt`、逐组件 Markdown 文档、`AGENTS.md` 提示指南,以及 `motionary-mcp` MCP 服务器。
|
|
77
|
-
- **主线 B · 自研通用前置模块 `motionary/runtime`**:**不再依赖 GSAP、SplitType、Lenis、Three.js、lottie-web、Matter.js、Embla 等第三方库,也不做"全家桶"大包。** Motionary 自己从零实现一个零依赖运行时:共享 ticker / RAF 调度器、tween + timeline 引擎与缓动、模块注册与清晰错误,以及一组按功能 / 格式拆分的模块。每个模块一个子路径(`motionary/runtime/<module>`),可 tree-shake,只为用到的部分付费;可单独通过 CDN 使用(ESM 与自注册 IIFE);导入时不访问 `window`(SSR 安全),能放进 Web Worker 的部分支持 Worker;自带 TypeScript 类型;适用于纯 HTML `<script>`、ESM 打包器、React / Vue / Svelte / Angular。全部为原创实现,不复制、不逆向任何第三方库代码(GSAP 许可证禁止逆向工程)。
|
|
78
|
-
|
|
79
|
-
## 主线 B 的统一规则(从 10.1 起强制执行)
|
|
80
|
-
|
|
81
|
-
需要 runtime 模块(或官方第三方运行时,见下文)的组件,在以下 **5 处** 都必须写明前置条件:画廊卡片、Store 详情、文档页、README 对应章节、AI 组件清单(manifest)。前置条件固定包含:
|
|
82
|
-
|
|
83
|
-
1. **安装命令**:runtime 模块只需 `npm i motionary` 一次;官方运行时写出确切命令(如 `npm i @rive-app/canvas`);
|
|
84
|
-
2. **导入路径**:如 `motionary/runtime/scroll`;
|
|
85
|
-
3. **CDN 地址**:可直接复制的 `<script>`(主版本固定,如 `https://cdn.jsdelivr.net/npm/motionary@15/dist/runtime.iife.js`)以及 ESM 地址;
|
|
86
|
-
4. **引入顺序与注册代码**:先 `use(scroll)`(会同时注册核心),再注册组件;CDN 先加载 `runtime.iife.js`,再加载模块 IIFE(自动注册);
|
|
87
|
-
5. **最小用法示例**。
|
|
88
|
-
|
|
89
|
-
Store 卡片显示 **「Requires: motionary/runtime/<module>」** 徽章(官方运行时为 `Requires: @rive-app/canvas` 等)。缺少模块时组件显示并抛出清晰错误(包含上面几项与文档链接)。CI 的 `npm run check:peer-docs` 检查 5 处是否齐全;每个模块有固定的 gzip 体积预算,CI 强制(`size-budget.json`)。
|
|
90
|
-
|
|
91
|
-
## 格式兼容:每种格式一个独立加载器模块
|
|
92
|
-
|
|
93
|
-
`motionary/runtime` 尽可能兼容常见动画 / 资源格式,全部自研、零依赖,每种格式一个可 tree-shake 的加载器模块,各有体积预算、真实样例文件测试(自制或 CC0 / CC-BY 样例并注明出处)、文档页兼容性表格与 AI 清单条目:
|
|
94
|
-
|
|
95
|
-
- **矢量**:Lottie JSON(形状、预合成、遮罩 / 轨道遮罩、修剪路径、渐变、文本层、表达式子集)+ dotLottie(`.lottie` zip,主题 / 状态机可行子集);SVG(SMIL `animate` / `animateTransform` / `animateMotion` 回放、路径变形、CSS 动画 SVG)。
|
|
96
|
-
- **CSS / Web**:CSS `@keyframes` 与 Web Animations API 关键帧导入 timeline;Motion / Framer 风格关键帧 JSON。
|
|
97
|
-
- **位图 / 序列**:精灵图(TexturePacker / Aseprite JSON)、GIF / APNG / 动画 WebP 拆帧到 canvas、图片序列、视频(MP4 / WebM)纹理与滚动拖动。
|
|
98
|
-
- **3D**:glTF 2.0 / GLB(网格、PBR 基础、蒙皮、变形目标、动画)、OBJ / MTL。
|
|
99
|
-
- **物理 / 数据**:自定义、带版本号的场景 JSON(`motionary-scene@1`)。
|
|
100
|
-
|
|
101
|
-
### 使用官方第三方运行时的组件(及原因)
|
|
102
|
-
|
|
103
|
-
只有我们**无法合理自行实现**的格式才使用官方运行时,一律作为**可选** `peerDependencies`(`peerDependenciesMeta.optional: true`),首次使用时懒加载,缺失时清晰报错,并同样满足 5 处前置条件规则 + Requires 徽章:
|
|
104
|
-
|
|
105
|
-
| 组件 / 功能 | 官方运行时 | 原因 |
|
|
106
|
-
|---|---|---|
|
|
107
|
-
| `<usa-rive>`(10.6) | `@rive-app/canvas`(或 `@rive-app/webgl2`) | `.riv` 是 Rive 的专有二进制格式,没有公开的完整规范,自研无法保证正确性 |
|
|
108
|
-
| Lottie 全保真模式(可选,10.6+) | `lottie-web` | 自研播放器只覆盖文档列出的子集;需要子集之外特性(3D 图层、效果等)时可切换到官方播放器 |
|
|
109
|
-
| dotLottie 完整状态机(可选,10.9) | `@lottiefiles/dotlottie-web` | 完整状态机规范庞大且仍在演进,自研只做子集 |
|
|
110
|
-
| glTF Draco / KTX2(Basis) 压缩(可选,10.9) | `draco3d`、`basis_universal` 官方解码器 | 专用压缩解码器(WASM),自研成本与风险过高 |
|
|
111
|
-
|
|
112
|
-
## 各版本计划
|
|
113
|
-
|
|
114
|
-
- ✅ **v10.1** — 插件生态 + AI 清单 + runtime 核心:插件开发脚手架(`create-motionary-plugin`)、插件签名校验(SRI 风格 SHA-256 完整性)与版本兼容检查。
|
|
115
|
-
- 主线 A:机器可读组件清单 `components.json`(Pages 根目录 + npm 包内 `motionary/manifest.json`,带 JSON Schema),每个组件包含:标签名、attributes、事件、插槽、方法、导入路径、CDN URL、最小示例、前置条件;Pages 根目录提供 `llms.txt` 与 `llms-full.txt`,均在构建时由源码生成。
|
|
116
|
-
- 主线 B:**runtime 核心** —— 共享 ticker / RAF 调度器、tween + timeline 引擎与缓动、`use()` / `requireModule()` 注册 API 与清晰错误、「Requires: motionary/runtime/…」徽章、前置条件模板、`check:peer-docs`(检查 runtime 模块文档与 5 处前置条件)、清单列出 runtime 模块。
|
|
117
|
-
- 格式:CSS `@keyframes` + WAAPI 关键帧(`motionary/runtime/format-css`)、Motion / Framer 关键帧 JSON(`motionary/runtime/format-motion`)。
|
|
118
|
-
- 新组件:插件详情卡 `<usa-plugin-card>`(Requires: motionary/runtime)、安装按钮 `<usa-install-button>`。
|
|
119
|
-
- ✅ **v10.2** — 核心 DSL 化:`motionary/core` 直接支持 `data-motion` 声明式语法。
|
|
120
|
-
- 主线 A:逐组件 Markdown 文档(`/docs/components/<tag>.md`,由清单生成);仓库根目录新增 `AGENTS.md` 与提示指南。
|
|
121
|
-
- 主线 B:**scroll 模块**(`motionary/runtime/scroll`)—— pin、scrub、markers、start / end 规则(自研,功能对标 ScrollTrigger,但不复制其代码或 API)。
|
|
122
|
-
- 格式:SVG SMIL 回放、路径变形、CSS 动画 SVG(`motionary/runtime/format-svg`)。
|
|
123
|
-
- 新组件:动效检查器面板、`<usa-scroll-scene>`(Requires: motionary/runtime/scroll)。
|
|
124
|
-
- ✅ **v10.3** — View Transitions 2.0:跨文档页面转场、共享元素动画。
|
|
125
|
-
- 主线 B:**text 模块** —— 逐字 / 逐词 / 逐行拆分(保留可访问文本)。
|
|
126
|
-
- 格式:精灵图(TexturePacker / Aseprite JSON)、图片序列(`motionary/runtime/format-sprite`)。
|
|
127
|
-
- 新组件:路由转场容器、`<usa-text-splitter>`(`<usa-split-text>` 已被 4.x 文本组件占用)。
|
|
128
|
-
- ✅ **v10.4** — 滚动驱动 3.0:原生 `animation-timeline` 优先、JS 回退插件化。
|
|
129
|
-
- 主线 A:发布 `motionary-mcp` MCP 服务器(`npx motionary-mcp`,stdio):`list_components`、`search_components`、`get_component`、`get_example`、`scaffold_snippet`(自动带上前置条件)。
|
|
130
|
-
- 主线 B:**smooth 模块** —— 平滑滚动(减少动态效果时停用)。
|
|
131
|
-
- 格式:GIF(自研 LZW)、APNG、动画 WebP 拆帧到 canvas。
|
|
132
|
-
- 新组件:滚动进度环、视差分层容器、`<usa-smooth-scroll>`。
|
|
133
|
-
- ✅ **v10.5** — WebGPU 特效 2.0:计算着色器粒子、后处理链。
|
|
134
|
-
- 主线 B:**gl 模块** —— 迷你 WebGL2 场景(网格 / 基础几何体、相机、灯光、着色器材质;不是 Three.js 克隆)。
|
|
135
|
-
- 格式:OBJ / MTL、glTF 2.0 / GLB 基础、视频纹理。
|
|
136
|
-
- 新组件:粒子画布、着色器背景、`<usa-gl-scene>`(保留别名 `<usa-three-scene>`)。
|
|
137
|
-
- ✅ **v10.6** — 动效设计令牌 2.0:W3C Design Tokens 格式导入导出。
|
|
138
|
-
- 主线 B:**vector 模块** —— 矢量动画播放器,支持文档列出的 Lottie JSON 子集(形状、变换、修剪路径、基础遮罩、预合成、渐变;文档列出不支持的特性)+ dotLottie。
|
|
139
|
-
- 官方运行时:`<usa-rive>`(Requires: @rive-app/canvas,可选 peer,懒加载)。
|
|
140
|
-
- 新组件:令牌编辑器、`<usa-lottie-player>`、`<usa-rive>`。
|
|
141
|
-
- ✅ **v10.7** — AI 辅助动效:自然语言 → 动效描述、动效建议。
|
|
142
|
-
- 主线 A:MCP 2.0 —— `suggest_motion`、`validate_snippet`;AI 使用评测集(运行 AI 写的片段检验能否直接工作)。
|
|
143
|
-
- 主线 B:**physics 模块** —— 2D 刚体(圆 / 盒 / 多边形)、约束;场景 JSON `motionary-scene@1`。
|
|
144
|
-
- 新组件:动效提示输入框、`<usa-physics-playground>`。
|
|
145
|
-
- ✅ **v10.8** — drag-snap、glTF 动画、Lottie 文本层(原计划的跨端 3.0 —— 小程序适配、鸿蒙 ArkTS 示例、跨端预览器 —— 已移到 11.0 之后,见下文)。
|
|
146
|
-
- 主线 B:**drag-snap 模块** —— 拖拽吸附 / 惯性轮播。
|
|
147
|
-
- 格式:glTF 蒙皮 / 变形目标 / 动画;Lottie 文本层 + 表达式子集。
|
|
148
|
-
- 新组件:`<usa-snap-carousel>`(`<usa-carousel>` 已被 6.2 轮播占用)。
|
|
149
|
-
- ✅ **v10.9** — 11.0 预备:11.0 弃用警告、`upgrading-11.md` 与 `usa-codemod-11`。
|
|
150
|
-
- 主线 A:清单 Schema v2 定稿(11.0 起冻结)。
|
|
151
|
-
- 主线 B:全部 runtime 模块审计、逐模块体积预算复核;dotLottie 主题 / 状态机子集;Draco / KTX2 官方解码器挂钩。
|
|
152
|
-
- ✅ **v11.0** — 稳定版:移除 10.9 弃用项(`<usa-three-scene>` / `defineThreeScene()`、主线程字符串绘制程序);清单 Schema v2 冻结;**`motionary-mcp` 2.x 稳定版**(服务器版本保持 2.0.0,原计划的“1.0”标签不再使用);`motionary/runtime/*` 转为稳定 API(12.0 前遵循 semver);兼容性矩阵冻结([compat-matrix.md](./compat-matrix.md));CDN 主版本 `@11`;`motionary` 与 `use-scroll-animate` 同时成为 npm `latest`。
|
|
153
|
-
|
|
154
|
-
完整的格式兼容性矩阵(格式 / 版本 / 支持特性 / 已知缺口 / 回退方案)见各模块文档页 `docs/runtime/<module>.md`。
|
|
155
|
-
|
|
156
|
-
<!-- v11-13:start -->
|
|
157
|
-
## 11.0 之后:11.1 → 13.0
|
|
158
|
-
|
|
159
|
-
依据 2026-10-09 的方向调整。贯穿全部版本的约束:
|
|
160
|
-
|
|
161
|
-
- **核心零直接运行时依赖**(`dependencies` 保持为空);高级功能(Rive、Draco、KTX2 等专有格式)只用**可选 `peerDependencies`**,懒加载,缺失时给出清晰错误。
|
|
162
|
-
- 目标架构见 [architecture.md](./architecture.md):**Public API**(HTML · React · Vue · Svelte · Solid · Angular)→ **Components** · **Motion Core** · **Runtime** → **Motion Intelligence & Tooling**(Manifest · MCP · Code Generation · Validation · Figma)。这是逻辑分层,不代表拆成独立 npm 包。分层导入规则由 `test/architecture.test.ts` 强制。
|
|
163
|
-
- 11.0 的导入路径在整个 11.x 保持可用:目录 / 子路径向分层靠拢时只加别名与弃用警告,**删除只发生在 12.0 / 13.0,并配 codemod**。
|
|
164
|
-
- 每个版本照旧:一个 PR、CI 全绿、固定体积预算(不自动上调)、`components/lite` ≤ 70 KB gzip。
|
|
165
|
-
|
|
166
|
-
### 11.x — 轻量、可摇树、可度量
|
|
167
|
-
|
|
168
|
-
- ✅ **v11.1 — 核心无副作用、可 tree-shake**:`package.json` 精确的 `sideEffects` 字段(只列出真正有副作用的 CSS / IIFE / 自动注册入口)、模块顶层 `/*#__PURE__*/` 标注、导入时不执行注册;新增 tree-shake 测试(只导入一个导出,打包结果中不得出现其他模块的代码)。(层:Motion Core · Components)
|
|
169
|
-
- ✅ **v11.2 — Source map 策略**:调试用的 `.map` 继续生成,但评估不再全部随 npm 发布 —— 实测 `npm pack` 体积(含 / 不含 `.map`),可选方案:source map 作为 GitHub Release 附件或独立包 `motionary-sourcemaps`;结论与数字写入文档并在 CI 中检查 pack 体积。(层:Tooling)
|
|
170
|
-
- ✅ **v11.3 — 真正有意义的性能指标进 CI**:按需加载后的首屏传输量、解析 / 执行时间、GPU 资源占用(纹理 / 缓冲区 / 上下文数量)、帧稳定性(掉帧率、长帧 p95);Headless Chromium 实测,设预算,回归即失败。(层:Tooling)
|
|
171
|
-
- ✅ **v11.4 — Runtime 分级**:明确 **basic / standard / advanced** 三级 —— basic:ticker、tween、timeline、scroll、text、CSS / WAAPI 关键帧;standard:smooth、drag-snap、SVG、精灵图、GIF / APNG / WebP、Lottie;advanced:WebGL(gl)、3D 文件解析(glTF / OBJ / 解码器)、物理。普通网站只用 basic 永远不会为 WebGL、3D 解析或高级物理付费;清单、文档页与 Requires 徽章标明级别,体积预算按级别分组。(层:Runtime)
|
|
172
|
-
- **v11.5 — Public API 对齐**:Angular 包装与 React / Vue / Svelte / Solid 同等覆盖(`motionary/components/angular`),按分层提供子路径别名(Motion Core / Runtime / Components / Tooling),旧路径保留并发出弃用提示(12.0 / 13.0 删除,codemod 覆盖)。(层:Public API)
|
|
173
|
-
- **v11.6 — AI 层:本地确定性 + 可插拔 LLM**:`src/components/ai` 继续本地、确定性(正则 / 规则:离线、低延迟、可预测),新增**可选的、由用户提供的** LLM provider 接口,用于复杂的组合动效;LLM 输出一律经 JSON Schema 校验,失败时回退到本地规则。不内置任何服务商、不发出任何网络请求,除非用户传入 provider。(层:Tooling)
|
|
174
|
-
- **v11.7 — 组件统一契约(审计)**:为每个组件生成契约报告 —— 属性、事件、键盘交互、生命周期、减少动态效果、错误信息 —— 找出不一致之处,测试只报告不阻断。(层:Components)
|
|
175
|
-
- **v11.8 — 契约对齐(非破坏部分)**:能向后兼容的不一致先修(补齐事件、键盘交互、reduced-motion 行为、统一错误前缀)。(层:Components)
|
|
176
|
-
- **v11.9 — 12.0 预备**:弃用警告、`upgrading-12.md`、`usa-codemod-12`。(层:全部)
|
|
177
|
-
|
|
178
|
-
### 12.0 — 组件统一契约
|
|
179
|
-
|
|
180
|
-
- **v12.0**:所有组件的属性、事件、键盘交互、生命周期、减少动态效果、错误信息完全一致(必要处为破坏性变更,附 `usa-codemod-12`);删除 11.8 起由 `usa:*` 取代的旧事件名(`usa-beat`、`usa-audio-error`、`usa-player-ready`、`usa-player-finish`、`usa-story-step`);11.5 弃用的导入路径保留到 13.0([public-api.md](./public-api.md));契约测试改为阻断。见 [upgrading-12.md](./upgrading-12.md)。npm `latest`。(层:Components · Public API)
|
|
181
|
-
|
|
182
|
-
### 12.x — 工具层与跨端
|
|
183
|
-
|
|
184
|
-
- **v12.1 — 跨端 3.0**(从 10.8 顺延):小程序适配、鸿蒙 ArkTS 示例、跨端预览器。(层:Public API)
|
|
185
|
-
- **v12.2 — MCP 生成校验加强**:`validate_snippet` 在无头 DOM 中真实挂载生成的代码,检查前置条件、属性与事件是否符合契约。(层:Tooling)
|
|
186
|
-
- **v12.3 — Figma 导出**:`figma-plugin` 导出动效令牌与组件片段,可直接粘贴运行。(层:Tooling)
|
|
187
|
-
- **v12.4 — 交互式示例 / Playground**:每个组件一键复制可运行代码,清楚显示其 runtime 依赖与级别。(层:Tooling · Public API)
|
|
188
|
-
- **v12.5 — 版本兼容**:清单记录每个组件 / 模块的引入与变更版本,MCP 按用户安装的版本回答;兼容性矩阵按版本查询。(层:Tooling)
|
|
189
|
-
- **v12.9 — 13.0 预备**:弃用警告、`upgrading-13.md`、`usa-codemod-13`。
|
|
190
|
-
|
|
191
|
-
### 13.0 — 发现、复制、运行
|
|
192
|
-
|
|
193
|
-
- **v13.0**:MCP 生成校验、Figma 导出、交互式示例与版本兼容全部稳定;用户能快速找到组件、复制可运行代码、清楚看到每个组件的 runtime 依赖;目录与子路径按四层架构整理完成,删除 12.x 弃用项与 11.5 弃用的导入路径(附 codemod)。npm `latest`。(层:Tooling · 全部)
|
|
194
|
-
<!-- v11-13:end -->
|