motionary 14.4.0 → 14.6.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 +71 -0
- package/README.md +8 -2
- 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 +106 -9
- package/bin/public-paths.mjs +4 -0
- package/dist/chunks/{anim-image-C90aEUEU.js → anim-image-CoR9RkVk.js} +2 -2
- package/dist/chunks/{anim-image-Cv3XeE0I.cjs → anim-image-DbyWjRty.cjs} +2 -2
- package/dist/chunks/audio-D0LwPShE.cjs +1 -1
- package/dist/chunks/audio-D7mfQAUI.js +1 -1
- package/dist/chunks/badge-wall-CITexuW7.cjs +1 -1
- package/dist/chunks/badge-wall-TxNk_TTE.js +1 -1
- package/dist/chunks/base-BvH4nAcv.cjs +1 -1
- package/dist/chunks/base-ByyAdGqz.js +1 -1
- package/dist/chunks/bg-generator-BJ0Obz4R.js +1 -1
- package/dist/chunks/bg-generator-CML8tPN8.cjs +1 -1
- package/dist/chunks/bind-B_CTL6Qn.js +1 -1
- package/dist/chunks/bind-Ui43-n2d.cjs +1 -1
- package/dist/chunks/builtins-CpH2mTyp.js +1 -1
- package/dist/chunks/builtins-DweCp29Z.cjs +1 -1
- package/dist/chunks/carousel-Bdl2DpWW.js +1 -1
- package/dist/chunks/carousel-DU3rHTq0.cjs +1 -1
- package/dist/chunks/cart-drawer-CkFMKMhx.cjs +1 -1
- package/dist/chunks/cart-drawer-S3X_-dcv.js +1 -1
- package/dist/chunks/code-export-DwrlLHA5.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-C2PH87yD.js +1 -1
- package/dist/chunks/command-palette-7lHRJzV1.js +1 -1
- package/dist/chunks/command-palette-ISetAeX1.cjs +1 -1
- package/dist/chunks/core-BPPcJVGQ.js +1 -1
- package/dist/chunks/core-BjcOCpJt.cjs +1 -1
- package/dist/chunks/core-CfuLPjGf.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-C4M4Ymbd.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-D1FhYimW.js +1 -1
- package/dist/chunks/ease-HwYZnZat.cjs +1 -1
- package/dist/chunks/ease-XN8_0sXu.js +1 -1
- package/dist/chunks/equalizer-Dxl2dMWN.js +1 -1
- package/dist/chunks/equalizer-_eD_ZdCl.cjs +1 -1
- package/dist/chunks/festival-banner-Bs18K0MJ.cjs +1 -1
- package/dist/chunks/festival-banner-RkIBAUue.js +1 -1
- package/dist/chunks/field-B_JKBZ66.js +1 -1
- package/dist/chunks/field-Dwq8-CLN.cjs +1 -1
- package/dist/chunks/{format-xyZDr-fG.js → format-CHcmOPqK.js} +2 -2
- package/dist/chunks/format-DrRrPbjl.cjs +1 -1
- package/dist/chunks/fx-DaVuB89C.cjs +1 -1
- package/dist/chunks/fx-lkOk6ZLK.js +1 -1
- package/dist/chunks/generative-BKoxWOSP.cjs +1 -1
- package/dist/chunks/generative-CbMIaqxn.js +1 -1
- package/dist/chunks/{gl-scene-BWEuB7Dy.cjs → gl-scene-Bi1wdfEb.cjs} +2 -2
- package/dist/chunks/{gl-scene-CfY6ZPpo.js → gl-scene-C4GTRgYu.js} +2 -2
- package/dist/chunks/globe-DA0jyb6s.cjs +1 -1
- package/dist/chunks/globe-ejBBHY6v.js +1 -1
- package/dist/chunks/gpu-C0vrwBcn.js +1 -1
- package/dist/chunks/gpu-C2C6iBQC.cjs +1 -1
- package/dist/chunks/gpu-particles-BvUfEndq.js +1 -1
- package/dist/chunks/gpu-particles-wEO_rds1.cjs +1 -1
- package/dist/chunks/history-CLzpNgGy.cjs +1 -1
- package/dist/chunks/{history-DYSOAKH5.js → history-lWoJx_Yk.js} +3 -3
- package/dist/chunks/index-C9_FEsfz.cjs +1 -1
- package/dist/chunks/index-gwb-TO6r.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-Czg-ppwY.js → keyframes-NVGcAQmw.js} +2 -2
- package/dist/chunks/{keyframes-Biqj3_4d.cjs → keyframes-j8vHgmCO.cjs} +2 -2
- package/dist/chunks/leaderboard-BmACkMks.js +1 -1
- package/dist/chunks/leaderboard-DvSSQ8o3.cjs +1 -1
- package/dist/chunks/location-card-9SyNFFc7.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-CGG_tfjT.js +1 -1
- package/dist/chunks/{lottie-player-CadcuqBD.cjs → lottie-player-OiJcU3Cs.cjs} +2 -2
- package/dist/chunks/{lottie-player-Cl99nJUM.js → lottie-player-xrZp47b-.js} +2 -2
- package/dist/chunks/lyrics-CRB7dA1j.cjs +1 -1
- package/dist/chunks/lyrics-D7iF9I0S.js +1 -1
- package/dist/chunks/manifest-i1lnR0qJ.js +1 -1
- package/dist/chunks/manifest-xr3WET80.cjs +1 -1
- package/dist/chunks/menu-CZ1zHTT9.cjs +1 -1
- package/dist/chunks/menu-DrQfp6bJ.js +1 -1
- package/dist/chunks/menu-toggle-DGXN4VsN.cjs +1 -1
- package/dist/chunks/menu-toggle-DI8fAtZ0.js +1 -1
- package/dist/chunks/nav-morph-C4rD3wrU.cjs +1 -1
- package/dist/chunks/nav-morph-CBZ5HXQo.js +1 -1
- package/dist/chunks/otp-C1l7yq3_.js +1 -1
- package/dist/chunks/otp-DUyEWYMi.cjs +1 -1
- package/dist/chunks/pagination-DHmYZZU9.cjs +1 -1
- package/dist/chunks/pagination-JG7Hw-q-.js +1 -1
- package/dist/chunks/{physics-playground-TCy4CZZP.js → physics-playground-BTRaWmJ8.js} +2 -2
- package/dist/chunks/{physics-playground-emNzCmHD.cjs → physics-playground-DVgqIhww.cjs} +2 -2
- package/dist/chunks/{play-C0s-Tm6f.js → play-BN3Yv2fu.js} +2 -2
- package/dist/chunks/play-DCeKlDqE.cjs +1 -1
- package/dist/chunks/player-BJPVdtzo.cjs +1 -1
- package/dist/chunks/player-core-BGIt5Gzl.js +1 -1
- package/dist/chunks/player-core-BTFa6_IO.cjs +1 -1
- package/dist/chunks/{player-AcMlL3g3.js → player-eetsAsgZ.js} +2 -2
- package/dist/chunks/presence-BQ2mRjpt.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-C0qDmRNm.js → preview-C9tONksA.js} +3 -3
- package/dist/chunks/preview-CyTKsXQP.cjs +1 -1
- package/dist/chunks/prize-wheel-B5YpUMgr.js +1 -1
- package/dist/chunks/prize-wheel-emDopI5c.cjs +1 -1
- package/dist/chunks/product-gallery-BpJEGKIw.js +1 -1
- package/dist/chunks/product-gallery-CKtSVhZk.cjs +1 -1
- package/dist/chunks/progress-ring-C75O4MUi.cjs +1 -1
- package/dist/chunks/progress-ring-CRSbrt2I.js +1 -1
- package/dist/chunks/project-C7WnO3IM.js +206 -0
- package/dist/chunks/project-CX5rdp4c.cjs +219 -0
- package/dist/chunks/prop-panel-D4DEkdXL.js +1 -1
- package/dist/chunks/prop-panel-DFqga6H5.cjs +1 -1
- package/dist/chunks/radar-D-bZRrgs.cjs +1 -1
- package/dist/chunks/radar-DE_QcCUX.js +1 -1
- package/dist/chunks/reactions-BL2iO8iy.cjs +1 -1
- package/dist/chunks/reactions-BV57Pw0R.js +1 -1
- package/dist/chunks/{registry-Bf0vrAy1.js → registry-94H5Gaxw.js} +2 -2
- package/dist/chunks/registry-CibnX7Ui.cjs +1 -1
- package/dist/chunks/registry-RLD_spxR.js +1 -1
- package/dist/chunks/{registry-s4yL_aQj.cjs → registry-o3qxr0pY.cjs} +2 -2
- package/dist/chunks/retro-button-CrbkhjHv.js +1 -1
- package/dist/chunks/retro-button-DrrBZ6w8.cjs +1 -1
- package/dist/chunks/rive-Bt5R5BjT.js +1 -1
- package/dist/chunks/rive-D6X4J0Mi.cjs +1 -1
- package/dist/chunks/{runtime-link-CO7s1v7-.cjs → runtime-link-CPBLmjLb.cjs} +2 -2
- package/dist/chunks/{runtime-link-DY1IVAdN.js → runtime-link-DEF6qz7T.js} +2 -2
- package/dist/chunks/scene-C4h75wjo.cjs +1 -1
- package/dist/chunks/{scene-BlBhOYVs.js → scene-D5SKvFBd.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-9q0f0-ry.cjs → scroll-scene-B6hD7nfg.cjs} +3 -3
- package/dist/chunks/{scroll-scene-fXFb6QAx.js → scroll-scene-Dx154e7l.js} +3 -3
- package/dist/chunks/segmented-Bqxe4qRo.js +1 -1
- package/dist/chunks/segmented-CpB4mKIn.cjs +1 -1
- package/dist/chunks/shader-backdrop-BodjXMhw.cjs +1 -1
- package/dist/chunks/shader-backdrop-C49tKiU1.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-DZXot7SV.js +1 -1
- package/dist/chunks/sign-DvZ1jHxE.js +1 -1
- package/dist/chunks/sign-RAkQIWrM.cjs +1 -1
- package/dist/chunks/skeleton-reveal-CMqfJYM2.js +1 -1
- package/dist/chunks/skeleton-reveal-Dsd3Wp0n.cjs +1 -1
- package/dist/chunks/sparkline-3fxOzufX.js +1 -1
- package/dist/chunks/sparkline-DeKhZpVo.cjs +1 -1
- package/dist/chunks/spring-CLwlIQHm.js +1 -1
- package/dist/chunks/spring-XEl_diDJ.cjs +1 -1
- package/dist/chunks/stagger-B9sKPwQB.js +1 -1
- package/dist/chunks/stagger-DFKwqOQG.cjs +1 -1
- package/dist/chunks/suggestion-chips-BwKPsDra.js +1 -1
- package/dist/chunks/suggestion-chips-CAcbFTr4.cjs +1 -1
- package/dist/chunks/switch-CMtM5gqP.js +1 -1
- package/dist/chunks/switch-DiTlApGd.cjs +1 -1
- package/dist/chunks/tab-bar-BBlVAqbq.cjs +1 -1
- package/dist/chunks/tab-bar-COPkxGY6.js +1 -1
- package/dist/chunks/{ticker-C7KRT80i.js → ticker-CQdHsEMq.js} +2 -2
- package/dist/chunks/{ticker-Clrkk12S.cjs → ticker-Cl0XmjBC.cjs} +2 -2
- package/dist/chunks/tip-D4DdDz83.js +1 -1
- package/dist/chunks/tip-VGS3qAUm.cjs +1 -1
- package/dist/chunks/toast-stack-Cx1aTwf5.js +1 -1
- package/dist/chunks/toast-stack-DprisNp_.cjs +1 -1
- package/dist/chunks/{tween-Bnr2kPhW.cjs → tween-0TFDINNG.cjs} +2 -2
- package/dist/chunks/{tween-C3K0CIlX.js → tween-CLNivVXM.js} +2 -2
- package/dist/chunks/upload-progress-CEAWkP-p.cjs +1 -1
- package/dist/chunks/upload-progress-Px_Zdd9c.js +1 -1
- package/dist/chunks/v2-BpVfM1Uo.cjs +789 -0
- package/dist/chunks/v2-CJ7OW9Gg.js +768 -0
- package/dist/chunks/variants-BV9wFxiP.js +1 -1
- package/dist/chunks/variants-BtqEJuki.cjs +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-CmbZldLT.js +1 -1
- package/dist/chunks/weather-card-4Eg6e43D.cjs +1 -1
- package/dist/chunks/weather-card-BdvgvAxQ.js +1 -1
- package/dist/chunks/worker-canvas-BLXaLvtq.js +1 -1
- package/dist/chunks/worker-canvas-BMBXAFWp.cjs +1 -1
- package/dist/chunks/xp-bar-CjOalkPm.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/compat-v13.cjs +1 -1
- package/dist/components/compat-v13.js +2 -2
- 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 +3 -3
- 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 +2 -2
- 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 +22 -786
- package/dist/components/scene-v2.js +3 -767
- 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 +845 -0
- package/dist/components/studio-ai.d.cts +564 -0
- package/dist/components/studio-ai.d.ts +564 -0
- package/dist/components/studio-ai.js +824 -0
- package/dist/components/studio-assets.cjs +353 -0
- package/dist/components/studio-assets.d.cts +200 -0
- package/dist/components/studio-assets.d.ts +200 -0
- package/dist/components/studio-assets.js +335 -0
- package/dist/components/studio-canvas.cjs +1 -1
- package/dist/components/studio-canvas.js +3 -3
- package/dist/components/studio.cjs +34 -233
- package/dist/components/studio.js +8 -206
- 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 +5 -5
- 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/ROADMAP.md +2 -2
- package/docs/studio-ai.md +158 -0
- package/docs/studio-assets.md +90 -0
- package/docs/versions.md +1 -1
- package/package.json +41 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,77 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [14.6.0] - 2026-10-12
|
|
11
|
+
|
|
12
|
+
**AI Studio assistant 2.0**. A prompt becomes a proposed edit of a Scene v2 project — a list of structured ops in the
|
|
13
|
+
`applyCanvasOps` format — that is checked on a copy (schema, component compatibility with your version, a headless
|
|
14
|
+
render, optionally motionary-mcp / a real browser) before it is offered, reviewed op by op, and applied as one undo step.
|
|
15
|
+
A failed check offers nothing and never touches the project. Model output is data only. No breaking changes. Zero
|
|
16
|
+
runtime dependencies; no network in the entry or its tests. `motionary/components/lite` stays ≤ 70 KB gzip and no budget
|
|
17
|
+
was raised: the new entry has its own budget line. [docs/studio-ai.md](docs/studio-ai.md)
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
|
|
21
|
+
- **`motionary/studio/ai`** (= `motionary/components/studio-ai`; its own entry, not in lite, `motionary/core`,
|
|
22
|
+
`motionary/motion`, `motionary/studio` or `motionary/studio/assets`).
|
|
23
|
+
- **Scene v2 ops:** the four canvas ops (`add-keyframe`, `set-props`, `update-layers`, `move-layer`, replayed through
|
|
24
|
+
`applyCanvasOps` unchanged) plus `add-layer`, `remove-layer`, `set-layer`, `set-component`; `applySceneOps(scene, ops)`
|
|
25
|
+
(pure, never touches locked layers), `describeSceneOp(op)`.
|
|
26
|
+
- **Prompt → edit:** `buildAiRequest` (system prompt, `AI_EDIT_SCHEMA`, the scene as data, selection, matched components,
|
|
27
|
+
the local answer), `localAiEdit` (deterministic local rules built on `describeMotion`; a new track on an empty scene),
|
|
28
|
+
`proposeAiEdit(scene, prompt, { provider, selection, catalog, version, validate, timeout, signal })` → `AiProposal`
|
|
29
|
+
with ops + reasons, a structured `diff`, `checks`, `errors` and repair `fixes`.
|
|
30
|
+
- **Pluggable model adapter** — the 11.6 provider shape (function or `{ name, complete }`); timeouts, aborts, errors and
|
|
31
|
+
invalid answers end in `ok: false` (never a partial edit). `createMockProvider({ responses })` is deterministic.
|
|
32
|
+
- **Local edits:** with `selection`, ops outside it are refused (new layers allowed); locked layers never change.
|
|
33
|
+
- **Component and version matching:** `matchComponents(text, catalog, { version })`, `checkSceneCompatibility`
|
|
34
|
+
(unknown → closest tag, newer than the version, deprecated), `suggestSceneFixes` (repair ops).
|
|
35
|
+
- **Checks before preview:** `validateAiEdit(scene, ops, options)` — `validateSceneV2`, compatibility,
|
|
36
|
+
`renderSceneHeadless` (every frame through the editor sampler; NaN / Infinity / throws fail), then the async
|
|
37
|
+
`validate` hook (e.g. motionary-mcp `validate_snippet { scene, browser: true }`).
|
|
38
|
+
- **Review:** `createAiReview(history, proposal)` — accept / reject per op (an op that depends on a rejected one is
|
|
39
|
+
`blocked`), `preview()`, `apply()` as ONE history step re-validated on the current document (a stale base that no
|
|
40
|
+
longer fits is refused, history untouched), `discard()`. Undo is the editor's undo.
|
|
41
|
+
- **Diff-review panel:** `createAiPanel(root, { history, provider, catalog, version, getSelection, validate })` — prompt,
|
|
42
|
+
one checkbox per op, the diff, check results, Apply / Accept all / Reject all / Discard / Use suggested fixes / Undo;
|
|
43
|
+
model text only ever as `textContent`. Chromium spec `test/browser/studio-ai.spec.mjs`.
|
|
44
|
+
- **Injection hardening:** `parseAiEdit(raw)` — `JSON.parse` only, strict op / key whitelist, forbidden keys, size limits
|
|
45
|
+
(`AI_LIMITS`), code-like values (`javascript:`, markup, `expression(`, `@import`, `on…=`) rejected, all or nothing.
|
|
46
|
+
- **motionary-mcp 2.2** (additive; every 13.7 argument and result field unchanged): `check_compatibility { scene }`,
|
|
47
|
+
`suggest_fix { scene }` → `sceneFixes` + `fixedScene`, `validate_snippet { scene, ops?, browser? }` (schema
|
|
48
|
+
`motionary-mcp/validate_scene@1`; `browser` renders the scene in a real headless browser), `suggest_motion
|
|
49
|
+
{ format: 'scene' }`. `loadStudioAi` / `setStudioAi`; tool schema versions bumped for the four tools.
|
|
50
|
+
|
|
51
|
+
## [14.5.0] - 2026-10-12
|
|
52
|
+
|
|
53
|
+
**Project & asset workflow**. Images, SVGs, fonts, video clips and audio referenced by a Motion Studio project are found,
|
|
54
|
+
kept inside the project directory, packed into one offline file and checked after the project moves to another device —
|
|
55
|
+
with a missing-asset list and relink suggestions. Pure functions: no DOM, network or file system; nothing in a project
|
|
56
|
+
or pack is ever executed. No breaking changes. Zero runtime dependencies. `motionary/components/lite` stays ≤ 70 KB gzip
|
|
57
|
+
and no budget was raised: the new entry has its own budget line. [docs/studio-assets.md](docs/studio-assets.md)
|
|
58
|
+
|
|
59
|
+
### Added
|
|
60
|
+
|
|
61
|
+
- **`motionary/studio/assets`** (= `motionary/components/studio-assets`; its own entry, not in lite, `motionary/core`,
|
|
62
|
+
`motionary/motion` or `motionary/studio`).
|
|
63
|
+
- **References:** `collectAssetRefs(doc)` finds `url(…)` values and `*src` props (`--src`, `--font-src`, `--video-src`),
|
|
64
|
+
deduplicated, with every use (layer / keyframe / prop); `https:` / `data:` are listed as external; `assetKind(path)`
|
|
65
|
+
(`image`, `svg`, `font`, `video`, `audio`, `data`, `script`, `other`).
|
|
66
|
+
- **Paths confined to the project:** `normalizeAssetPath(path)` / `resolveAssetPath(ref, from)` give project-relative POSIX
|
|
67
|
+
paths (`./`, inner `..`, `//`, Windows `\` normalized; percent escapes decoded once before the checks) and throw
|
|
68
|
+
`AssetPathError` (`outside`, `absolute`, `scheme`, `control`, `encoding`, `empty`, `directory`, `length`, `forbidden`).
|
|
69
|
+
- **Missing-asset report:** `createAssetManifest(doc, files)` (size + CRC-32), `checkAssets(manifestOrDoc, available)` →
|
|
70
|
+
`found` / `missing` / `changed` / `rejected` + readable `messages`.
|
|
71
|
+
- **Relink:** `relinkAssets(manifest, files)` suggests new locations by content (size + CRC-32) or by a unique file name;
|
|
72
|
+
ambiguous matches, scripts and unsafe paths are never suggested.
|
|
73
|
+
- **Offline pack:** `packStudioProject(project, files)` → one deterministic `motionary-studio-pack` v1 JSON file with the
|
|
74
|
+
project and every referenced local asset (base64 + CRC-32); `unpackStudioProject(text)` checks the project, every
|
|
75
|
+
path, size, CRC-32 and base64, and lists bad entries in `problems` without failing the rest. Limits: 2000 assets,
|
|
76
|
+
50 MB per file, 200 MB per pack.
|
|
77
|
+
- **Nothing executed:** script-like files (`.js`, `.mjs`, `.html`, `.wasm`, shell…) are reported and never packed,
|
|
78
|
+
unpacked, returned or suggested; no `eval`, dynamic import or fetch.
|
|
79
|
+
- `crc32`, `toBase64`, `fromBase64` helpers; `docs/studio-assets.md` with a move-to-another-device checklist.
|
|
80
|
+
|
|
10
81
|
## [14.4.0] - 2026-10-11
|
|
11
82
|
|
|
12
83
|
**Motion Studio 1.0**. A timeline UI for building animations without editing JSON: tracks and track groups, a time
|
package/README.md
CHANGED
|
@@ -32,6 +32,12 @@ is tree-shakeable and has a gzip budget checked in CI, and every animation respe
|
|
|
32
32
|
> layer order / lock / hide, guides and snapping, drag / resize / rotate with pointer and touch (pinch-zoom), keyboard
|
|
33
33
|
> nudge — every edit a lossless Scene Format v2 op through the timeline editor's undo history.
|
|
34
34
|
>
|
|
35
|
+
> 14.6: **AI Studio assistant 2.0** — [`motionary/studio/ai`](./docs/studio-ai.md): a prompt becomes Scene v2 ops you
|
|
36
|
+
> review one by one — schema, compatibility and render checked first, applied as one undo step, model output parsed as data.
|
|
37
|
+
>
|
|
38
|
+
> 14.5: **Project & asset workflow** — [`motionary/studio/assets`](./docs/studio-assets.md): asset references kept
|
|
39
|
+
> inside the project directory, a missing-asset report with relink suggestions, and one-file offline project packs.
|
|
40
|
+
>
|
|
35
41
|
> 14.4: **Motion Studio 1.0** — [`motionary/studio`](./docs/studio.md): a timeline with tracks and groups, a scrubbable
|
|
36
42
|
> playhead, keyframe drag / marquee / copy-paste with snapping, a curve editor (cubic-bezier, springs), a property
|
|
37
43
|
> inspector, frame-step preview, undo / redo and Scene Format v2 save / load — no JSON editing needed.
|
|
@@ -391,7 +397,7 @@ Coming from another library: [AOS](./docs/migration-from-aos.md) · [GSAP Scroll
|
|
|
391
397
|
|
|
392
398
|
## Versions and compatibility
|
|
393
399
|
|
|
394
|
-
- **npm dist-tags:** `latest` is the newest release of the current major (14.
|
|
400
|
+
- **npm dist-tags:** `latest` is the newest release of the current major (14.6.0; minors move it since 14.1). Each minor release also gets its own tag `v<major>-<minor>`
|
|
395
401
|
(for example `v14-1`), and `v14-line` follows the 14.x line. `motionary` and `use-scroll-animate` are published together at the same versions.
|
|
396
402
|
- **CDN:** URLs pin a major (`motionary@14`). Exact pins (`motionary@12.4.0`) keep working.
|
|
397
403
|
- **Semver:** breaking changes come only in majors, each with a guide and a codemod. Deprecations stay in place until the
|
|
@@ -407,7 +413,7 @@ Coming from another library: [AOS](./docs/migration-from-aos.md) · [GSAP Scroll
|
|
|
407
413
|
| 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) · [Timeline editor model](./docs/timeline-editor.md) |
|
|
408
414
|
| Runtime | [Runtime tiers](./docs/runtime-tiers.md) · [Modules](./docs/runtime/) · [Compatibility matrix](./docs/compat-matrix.md) |
|
|
409
415
|
| Platforms | [Frameworks & SSR](./docs/frameworks-ssr.md) · [Framework matrix](./docs/frameworks-matrix.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/) |
|
|
410
|
-
| Design & AI | [Motion Studio](./docs/studio.md) · [Studio canvas](./docs/studio-canvas.md) · [Layout motion 2.0](./docs/layout-motion.md) · [Motion tokens 2.0](./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) |
|
|
416
|
+
| Design & AI | [Motion Studio](./docs/studio.md) · [Studio AI assistant](./docs/studio-ai.md) · [Studio assets](./docs/studio-assets.md) · [Studio canvas](./docs/studio-canvas.md) · [Layout motion 2.0](./docs/layout-motion.md) · [Motion tokens 2.0](./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) |
|
|
411
417
|
| Quality | [Accessibility](./docs/accessibility.md) · [Component contract](./docs/component-contract.md) · [Performance](./docs/performance.md) · [Perf CI](./docs/perf-ci.md) · [Scheduling](./docs/scheduling.md) · [Tree-shaking](./docs/tree-shaking.md) · [Source maps](./docs/source-maps.md) |
|
|
412
418
|
| Project | [Architecture](./docs/architecture.md) · [Roadmap](./docs/ROADMAP.md) · [Versions](./docs/versions.md) · [Changelog](./CHANGELOG.md) |
|
|
413
419
|
|
package/README_ja.md
CHANGED
|
@@ -316,7 +316,7 @@ npx usa-codemod-13 --write # まとめて書き換え。@10 / @11 / @12 に
|
|
|
316
316
|
|
|
317
317
|
## バージョンと互換性
|
|
318
318
|
|
|
319
|
-
- **npm の dist-tag:** `latest` は現在のメジャーの最新リリース(14.
|
|
319
|
+
- **npm の dist-tag:** `latest` は現在のメジャーの最新リリース(14.6.0)を指します。14.1 からはマイナーリリースでも移動します。マイナーリリースにはそれぞれ `v<major>-<minor>` のタグも付きます(例:`v14-1`)。`v14-line` は 14.x を追います。`motionary` と `use-scroll-animate` は常に同じバージョンで同時に公開されます。
|
|
320
320
|
- **CDN:** URL はメジャーで固定します(`motionary@14`)。正確なバージョン指定(`motionary@12.4.0`)もそのまま使えます。
|
|
321
321
|
- **セマンティックバージョニング:** 破壊的変更はメジャーだけで行い、毎回ガイドと codemod を用意します。非推奨になったものは次のメジャーまで残り、その間は型に `@deprecated` が付くだけで、実行時の警告は出ません。
|
|
322
322
|
- **各バージョンに含まれるもの:** コンポーネントとランタイムモジュールごとの `since` / `changed`([docs/version-compat.md](./docs/version-compat.md))、機能ごとの対応状況([docs/compat-matrix.md](./docs/compat-matrix.md))。
|
package/README_zh.md
CHANGED
|
@@ -316,7 +316,7 @@ npx usa-codemod-13 --write # 一并改写,并把固定在 @10 / @11 / @12
|
|
|
316
316
|
|
|
317
317
|
## 版本与兼容性
|
|
318
318
|
|
|
319
|
-
- **npm dist-tags:** `latest` 指向当前大版本的最新版本(14.
|
|
319
|
+
- **npm dist-tags:** `latest` 指向当前大版本的最新版本(14.6.0;从 14.1 起次版本也会移动它)。每个次版本另有自己的标签 `v<major>-<minor>`(例如 `v14-1`),`v14-line` 跟随 14.x。`motionary` 与 `use-scroll-animate` 总是以相同版本一起发布。
|
|
320
320
|
- **CDN:** URL 固定到大版本(`motionary@14`);固定到具体版本(`motionary@12.4.0`)的链接也继续可用。
|
|
321
321
|
- **语义化版本:** 破坏性变更只出现在大版本,每次都附带升级指南和 codemod。弃用的内容会保留到下一个大版本,期间类型标记为 `@deprecated`,运行时不输出警告。
|
|
322
322
|
- **各版本包含什么:** 每个组件和运行时模块的 `since` / `changed`([docs/version-compat.md](./docs/version-compat.md)),以及逐项功能支持([docs/compat-matrix.md](./docs/compat-matrix.md))。
|
package/bin/mcp-tools-2.mjs
CHANGED
|
@@ -5,7 +5,7 @@ import { transform as codemod13 } from './usa-codemod-13.mjs';
|
|
|
5
5
|
import { compatAt, cmpVer } from './compat-history.mjs';
|
|
6
6
|
|
|
7
7
|
/** Result schema versions of the 13.7 tools (bumped on any incompatible change; fields are only ever added within a major). */
|
|
8
|
-
export const SCHEMAS = { search: 'motionary-mcp/search@1', compatibility: 'motionary-mcp/check_compatibility@1', validation: 'motionary-mcp/validate_snippet@1', fix: 'motionary-mcp/suggest_fix@1' };
|
|
8
|
+
export const SCHEMAS = { search: 'motionary-mcp/search@1', compatibility: 'motionary-mcp/check_compatibility@1', validation: 'motionary-mcp/validate_snippet@1', fix: 'motionary-mcp/suggest_fix@1', scene: 'motionary-mcp/validate_scene@1' };
|
|
9
9
|
|
|
10
10
|
export function levenshtein(a, b) {
|
|
11
11
|
a = String(a); b = String(b);
|
package/bin/motionary-mcp.mjs
CHANGED
|
@@ -26,9 +26,10 @@ import { compatAt, cmpVer } from './compat-history.mjs';
|
|
|
26
26
|
import { rankComponents, checkCompatibility, suggestFix, SCHEMAS } from './mcp-tools-2.mjs';
|
|
27
27
|
|
|
28
28
|
const HERE = dirname(fileURLToPath(import.meta.url));
|
|
29
|
-
const SERVER = { name: 'motionary-mcp', version: '2.
|
|
29
|
+
const SERVER = { name: 'motionary-mcp', version: '2.2.0' };
|
|
30
|
+
export const SERVER_INFO = SERVER;
|
|
30
31
|
/** 13.7: tool contract versions — input + output schema of each tool; a tool's major changes only on an incompatible change. */
|
|
31
|
-
export const TOOL_SCHEMA_VERSIONS = { list_components: '1.0', search_components: '1.1', get_component: '1.0', get_example: '1.0', scaffold_snippet: '1.1', suggest_motion: '1.
|
|
32
|
+
export const TOOL_SCHEMA_VERSIONS = { list_components: '1.0', search_components: '1.1', get_component: '1.0', get_example: '1.0', scaffold_snippet: '1.1', suggest_motion: '1.1', validate_snippet: '1.3', check_compat: '1.0', check_compatibility: '1.1', suggest_fix: '1.1' };
|
|
32
33
|
const PROTOCOLS = ['2025-06-18', '2025-03-26', '2024-11-05'];
|
|
33
34
|
|
|
34
35
|
export function loadManifest(path = process.env.MOTIONARY_MANIFEST || join(HERE, '../dist/manifest.json')) {
|
|
@@ -221,6 +222,77 @@ export function setAi(mod) {
|
|
|
221
222
|
AI = mod;
|
|
222
223
|
}
|
|
223
224
|
|
|
225
|
+
// ---------------------------------------------------------------- 2.2 (14.6): Scene v2 inputs
|
|
226
|
+
let SAI = null;
|
|
227
|
+
/** Load the AI Studio assistant (motionary/components/studio-ai: Scene v2 ops, checks, fixes) — package build or MOTIONARY_STUDIO_AI. */
|
|
228
|
+
export async function loadStudioAi(path = process.env.MOTIONARY_STUDIO_AI || join(HERE, '../dist/components/studio-ai.js')) {
|
|
229
|
+
if (!SAI && existsSync(path)) SAI = await new Function('u', 'return import(u)')(pathToFileURL(path).href);
|
|
230
|
+
return SAI;
|
|
231
|
+
}
|
|
232
|
+
export function setStudioAi(mod) {
|
|
233
|
+
SAI = mod;
|
|
234
|
+
}
|
|
235
|
+
const needSai = () => { if (!SAI) throw new Error('scene inputs need motionary/components/studio-ai (dist/components/studio-ai.js) — run from an installed motionary package or set MOTIONARY_STUDIO_AI'); return SAI; };
|
|
236
|
+
let CATALOG = null;
|
|
237
|
+
const catalogOf = (m) => (CATALOG && CATALOG.m === m ? CATALOG.c : (CATALOG = { m, c: m.components.map((c) => ({ tag: c.tag, title: c.title, since: c.since, keywords: c.keywords || [], attributes: c.attributes || [], stability: c.stability })) }).c);
|
|
238
|
+
/** A scene argument (object or JSON text) → { scene } or { problems } (never throws). */
|
|
239
|
+
function sceneArg(a) {
|
|
240
|
+
let v = a.scene;
|
|
241
|
+
if (typeof v === 'string') { try { v = JSON.parse(v); } catch (e) { return { problems: [{ path: '', message: `invalid JSON (${e.message})` }] }; } }
|
|
242
|
+
if (!v || typeof v !== 'object' || Array.isArray(v) || !Array.isArray(v.layers)) return { problems: [{ path: v && typeof v === 'object' ? 'layers' : '', message: v && typeof v === 'object' ? 'expected an array' : 'expected a Scene v2 object' }] };
|
|
243
|
+
return { scene: v };
|
|
244
|
+
}
|
|
245
|
+
export const sceneTags = (scene) => [...new Set((scene.layers || []).map((l) => l && l.component && l.component.tag).filter((t) => typeof t === 'string'))];
|
|
246
|
+
const esc2 = (s) => String(s).replace(/</g, '\\u003c');
|
|
247
|
+
/** A page that renders a scene in a real browser: the headless sampler from the local build, then every keyframe track through the Web Animations API (finished at once). */
|
|
248
|
+
export function scenePreviewHtml(scene) {
|
|
249
|
+
const els = [];
|
|
250
|
+
for (const l of scene.layers) {
|
|
251
|
+
const t = typeof l.target === 'string' ? l.target.trim() : '';
|
|
252
|
+
const mm = /^([#.])([A-Za-z_][\w-]*)$/.exec(t);
|
|
253
|
+
if (mm && !els.some((e) => e.t === t)) els.push({ t, html: mm[1] === '#' ? `<div id="${mm[2]}"></div>` : `<div class="${mm[2]}"></div>` });
|
|
254
|
+
}
|
|
255
|
+
return `<!doctype html><html lang="en"><head><meta charset="utf-8"></head><body>
|
|
256
|
+
<div id="stage">${els.map((e) => e.html).join('')}</div>
|
|
257
|
+
<script type="application/json" id="scene">${esc2(JSON.stringify(scene))}</script>
|
|
258
|
+
<script type="module">
|
|
259
|
+
import { renderSceneHeadless } from 'https://cdn.jsdelivr.net/npm/motionary@14/dist/components/studio-ai.js';
|
|
260
|
+
const scene = JSON.parse(document.getElementById('scene').textContent);
|
|
261
|
+
const r = renderSceneHeadless(scene);
|
|
262
|
+
if (!r.ok) throw new Error('[motionary] scene render: ' + r.errors.join('; '));
|
|
263
|
+
const stage = document.getElementById('stage');
|
|
264
|
+
for (const l of scene.layers) {
|
|
265
|
+
if (l.type !== 'track' || !l.keyframes || !l.keyframes.length) continue;
|
|
266
|
+
const el = (l.target && l.target !== ':scope' && stage.querySelector(l.target)) || stage;
|
|
267
|
+
const ks = l.keyframes.slice().sort((a, b) => a.time - b.time), end = ks[ks.length - 1].time;
|
|
268
|
+
el.animate(ks.map((k) => Object.assign({}, k.props, { offset: end > 0 ? k.time / end : 0 })), { duration: Math.max(1, end), fill: 'both' }).finish();
|
|
269
|
+
}
|
|
270
|
+
document.documentElement.dataset.sceneRendered = String(r.frames);
|
|
271
|
+
</script></body></html>`;
|
|
272
|
+
}
|
|
273
|
+
/** validate_snippet { scene, ops?, browser? }: model ops parsed as data, applied to a copy, schema + compatibility + headless render (+ a real browser). */
|
|
274
|
+
export async function validateScene(m, a) {
|
|
275
|
+
const base = { schema: SCHEMAS.scene, valid: false, mode: 'static', problems: [], compatibility: [], render: { ok: false, frames: 0, errors: [] } };
|
|
276
|
+
const sa = sceneArg(a);
|
|
277
|
+
if (sa.problems) return { ...base, problems: sa.problems };
|
|
278
|
+
const S = needSai();
|
|
279
|
+
const parsed = S.parseAiEdit({ ops: Array.isArray(a.ops) ? a.ops : [] });
|
|
280
|
+
if (parsed.errors.length) return { ...base, problems: parsed.errors };
|
|
281
|
+
const version = a.version || installedVersion() || m.version;
|
|
282
|
+
let mode = 'static', browser;
|
|
283
|
+
const v = await S.validateAiEdit(sa.scene, parsed.ops, {
|
|
284
|
+
catalog: catalogOf(m), version,
|
|
285
|
+
validate: a.browser ? async (preview) => {
|
|
286
|
+
const r = await validateSnippetInBrowser(m, scenePreviewHtml(preview));
|
|
287
|
+
if (!r.mount?.mounted) { browser = { mounted: false, skipped: r.mount?.skipped }; return { ok: true, mode: 'static' }; }
|
|
288
|
+
mode = 'browser';
|
|
289
|
+
browser = { mounted: true, environment: r.mount.environment };
|
|
290
|
+
return { ok: r.errors.length === 0, mode, errors: r.errors };
|
|
291
|
+
} : undefined,
|
|
292
|
+
});
|
|
293
|
+
return { schema: SCHEMAS.scene, valid: v.ok, mode, version, problems: v.errors, compatibility: v.checks.compatibility, render: v.checks.render, ...(browser && { browser }), preview: v.preview };
|
|
294
|
+
}
|
|
295
|
+
|
|
224
296
|
/** Natural language → motion spec, code in three styles, and the catalog components that implement it. */
|
|
225
297
|
export function suggestMotion(m, text, format = 'waapi') {
|
|
226
298
|
if (!AI) throw new Error('suggest_motion needs motionary/components/ai (dist/components/ai.js) — run from an installed motionary package or set MOTIONARY_AI');
|
|
@@ -396,11 +468,11 @@ export const TOOLS = [
|
|
|
396
468
|
{ name: 'get_component', title: 'Get a component', description: 'Everything about one component: attributes, events, slots, methods, import / define, CDN, prerequisites (install, import + register order, CDN script order), minimal example, variants.', inputSchema: { type: 'object', properties: { tag: { type: 'string', description: "'usa-tilt', 'tilt' or '<usa-tilt>'" }, version: { type: 'string', description: "the motionary version installed in the user's project (default: ./node_modules/motionary, else the catalog version) — answers are filtered for it" } }, required: ['tag'], additionalProperties: false }, annotations: { title: 'Get component', ...RO } },
|
|
397
469
|
{ name: 'get_example', title: 'Get an example', description: "A working example for one component in the requested style ('html' = CDN, 'esm' = npm + bundler, or a variant id).", inputSchema: { type: 'object', properties: { tag: { type: 'string' }, variant: { type: 'string', description: "'html' (default), 'esm', or a variant id from get_component" } }, required: ['tag'], additionalProperties: false }, annotations: { title: 'Get example', ...RO } },
|
|
398
470
|
{ name: 'scaffold_snippet', title: 'Scaffold a snippet', description: 'A ready-to-paste snippet using one or more components, with every prerequisite installed, imported and registered in the right order before the components mount.', inputSchema: { type: 'object', properties: { tags: { type: 'array', items: { type: 'string' }, minItems: 1 }, framework: { type: 'string', enum: FRAMEWORKS, default: 'esm' } }, required: ['tags'], additionalProperties: false }, annotations: { title: 'Scaffold snippet', ...RO } },
|
|
399
|
-
{ name: 'suggest_motion', title: 'Suggest a motion', description: 'Natural language (English or Chinese) → a motion spec: effect, direction, duration, easing, trigger, stagger, Web Animations keyframes + options, CSS, and the Motionary components that implement it, with prerequisite-aware code. Deterministic parser, no model, no network.', inputSchema: { type: 'object', properties: { text: { type: 'string', description: "e.g. 'fade the cards up slowly when they scroll into view, one after another'" }, format: { type: 'string', enum: ['waapi', 'css', 'component'], default: 'waapi' } }, required: ['text'], additionalProperties: false }, annotations: { title: 'Suggest motion', ...RO } },
|
|
400
|
-
{ name: 'validate_snippet', title: 'Validate a snippet', description: 'Check HTML / ESM / JSX / Vue / Svelte code that uses <usa-*> components: unknown tags (with suggestions) and attributes, missing or mis-ordered prerequisites (motionary/runtime modules, official runtimes), components never defined, hand-written animation without a reduced-motion path. Static analysis by default; mount: true also mounts the markup in a headless DOM (jsdom, optional peer) with the real Motionary bundles and checks definitions, upgrade errors, prerequisites, observed attributes and event names against the component contract — the snippet\'s own scripts never run. browser: true (13.2) runs it in a real headless browser instead (Playwright, optional peer): HTML snippets run as a whole page, their own scripts included, against the local build; uncaught errors and motionary console errors are reported.', inputSchema: { type: 'object', properties: { code: { type: 'string' }, mount: { type: 'boolean', default: false, description: 'also mount the markup in jsdom with the real bundles (12.2)' }, browser: { type: ['boolean', 'string'], enum: [true, false, 'auto'], default: false, description: "run it in a real headless browser instead (Playwright, optional peer; implies mount) — HTML runs as a whole page with its own scripts, ESM behind an import map, framework code as markup (13.2). true / 'auto' (13.7) fall back to the static checks when no browser is available; the result's mode says which ran" }
|
|
471
|
+
{ name: 'suggest_motion', title: 'Suggest a motion', description: 'Natural language (English or Chinese) → a motion spec: effect, direction, duration, easing, trigger, stagger, Web Animations keyframes + options, CSS, and the Motionary components that implement it, with prerequisite-aware code. Deterministic parser, no model, no network.', inputSchema: { type: 'object', properties: { text: { type: 'string', description: "e.g. 'fade the cards up slowly when they scroll into view, one after another'" }, format: { type: 'string', enum: ['waapi', 'css', 'component', 'scene'], default: 'waapi', description: "'scene' (14.6): also a Scene v2 document (scene, ops, valid) made by the local rules of motionary/studio/ai" } }, required: ['text'], additionalProperties: false }, annotations: { title: 'Suggest motion', ...RO } },
|
|
472
|
+
{ name: 'validate_snippet', title: 'Validate a snippet', description: 'Check HTML / ESM / JSX / Vue / Svelte code that uses <usa-*> components: unknown tags (with suggestions) and attributes, missing or mis-ordered prerequisites (motionary/runtime modules, official runtimes), components never defined, hand-written animation without a reduced-motion path. Static analysis by default; mount: true also mounts the markup in a headless DOM (jsdom, optional peer) with the real Motionary bundles and checks definitions, upgrade errors, prerequisites, observed attributes and event names against the component contract — the snippet\'s own scripts never run. browser: true (13.2) runs it in a real headless browser instead (Playwright, optional peer): HTML snippets run as a whole page, their own scripts included, against the local build; uncaught errors and motionary console errors are reported.', inputSchema: { type: 'object', properties: { code: { type: 'string' }, mount: { type: 'boolean', default: false, description: 'also mount the markup in jsdom with the real bundles (12.2)' }, browser: { type: ['boolean', 'string'], enum: [true, false, 'auto'], default: false, description: "run it in a real headless browser instead (Playwright, optional peer; implies mount) — HTML runs as a whole page with its own scripts, ESM behind an import map, framework code as markup (13.2). true / 'auto' (13.7) fall back to the static checks when no browser is available; the result's mode says which ran" }, scene: { type: ['object', 'string'], description: '14.6: instead of code — a Scene v2 document (object or JSON text): schema, component compatibility with the installed version and a headless render of every frame; with browser it is also rendered in a real headless browser' }, ops: { type: 'array', items: { type: 'object' }, description: '14.6: Scene v2 ops (motionary/studio/ai, applyCanvasOps format) applied to a copy of scene first — parsed as data, never evaluated' }, version: { type: 'string', description: "14.6, with scene: the motionary version installed in the user's project" } }, additionalProperties: false }, annotations: { title: 'Validate snippet', ...RO } },
|
|
401
473
|
{ name: 'check_compat', title: 'Check version compatibility', description: "Which components / runtime modules a project on a given motionary version can use, which were added later (with the release that added them) and which changed after it (from the release notes). Defaults to the version installed in the user's project.", inputSchema: { type: 'object', properties: { version: { type: 'string', description: "the motionary version installed in the user's project (default: ./node_modules/motionary, else the catalog version) — answers are filtered for it" }, tags: { type: 'array', items: { type: 'string' }, description: 'only these components (default: everything that is missing or changed for that version)' } }, additionalProperties: false }, annotations: { title: 'Check compatibility', ...RO } },
|
|
402
|
-
{ name: 'check_compatibility', title: 'Check compatibility (framework / version / browser)', description: "13.7: can these components (or the components a snippet uses) run in the user's setup? Per component: the motionary version that added it and releases that changed it after the given version, support and setup notes for html / esm / react / vue / svelte / solid / angular, the engines the browser suite tests every component in (Chromium, Firefox, WebKit), minimum browser versions and the web-platform features it needs with the fallback it uses. compatible is false when any component is unknown or newer than the version.", inputSchema: { type: 'object', properties: { tags: { type: 'array', items: { type: 'string' } }, code: { type: 'string', description: 'or: a snippet — its <usa-*> components are checked' }, framework: { type: 'string', enum: ['html', 'esm', 'react', 'vue', 'svelte', 'solid', 'angular'] }, version: { type: 'string', description: "the motionary version installed in the user's project (default: ./node_modules/motionary, else the catalog version)" }, browsers: { type: 'array', items: { type: 'string' }, description: "e.g. ['safari 16', 'firefox']" } }, additionalProperties: false }, outputSchema: { type: 'object', properties: { schema: { const: SCHEMAS.compatibility }, version: { type: 'string' }, catalog: { type: 'string' }, behind: { type: 'boolean' }, compatible: { type: 'boolean' }, components: { type: 'array' }, issues: { type: 'array' } }, required: ['schema', 'version', 'compatible', 'components', 'issues'] }, annotations: { title: 'Check compatibility', ...RO } },
|
|
403
|
-
{ name: 'suggest_fix', title: 'Suggest fixes for a snippet', description: "13.7: concrete patches for code that uses <usa-*> components — wrong tag names (closest real tag), mistyped / deprecated attributes, components used but never imported or defined, bare `motionary/…` imports in a CDN page (→ the CDN module URL of the same major), missing motionary/runtime prerequisites, import paths / event names / CDN pins removed in 13.0. Each fix is { kind, message, line, patch: { find, replace } }; fixed is the code with every patch applied and remaining what the static validator still reports. Never writes files.", inputSchema: { type: 'object', properties: { code: { type: 'string' }, context: { type: 'string', enum: ['cdn', 'esm', 'html'], description: 'how the code loads Motionary (default: detected)' }
|
|
474
|
+
{ name: 'check_compatibility', title: 'Check compatibility (framework / version / browser)', description: "13.7: can these components (or the components a snippet uses) run in the user's setup? Per component: the motionary version that added it and releases that changed it after the given version, support and setup notes for html / esm / react / vue / svelte / solid / angular, the engines the browser suite tests every component in (Chromium, Firefox, WebKit), minimum browser versions and the web-platform features it needs with the fallback it uses. compatible is false when any component is unknown or newer than the version.", inputSchema: { type: 'object', properties: { tags: { type: 'array', items: { type: 'string' } }, code: { type: 'string', description: 'or: a snippet — its <usa-*> components are checked' }, framework: { type: 'string', enum: ['html', 'esm', 'react', 'vue', 'svelte', 'solid', 'angular'] }, version: { type: 'string', description: "the motionary version installed in the user's project (default: ./node_modules/motionary, else the catalog version)" }, browsers: { type: 'array', items: { type: 'string' }, description: "e.g. ['safari 16', 'firefox']" }, scene: { type: ['object', 'string'], description: '14.6: or a Scene v2 document — the components its layers bind are checked' } }, additionalProperties: false }, outputSchema: { type: 'object', properties: { schema: { const: SCHEMAS.compatibility }, version: { type: 'string' }, catalog: { type: 'string' }, behind: { type: 'boolean' }, compatible: { type: 'boolean' }, components: { type: 'array' }, issues: { type: 'array' } }, required: ['schema', 'version', 'compatible', 'components', 'issues'] }, annotations: { title: 'Check compatibility', ...RO } },
|
|
475
|
+
{ name: 'suggest_fix', title: 'Suggest fixes for a snippet', description: "13.7: concrete patches for code that uses <usa-*> components — wrong tag names (closest real tag), mistyped / deprecated attributes, components used but never imported or defined, bare `motionary/…` imports in a CDN page (→ the CDN module URL of the same major), missing motionary/runtime prerequisites, import paths / event names / CDN pins removed in 13.0. Each fix is { kind, message, line, patch: { find, replace } }; fixed is the code with every patch applied and remaining what the static validator still reports. Never writes files.", inputSchema: { type: 'object', properties: { code: { type: 'string' }, context: { type: 'string', enum: ['cdn', 'esm', 'html'], description: 'how the code loads Motionary (default: detected)' }, scene: { type: ['object', 'string'], description: '14.6: instead of code — a Scene v2 document; the answer adds sceneFixes (Scene v2 ops in the applyCanvasOps format: closest tag for a typo, drop a binding the installed version lacks, default easing for an unknown one) and fixedScene' }, version: { type: 'string', description: "14.6, with scene: the motionary version installed in the user's project" } }, additionalProperties: false }, outputSchema: { type: 'object', properties: { schema: { const: SCHEMAS.fix }, context: { type: 'string' }, fixes: { type: 'array', items: { type: 'object', properties: { kind: { type: 'string', enum: ['unknown-tag', 'unknown-attribute', 'deprecated-attribute', 'deprecated-api', 'bare-import', 'missing-import', 'missing-prerequisite'] }, message: { type: 'string' }, line: { type: 'number' }, patch: { type: 'object', properties: { find: { type: 'string' }, replace: { type: 'string' } }, required: ['find', 'replace'] } }, required: ['kind', 'message', 'patch'] } }, fixed: { type: 'string' }, valid: { type: 'boolean' }, remaining: { type: 'object' }, sceneFixes: { type: 'array' }, fixedScene: { type: 'object' } }, required: ['schema', 'fixes', 'fixed', 'valid'] }, annotations: { title: 'Suggest fix', ...RO } },
|
|
404
476
|
];
|
|
405
477
|
|
|
406
478
|
const text = (obj) => ({ content: [{ type: 'text', text: typeof obj === 'string' ? obj : JSON.stringify(obj, null, 2) }], ...(typeof obj === 'object' ? { structuredContent: Array.isArray(obj) ? { items: obj } : obj } : {}) });
|
|
@@ -451,20 +523,44 @@ export function callTool(m, name, a = {}) {
|
|
|
451
523
|
return text(scaffold(m, a.tags, a.framework || 'esm'));
|
|
452
524
|
case 'suggest_motion':
|
|
453
525
|
if (!a.text) throw new Error('text is required');
|
|
526
|
+
if (a.format === 'scene') {
|
|
527
|
+
const S = needSai(), opts = { catalog: catalogOf(m), version: installedVersion() || m.version };
|
|
528
|
+
const empty = { format: 'motionary-scene', version: 2, layers: [] };
|
|
529
|
+
const edit = S.localAiEdit(String(a.text), empty, opts);
|
|
530
|
+
const ops = S.parseAiEdit(edit).ops;
|
|
531
|
+
return S.validateAiEdit(empty, ops, opts).then((v) => text({ ...suggestMotion(m, a.text, 'waapi'), format: 'scene', scene: v.preview, ops, valid: v.ok, problems: v.errors }));
|
|
532
|
+
}
|
|
454
533
|
return text(suggestMotion(m, a.text, a.format || 'waapi'));
|
|
455
534
|
case 'check_compat':
|
|
456
535
|
return text(checkCompat(m, a.version, a.tags));
|
|
457
536
|
case 'validate_snippet':
|
|
458
|
-
if (
|
|
537
|
+
if (a.scene !== undefined) return validateScene(m, a).then(text);
|
|
538
|
+
if (typeof a.code !== 'string') throw new Error('code is required (or scene)');
|
|
459
539
|
// 13.7: browser: true | 'auto' — a real headless browser when Playwright + a browser are available, otherwise the static
|
|
460
540
|
// checks (mode says which ran; mount.skipped says why the browser did not)
|
|
461
541
|
if (a.browser) return validateSnippetInBrowser(m, a.code).then((r) => text({ ...r, mode: r.mount?.mounted ? 'browser' : 'static', schema: SCHEMAS.validation }));
|
|
462
542
|
if (a.mount) return validateSnippetMounted(m, a.code).then(text);
|
|
463
543
|
return text(validateSnippet(m, a.code));
|
|
464
|
-
case 'check_compatibility':
|
|
544
|
+
case 'check_compatibility': {
|
|
545
|
+
if (a.scene !== undefined) {
|
|
546
|
+
const sa = sceneArg(a);
|
|
547
|
+
if (sa.problems) throw new Error(`scene: ${sa.problems[0].message}`);
|
|
548
|
+
const tags = [...(a.tags || []), ...sceneTags(sa.scene)];
|
|
549
|
+
const { scene, ...rest } = a;
|
|
550
|
+
if (!tags.length && !a.code) return text({ schema: SCHEMAS.compatibility, version: a.version || installedVersion() || m.version, catalog: m.version, behind: false, compatible: true, components: [], issues: [] });
|
|
551
|
+
return text(checkCompatibility(m, { ...rest, tags }, { findComponent, installedVersion, validateSnippet }));
|
|
552
|
+
}
|
|
465
553
|
return text(checkCompatibility(m, a, { findComponent, installedVersion, validateSnippet }));
|
|
554
|
+
}
|
|
466
555
|
case 'suggest_fix':
|
|
467
|
-
if (typeof a.code !== 'string')
|
|
556
|
+
if (a.scene !== undefined && typeof a.code !== 'string') {
|
|
557
|
+
const sa = sceneArg(a);
|
|
558
|
+
if (sa.problems) throw new Error(`scene: ${sa.problems[0].message}`);
|
|
559
|
+
const S = needSai(), opts = { catalog: catalogOf(m), version: a.version || installedVersion() || m.version };
|
|
560
|
+
const f = S.suggestSceneFixes(sa.scene, opts);
|
|
561
|
+
return S.validateAiEdit(sa.scene, f.ops, opts).then((v) => text({ schema: SCHEMAS.fix, context: 'scene', fixes: [], fixed: JSON.stringify(v.preview, null, 2), valid: v.ok, remaining: { errors: v.errors.map((e) => `${e.path}: ${e.message}`), warnings: v.checks.compatibility.filter((i) => i.level === 'warning').map((i) => i.message) }, sceneFixes: f.ops, messages: f.messages, fixedScene: v.preview }));
|
|
562
|
+
}
|
|
563
|
+
if (typeof a.code !== 'string') throw new Error('code is required (or scene)');
|
|
468
564
|
return text(suggestFix(m, a.code, { context: a.context }, { findComponent, cdnImports, validateSnippet, searchComponents }));
|
|
469
565
|
default:
|
|
470
566
|
throw Object.assign(new Error(`unknown tool ${name}`), { code: -32602 });
|
|
@@ -567,6 +663,7 @@ if (invoked) {
|
|
|
567
663
|
else {
|
|
568
664
|
try {
|
|
569
665
|
await loadAi();
|
|
666
|
+
await loadStudioAi();
|
|
570
667
|
serve();
|
|
571
668
|
} catch (e) {
|
|
572
669
|
console.error(String(e.message || e));
|
package/bin/public-paths.mjs
CHANGED
|
@@ -21,6 +21,10 @@ export const LAYER_ALIASES = {
|
|
|
21
21
|
'studio/canvas': 'components/studio-canvas',
|
|
22
22
|
// 14.4: Motion Studio 1.0
|
|
23
23
|
studio: 'components/studio',
|
|
24
|
+
// 14.5: project & asset workflow
|
|
25
|
+
'studio/assets': 'components/studio-assets',
|
|
26
|
+
// 14.6: AI Studio assistant 2.0
|
|
27
|
+
'studio/ai': 'components/studio-ai',
|
|
24
28
|
};
|
|
25
29
|
|
|
26
30
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as Playable } from './tween-
|
|
1
|
+
import { P as Playable } from './tween-CLNivVXM.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Shared internals of the animated-image loaders (`format-gif`, `format-apng`,
|
|
@@ -163,4 +163,4 @@ function crc32(bytes, start = 0, end = bytes.length) {
|
|
|
163
163
|
}
|
|
164
164
|
|
|
165
165
|
export { animatedImagePlayer as a, browserDecode as b, composeFrames as c, bytesOf as d, crc32 as e, fixDelay as f, u8 as u };
|
|
166
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.
|
|
166
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.6.0/dist/chunks/anim-image-CoR9RkVk.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var tween = require('./tween-
|
|
3
|
+
var tween = require('./tween-0TFDINNG.cjs');
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Shared internals of the animated-image loaders (`format-gif`, `format-apng`,
|
|
@@ -171,4 +171,4 @@ exports.composeFrames = composeFrames;
|
|
|
171
171
|
exports.crc32 = crc32;
|
|
172
172
|
exports.fixDelay = fixDelay;
|
|
173
173
|
exports.u8 = u8;
|
|
174
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.
|
|
174
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.6.0/dist/chunks/anim-image-DbyWjRty.cjs.map
|
|
@@ -360,4 +360,4 @@ exports.disableAudio = disableAudio;
|
|
|
360
360
|
exports.enableAudio = enableAudio;
|
|
361
361
|
exports.getAudio = getAudio;
|
|
362
362
|
exports.onBeat = onBeat;
|
|
363
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.
|
|
363
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.6.0/dist/chunks/audio-D0LwPShE.cjs.map
|
|
@@ -351,4 +351,4 @@ function defineAudio(tag = 'usa-audio') {
|
|
|
351
351
|
}
|
|
352
352
|
|
|
353
353
|
export { AUDIO_FX as A, disableAudio as a, bindBeat as b, createBeatDetector as c, defineAudio as d, enableAudio as e, getAudio as g, onBeat as o };
|
|
354
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.
|
|
354
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.6.0/dist/chunks/audio-D7mfQAUI.js.map
|
|
@@ -77,4 +77,4 @@ function defineBadgeWall(tag = 'usa-badge-wall') {
|
|
|
77
77
|
|
|
78
78
|
exports.badgeProgress = badgeProgress;
|
|
79
79
|
exports.defineBadgeWall = defineBadgeWall;
|
|
80
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.
|
|
80
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.6.0/dist/chunks/badge-wall-CITexuW7.cjs.map
|
|
@@ -74,4 +74,4 @@ function defineBadgeWall(tag = 'usa-badge-wall') {
|
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
export { badgeProgress as b, defineBadgeWall as d };
|
|
77
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.
|
|
77
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.6.0/dist/chunks/badge-wall-TxNk_TTE.js.map
|
|
@@ -540,4 +540,4 @@ exports.shadowStyles = shadowStyles;
|
|
|
540
540
|
exports.srText = srText;
|
|
541
541
|
exports.trackAnimation = trackAnimation;
|
|
542
542
|
exports.withoutDeprecations = withoutDeprecations;
|
|
543
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.
|
|
543
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.6.0/dist/chunks/base-BvH4nAcv.cjs.map
|
|
@@ -500,4 +500,4 @@ function kindOf(el, valid, fallback) {
|
|
|
500
500
|
const clamp = (v, min, max) => Math.min(max, Math.max(min, v));
|
|
501
501
|
|
|
502
502
|
export { withoutDeprecations as A, setStyleLoader as B, srText as C, EASE_OUT as D, EASE_SPRING as E, deprecate as F, FOCUSABLE as G, adoptStyles as H, queryAttr as I, kindOf as J, shadowStyles as K, FLUENT_DECELERATE as L, MOTION_SENSITIVITY_LEVELS as M, applyFrame as a, caf as b, configureComponents as c, animateWithMotion as d, clamp as e, defineElement as f, getMotionSensitivity as g, onClockChange as h, setClock as i, getClock as j, canDefine as k, MOTION_SCALE as l, motionScale as m, now as n, onFrame as o, prefersReducedMotion as p, activeAnimations as q, raf as r, setPauseHook as s, trackAnimation as t, adaptKeyframes as u, animationBudget as v, getMotionIntensity as w, schedulerStats as x, setAnimationBudget as y, setFrameBudget as z };
|
|
503
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.
|
|
503
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.6.0/dist/chunks/base-ByyAdGqz.js.map
|
|
@@ -92,4 +92,4 @@ function defineBgGenerator(tag = 'usa-bg-generator') {
|
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
export { backgroundCss as b, defineBgGenerator as d };
|
|
95
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.
|
|
95
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.6.0/dist/chunks/bg-generator-BJ0Obz4R.js.map
|
|
@@ -95,4 +95,4 @@ function defineBgGenerator(tag = 'usa-bg-generator') {
|
|
|
95
95
|
|
|
96
96
|
exports.backgroundCss = backgroundCss;
|
|
97
97
|
exports.defineBgGenerator = defineBgGenerator;
|
|
98
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.
|
|
98
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.6.0/dist/chunks/bg-generator-CML8tPN8.cjs.map
|
|
@@ -19,4 +19,4 @@ function bindUsa(el, binding = {}) {
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
export { bindUsa as b, usaEventName as u };
|
|
22
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.
|
|
22
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.6.0/dist/chunks/bind-B_CTL6Qn.js.map
|
|
@@ -22,4 +22,4 @@ function bindUsa(el, binding = {}) {
|
|
|
22
22
|
|
|
23
23
|
exports.bindUsa = bindUsa;
|
|
24
24
|
exports.usaEventName = usaEventName;
|
|
25
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.
|
|
25
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.6.0/dist/chunks/bind-Ui43-n2d.cjs.map
|
|
@@ -96,4 +96,4 @@ const click = [
|
|
|
96
96
|
const BUILTIN_EFFECTS = [...enter, ...attention, ...click];
|
|
97
97
|
|
|
98
98
|
export { BUILTIN_EFFECTS as B };
|
|
99
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.
|
|
99
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.6.0/dist/chunks/builtins-CpH2mTyp.js.map
|
|
@@ -98,4 +98,4 @@ const click = [
|
|
|
98
98
|
const BUILTIN_EFFECTS = [...enter, ...attention, ...click];
|
|
99
99
|
|
|
100
100
|
exports.BUILTIN_EFFECTS = BUILTIN_EFFECTS;
|
|
101
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.
|
|
101
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.6.0/dist/chunks/builtins-DweCp29Z.cjs.map
|
|
@@ -194,4 +194,4 @@ function defineCarousel(tag = 'usa-carousel') {
|
|
|
194
194
|
}
|
|
195
195
|
|
|
196
196
|
export { CAROUSEL_EFFECTS as C, defineCarousel as d };
|
|
197
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.
|
|
197
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.6.0/dist/chunks/carousel-Bdl2DpWW.js.map
|
|
@@ -197,4 +197,4 @@ function defineCarousel(tag = 'usa-carousel') {
|
|
|
197
197
|
|
|
198
198
|
exports.CAROUSEL_EFFECTS = CAROUSEL_EFFECTS;
|
|
199
199
|
exports.defineCarousel = defineCarousel;
|
|
200
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.
|
|
200
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.6.0/dist/chunks/carousel-DU3rHTq0.cjs.map
|
|
@@ -175,4 +175,4 @@ function defineCartDrawer(tag = 'usa-cart-drawer') {
|
|
|
175
175
|
|
|
176
176
|
exports.cartTotal = cartTotal;
|
|
177
177
|
exports.defineCartDrawer = defineCartDrawer;
|
|
178
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.
|
|
178
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.6.0/dist/chunks/cart-drawer-CkFMKMhx.cjs.map
|
|
@@ -172,4 +172,4 @@ function defineCartDrawer(tag = 'usa-cart-drawer') {
|
|
|
172
172
|
}
|
|
173
173
|
|
|
174
174
|
export { cartTotal as c, defineCartDrawer as d };
|
|
175
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.
|
|
175
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.6.0/dist/chunks/cart-drawer-S3X_-dcv.js.map
|
|
@@ -175,4 +175,4 @@ function defineCodeExport(tag = 'usa-code-export') {
|
|
|
175
175
|
}
|
|
176
176
|
|
|
177
177
|
export { describeComponent as a, defineCodeExport as d, exportComponent as e };
|
|
178
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.
|
|
178
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.6.0/dist/chunks/code-export-DwrlLHA5.js.map
|
|
@@ -179,4 +179,4 @@ function defineCodeExport(tag = 'usa-code-export') {
|
|
|
179
179
|
exports.defineCodeExport = defineCodeExport;
|
|
180
180
|
exports.describeComponent = describeComponent;
|
|
181
181
|
exports.exportComponent = exportComponent;
|
|
182
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.
|
|
182
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.6.0/dist/chunks/code-export-PdGSl9WE.cjs.map
|
|
@@ -131,4 +131,4 @@ function defineColorPicker(tag = 'usa-color-picker') {
|
|
|
131
131
|
exports.defineColorPicker = defineColorPicker;
|
|
132
132
|
exports.hexToHsv = hexToHsv;
|
|
133
133
|
exports.hsvToHex = hsvToHex;
|
|
134
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.
|
|
134
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.6.0/dist/chunks/color-picker-B_xWVH8H.cjs.map
|
|
@@ -127,4 +127,4 @@ function defineColorPicker(tag = 'usa-color-picker') {
|
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
export { hsvToHex as a, defineColorPicker as d, hexToHsv as h };
|
|
130
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.
|
|
130
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.6.0/dist/chunks/color-picker-C2PH87yD.js.map
|
|
@@ -263,4 +263,4 @@ function defineCommandPalette(tag = 'usa-command-palette') {
|
|
|
263
263
|
}
|
|
264
264
|
|
|
265
265
|
export { defineCommandPalette as d, fuzzyMatch as f, keyLabels as k, matchesKeys as m };
|
|
266
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.
|
|
266
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.6.0/dist/chunks/command-palette-7lHRJzV1.js.map
|
|
@@ -268,4 +268,4 @@ exports.defineCommandPalette = defineCommandPalette;
|
|
|
268
268
|
exports.fuzzyMatch = fuzzyMatch;
|
|
269
269
|
exports.keyLabels = keyLabels;
|
|
270
270
|
exports.matchesKeys = matchesKeys;
|
|
271
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.
|
|
271
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.6.0/dist/chunks/command-palette-ISetAeX1.cjs.map
|
|
@@ -257,4 +257,4 @@ function timeline(options = {}) {
|
|
|
257
257
|
}
|
|
258
258
|
|
|
259
259
|
export { TIMELINE_PRESETS as T, resolvePosition as r, supportsNativeScrub as s, timeline as t };
|
|
260
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.
|
|
260
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.6.0/dist/chunks/core-BPPcJVGQ.js.map
|
|
@@ -917,4 +917,4 @@ exports.resolveTargets = resolveTargets;
|
|
|
917
917
|
exports.stopAnimation = stopAnimation;
|
|
918
918
|
exports.supportsObserver = supportsObserver;
|
|
919
919
|
exports.supportsScrollTimeline = supportsScrollTimeline;
|
|
920
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.
|
|
920
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.6.0/dist/chunks/core-BjcOCpJt.cjs.map
|
|
@@ -178,4 +178,4 @@ function gesture(el, h, o = {}) {
|
|
|
178
178
|
}
|
|
179
179
|
|
|
180
180
|
export { gesture as g, pinchScale as p, swipeDirection as s };
|
|
181
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.
|
|
181
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.6.0/dist/chunks/core-CfuLPjGf.js.map
|
|
@@ -182,4 +182,4 @@ function gesture(el, h, o = {}) {
|
|
|
182
182
|
exports.gesture = gesture;
|
|
183
183
|
exports.pinchScale = pinchScale;
|
|
184
184
|
exports.swipeDirection = swipeDirection;
|
|
185
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.
|
|
185
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.6.0/dist/chunks/core-DbAYRKnS.cjs.map
|
|
@@ -906,4 +906,4 @@ function createScrollAnimate(userConfig = {}) {
|
|
|
906
906
|
}
|
|
907
907
|
|
|
908
908
|
export { stopAnimation as a, resolveTargets as b, createScrollAnimate as c, prefersReducedMotion as d, supportsScrollTimeline as e, getScrollProgress as g, hasDOM as h, prepareElement as p, readOptions as r, supportsObserver as s };
|
|
909
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.
|
|
909
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.6.0/dist/chunks/core-Dj6iomdc.js.map
|
|
@@ -262,4 +262,4 @@ exports.TIMELINE_PRESETS = TIMELINE_PRESETS;
|
|
|
262
262
|
exports.resolvePosition = resolvePosition;
|
|
263
263
|
exports.supportsNativeScrub = supportsNativeScrub;
|
|
264
264
|
exports.timeline = timeline;
|
|
265
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.
|
|
265
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.6.0/dist/chunks/core-DjjKLmZ6.cjs.map
|