motionary 14.6.0 → 14.8.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 +89 -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 +76 -3
- package/bin/public-paths.mjs +4 -0
- package/dist/chunks/{anim-image-CoR9RkVk.js → anim-image-L8xp3Kr_.js} +2 -2
- package/dist/chunks/{anim-image-DbyWjRty.cjs → anim-image-xu0jIXSs.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-CHcmOPqK.js +1 -1
- 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-C4GTRgYu.js → gl-scene-3y4ICtIt.js} +2 -2
- package/dist/chunks/{gl-scene-Bi1wdfEb.cjs → gl-scene-CZ_KkzoD.cjs} +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-lWoJx_Yk.js +1 -1
- 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-NVGcAQmw.js → keyframes-B3Rb_bHa.js} +2 -2
- package/dist/chunks/{keyframes-j8vHgmCO.cjs → keyframes-CRhkdn9m.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-OiJcU3Cs.cjs → lottie-player-BoZKA5MU.cjs} +2 -2
- package/dist/chunks/{lottie-player-xrZp47b-.js → lottie-player-rOlb2mg8.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-BTRaWmJ8.js → physics-playground-Bq4GbYjq.js} +2 -2
- package/dist/chunks/{physics-playground-DVgqIhww.cjs → physics-playground-DLfl7pOo.cjs} +2 -2
- package/dist/chunks/play-BN3Yv2fu.js +1 -1
- 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-eetsAsgZ.js +1 -1
- 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-C9tONksA.js +1 -1
- 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 +1 -1
- package/dist/chunks/project-CX5rdp4c.cjs +1 -1
- 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-CibnX7Ui.cjs +1 -1
- package/dist/chunks/registry-RLD_spxR.js +1 -1
- package/dist/chunks/{registry-94H5Gaxw.js → registry-TizuMqAA.js} +2 -2
- package/dist/chunks/{registry-o3qxr0pY.cjs → registry-z7mSSRI-.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-DEF6qz7T.js → runtime-link-1Ctx12Ai.js} +2 -2
- package/dist/chunks/{runtime-link-CPBLmjLb.cjs → runtime-link-CdZAnF88.cjs} +2 -2
- package/dist/chunks/scene-C4h75wjo.cjs +1 -1
- package/dist/chunks/scene-D5SKvFBd.js +1 -1
- package/dist/chunks/scroll-driven-CQbwzCdn.cjs +1 -1
- package/dist/chunks/scroll-driven-LghshrWq.js +1 -1
- package/dist/chunks/{scroll-scene-Dx154e7l.js → scroll-scene-BBHMOn8l.js} +3 -3
- package/dist/chunks/{scroll-scene-B6hD7nfg.cjs → scroll-scene-WKKlwi9p.cjs} +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-CQdHsEMq.js → ticker-DDJoK2ls.js} +2 -2
- package/dist/chunks/{ticker-Cl0XmjBC.cjs → ticker-DQky7GER.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-CLNivVXM.js → tween-ChKWa3kh.js} +2 -2
- package/dist/chunks/{tween-0TFDINNG.cjs → tween-WsIfNowc.cjs} +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 +1 -1
- package/dist/chunks/v2-CJ7OW9Gg.js +1 -1
- 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 +1 -1
- package/dist/components/core.cjs +1 -1
- package/dist/components/core.js +1 -1
- package/dist/components/depth.cjs +1 -1
- package/dist/components/depth.js +1 -1
- package/dist/components/design.cjs +1 -1
- package/dist/components/design.js +1 -1
- package/dist/components/dotlottie.cjs +3 -3
- package/dist/components/dotlottie.js +3 -3
- package/dist/components/dsl.cjs +1 -1
- package/dist/components/dsl.js +1 -1
- package/dist/components/effects.cjs +1 -1
- package/dist/components/effects.js +1 -1
- package/dist/components/engine.cjs +1 -1
- package/dist/components/engine.js +1 -1
- package/dist/components/feedback.cjs +1 -1
- package/dist/components/feedback.js +1 -1
- package/dist/components/fx-3d.cjs +1 -1
- package/dist/components/fx-3d.js +1 -1
- package/dist/components/fx-ai.cjs +1 -1
- package/dist/components/fx-ai.js +1 -1
- package/dist/components/fx-chart.cjs +1 -1
- package/dist/components/fx-chart.js +1 -1
- package/dist/components/fx-cinema.cjs +1 -1
- package/dist/components/fx-cinema.js +1 -1
- package/dist/components/fx-cyber.cjs +1 -1
- package/dist/components/fx-cyber.js +1 -1
- package/dist/components/fx-festival.cjs +1 -1
- package/dist/components/fx-festival.js +1 -1
- package/dist/components/fx-focus.cjs +1 -1
- package/dist/components/fx-focus.js +1 -1
- package/dist/components/fx-form.cjs +1 -1
- package/dist/components/fx-form.js +1 -1
- package/dist/components/fx-game.cjs +1 -1
- package/dist/components/fx-game.js +1 -1
- package/dist/components/fx-genart.cjs +1 -1
- package/dist/components/fx-genart.js +1 -1
- package/dist/components/fx-geo.cjs +1 -1
- package/dist/components/fx-geo.js +1 -1
- package/dist/components/fx-gesture.cjs +1 -1
- package/dist/components/fx-gesture.js +1 -1
- package/dist/components/fx-gpu.cjs +1 -1
- package/dist/components/fx-gpu.js +1 -1
- package/dist/components/fx-light.cjs +1 -1
- package/dist/components/fx-light.js +1 -1
- package/dist/components/fx-lottie.cjs +1 -1
- package/dist/components/fx-lottie.js +1 -1
- package/dist/components/fx-morph.cjs +1 -1
- package/dist/components/fx-morph.js +1 -1
- package/dist/components/fx-music.cjs +1 -1
- package/dist/components/fx-music.js +1 -1
- package/dist/components/fx-organic.cjs +1 -1
- package/dist/components/fx-organic.js +1 -1
- package/dist/components/fx-paper.cjs +1 -1
- package/dist/components/fx-paper.js +1 -1
- package/dist/components/fx-perf.cjs +1 -1
- package/dist/components/fx-perf.js +1 -1
- package/dist/components/fx-physics.cjs +1 -1
- package/dist/components/fx-physics.js +1 -1
- package/dist/components/fx-retro.cjs +1 -1
- package/dist/components/fx-retro.js +1 -1
- package/dist/components/fx-safe.cjs +1 -1
- package/dist/components/fx-safe.js +1 -1
- package/dist/components/fx-shop.cjs +1 -1
- package/dist/components/fx-shop.js +1 -1
- package/dist/components/fx-social.cjs +1 -1
- package/dist/components/fx-social.js +1 -1
- package/dist/components/fx-spatial.cjs +1 -1
- package/dist/components/fx-spatial.js +1 -1
- package/dist/components/fx-surface.cjs +1 -1
- package/dist/components/fx-surface.js +1 -1
- package/dist/components/fx-text.cjs +1 -1
- package/dist/components/fx-text.js +1 -1
- package/dist/components/fx-transitions.cjs +1 -1
- package/dist/components/fx-transitions.js +1 -1
- package/dist/components/fx-video.cjs +1 -1
- package/dist/components/fx-video.js +1 -1
- package/dist/components/fx-weather.cjs +1 -1
- package/dist/components/fx-weather.js +1 -1
- package/dist/components/fx.cjs +1 -1
- package/dist/components/fx.js +1 -1
- package/dist/components/fx2.cjs +1 -1
- package/dist/components/fx2.js +1 -1
- package/dist/components/gesture.cjs +1 -1
- package/dist/components/gesture.js +1 -1
- package/dist/components/gl-model.cjs +3 -3
- package/dist/components/gl-model.js +3 -3
- package/dist/components/gl-pool.cjs +1 -1
- package/dist/components/gl-pool.js +1 -1
- package/dist/components/interaction.cjs +1 -1
- package/dist/components/interaction.js +1 -1
- package/dist/components/jsx.cjs +1 -1
- package/dist/components/jsx.js +1 -1
- package/dist/components/layout.cjs +1 -1
- package/dist/components/layout.js +1 -1
- package/dist/components/lazy.cjs +1 -1
- package/dist/components/lazy.js +1 -1
- package/dist/components/lite.cjs +1 -1
- package/dist/components/lite.js +1 -1
- package/dist/components/marketplace.cjs +1 -1
- package/dist/components/marketplace.js +1 -1
- package/dist/components/motion-layout.cjs +1 -1
- package/dist/components/motion-layout.js +1 -1
- package/dist/components/motion-scene.cjs +1 -1
- package/dist/components/motion-scene.js +1 -1
- package/dist/components/motion-tokens.cjs +1 -1
- package/dist/components/motion-tokens.js +1 -1
- package/dist/components/motion.cjs +1 -1
- package/dist/components/motion.js +1 -1
- package/dist/components/native.cjs +1 -1
- package/dist/components/native.js +1 -1
- package/dist/components/offscreen.cjs +1 -1
- package/dist/components/offscreen.js +1 -1
- package/dist/components/packs.cjs +1 -1
- package/dist/components/packs.js +1 -1
- package/dist/components/page.cjs +1 -1
- package/dist/components/page.js +1 -1
- package/dist/components/perf-tasks.cjs +1 -1
- package/dist/components/perf-tasks.js +1 -1
- package/dist/components/perf.cjs +1 -1
- package/dist/components/perf.js +1 -1
- package/dist/components/physics.cjs +1 -1
- package/dist/components/physics.js +1 -1
- package/dist/components/plugins.cjs +1 -1
- package/dist/components/plugins.js +1 -1
- package/dist/components/react.cjs +1 -1
- package/dist/components/react.js +1 -1
- package/dist/components/reveal.cjs +1 -1
- package/dist/components/reveal.js +1 -1
- package/dist/components/scene-v2.cjs +1 -1
- package/dist/components/scene-v2.js +1 -1
- package/dist/components/snap-carousel.cjs +2 -2
- package/dist/components/snap-carousel.js +2 -2
- package/dist/components/solid.cjs +1 -1
- package/dist/components/solid.js +1 -1
- package/dist/components/studio-ai.cjs +1 -1
- package/dist/components/studio-ai.js +1 -1
- package/dist/components/studio-assets.cjs +1 -1
- package/dist/components/studio-assets.js +1 -1
- package/dist/components/studio-canvas.cjs +1 -1
- package/dist/components/studio-canvas.js +1 -1
- package/dist/components/studio-export.cjs +479 -0
- package/dist/components/studio-export.d.cts +226 -0
- package/dist/components/studio-export.d.ts +226 -0
- package/dist/components/studio-export.js +466 -0
- package/dist/components/studio-templates.cjs +578 -0
- package/dist/components/studio-templates.d.cts +348 -0
- package/dist/components/studio-templates.d.ts +348 -0
- package/dist/components/studio-templates.js +560 -0
- package/dist/components/studio.cjs +1 -1
- package/dist/components/studio.js +1 -1
- package/dist/components/svelte.cjs +1 -1
- package/dist/components/svelte.js +1 -1
- package/dist/components/svg.cjs +1 -1
- package/dist/components/svg.js +1 -1
- package/dist/components/text.cjs +1 -1
- package/dist/components/text.js +1 -1
- package/dist/components/timeline-editor.cjs +1 -1
- package/dist/components/timeline-editor.js +1 -1
- package/dist/components/timeline.cjs +1 -1
- package/dist/components/timeline.js +1 -1
- package/dist/components/tokens.cjs +1 -1
- package/dist/components/tokens.js +1 -1
- package/dist/components/transitions.cjs +1 -1
- package/dist/components/transitions.js +1 -1
- package/dist/components/ui.cjs +1 -1
- package/dist/components/ui.js +1 -1
- package/dist/components/vue.cjs +1 -1
- package/dist/components/vue.js +1 -1
- package/dist/components/webgl.cjs +1 -1
- package/dist/components/webgl.js +1 -1
- package/dist/components/widgets.cjs +5 -5
- package/dist/components/widgets.js +7 -7
- package/dist/components.cjs +1 -1
- package/dist/components.js +1 -1
- package/dist/components.umd.js +1 -1
- package/dist/effects/achievement-unlock.cjs +1 -1
- package/dist/effects/achievement-unlock.js +1 -1
- package/dist/effects/aurora-veil.cjs +1 -1
- package/dist/effects/aurora-veil.js +1 -1
- package/dist/effects/badge-pop.cjs +1 -1
- package/dist/effects/badge-pop.js +1 -1
- package/dist/effects/bars-grow.cjs +1 -1
- package/dist/effects/bars-grow.js +1 -1
- package/dist/effects/beat-bounce.cjs +1 -1
- package/dist/effects/beat-bounce.js +1 -1
- package/dist/effects/blob-button.cjs +1 -1
- package/dist/effects/blob-button.js +1 -1
- package/dist/effects/bloom.cjs +1 -1
- package/dist/effects/bloom.js +1 -1
- package/dist/effects/breathe.cjs +1 -1
- package/dist/effects/breathe.js +1 -1
- package/dist/effects/brushed-metal.cjs +1 -1
- package/dist/effects/brushed-metal.js +1 -1
- package/dist/effects/camera-dolly.cjs +1 -1
- package/dist/effects/camera-dolly.js +1 -1
- package/dist/effects/card-flip-3d.cjs +1 -1
- package/dist/effects/card-flip-3d.js +1 -1
- package/dist/effects/chest-open.cjs +1 -1
- package/dist/effects/chest-open.js +1 -1
- package/dist/effects/cloth.cjs +1 -1
- package/dist/effects/cloth.js +1 -1
- package/dist/effects/coin-burst.cjs +1 -1
- package/dist/effects/coin-burst.js +1 -1
- package/dist/effects/color-pulse.cjs +1 -1
- package/dist/effects/color-pulse.js +1 -1
- package/dist/effects/crt-power.cjs +1 -1
- package/dist/effects/crt-power.js +1 -1
- package/dist/effects/crumple.cjs +1 -1
- package/dist/effects/crumple.js +1 -1
- package/dist/effects/data-decode.cjs +1 -1
- package/dist/effects/data-decode.js +1 -1
- package/dist/effects/day-cycle.cjs +1 -1
- package/dist/effects/day-cycle.js +1 -1
- package/dist/effects/depth-in.cjs +1 -1
- package/dist/effects/depth-in.js +1 -1
- package/dist/effects/depth-pop.cjs +1 -1
- package/dist/effects/depth-pop.js +1 -1
- package/dist/effects/depth-stack.cjs +1 -1
- package/dist/effects/depth-stack.js +1 -1
- package/dist/effects/dolly-in.cjs +1 -1
- package/dist/effects/dolly-in.js +1 -1
- package/dist/effects/dots-pop.cjs +1 -1
- package/dist/effects/dots-pop.js +1 -1
- package/dist/effects/field-shake.cjs +1 -1
- package/dist/effects/field-shake.js +1 -1
- package/dist/effects/field-success.cjs +1 -1
- package/dist/effects/field-success.js +1 -1
- package/dist/effects/film-burn.cjs +1 -1
- package/dist/effects/film-burn.js +1 -1
- package/dist/effects/fire.cjs +1 -1
- package/dist/effects/fire.js +1 -1
- package/dist/effects/fireflies.cjs +1 -1
- package/dist/effects/fireflies.js +1 -1
- package/dist/effects/firework-burst.cjs +1 -1
- package/dist/effects/firework-burst.js +1 -1
- package/dist/effects/flip-chars.cjs +1 -1
- package/dist/effects/flip-chars.js +1 -1
- package/dist/effects/fluid.cjs +1 -1
- package/dist/effects/fluid.js +1 -1
- package/dist/effects/fly-to-cart.cjs +1 -1
- package/dist/effects/fly-to-cart.js +1 -1
- package/dist/effects/focus-draw.cjs +1 -1
- package/dist/effects/focus-draw.js +1 -1
- package/dist/effects/focus-glow.cjs +1 -1
- package/dist/effects/focus-glow.js +1 -1
- package/dist/effects/fog.cjs +1 -1
- package/dist/effects/fog.js +1 -1
- package/dist/effects/font-breathe.cjs +1 -1
- package/dist/effects/font-breathe.js +1 -1
- package/dist/effects/form-cascade.cjs +1 -1
- package/dist/effects/form-cascade.js +1 -1
- package/dist/effects/gen-skeleton.cjs +1 -1
- package/dist/effects/gen-skeleton.js +1 -1
- package/dist/effects/glass-frost.cjs +1 -1
- package/dist/effects/glass-frost.js +1 -1
- package/dist/effects/glitch-text.cjs +1 -1
- package/dist/effects/glitch-text.js +1 -1
- package/dist/effects/globe-spin.cjs +1 -1
- package/dist/effects/globe-spin.js +1 -1
- package/dist/effects/god-rays.cjs +1 -1
- package/dist/effects/god-rays.js +1 -1
- package/dist/effects/gpu-lift.cjs +1 -1
- package/dist/effects/gpu-lift.js +1 -1
- package/dist/effects/grain-flicker.cjs +1 -1
- package/dist/effects/grain-flicker.js +1 -1
- package/dist/effects/halftone-in.cjs +1 -1
- package/dist/effects/halftone-in.js +1 -1
- package/dist/effects/highlight-sweep.cjs +1 -1
- package/dist/effects/highlight-sweep.js +1 -1
- package/dist/effects/hologram.cjs +1 -1
- package/dist/effects/hologram.js +1 -1
- package/dist/effects/hud-frame.cjs +1 -1
- package/dist/effects/hud-frame.js +1 -1
- package/dist/effects/icon-pop.cjs +1 -1
- package/dist/effects/icon-pop.js +1 -1
- package/dist/effects/icon-swap.cjs +1 -1
- package/dist/effects/icon-swap.js +1 -1
- package/dist/effects/idle-reveal.cjs +1 -1
- package/dist/effects/idle-reveal.js +1 -1
- package/dist/effects/ink.cjs +1 -1
- package/dist/effects/ink.js +1 -1
- package/dist/effects/jump-cut.cjs +1 -1
- package/dist/effects/jump-cut.js +1 -1
- package/dist/effects/kaleido.cjs +1 -1
- package/dist/effects/kaleido.js +1 -1
- package/dist/effects/label-float.cjs +1 -1
- package/dist/effects/label-float.js +1 -1
- package/dist/effects/lantern-rise.cjs +1 -1
- package/dist/effects/lantern-rise.js +1 -1
- package/dist/effects/leaves.cjs +1 -1
- package/dist/effects/leaves.js +1 -1
- package/dist/effects/letterbox.cjs +1 -1
- package/dist/effects/letterbox.js +1 -1
- package/dist/effects/level-up.cjs +1 -1
- package/dist/effects/level-up.js +1 -1
- package/dist/effects/light-follow.cjs +1 -1
- package/dist/effects/light-follow.js +1 -1
- package/dist/effects/lightning.cjs +1 -1
- package/dist/effects/lightning.js +1 -1
- package/dist/effects/line-draw.cjs +1 -1
- package/dist/effects/line-draw.js +1 -1
- package/dist/effects/liquid-text.cjs +1 -1
- package/dist/effects/liquid-text.js +1 -1
- package/dist/effects/liquid-wipe.cjs +1 -1
- package/dist/effects/liquid-wipe.js +1 -1
- package/dist/effects/lottie-play.cjs +1 -1
- package/dist/effects/lottie-play.js +1 -1
- package/dist/effects/magnet.cjs +1 -1
- package/dist/effects/magnet.js +1 -1
- package/dist/effects/marching-ants.cjs +1 -1
- package/dist/effects/marching-ants.js +1 -1
- package/dist/effects/marker-pulse.cjs +1 -1
- package/dist/effects/marker-pulse.js +1 -1
- package/dist/effects/mention-glow.cjs +1 -1
- package/dist/effects/mention-glow.js +1 -1
- package/dist/effects/mesh-drift.cjs +1 -1
- package/dist/effects/mesh-drift.js +1 -1
- package/dist/effects/message-in.cjs +1 -1
- package/dist/effects/message-in.js +1 -1
- package/dist/effects/mosaic-flip.cjs +1 -1
- package/dist/effects/mosaic-flip.js +1 -1
- package/dist/effects/neon-ignite.cjs +1 -1
- package/dist/effects/neon-ignite.js +1 -1
- package/dist/effects/neon-pulse.cjs +1 -1
- package/dist/effects/neon-pulse.js +1 -1
- package/dist/effects/neon-write.cjs +1 -1
- package/dist/effects/neon-write.js +1 -1
- package/dist/effects/neu-press.cjs +1 -1
- package/dist/effects/neu-press.js +1 -1
- package/dist/effects/noise-reveal.cjs +1 -1
- package/dist/effects/noise-reveal.js +1 -1
- package/dist/effects/number-roll.cjs +1 -1
- package/dist/effects/number-roll.js +1 -1
- package/dist/effects/orbit-camera.cjs +1 -1
- package/dist/effects/orbit-camera.js +1 -1
- package/dist/effects/orbit-in.cjs +1 -1
- package/dist/effects/orbit-in.js +1 -1
- package/dist/effects/origami.cjs +1 -1
- package/dist/effects/origami.js +1 -1
- package/dist/effects/page-curl.cjs +1 -1
- package/dist/effects/page-curl.js +1 -1
- package/dist/effects/pan-reveal.cjs +1 -1
- package/dist/effects/pan-reveal.js +1 -1
- package/dist/effects/paper-unfold.cjs +1 -1
- package/dist/effects/paper-unfold.js +1 -1
- package/dist/effects/particle-text.cjs +1 -1
- package/dist/effects/particle-text.js +1 -1
- package/dist/effects/path-morph.cjs +1 -1
- package/dist/effects/path-morph.js +1 -1
- package/dist/effects/pearlescent.cjs +1 -1
- package/dist/effects/pearlescent.js +1 -1
- package/dist/effects/pencil-sketch.cjs +1 -1
- package/dist/effects/pencil-sketch.js +1 -1
- package/dist/effects/pin-drop.cjs +1 -1
- package/dist/effects/pin-drop.js +1 -1
- package/dist/effects/pinball.cjs +1 -1
- package/dist/effects/pinball.js +1 -1
- package/dist/effects/pinch-hint.cjs +1 -1
- package/dist/effects/pinch-hint.js +1 -1
- package/dist/effects/pixelate-in.cjs +1 -1
- package/dist/effects/pixelate-in.js +1 -1
- package/dist/effects/pointer-shadow.cjs +1 -1
- package/dist/effects/pointer-shadow.js +1 -1
- package/dist/effects/portal-open.cjs +1 -1
- package/dist/effects/portal-open.js +1 -1
- package/dist/effects/price-flip.cjs +1 -1
- package/dist/effects/price-flip.js +1 -1
- package/dist/effects/product-spin.cjs +1 -1
- package/dist/effects/product-spin.js +1 -1
- package/dist/effects/rack-focus.cjs +1 -1
- package/dist/effects/rack-focus.js +1 -1
- package/dist/effects/radial-spectrum.cjs +1 -1
- package/dist/effects/radial-spectrum.js +1 -1
- package/dist/effects/rain-glass.cjs +1 -1
- package/dist/effects/rain-glass.js +1 -1
- package/dist/effects/reaction-burst.cjs +1 -1
- package/dist/effects/reaction-burst.js +1 -1
- package/dist/effects/read-receipt.cjs +1 -1
- package/dist/effects/read-receipt.js +1 -1
- package/dist/effects/refraction.cjs +1 -1
- package/dist/effects/refraction.js +1 -1
- package/dist/effects/ring-sweep.cjs +1 -1
- package/dist/effects/ring-sweep.js +1 -1
- package/dist/effects/ripple-dissolve.cjs +1 -1
- package/dist/effects/ripple-dissolve.js +1 -1
- package/dist/effects/rope.cjs +1 -1
- package/dist/effects/rope.js +1 -1
- package/dist/effects/route-draw.cjs +1 -1
- package/dist/effects/route-draw.js +1 -1
- package/dist/effects/safe-fade.cjs +1 -1
- package/dist/effects/safe-fade.js +1 -1
- package/dist/effects/sakura.cjs +1 -1
- package/dist/effects/sakura.js +1 -1
- package/dist/effects/sale-shine.cjs +1 -1
- package/dist/effects/sale-shine.js +1 -1
- package/dist/effects/sankey-flow.cjs +1 -1
- package/dist/effects/sankey-flow.js +1 -1
- package/dist/effects/scanline-sweep.cjs +1 -1
- package/dist/effects/scanline-sweep.js +1 -1
- package/dist/effects/shatter.cjs +1 -1
- package/dist/effects/shatter.js +1 -1
- package/dist/effects/smoke.cjs +1 -1
- package/dist/effects/smoke.js +1 -1
- package/dist/effects/snowfall.cjs +1 -1
- package/dist/effects/snowfall.js +1 -1
- package/dist/effects/soft-body.cjs +1 -1
- package/dist/effects/soft-body.js +1 -1
- package/dist/effects/sound-particles.cjs +1 -1
- package/dist/effects/sound-particles.js +1 -1
- package/dist/effects/spatial-float.cjs +1 -1
- package/dist/effects/spatial-float.js +1 -1
- package/dist/effects/spectrum-mirror.cjs +1 -1
- package/dist/effects/spectrum-mirror.js +1 -1
- package/dist/effects/splash.cjs +1 -1
- package/dist/effects/splash.js +1 -1
- package/dist/effects/spooky-float.cjs +1 -1
- package/dist/effects/spooky-float.js +1 -1
- package/dist/effects/stock-pulse.cjs +1 -1
- package/dist/effects/stock-pulse.js +1 -1
- package/dist/effects/stream-text.cjs +1 -1
- package/dist/effects/stream-text.js +1 -1
- package/dist/effects/stroke-draw.cjs +1 -1
- package/dist/effects/stroke-draw.js +1 -1
- package/dist/effects/success-check.cjs +1 -1
- package/dist/effects/success-check.js +1 -1
- package/dist/effects/swipe-hint.cjs +1 -1
- package/dist/effects/swipe-hint.js +1 -1
- package/dist/effects/text-trail.cjs +1 -1
- package/dist/effects/text-trail.js +1 -1
- package/dist/effects/thinking-glow.cjs +1 -1
- package/dist/effects/thinking-glow.js +1 -1
- package/dist/effects/tilt-wobble.cjs +1 -1
- package/dist/effects/tilt-wobble.js +1 -1
- package/dist/effects/typing-dots.cjs +1 -1
- package/dist/effects/typing-dots.js +1 -1
- package/dist/effects/underline-sweep.cjs +1 -1
- package/dist/effects/underline-sweep.js +1 -1
- package/dist/effects/vhs-glitch.cjs +1 -1
- package/dist/effects/vhs-glitch.js +1 -1
- package/dist/effects/vine-grow.cjs +1 -1
- package/dist/effects/vine-grow.js +1 -1
- package/dist/effects/vinyl-spin.cjs +1 -1
- package/dist/effects/vinyl-spin.js +1 -1
- package/dist/effects/voice-wave.cjs +1 -1
- package/dist/effects/voice-wave.js +1 -1
- package/dist/effects/water-drop.cjs +1 -1
- package/dist/effects/water-drop.js +1 -1
- package/dist/effects/watercolor.cjs +1 -1
- package/dist/effects/watercolor.js +1 -1
- package/dist/effects/waveform-scope.cjs +1 -1
- package/dist/effects/waveform-scope.js +1 -1
- package/dist/effects/xmas-snow.cjs +1 -1
- package/dist/effects/xmas-snow.js +1 -1
- package/dist/effects/xp-gain.cjs +1 -1
- package/dist/effects/xp-gain.js +1 -1
- package/dist/effects/y2k-shine.cjs +1 -1
- package/dist/effects/y2k-shine.js +1 -1
- package/dist/element.cjs +1 -1
- package/dist/element.js +1 -1
- package/dist/element.umd.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/llms-full.txt +1 -1
- package/dist/llms.txt +1 -1
- package/dist/manifest.json +1 -1
- package/dist/presets/extended.cjs +1 -1
- package/dist/presets/extended.js +1 -1
- package/dist/presets-extended.umd.js +1 -1
- package/dist/react.cjs +1 -1
- package/dist/react.js +1 -1
- package/dist/runtime/drag-snap.cjs +2 -2
- package/dist/runtime/drag-snap.iife.js +1 -1
- package/dist/runtime/drag-snap.js +2 -2
- package/dist/runtime/format-apng.cjs +3 -3
- package/dist/runtime/format-apng.iife.js +1 -1
- package/dist/runtime/format-apng.js +3 -3
- package/dist/runtime/format-css.cjs +3 -3
- package/dist/runtime/format-css.iife.js +1 -1
- package/dist/runtime/format-css.js +3 -3
- package/dist/runtime/format-gif.cjs +3 -3
- package/dist/runtime/format-gif.iife.js +1 -1
- package/dist/runtime/format-gif.js +3 -3
- package/dist/runtime/format-gltf.cjs +2 -2
- package/dist/runtime/format-gltf.iife.js +1 -1
- package/dist/runtime/format-gltf.js +2 -2
- package/dist/runtime/format-motion.cjs +4 -4
- package/dist/runtime/format-motion.iife.js +1 -1
- package/dist/runtime/format-motion.js +4 -4
- package/dist/runtime/format-obj.cjs +2 -2
- package/dist/runtime/format-obj.iife.js +1 -1
- package/dist/runtime/format-obj.js +2 -2
- package/dist/runtime/format-scene.cjs +2 -2
- package/dist/runtime/format-scene.iife.js +1 -1
- package/dist/runtime/format-scene.js +2 -2
- package/dist/runtime/format-sprite.cjs +3 -3
- package/dist/runtime/format-sprite.iife.js +1 -1
- package/dist/runtime/format-sprite.js +3 -3
- package/dist/runtime/format-svg.cjs +3 -3
- package/dist/runtime/format-svg.iife.js +1 -1
- package/dist/runtime/format-svg.js +3 -3
- package/dist/runtime/format-webp.cjs +3 -3
- package/dist/runtime/format-webp.iife.js +1 -1
- package/dist/runtime/format-webp.js +3 -3
- package/dist/runtime/gl.cjs +2 -2
- package/dist/runtime/gl.iife.js +1 -1
- package/dist/runtime/gl.js +2 -2
- package/dist/runtime/gltf-anim.cjs +2 -2
- package/dist/runtime/gltf-anim.iife.js +1 -1
- package/dist/runtime/gltf-anim.js +2 -2
- package/dist/runtime/gltf-decoders.cjs +2 -2
- package/dist/runtime/gltf-decoders.iife.js +1 -1
- package/dist/runtime/gltf-decoders.js +2 -2
- package/dist/runtime/lottie-state.cjs +2 -2
- package/dist/runtime/lottie-state.iife.js +1 -1
- package/dist/runtime/lottie-state.js +2 -2
- package/dist/runtime/physics.cjs +2 -2
- package/dist/runtime/physics.iife.js +1 -1
- package/dist/runtime/physics.js +2 -2
- package/dist/runtime/scroll.cjs +3 -3
- package/dist/runtime/scroll.iife.js +1 -1
- package/dist/runtime/scroll.js +3 -3
- package/dist/runtime/smooth.cjs +2 -2
- package/dist/runtime/smooth.iife.js +1 -1
- package/dist/runtime/smooth.js +2 -2
- package/dist/runtime/text.cjs +2 -2
- package/dist/runtime/text.iife.js +1 -1
- package/dist/runtime/text.js +2 -2
- package/dist/runtime/vector.cjs +3 -3
- package/dist/runtime/vector.iife.js +1 -1
- package/dist/runtime/vector.js +3 -3
- package/dist/runtime.cjs +4 -4
- package/dist/runtime.d.cts +1 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.iife.js +2 -2
- package/dist/runtime.js +6 -6
- package/dist/solid.cjs +1 -1
- package/dist/solid.js +1 -1
- package/dist/svelte.cjs +1 -1
- package/dist/svelte.js +1 -1
- package/dist/vue.cjs +1 -1
- package/dist/vue.js +1 -1
- package/dist/widgets/add-to-cart.cjs +1 -1
- package/dist/widgets/add-to-cart.js +1 -1
- package/dist/widgets/badge-wall.cjs +1 -1
- package/dist/widgets/badge-wall.js +1 -1
- package/dist/widgets/bar-chart.cjs +1 -1
- package/dist/widgets/bar-chart.js +1 -1
- package/dist/widgets/bg-generator.cjs +1 -1
- package/dist/widgets/bg-generator.js +1 -1
- package/dist/widgets/carousel.cjs +1 -1
- package/dist/widgets/carousel.js +1 -1
- package/dist/widgets/cart-drawer.cjs +1 -1
- package/dist/widgets/cart-drawer.js +1 -1
- package/dist/widgets/chapter-nav.cjs +1 -1
- package/dist/widgets/chapter-nav.js +1 -1
- package/dist/widgets/chat-composer.cjs +1 -1
- package/dist/widgets/chat-composer.js +1 -1
- package/dist/widgets/clock-control.cjs +1 -1
- package/dist/widgets/clock-control.js +1 -1
- package/dist/widgets/code-export.cjs +1 -1
- package/dist/widgets/code-export.js +1 -1
- package/dist/widgets/color-picker.cjs +1 -1
- package/dist/widgets/color-picker.js +1 -1
- package/dist/widgets/command-palette.cjs +1 -1
- package/dist/widgets/command-palette.js +1 -1
- package/dist/widgets/compare.cjs +1 -1
- package/dist/widgets/compare.js +1 -1
- package/dist/widgets/countdown.cjs +1 -1
- package/dist/widgets/countdown.js +1 -1
- package/dist/widgets/cube-gallery.cjs +1 -1
- package/dist/widgets/cube-gallery.js +1 -1
- package/dist/widgets/date-picker.cjs +1 -1
- package/dist/widgets/date-picker.js +1 -1
- package/dist/widgets/disclosure.cjs +1 -1
- package/dist/widgets/disclosure.js +1 -1
- package/dist/widgets/dock.cjs +1 -1
- package/dist/widgets/dock.js +1 -1
- package/dist/widgets/dotlottie.cjs +1 -1
- package/dist/widgets/dotlottie.js +1 -1
- package/dist/widgets/equalizer.cjs +1 -1
- package/dist/widgets/equalizer.js +1 -1
- package/dist/widgets/festival-banner.cjs +1 -1
- package/dist/widgets/festival-banner.js +1 -1
- package/dist/widgets/field.cjs +1 -1
- package/dist/widgets/field.js +1 -1
- package/dist/widgets/file-drop.cjs +1 -1
- package/dist/widgets/file-drop.js +1 -1
- package/dist/widgets/gauge.cjs +1 -1
- package/dist/widgets/gauge.js +1 -1
- package/dist/widgets/gen-art.cjs +1 -1
- package/dist/widgets/gen-art.js +1 -1
- package/dist/widgets/gesture-sticker.cjs +1 -1
- package/dist/widgets/gesture-sticker.js +1 -1
- package/dist/widgets/gl-model.cjs +1 -1
- package/dist/widgets/gl-model.js +1 -1
- package/dist/widgets/gl-scene.cjs +2 -2
- package/dist/widgets/gl-scene.js +2 -2
- package/dist/widgets/globe.cjs +1 -1
- package/dist/widgets/globe.js +1 -1
- package/dist/widgets/gpu-particles.cjs +1 -1
- package/dist/widgets/gpu-particles.js +1 -1
- package/dist/widgets/gyro-card.cjs +1 -1
- package/dist/widgets/gyro-card.js +1 -1
- package/dist/widgets/hero-video.cjs +1 -1
- package/dist/widgets/hero-video.js +1 -1
- package/dist/widgets/hud-panel.cjs +1 -1
- package/dist/widgets/hud-panel.js +1 -1
- package/dist/widgets/hydrate.cjs +1 -1
- package/dist/widgets/hydrate.js +1 -1
- package/dist/widgets/install-button.cjs +1 -1
- package/dist/widgets/install-button.js +1 -1
- package/dist/widgets/kanban.cjs +1 -1
- package/dist/widgets/kanban.js +1 -1
- package/dist/widgets/keyframe-editor.cjs +1 -1
- package/dist/widgets/keyframe-editor.js +1 -1
- package/dist/widgets/kpi.cjs +1 -1
- package/dist/widgets/kpi.js +1 -1
- package/dist/widgets/leaderboard.cjs +1 -1
- package/dist/widgets/leaderboard.js +1 -1
- package/dist/widgets/liquid-nav.cjs +1 -1
- package/dist/widgets/liquid-nav.js +1 -1
- package/dist/widgets/location-card.cjs +1 -1
- package/dist/widgets/location-card.js +1 -1
- package/dist/widgets/lottie-icon.cjs +1 -1
- package/dist/widgets/lottie-icon.js +1 -1
- package/dist/widgets/lottie-player.cjs +2 -2
- package/dist/widgets/lottie-player.js +2 -2
- package/dist/widgets/lottie.cjs +1 -1
- package/dist/widgets/lottie.js +1 -1
- package/dist/widgets/lyrics.cjs +1 -1
- package/dist/widgets/lyrics.js +1 -1
- package/dist/widgets/masonry-flow.cjs +1 -1
- package/dist/widgets/masonry-flow.js +1 -1
- package/dist/widgets/menu-toggle.cjs +1 -1
- package/dist/widgets/menu-toggle.js +1 -1
- package/dist/widgets/menu.cjs +1 -1
- package/dist/widgets/menu.js +1 -1
- package/dist/widgets/message-list.cjs +1 -1
- package/dist/widgets/message-list.js +1 -1
- package/dist/widgets/milestones.cjs +1 -1
- package/dist/widgets/milestones.js +1 -1
- package/dist/widgets/modal.cjs +1 -1
- package/dist/widgets/modal.js +1 -1
- package/dist/widgets/motion-inspector.cjs +2 -2
- package/dist/widgets/motion-inspector.js +2 -2
- package/dist/widgets/motion-prefs.cjs +1 -1
- package/dist/widgets/motion-prefs.js +1 -1
- package/dist/widgets/motion-prompt.cjs +1 -1
- package/dist/widgets/motion-prompt.js +1 -1
- package/dist/widgets/motion-spec.cjs +1 -1
- package/dist/widgets/motion-spec.js +1 -1
- package/dist/widgets/motion.cjs +1 -1
- package/dist/widgets/motion.js +1 -1
- package/dist/widgets/music-player.cjs +1 -1
- package/dist/widgets/music-player.js +1 -1
- package/dist/widgets/native-preview.cjs +1 -1
- package/dist/widgets/native-preview.js +1 -1
- package/dist/widgets/nav-morph.cjs +1 -1
- package/dist/widgets/nav-morph.js +1 -1
- package/dist/widgets/notification-bell.cjs +1 -1
- package/dist/widgets/notification-bell.js +1 -1
- package/dist/widgets/odometer.cjs +1 -1
- package/dist/widgets/odometer.js +1 -1
- package/dist/widgets/organic-card.cjs +1 -1
- package/dist/widgets/organic-card.js +1 -1
- package/dist/widgets/otp.cjs +1 -1
- package/dist/widgets/otp.js +1 -1
- package/dist/widgets/pagination.cjs +1 -1
- package/dist/widgets/pagination.js +1 -1
- package/dist/widgets/panorama.cjs +1 -1
- package/dist/widgets/panorama.js +1 -1
- package/dist/widgets/parallax-layers.cjs +1 -1
- package/dist/widgets/parallax-layers.js +1 -1
- package/dist/widgets/pause-all.cjs +1 -1
- package/dist/widgets/pause-all.js +1 -1
- package/dist/widgets/perf-monitor.cjs +1 -1
- package/dist/widgets/perf-monitor.js +1 -1
- package/dist/widgets/physics-playground.cjs +2 -2
- package/dist/widgets/physics-playground.js +2 -2
- package/dist/widgets/plugin-card.cjs +3 -3
- package/dist/widgets/plugin-card.js +3 -3
- package/dist/widgets/plugin-store.cjs +1 -1
- package/dist/widgets/plugin-store.js +1 -1
- package/dist/widgets/presence.cjs +1 -1
- package/dist/widgets/presence.js +1 -1
- package/dist/widgets/prize-wheel.cjs +1 -1
- package/dist/widgets/prize-wheel.js +1 -1
- package/dist/widgets/product-gallery.cjs +1 -1
- package/dist/widgets/product-gallery.js +1 -1
- package/dist/widgets/progress-ring.cjs +1 -1
- package/dist/widgets/progress-ring.js +1 -1
- package/dist/widgets/prop-panel.cjs +1 -1
- package/dist/widgets/prop-panel.js +1 -1
- package/dist/widgets/pull-cord.cjs +1 -1
- package/dist/widgets/pull-cord.js +1 -1
- package/dist/widgets/radar.cjs +1 -1
- package/dist/widgets/radar.js +1 -1
- package/dist/widgets/reactions.cjs +1 -1
- package/dist/widgets/reactions.js +1 -1
- package/dist/widgets/red-envelope.cjs +1 -1
- package/dist/widgets/red-envelope.js +1 -1
- package/dist/widgets/retro-button.cjs +1 -1
- package/dist/widgets/retro-button.js +1 -1
- package/dist/widgets/rive.cjs +1 -1
- package/dist/widgets/rive.js +1 -1
- package/dist/widgets/route-transition.cjs +1 -1
- package/dist/widgets/route-transition.js +1 -1
- package/dist/widgets/scene.cjs +1 -1
- package/dist/widgets/scene.js +1 -1
- package/dist/widgets/scroll-ring.cjs +1 -1
- package/dist/widgets/scroll-ring.js +1 -1
- package/dist/widgets/scroll-scene.cjs +2 -2
- package/dist/widgets/scroll-scene.js +2 -2
- package/dist/widgets/segmented.cjs +1 -1
- package/dist/widgets/segmented.js +1 -1
- package/dist/widgets/shader-backdrop.cjs +1 -1
- package/dist/widgets/shader-backdrop.js +1 -1
- package/dist/widgets/sheet.cjs +1 -1
- package/dist/widgets/sheet.js +1 -1
- package/dist/widgets/shortcut.cjs +1 -1
- package/dist/widgets/shortcut.js +1 -1
- package/dist/widgets/skeleton-reveal.cjs +1 -1
- package/dist/widgets/skeleton-reveal.js +1 -1
- package/dist/widgets/sketch-chart.cjs +1 -1
- package/dist/widgets/sketch-chart.js +1 -1
- package/dist/widgets/smooth-scroll.cjs +2 -2
- package/dist/widgets/smooth-scroll.js +2 -2
- package/dist/widgets/snap-carousel.cjs +1 -1
- package/dist/widgets/snap-carousel.js +1 -1
- package/dist/widgets/sparkline.cjs +1 -1
- package/dist/widgets/sparkline.js +1 -1
- package/dist/widgets/spatial-card.cjs +1 -1
- package/dist/widgets/spatial-card.js +1 -1
- package/dist/widgets/star-rating.cjs +1 -1
- package/dist/widgets/star-rating.js +1 -1
- package/dist/widgets/stepper.cjs +1 -1
- package/dist/widgets/stepper.js +1 -1
- package/dist/widgets/sticky-wall.cjs +1 -1
- package/dist/widgets/sticky-wall.js +1 -1
- package/dist/widgets/stories.cjs +1 -1
- package/dist/widgets/stories.js +1 -1
- package/dist/widgets/suggestion-chips.cjs +1 -1
- package/dist/widgets/suggestion-chips.js +1 -1
- package/dist/widgets/swipe-deck.cjs +1 -1
- package/dist/widgets/swipe-deck.js +1 -1
- package/dist/widgets/switch.cjs +1 -1
- package/dist/widgets/switch.js +1 -1
- package/dist/widgets/tab-bar.cjs +1 -1
- package/dist/widgets/tab-bar.js +1 -1
- package/dist/widgets/terminal.cjs +1 -1
- package/dist/widgets/terminal.js +1 -1
- package/dist/widgets/text-splitter.cjs +3 -3
- package/dist/widgets/text-splitter.js +3 -3
- package/dist/widgets/theme-surface.cjs +1 -1
- package/dist/widgets/theme-surface.js +1 -1
- package/dist/widgets/theme-switcher.cjs +1 -1
- package/dist/widgets/theme-switcher.js +1 -1
- package/dist/widgets/tip.cjs +1 -1
- package/dist/widgets/tip.js +1 -1
- package/dist/widgets/toast-stack.cjs +1 -1
- package/dist/widgets/toast-stack.js +1 -1
- package/dist/widgets/token-editor.cjs +1 -1
- package/dist/widgets/token-editor.js +1 -1
- package/dist/widgets/upload-progress.cjs +1 -1
- package/dist/widgets/upload-progress.js +1 -1
- package/dist/widgets/video-card.cjs +1 -1
- package/dist/widgets/video-card.js +1 -1
- package/dist/widgets/voice-button.cjs +1 -1
- package/dist/widgets/voice-button.js +1 -1
- package/dist/widgets/volume-knob.cjs +1 -1
- package/dist/widgets/volume-knob.js +1 -1
- package/dist/widgets/weather-card.cjs +1 -1
- package/dist/widgets/weather-card.js +1 -1
- package/dist/widgets/worker-canvas.cjs +1 -1
- package/dist/widgets/worker-canvas.js +1 -1
- package/dist/widgets/xp-bar.cjs +1 -1
- package/dist/widgets/xp-bar.js +1 -1
- package/dist/widgets.umd.js +2 -2
- package/docs/ROADMAP.md +29 -5
- package/docs/mcp-gateway-interop.md +4 -1
- package/docs/mcp.md +4 -0
- package/docs/studio-export.md +140 -0
- package/docs/studio-templates.md +122 -0
- package/docs/versions.md +1 -1
- package/package.json +45 -3
- package/templates/badge-pop.motionary-template.json +7 -0
- package/templates/fade-up-hero.motionary-template.json +7 -0
- package/templates/index.json +30 -0
- package/templates/stagger-cards.motionary-template.json +7 -0
- package/docs/images/showcase-detail.png +0 -0
- package/docs/images/showcase-grid.png +0 -0
- package/docs/images/showcase-mobile.png +0 -0
|
@@ -130,4 +130,4 @@ exports.text = text;
|
|
|
130
130
|
exports.transitions = transitions;
|
|
131
131
|
exports.video = video;
|
|
132
132
|
exports.weather = weather;
|
|
133
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.
|
|
133
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.8.0/dist/components/plugins.cjs.map
|
|
@@ -97,4 +97,4 @@ const perf3 = /*#__PURE__*/ P('perf3', PERF3_FX);
|
|
|
97
97
|
const ALL_PLUGINS = [gpu, text, light, depth, morph, transitions, weather, physics, focus, music, chart, shop, social, game, geo, form, ai, festival, retro, organic, cyber, paper, surface, gesture3, spatial, cinema, lottie, genart, video, safe, perf3];
|
|
98
98
|
|
|
99
99
|
export { ALL_PLUGINS, ai, chart, cinema, cyber, depth, festival, focus, form, game, genart, geo, gesture3, gpu, light, lottie, morph, music, organic, paper, perf3, physics, retro, safe, shop, social, spatial, surface, text, transitions, video, weather };
|
|
100
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.
|
|
100
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.8.0/dist/components/plugins.js.map
|
|
@@ -116,4 +116,4 @@ exports.createUsaComponents = createUsaComponents;
|
|
|
116
116
|
exports.eventName = eventName;
|
|
117
117
|
exports.kebab = kebab;
|
|
118
118
|
exports.pascal = pascal;
|
|
119
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.
|
|
119
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.8.0/dist/components/react.cjs.map
|
package/dist/components/react.js
CHANGED
|
@@ -108,4 +108,4 @@ function createUsaComponents(React) {
|
|
|
108
108
|
const kebab = (name) => name.replace(/([a-z0-9])([A-Z])/g, '$1-$2').replace(/([A-Z])([A-Z][a-z])/g, '$1-$2').replace(/([a-z])(\d)/g, '$1-$2').toLowerCase();
|
|
109
109
|
|
|
110
110
|
export { USA_TAGS, createUsaComponents, eventName, kebab, pascal };
|
|
111
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.
|
|
111
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.8.0/dist/components/react.js.map
|
|
@@ -360,4 +360,4 @@ exports.defineScrolly = defineScrolly;
|
|
|
360
360
|
exports.defineStagger = defineStagger;
|
|
361
361
|
exports.readScrollProgress = readScrollProgress;
|
|
362
362
|
exports.revealKeyframes = revealKeyframes;
|
|
363
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.
|
|
363
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.8.0/dist/components/reveal.cjs.map
|
|
@@ -351,4 +351,4 @@ function defineRevealComponents() {
|
|
|
351
351
|
}
|
|
352
352
|
|
|
353
353
|
export { REVEAL_EFFECTS, defineReveal, defineRevealComponents, defineScrollProgress, defineScrolly, defineStagger, readScrollProgress, revealKeyframes };
|
|
354
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.
|
|
354
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.8.0/dist/components/reveal.js.map
|
|
@@ -120,4 +120,4 @@ exports.serializeSceneV2 = v2.serializeSceneV2;
|
|
|
120
120
|
exports.tokenizeValue = v2.tokenizeValue;
|
|
121
121
|
exports.validateSceneV2 = v2.validateSceneV2;
|
|
122
122
|
exports.SCENE_V2_SCHEMA = SCENE_V2_SCHEMA;
|
|
123
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.
|
|
123
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.8.0/dist/components/scene-v2.cjs.map
|
|
@@ -98,4 +98,4 @@ const SCENE_V2_SCHEMA = {
|
|
|
98
98
|
};
|
|
99
99
|
|
|
100
100
|
export { SCENE_V2_SCHEMA };
|
|
101
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.
|
|
101
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.8.0/dist/components/scene-v2.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var base = require('../chunks/base-BvH4nAcv.cjs');
|
|
4
|
-
var runtimeLink = require('../chunks/runtime-link-
|
|
4
|
+
var runtimeLink = require('../chunks/runtime-link-CdZAnF88.cjs');
|
|
5
5
|
|
|
6
6
|
var css = "usa-snap-carousel{display:block;position:relative;--usa-sc-size:80%;--usa-sc-gap:16px;--usa-sc-accent:#7c5cff}.usa-sc-viewport{overflow:hidden;border-radius:var(--usa-radius,14px);outline:none;cursor:grab}.usa-sc-viewport:focus-visible{box-shadow:0 0 0 2px var(--usa-sc-accent)}usa-snap-carousel[data-dragging] .usa-sc-viewport{cursor:grabbing}.usa-sc-track{display:flex;gap:var(--usa-sc-gap);will-change:transform;user-select:none;-webkit-user-select:none}.usa-sc-track>*{flex:0 0 var(--usa-sc-size);min-width:0;box-sizing:border-box;transition:opacity .3s,transform .3s}.usa-sc-track img{pointer-events:none;-webkit-user-drag:none}usa-snap-carousel:not([data-ready]) .usa-sc-viewport{overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin}usa-snap-carousel:not([data-ready]) .usa-sc-track>*{scroll-snap-align:center}usa-snap-carousel[data-ready] .usa-sc-track>:not([data-active]){opacity:.55;transform:scale(.94)}.usa-sc-nav{position:absolute;top:calc(50% - 18px);z-index:2;width:36px;height:36px;border-radius:50%;border:0;background:rgba(255,255,255,.9);color:#111;font:600 20px/1 system-ui;cursor:pointer;display:grid;place-items:center;box-shadow:0 4px 14px rgba(0,0,0,.18)}.usa-sc-nav:disabled{opacity:.35;cursor:default}.usa-sc-nav:focus-visible,.usa-sc-dot:focus-visible{outline:2px solid var(--usa-sc-accent);outline-offset:2px}.usa-sc-prev{left:8px}.usa-sc-next{right:8px}.usa-sc-dots{display:flex;justify-content:center;gap:6px;padding-top:10px}.usa-sc-dot{width:8px;height:8px;padding:0;border:0;border-radius:99px;background:color-mix(in srgb,currentColor 30%,transparent);cursor:pointer;transition:width .3s,background .3s}.usa-sc-dot[aria-current=\"true\"]{width:22px;background:var(--usa-sc-accent)}.usa-sc-live{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;margin:0}@media (prefers-reduced-motion:reduce){.usa-sc-track>*,.usa-sc-dot{transition:none}}";
|
|
7
7
|
|
|
@@ -212,4 +212,4 @@ function defineSnapCarousel(tag = 'usa-snap-carousel') {
|
|
|
212
212
|
}
|
|
213
213
|
|
|
214
214
|
exports.defineSnapCarousel = defineSnapCarousel;
|
|
215
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.
|
|
215
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.8.0/dist/components/snap-carousel.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { f as defineElement } from '../chunks/base-ByyAdGqz.js';
|
|
2
|
-
import { r as runtimeModule } from '../chunks/runtime-link-
|
|
2
|
+
import { r as runtimeModule } from '../chunks/runtime-link-1Ctx12Ai.js';
|
|
3
3
|
|
|
4
4
|
var css = "usa-snap-carousel{display:block;position:relative;--usa-sc-size:80%;--usa-sc-gap:16px;--usa-sc-accent:#7c5cff}.usa-sc-viewport{overflow:hidden;border-radius:var(--usa-radius,14px);outline:none;cursor:grab}.usa-sc-viewport:focus-visible{box-shadow:0 0 0 2px var(--usa-sc-accent)}usa-snap-carousel[data-dragging] .usa-sc-viewport{cursor:grabbing}.usa-sc-track{display:flex;gap:var(--usa-sc-gap);will-change:transform;user-select:none;-webkit-user-select:none}.usa-sc-track>*{flex:0 0 var(--usa-sc-size);min-width:0;box-sizing:border-box;transition:opacity .3s,transform .3s}.usa-sc-track img{pointer-events:none;-webkit-user-drag:none}usa-snap-carousel:not([data-ready]) .usa-sc-viewport{overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin}usa-snap-carousel:not([data-ready]) .usa-sc-track>*{scroll-snap-align:center}usa-snap-carousel[data-ready] .usa-sc-track>:not([data-active]){opacity:.55;transform:scale(.94)}.usa-sc-nav{position:absolute;top:calc(50% - 18px);z-index:2;width:36px;height:36px;border-radius:50%;border:0;background:rgba(255,255,255,.9);color:#111;font:600 20px/1 system-ui;cursor:pointer;display:grid;place-items:center;box-shadow:0 4px 14px rgba(0,0,0,.18)}.usa-sc-nav:disabled{opacity:.35;cursor:default}.usa-sc-nav:focus-visible,.usa-sc-dot:focus-visible{outline:2px solid var(--usa-sc-accent);outline-offset:2px}.usa-sc-prev{left:8px}.usa-sc-next{right:8px}.usa-sc-dots{display:flex;justify-content:center;gap:6px;padding-top:10px}.usa-sc-dot{width:8px;height:8px;padding:0;border:0;border-radius:99px;background:color-mix(in srgb,currentColor 30%,transparent);cursor:pointer;transition:width .3s,background .3s}.usa-sc-dot[aria-current=\"true\"]{width:22px;background:var(--usa-sc-accent)}.usa-sc-live{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;margin:0}@media (prefers-reduced-motion:reduce){.usa-sc-track>*,.usa-sc-dot{transition:none}}";
|
|
5
5
|
|
|
@@ -210,4 +210,4 @@ function defineSnapCarousel(tag = 'usa-snap-carousel') {
|
|
|
210
210
|
}
|
|
211
211
|
|
|
212
212
|
export { defineSnapCarousel };
|
|
213
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.
|
|
213
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.8.0/dist/components/snap-carousel.js.map
|
|
@@ -53,4 +53,4 @@ exports.bindUsa = bind.bindUsa;
|
|
|
53
53
|
exports.usaEventName = bind.usaEventName;
|
|
54
54
|
exports.defineUsa = defineUsa;
|
|
55
55
|
exports.usa = usa;
|
|
56
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.
|
|
56
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.8.0/dist/components/solid.cjs.map
|
package/dist/components/solid.js
CHANGED
|
@@ -49,4 +49,4 @@ function defineUsa(categories) {
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
export { bindUsa, defineUsa, usa };
|
|
52
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.
|
|
52
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.8.0/dist/components/solid.js.map
|
|
@@ -842,4 +842,4 @@ exports.proposeAiEdit = proposeAiEdit;
|
|
|
842
842
|
exports.renderSceneHeadless = renderSceneHeadless;
|
|
843
843
|
exports.suggestSceneFixes = suggestSceneFixes;
|
|
844
844
|
exports.validateAiEdit = validateAiEdit;
|
|
845
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.
|
|
845
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.8.0/dist/components/studio-ai.cjs.map
|
|
@@ -821,4 +821,4 @@ function createAiPanel(root, o) {
|
|
|
821
821
|
}
|
|
822
822
|
|
|
823
823
|
export { AI_EDIT_FORMAT, AI_EDIT_SCHEMA, AI_LIMITS, STUDIO_AI_SYSTEM_PROMPT, STUDIO_AI_VERSION, applySceneOps, buildAiRequest, checkSceneCompatibility, compareVersions, createAiPanel, createAiReview, createMockProvider, describeSceneOp, localAiEdit, matchComponents, parseAiEdit, proposeAiEdit, renderSceneHeadless, suggestSceneFixes, validateAiEdit };
|
|
824
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.
|
|
824
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.8.0/dist/components/studio-ai.js.map
|
|
@@ -350,4 +350,4 @@ exports.relinkAssets = relinkAssets;
|
|
|
350
350
|
exports.resolveAssetPath = resolveAssetPath;
|
|
351
351
|
exports.toBase64 = toBase64;
|
|
352
352
|
exports.unpackStudioProject = unpackStudioProject;
|
|
353
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.
|
|
353
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.8.0/dist/components/studio-assets.cjs.map
|
|
@@ -332,4 +332,4 @@ function fromBase64(s) {
|
|
|
332
332
|
}
|
|
333
333
|
|
|
334
334
|
export { ASSET_LIMITS, AssetPathError, STUDIO_ASSETS_VERSION, STUDIO_PACK_FORMAT, assetKind, checkAssets, collectAssetRefs, crc32, createAssetManifest, fromBase64, isExternalAsset, normalizeAssetPath, packStudioProject, relinkAssets, resolveAssetPath, toBase64, unpackStudioProject };
|
|
335
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.
|
|
335
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.8.0/dist/components/studio-assets.js.map
|
|
@@ -995,4 +995,4 @@ exports.snapLines = snapLines;
|
|
|
995
995
|
exports.snapRect = snapRect;
|
|
996
996
|
exports.snapToGrid = snapToGrid;
|
|
997
997
|
exports.snapValue = snapValue;
|
|
998
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.
|
|
998
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.8.0/dist/components/studio-canvas.cjs.map
|
|
@@ -975,4 +975,4 @@ function createStudioCanvas(root, o) {
|
|
|
975
975
|
}
|
|
976
976
|
|
|
977
977
|
export { STUDIO_CANVAS_VERSION, applyCanvasOps, canvasBounds, canvasBox, canvasMove, canvasReorder, canvasSetBox, canvasSetHidden, canvasSetLocked, createStudioCanvas, marqueeHits, readCanvasGeometry, rectsIntersect, resizeBox, rotationFromPointer, snapLines, snapRect, snapToGrid, snapValue };
|
|
978
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.
|
|
978
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.8.0/dist/components/studio-canvas.js.map
|
|
@@ -0,0 +1,479 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var format = require('../chunks/format-DrRrPbjl.cjs');
|
|
4
|
+
var preview = require('../chunks/preview-CyTKsXQP.cjs');
|
|
5
|
+
var project = require('../chunks/project-CX5rdp4c.cjs');
|
|
6
|
+
var components_studioAssets = require('./studio-assets.cjs');
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* 14.7 output & preview reliability — `motionary/studio/export` (= `motionary/components/studio-export`).
|
|
10
|
+
*
|
|
11
|
+
* - `bakeScene` turns a Studio project / Scene v2 / timeline document into per-property points: linear segments the
|
|
12
|
+
* browser interpolates exactly like the preview keep only their end points, every other segment (eased, discrete,
|
|
13
|
+
* custom properties) is sampled at each frame with `sampleTimelineDoc`, so the value at every frame time is the
|
|
14
|
+
* reference value. `random()` is resolved by seed.
|
|
15
|
+
* - `exportStandalone` writes a work that plays without the editor and without a network: `index.html`, `scene.css`
|
|
16
|
+
* (CSS `@keyframes`, works with scripts off), `scene.js` (a small player, optional) and `assets/` (or one inline
|
|
17
|
+
* HTML file). Deterministic to the byte. Values, selectors, titles and stage markup are checked so nothing can
|
|
18
|
+
* leave its CSS declaration or HTML element; unsafe asset paths become `about:invalid`.
|
|
19
|
+
* - `frameDigest` fingerprints "the same animation" (every frame at a frame rate).
|
|
20
|
+
* - `createFrameExportJob` feeds frames to an adapter (the seam for GIF / video encoders) and can fail, keep a
|
|
21
|
+
* checkpoint and resume — fully independent of the basic export.
|
|
22
|
+
*
|
|
23
|
+
* Pure: the exporter reads no DOM, opens no network and evaluates nothing. The player is a string.
|
|
24
|
+
*/
|
|
25
|
+
const STUDIO_EXPORT_VERSION = 1;
|
|
26
|
+
const BAKED_FORMAT = 'motionary-baked';
|
|
27
|
+
const FRAME_JOB_FORMAT = 'motionary-frame-job';
|
|
28
|
+
/** Hard limits: baked points per scene (all tracks and properties), frames per job, frame rate range. */
|
|
29
|
+
const EXPORT_LIMITS = { points: 200000, frames: 100000, fpsMin: 1, fpsMax: 240 };
|
|
30
|
+
const isObj = (v) => !!v && typeof v === 'object' && !Array.isArray(v);
|
|
31
|
+
const fail = (m) => new format.TimelineDocError([{ path: '', message: m }]);
|
|
32
|
+
const fpsOf = (fps = 60) => {
|
|
33
|
+
if (!(Number.isInteger(fps) && fps >= EXPORT_LIMITS.fpsMin && fps <= EXPORT_LIMITS.fpsMax))
|
|
34
|
+
throw fail(`fps: expected an integer in ${EXPORT_LIMITS.fpsMin}–${EXPORT_LIMITS.fpsMax}`);
|
|
35
|
+
return fps;
|
|
36
|
+
};
|
|
37
|
+
const docOf = (input) => (isObj(input) && typeof input.pack === 'string' ? components_studioAssets.unpackStudioProject(input.pack).project.doc : project.parseStudioProject(input).doc);
|
|
38
|
+
const cssName = (p) => (p.startsWith('--') ? p : p.replace(/[A-Z]/g, (c) => '-' + c.toLowerCase()));
|
|
39
|
+
const HEX = /^#([0-9a-f]{3}|[0-9a-f]{6})$/i;
|
|
40
|
+
const hexRgb = (v) => {
|
|
41
|
+
const m = typeof v === 'string' ? HEX.exec(v.trim()) : null;
|
|
42
|
+
if (!m)
|
|
43
|
+
return v;
|
|
44
|
+
const s = m[1].length === 3 ? m[1].replace(/./g, (c) => c + c) : m[1];
|
|
45
|
+
return `rgb(${parseInt(s.slice(0, 2), 16)}, ${parseInt(s.slice(2, 4), 16)}, ${parseInt(s.slice(4, 6), 16)})`;
|
|
46
|
+
};
|
|
47
|
+
// properties the browser interpolates linearly component by component (so CSS between two end points = the preview)
|
|
48
|
+
const CSS_LINEAR = /^(opacity|transform|translate|rotate|scale|filter|backdrop-filter|(.+-)?color|fill|stroke|stroke-(width|dashoffset)|(min-|max-)?(width|height)|top|left|right|bottom|inset|(margin|padding)(-(top|right|bottom|left))?|border(-(top|right|bottom|left))?-width|border(-(top|bottom)-(left|right))?-radius|font-size|letter-spacing|word-spacing|(row-|column-)?gap|box-shadow|text-shadow|background-(position|size)|offset-distance|outline-offset|perspective|flex-(grow|shrink))$/;
|
|
49
|
+
const lerpable = (prop, a, b, easing) => {
|
|
50
|
+
if (a === b)
|
|
51
|
+
return true;
|
|
52
|
+
if ((easing && easing !== 'linear') || !CSS_LINEAR.test(cssName(prop)))
|
|
53
|
+
return false;
|
|
54
|
+
if (typeof a === 'number' && typeof b === 'number')
|
|
55
|
+
return true;
|
|
56
|
+
const m = preview.interpolateValue(a, b, 0.5);
|
|
57
|
+
return m !== a && m !== b;
|
|
58
|
+
};
|
|
59
|
+
/** Per-property points of every active track; the value at each frame time at `fps` equals `sampleTimelineDoc`. */
|
|
60
|
+
function bakeScene(input, o = {}) {
|
|
61
|
+
const fps = fpsOf(o.fps), doc = docOf(input), D = format.timelineDocDuration(doc), seed = doc.seed ?? 1;
|
|
62
|
+
const cache = new Map();
|
|
63
|
+
const at = (t) => { let f = cache.get(t); if (!f)
|
|
64
|
+
cache.set(t, (f = preview.sampleTimelineDoc(doc, t))); return f; };
|
|
65
|
+
let points = 0;
|
|
66
|
+
const count = (n) => { if ((points += n) > EXPORT_LIMITS.points)
|
|
67
|
+
throw fail(`more than ${EXPORT_LIMITS.points} baked points (frames): shorten the eased / discrete segments or lower fps`); };
|
|
68
|
+
const tracks = [];
|
|
69
|
+
for (const l of doc.layers) {
|
|
70
|
+
if (l.type !== 'track' || !l.keyframes?.length || !format.isLayerActive(doc, l.id))
|
|
71
|
+
continue;
|
|
72
|
+
const ks = l.keyframes.map((k, i) => [k, i]).sort((x, y) => x[0].time - y[0].time || x[1] - y[1]).map(([k]) => k);
|
|
73
|
+
const names = [];
|
|
74
|
+
for (const k of ks)
|
|
75
|
+
for (const n of Object.keys(k.props))
|
|
76
|
+
if (!names.includes(n))
|
|
77
|
+
names.push(n);
|
|
78
|
+
const props = {};
|
|
79
|
+
for (const name of names.sort()) {
|
|
80
|
+
const own = ks.filter((k) => name in k.props);
|
|
81
|
+
const val = (i) => format.resolveRandom(own[i].props[name], seed, `${l.id}/${own[i].id}/${name}`);
|
|
82
|
+
const pts = [];
|
|
83
|
+
for (let i = 0; i < own.length; i++) {
|
|
84
|
+
const a = own[i];
|
|
85
|
+
pts.push([a.time, val(i)]);
|
|
86
|
+
const b = own[i + 1];
|
|
87
|
+
if (!b || b.time <= a.time || a.time >= D || lerpable(name, val(i), val(i + 1), a.easing))
|
|
88
|
+
continue;
|
|
89
|
+
const end = Math.min(b.time, D);
|
|
90
|
+
const n0 = Math.floor((a.time * fps) / 1000) + 1, n1 = Math.ceil((end * fps) / 1000);
|
|
91
|
+
count(Math.max(0, n1 - n0));
|
|
92
|
+
for (let n = n0; n < n1 + 1; n++) {
|
|
93
|
+
const t = project.frameTime((n * 1000) / fps, fps);
|
|
94
|
+
if (t > a.time && t < end)
|
|
95
|
+
pts.push([t, at(t).layers[l.id][name]]);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
// cut at the duration (the value there is the sampled one), hold the first / last value from 0 / to the end
|
|
99
|
+
let cut = pts.filter((p) => p[0] < D || (p[0] === D));
|
|
100
|
+
if (cut.length < pts.length && (!cut.length || cut[cut.length - 1][0] < D))
|
|
101
|
+
cut.push([D, at(D).layers[l.id][name]]);
|
|
102
|
+
if (!cut.length)
|
|
103
|
+
cut = [[D, at(D).layers[l.id][name]]];
|
|
104
|
+
if (cut[0][0] > 0)
|
|
105
|
+
cut.unshift([0, cut[0][1]]);
|
|
106
|
+
if (cut[cut.length - 1][0] < D)
|
|
107
|
+
cut.push([D, cut[cut.length - 1][1]]);
|
|
108
|
+
count(cut.length);
|
|
109
|
+
props[name] = cut.map(([t, v]) => [t, hexRgb(v)]);
|
|
110
|
+
}
|
|
111
|
+
tracks.push({ id: l.id, target: l.target || ':scope', props });
|
|
112
|
+
}
|
|
113
|
+
return { format: BAKED_FORMAT, version: 1, duration: D, fps, seed, tracks };
|
|
114
|
+
}
|
|
115
|
+
const r4 = (n) => { const r = Math.round(n * 1e4) / 1e4; return r === 0 ? 0 : r; };
|
|
116
|
+
const NUM = /-?(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?/gi;
|
|
117
|
+
const lerp = (a, b, p) => {
|
|
118
|
+
if (typeof a === 'number' && typeof b === 'number')
|
|
119
|
+
return r4(a + (b - a) * p);
|
|
120
|
+
const x = String(a).match(NUM) || [], y = String(b).match(NUM) || [];
|
|
121
|
+
if (x.length && x.length === y.length && String(a).replace(NUM, '#') === String(b).replace(NUM, '#')) {
|
|
122
|
+
let i = 0;
|
|
123
|
+
const c = /^rgba?\(/.test(String(a));
|
|
124
|
+
return String(a).replace(NUM, () => { const k = i++, v = +x[k] + (+y[k] - +x[k]) * p; return String(c && k < 3 ? Math.min(255, Math.max(0, Math.round(v))) : r4(v)); });
|
|
125
|
+
}
|
|
126
|
+
return a;
|
|
127
|
+
};
|
|
128
|
+
const valueAt = (q, t) => {
|
|
129
|
+
let lo = 0, hi = q.length - 1;
|
|
130
|
+
if (t <= q[0][0])
|
|
131
|
+
return q[0][1];
|
|
132
|
+
if (t >= q[hi][0])
|
|
133
|
+
return q[hi][1];
|
|
134
|
+
while (hi - lo > 1) {
|
|
135
|
+
const m = (lo + hi) >> 1;
|
|
136
|
+
if (q[m][0] <= t)
|
|
137
|
+
lo = m;
|
|
138
|
+
else
|
|
139
|
+
hi = m;
|
|
140
|
+
}
|
|
141
|
+
const a = q[lo], b = q[hi];
|
|
142
|
+
return a[0] === t ? a[1] : lerp(a[1], b[1], (t - a[0]) / (b[0] - a[0]));
|
|
143
|
+
};
|
|
144
|
+
/** The baked scene at `time` (what the exported player writes; equals `sampleTimelineDoc` at every frame time). */
|
|
145
|
+
function sampleBaked(b, time) {
|
|
146
|
+
const t = Math.min(Math.max(Number.isFinite(time) ? time : 0, 0), b.duration), layers = {};
|
|
147
|
+
for (const tr of b.tracks) {
|
|
148
|
+
const s = {};
|
|
149
|
+
for (const p of Object.keys(tr.props))
|
|
150
|
+
s[p] = valueAt(tr.props[p], t);
|
|
151
|
+
layers[tr.id] = s;
|
|
152
|
+
}
|
|
153
|
+
return { time: t, layers };
|
|
154
|
+
}
|
|
155
|
+
// CRC-32, incremental (same polynomial as the 14.5 pack)
|
|
156
|
+
let TABLE;
|
|
157
|
+
const crcUpdate = (c, b) => {
|
|
158
|
+
if (!TABLE) {
|
|
159
|
+
TABLE = new Uint32Array(256);
|
|
160
|
+
for (let n = 0; n < 256; n++) {
|
|
161
|
+
let x = n;
|
|
162
|
+
for (let k = 0; k < 8; k++)
|
|
163
|
+
x = x & 1 ? 0xedb88320 ^ (x >>> 1) : x >>> 1;
|
|
164
|
+
TABLE[n] = x >>> 0;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
for (let i = 0; i < b.length; i++)
|
|
168
|
+
c = TABLE[(c ^ b[i]) & 0xff] ^ (c >>> 8);
|
|
169
|
+
return c;
|
|
170
|
+
};
|
|
171
|
+
const frameCount = (D, fps) => { let n = 0; while (project.frameTime((n * 1000) / fps, fps) <= D + 1e-9)
|
|
172
|
+
n++; return n; };
|
|
173
|
+
/** Fingerprint of every frame at `fps` (default 60): `mfd1-<fps>-<frames>-<crc32>`. Same text ⇔ same frames. */
|
|
174
|
+
function frameDigest(input, o = {}) {
|
|
175
|
+
const fps = fpsOf(o.fps), doc = docOf(input), D = format.timelineDocDuration(doc), n = frameCount(D, fps), te = new TextEncoder();
|
|
176
|
+
if (n > EXPORT_LIMITS.frames)
|
|
177
|
+
throw fail(`more than ${EXPORT_LIMITS.frames} frames`);
|
|
178
|
+
let c = 0xffffffff;
|
|
179
|
+
for (let i = 0; i < n; i++)
|
|
180
|
+
c = crcUpdate(c, te.encode(JSON.stringify(preview.sampleTimelineDoc(doc, project.frameTime((i * 1000) / fps, fps))) + '\n'));
|
|
181
|
+
return `mfd1-${fps}-${n}-${((c ^ 0xffffffff) >>> 0).toString(16).padStart(8, '0')}`;
|
|
182
|
+
}
|
|
183
|
+
// --- standalone export ----------------------------------------------------------------------------------------------
|
|
184
|
+
const URL_RE = /url\(\s*(?:"([^"]*)"|'([^']*)'|([^)'"\s]*))\s*\)/g;
|
|
185
|
+
const SRC_PROP = /(^|-)src$/i;
|
|
186
|
+
const UNSAFE_VALUE = /[;{}<>\\\n\r]|\/\*|@import|expression\s*\(|javascript:|behavior\s*:|-moz-binding/i;
|
|
187
|
+
const UNSAFE_REF = /["'\\\n\r<>]/;
|
|
188
|
+
const SAFE_TARGET = /^[^{}<>;\\@\n\r"]+$/;
|
|
189
|
+
const MIME = { png: 'image/png', jpg: 'image/jpeg', jpeg: 'image/jpeg', gif: 'image/gif', apng: 'image/apng', webp: 'image/webp', avif: 'image/avif', bmp: 'image/bmp', ico: 'image/x-icon', svg: 'image/svg+xml', woff2: 'font/woff2', woff: 'font/woff', ttf: 'font/ttf', otf: 'font/otf', mp4: 'video/mp4', webm: 'video/webm', mov: 'video/quicktime', m4v: 'video/mp4', ogv: 'video/ogg', mp3: 'audio/mpeg', wav: 'audio/wav', ogg: 'audio/ogg', oga: 'audio/ogg', m4a: 'audio/mp4', aac: 'audio/aac', flac: 'audio/flac', opus: 'audio/opus', json: 'application/json', csv: 'text/csv', txt: 'text/plain', vtt: 'text/vtt' };
|
|
190
|
+
const mime = (p) => MIME[p.split('.').pop().toLowerCase()] || 'application/octet-stream';
|
|
191
|
+
const pct = (b) => { let s = ''; for (let i = 0; i < b.length; i++) {
|
|
192
|
+
const c = b[i];
|
|
193
|
+
s += /[A-Za-z0-9\-._~/,:=@+]/.test(String.fromCharCode(c)) ? String.fromCharCode(c) : '%' + (c < 16 ? '0' : '') + c.toString(16).toUpperCase();
|
|
194
|
+
} return s; };
|
|
195
|
+
const encPath = (p) => p.split('/').map((s) => encodeURIComponent(s).replace(/[!'()*]/g, (c) => '%' + c.charCodeAt(0).toString(16).toUpperCase())).join('/');
|
|
196
|
+
const esc = (s) => s.replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>').replace(/"/g, '"');
|
|
197
|
+
const num = (n) => String(r4(n));
|
|
198
|
+
const offset = (t, D) => (D > 0 ? String(+((t / D) * 100).toFixed(5)) : '0') + '%';
|
|
199
|
+
/** Your stage markup with scripts, frames, embeds, inline handlers and javascript: URLs removed (a guard, not a sanitizer for untrusted HTML). */
|
|
200
|
+
function cleanStage(html) {
|
|
201
|
+
return String(html)
|
|
202
|
+
.replace(/<script\b[\s\S]*?<\/script\s*>/gi, '')
|
|
203
|
+
.replace(/<(iframe|object|embed|frameset|frame|noembed|template)\b[\s\S]*?<\/\1\s*>/gi, '')
|
|
204
|
+
.replace(/<\/?(script|iframe|object|embed|frameset|frame|meta|link|base|style|noembed|template)\b[^>]*>/gi, '')
|
|
205
|
+
.replace(/\s+on[a-z]+\s*=\s*("[^"]*"|'[^']*'|[^\s>]+)/gi, '')
|
|
206
|
+
.replace(/\s+(href|src|action|formaction|xlink:href|srcdoc)\s*=\s*("\s*(javascript|vbscript|data):[^"]*"|'\s*(javascript|vbscript|data):[^']*'|(javascript|vbscript|data):[^\s>]*)/gi, '')
|
|
207
|
+
.replace(/javascript:/gi, '');
|
|
208
|
+
}
|
|
209
|
+
/** Standalone HTML / CSS (+ player JS) + assets for a project; deterministic. Never throws for asset problems — they are in `report`. */
|
|
210
|
+
function exportStandalone(input, o = {}) {
|
|
211
|
+
const fps = fpsOf(o.fps), inline = !!o.inline, js = o.js !== false;
|
|
212
|
+
let doc, files = o.assets || {};
|
|
213
|
+
if (isObj(input) && typeof input.pack === 'string') {
|
|
214
|
+
const u = components_studioAssets.unpackStudioProject(input.pack);
|
|
215
|
+
doc = u.project.doc;
|
|
216
|
+
if (!o.assets)
|
|
217
|
+
files = u.files;
|
|
218
|
+
}
|
|
219
|
+
else
|
|
220
|
+
doc = project.parseStudioProject(input).doc;
|
|
221
|
+
const get = (p) => (files instanceof Map ? files.get(p) : Object.prototype.hasOwnProperty.call(files, p) ? files[p] : undefined);
|
|
222
|
+
const digest = frameDigest(doc, { fps });
|
|
223
|
+
const warnings = [], copied = new Set(), missing = new Set(), external = new Set(), rejected = [];
|
|
224
|
+
const out = new Map();
|
|
225
|
+
components_studioAssets.collectAssetRefs(doc, { report: true }); // throws for more assets than the limit, like a pack
|
|
226
|
+
const mapRef = (ref, src, layer, prop) => {
|
|
227
|
+
if (UNSAFE_REF.test(ref)) {
|
|
228
|
+
rejected.push({ ref, reason: 'unsafe', layer, prop });
|
|
229
|
+
return 'about:invalid';
|
|
230
|
+
}
|
|
231
|
+
if (components_studioAssets.isExternalAsset(ref)) {
|
|
232
|
+
if (src && UNSAFE_VALUE.test(ref)) {
|
|
233
|
+
rejected.push({ ref, reason: 'unsafe', layer, prop });
|
|
234
|
+
return 'about:invalid';
|
|
235
|
+
}
|
|
236
|
+
external.add(ref);
|
|
237
|
+
return ref;
|
|
238
|
+
}
|
|
239
|
+
let p;
|
|
240
|
+
try {
|
|
241
|
+
p = components_studioAssets.normalizeAssetPath(ref);
|
|
242
|
+
}
|
|
243
|
+
catch (e) {
|
|
244
|
+
rejected.push({ ref, reason: e instanceof components_studioAssets.AssetPathError ? e.reason : 'invalid', layer, prop });
|
|
245
|
+
return 'about:invalid';
|
|
246
|
+
}
|
|
247
|
+
if (components_studioAssets.assetKind(p) === 'script') {
|
|
248
|
+
rejected.push({ ref, reason: 'script', layer, prop });
|
|
249
|
+
return 'about:invalid';
|
|
250
|
+
}
|
|
251
|
+
const b = get(p);
|
|
252
|
+
if (!b) {
|
|
253
|
+
missing.add(p);
|
|
254
|
+
return 'assets/' + encPath(p);
|
|
255
|
+
}
|
|
256
|
+
copied.add(p);
|
|
257
|
+
if (inline)
|
|
258
|
+
return src ? `data:${mime(p)},${pct(b)}` : `data:${mime(p)};base64,${components_studioAssets.toBase64(b)}`;
|
|
259
|
+
out.set('assets/' + p, b);
|
|
260
|
+
return 'assets/' + encPath(p);
|
|
261
|
+
};
|
|
262
|
+
// rewrite asset references and drop unsafe values on a copy, then bake that copy
|
|
263
|
+
const safe = JSON.parse(JSON.stringify(doc));
|
|
264
|
+
const dropped = new Set();
|
|
265
|
+
for (const l of safe.layers)
|
|
266
|
+
for (const k of l.keyframes || [])
|
|
267
|
+
for (const prop of Object.keys(k.props)) {
|
|
268
|
+
const v = k.props[prop];
|
|
269
|
+
if (typeof v !== 'string' || dropped.has(l.id + '\0' + prop))
|
|
270
|
+
continue;
|
|
271
|
+
const bare = v.replace(URL_RE, 'url()');
|
|
272
|
+
const srcWhole = !/url\(/i.test(v) && SRC_PROP.test(prop) && !!v.trim() && v.trim()[0] !== '#';
|
|
273
|
+
if (!srcWhole && UNSAFE_VALUE.test(bare)) {
|
|
274
|
+
dropped.add(l.id + '\0' + prop);
|
|
275
|
+
warnings.push(`unsafe value in ${l.id}.${prop} — property left out of the export`);
|
|
276
|
+
continue;
|
|
277
|
+
}
|
|
278
|
+
k.props[prop] = srcWhole ? mapRef(v.trim(), true, l.id, prop) : v.replace(URL_RE, (m, a, b2, c) => { const ref = a ?? b2 ?? c ?? ''; return !ref || ref[0] === '#' ? (UNSAFE_REF.test(ref) ? 'url("about:invalid")' : `url("${ref}")`) : `url("${mapRef(ref, false, l.id, prop)}")`; });
|
|
279
|
+
}
|
|
280
|
+
for (const l of safe.layers)
|
|
281
|
+
for (const k of l.keyframes || [])
|
|
282
|
+
for (const prop of Object.keys(k.props))
|
|
283
|
+
if (dropped.has(l.id + '\0' + prop))
|
|
284
|
+
delete k.props[prop];
|
|
285
|
+
const baked = bakeScene(safe, { fps });
|
|
286
|
+
const tracks = baked.tracks.filter((t) => {
|
|
287
|
+
if (t.target === ':scope' || SAFE_TARGET.test(t.target))
|
|
288
|
+
return true;
|
|
289
|
+
warnings.push(`unsafe target ${JSON.stringify(t.target.slice(0, 60))} on ${t.id} — track left out of the export`);
|
|
290
|
+
return false;
|
|
291
|
+
});
|
|
292
|
+
const D = baked.duration;
|
|
293
|
+
// CSS: one @keyframes per track, linear between the baked points; scripts off → CSS plays, scripts on → the player
|
|
294
|
+
const css = [`/* motionary studio/export v${STUDIO_EXPORT_VERSION} ${digest} */`, '[data-motionary-export] { position: relative; }'];
|
|
295
|
+
const rules = [], reduced = [];
|
|
296
|
+
let points = 0;
|
|
297
|
+
tracks.forEach((t, i) => {
|
|
298
|
+
const blocks = new Map();
|
|
299
|
+
for (const p of Object.keys(t.props))
|
|
300
|
+
for (const [time, v] of t.props[p]) {
|
|
301
|
+
points++;
|
|
302
|
+
(blocks.get(time) || blocks.set(time, []).get(time)).push(`${cssName(p)}: ${typeof v === 'number' ? num(v) : v};`);
|
|
303
|
+
}
|
|
304
|
+
css.push(`@keyframes mo-${i} {\n${[...blocks.keys()].sort((a, b) => a - b).map((time) => ` ${offset(time, D)} { ${blocks.get(time).join(' ')} }`).join('\n')}\n}`);
|
|
305
|
+
const sel = t.target === ':scope' ? 'html:not(.mo-js) [data-motionary-export]' : `html:not(.mo-js) [data-motionary-export] ${t.target}`;
|
|
306
|
+
rules.push(`${sel} { animation: mo-${i} ${num(D)}ms linear 0ms ${o.loop ? 'infinite' : '1'} both; }`);
|
|
307
|
+
reduced.push(` ${sel} { animation: mo-${i} 1ms linear 0ms 1 both; }`);
|
|
308
|
+
});
|
|
309
|
+
css.push(...rules);
|
|
310
|
+
if (reduced.length)
|
|
311
|
+
css.push(`@media (prefers-reduced-motion: reduce) {\n${reduced.join('\n')}\n}`);
|
|
312
|
+
const cssText = css.join('\n') + '\n';
|
|
313
|
+
// stage
|
|
314
|
+
let stage, stageKind;
|
|
315
|
+
if (typeof o.stage === 'string') {
|
|
316
|
+
stage = cleanStage(o.stage);
|
|
317
|
+
stageKind = 'given';
|
|
318
|
+
}
|
|
319
|
+
else {
|
|
320
|
+
const seen = new Set(), els = [];
|
|
321
|
+
for (const t of tracks) {
|
|
322
|
+
if (seen.has(t.target))
|
|
323
|
+
continue;
|
|
324
|
+
seen.add(t.target);
|
|
325
|
+
let m;
|
|
326
|
+
if ((m = /^#([\w-]+)$/.exec(t.target)))
|
|
327
|
+
els.push(`<div id="${m[1]}"></div>`);
|
|
328
|
+
else if ((m = /^\.([\w-]+)$/.exec(t.target)))
|
|
329
|
+
els.push(`<div class="${m[1]}"></div>`);
|
|
330
|
+
else if (/^[a-z][a-z0-9]*(-[a-z0-9]+)*$/.test(t.target) && !/^(script|style|iframe|object|embed|frame|frameset|meta|link|base|template|noembed)$/.test(t.target))
|
|
331
|
+
els.push(`<${t.target}></${t.target}>`);
|
|
332
|
+
}
|
|
333
|
+
stage = els.join('\n');
|
|
334
|
+
stageKind = 'generated';
|
|
335
|
+
}
|
|
336
|
+
const data = JSON.stringify({ v: 1, d: D, fps, loop: !!o.loop, digest, tracks: tracks.map((t) => ({ t: t.target, p: Object.fromEntries(Object.keys(t.props).map((p) => [cssName(p), t.props[p]])) })) })
|
|
337
|
+
.replace(/</g, '\\u003c').replace(/>/g, '\\u003e').replace(/\u2028/g, '\\u2028').replace(/\u2029/g, '\\u2029');
|
|
338
|
+
const html = [
|
|
339
|
+
'<!doctype html>', `<html lang="${esc(o.lang || 'en')}">`, '<head>', '<meta charset="utf-8">', '<meta name="viewport" content="width=device-width,initial-scale=1">',
|
|
340
|
+
`<meta name="generator" content="motionary studio/export v${STUDIO_EXPORT_VERSION}">`, `<meta name="motionary-digest" content="${digest}">`,
|
|
341
|
+
`<title>${esc(o.title ?? doc.name ?? 'Motionary export')}</title>`, inline ? `<style>\n${cssText}</style>` : '<link rel="stylesheet" href="scene.css">', '</head>', '<body>',
|
|
342
|
+
'<main data-motionary-export>', stage, '</main>',
|
|
343
|
+
...(js ? [`<script type="application/json" id="motionary-scene">${data}</script>`, inline ? `<script>${PLAYER_JS}</script>` : '<script src="scene.js" defer></script>'] : []),
|
|
344
|
+
'</body>', '</html>', '',
|
|
345
|
+
].join('\n');
|
|
346
|
+
out.set('index.html', html);
|
|
347
|
+
if (!inline) {
|
|
348
|
+
out.set('scene.css', cssText);
|
|
349
|
+
if (js)
|
|
350
|
+
out.set('scene.js', PLAYER_JS + '\n');
|
|
351
|
+
}
|
|
352
|
+
const files2 = new Map([...out.entries()].sort((a, b) => (a[0] < b[0] ? -1 : a[0] > b[0] ? 1 : 0)));
|
|
353
|
+
const sorted = (s) => [...s].sort();
|
|
354
|
+
return {
|
|
355
|
+
files: files2,
|
|
356
|
+
report: { ok: !missing.size && !rejected.length && !warnings.length, digest, duration: D, fps, tracks: tracks.length, points, stage: stageKind, assets: { copied: sorted(copied), missing: sorted(missing), external: sorted(external), rejected }, warnings },
|
|
357
|
+
};
|
|
358
|
+
}
|
|
359
|
+
/** Feed every frame (`sampleTimelineDoc` at `fps`) to `adapter`; a failure keeps a checkpoint, `resume()` continues there. */
|
|
360
|
+
function createFrameExportJob(input, o) {
|
|
361
|
+
const fps = fpsOf(o.fps), doc = docOf(input), D = format.timelineDocDuration(doc), total = frameCount(D, fps), digest = frameDigest(doc, { fps });
|
|
362
|
+
if (total > EXPORT_LIMITS.frames)
|
|
363
|
+
throw fail(`more than ${EXPORT_LIMITS.frames} frames`);
|
|
364
|
+
let next = 0, status = 'idle', error, begun = false, running;
|
|
365
|
+
const cp = o.checkpoint;
|
|
366
|
+
if (cp !== undefined) {
|
|
367
|
+
if (!isObj(cp) || cp.format !== FRAME_JOB_FORMAT || cp.version !== 1 || cp.digest !== digest || cp.fps !== fps || cp.total !== total || !Number.isInteger(cp.next) || cp.next < 0 || cp.next > total)
|
|
368
|
+
throw fail('checkpoint does not belong to this scene / frame rate');
|
|
369
|
+
next = cp.next;
|
|
370
|
+
}
|
|
371
|
+
const from = next;
|
|
372
|
+
const res = (ok, result) => ({ ok, status, next, total, ...(ok ? { result } : { error }) });
|
|
373
|
+
const go = async () => {
|
|
374
|
+
status = 'running';
|
|
375
|
+
error = undefined;
|
|
376
|
+
try {
|
|
377
|
+
if (!begun) {
|
|
378
|
+
await o.adapter.begin?.({ fps, total, from, duration: D, digest });
|
|
379
|
+
begun = true;
|
|
380
|
+
}
|
|
381
|
+
while (next < total) {
|
|
382
|
+
if (status === 'aborted')
|
|
383
|
+
return res(false);
|
|
384
|
+
await o.adapter.frame(next, preview.sampleTimelineDoc(doc, project.frameTime((next * 1000) / fps, fps)));
|
|
385
|
+
if (status === 'aborted')
|
|
386
|
+
return res(false);
|
|
387
|
+
next++;
|
|
388
|
+
o.onProgress?.(next, total);
|
|
389
|
+
}
|
|
390
|
+
const result = await o.adapter.end?.();
|
|
391
|
+
status = 'done';
|
|
392
|
+
return res(true, result);
|
|
393
|
+
}
|
|
394
|
+
catch (e) {
|
|
395
|
+
if (status === 'aborted')
|
|
396
|
+
return res(false);
|
|
397
|
+
status = 'failed';
|
|
398
|
+
error = e;
|
|
399
|
+
return res(false);
|
|
400
|
+
}
|
|
401
|
+
};
|
|
402
|
+
const job = {
|
|
403
|
+
get status() { return status; },
|
|
404
|
+
get next() { return next; },
|
|
405
|
+
get total() { return total; },
|
|
406
|
+
get error() { return error; },
|
|
407
|
+
get checkpoint() { return { format: FRAME_JOB_FORMAT, version: 1, digest, fps, next, total }; },
|
|
408
|
+
run() {
|
|
409
|
+
if (status === 'aborted')
|
|
410
|
+
return Promise.reject(fail('frame export job was aborted'));
|
|
411
|
+
if (running)
|
|
412
|
+
return running;
|
|
413
|
+
if (status === 'done')
|
|
414
|
+
return Promise.resolve(res(true));
|
|
415
|
+
const p = (running = go());
|
|
416
|
+
p.then(() => { if (running === p)
|
|
417
|
+
running = undefined; });
|
|
418
|
+
return p;
|
|
419
|
+
},
|
|
420
|
+
resume() { return job.run(); },
|
|
421
|
+
abort(reason) {
|
|
422
|
+
if (status === 'done' || status === 'aborted')
|
|
423
|
+
return;
|
|
424
|
+
status = 'aborted';
|
|
425
|
+
error = reason;
|
|
426
|
+
try {
|
|
427
|
+
o.adapter.abort?.(reason);
|
|
428
|
+
}
|
|
429
|
+
catch { /* adapter cleanup must not throw into the caller */ }
|
|
430
|
+
},
|
|
431
|
+
};
|
|
432
|
+
return job;
|
|
433
|
+
}
|
|
434
|
+
/** A deterministic adapter that keeps every frame state (for tests, or to hand frames to another process). */
|
|
435
|
+
function createJsonFramesAdapter() {
|
|
436
|
+
let fps = 60, digest = '';
|
|
437
|
+
const frames = [];
|
|
438
|
+
return {
|
|
439
|
+
frames,
|
|
440
|
+
begin(i) { fps = i.fps; digest = i.digest; },
|
|
441
|
+
frame(i, f) { frames[i] = JSON.parse(JSON.stringify(f)); },
|
|
442
|
+
end() { return { fps, digest, frames: frames.slice() }; },
|
|
443
|
+
};
|
|
444
|
+
}
|
|
445
|
+
/**
|
|
446
|
+
* The player inside an export (ES5, no dependencies, ~1.7 KB): reads the baked data from
|
|
447
|
+
* `<script type="application/json" id="motionary-scene">`, writes each frame as inline styles under
|
|
448
|
+
* `[data-motionary-export]` (the CSS fallback is switched off by `<html class="mo-js">`) and exposes
|
|
449
|
+
* `motionary.{seek(ms), play(), pause(), duration, digest, time}`. `?t=<ms>` freezes a frame; reduced motion shows the
|
|
450
|
+
* final frame.
|
|
451
|
+
*/
|
|
452
|
+
const PLAYER_JS = ('(function(){var W=window,D=document,E=D.getElementById("motionary-scene");if(!E)return;' +
|
|
453
|
+
'var S=JSON.parse(E.textContent),R=D.querySelector("[data-motionary-export]")||D.body,N=/-?(?:\\d+\\.?\\d*|\\.\\d+)(?:e[-+]?\\d+)?/gi,T=0,id=0,last=0;' +
|
|
454
|
+
'function r4(n){n=Math.round(n*1e4)/1e4;return n===0?0:n}' +
|
|
455
|
+
'function lerp(a,b,p){if(typeof a=="number"&&typeof b=="number")return r4(a+(b-a)*p);a=String(a);b=String(b);var x=a.match(N)||[],y=b.match(N)||[];' +
|
|
456
|
+
'if(x.length&&x.length===y.length&&a.replace(N,"#")===b.replace(N,"#")){var i=0,c=/^rgba?\\(/.test(a);return a.replace(N,function(){var k=i++,v=+x[k]+(+y[k]-+x[k])*p;return String(c&&k<3?Math.min(255,Math.max(0,Math.round(v))):r4(v))})}return a}' +
|
|
457
|
+
'function at(q,t){var lo=0,hi=q.length-1;if(t<=q[0][0])return q[0][1];if(t>=q[hi][0])return q[hi][1];while(hi-lo>1){var m=(lo+hi)>>1;if(q[m][0]<=t)lo=m;else hi=m}var a=q[lo],b=q[hi];return a[0]===t?a[1]:lerp(a[1],b[1],(t-a[0])/(b[0]-a[0]))}' +
|
|
458
|
+
'var els=S.tracks.map(function(k){if(k.t===":scope")return[R];try{return[].slice.call(R.querySelectorAll(k.t))}catch(e){return[]}});' +
|
|
459
|
+
'function seek(t){t=+t||0;T=Math.min(Math.max(t,0),S.d);S.tracks.forEach(function(k,i){for(var p in k.p){var v=String(at(k.p[p],T));els[i].forEach(function(e){e.style.setProperty(p,v)})}});return T}' +
|
|
460
|
+
'function tick(n){T+=n-last;last=n;if(T>=S.d){if(S.loop&&S.d>0)T=T%S.d;else{seek(S.d);id=0;return}}seek(T);id=W.requestAnimationFrame(tick)}' +
|
|
461
|
+
'function play(){if(id)return;if(T>=S.d&&!S.loop)T=0;last=W.performance.now();id=W.requestAnimationFrame(tick)}' +
|
|
462
|
+
'function pause(){if(id&&W.cancelAnimationFrame)W.cancelAnimationFrame(id);id=0}' +
|
|
463
|
+
'D.documentElement.classList.add("mo-js");var q=/[?&]t=([\\d.]+)/.exec(W.location.search),rm=W.matchMedia&&W.matchMedia("(prefers-reduced-motion: reduce)").matches;' +
|
|
464
|
+
'W.motionary={duration:S.d,digest:S.digest,seek:seek,play:play,pause:pause,get time(){return T}};' +
|
|
465
|
+
'if(q)seek(+q[1]);else if(rm)seek(S.d);else{seek(0);play()}})();');
|
|
466
|
+
|
|
467
|
+
exports.BAKED_FORMAT = BAKED_FORMAT;
|
|
468
|
+
exports.EXPORT_LIMITS = EXPORT_LIMITS;
|
|
469
|
+
exports.FRAME_JOB_FORMAT = FRAME_JOB_FORMAT;
|
|
470
|
+
exports.PLAYER_JS = PLAYER_JS;
|
|
471
|
+
exports.STUDIO_EXPORT_VERSION = STUDIO_EXPORT_VERSION;
|
|
472
|
+
exports.bakeScene = bakeScene;
|
|
473
|
+
exports.cleanStage = cleanStage;
|
|
474
|
+
exports.createFrameExportJob = createFrameExportJob;
|
|
475
|
+
exports.createJsonFramesAdapter = createJsonFramesAdapter;
|
|
476
|
+
exports.exportStandalone = exportStandalone;
|
|
477
|
+
exports.frameDigest = frameDigest;
|
|
478
|
+
exports.sampleBaked = sampleBaked;
|
|
479
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v14.8.0/dist/components/studio-export.cjs.map
|