motionary 15.9.0 → 16.0.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/AGENTS.md +1 -1
- package/CHANGELOG.md +55 -0
- package/README.md +74 -74
- package/README_ja.md +6 -6
- package/README_zh.md +5 -5
- package/bin/motionary-mcp.mjs +45 -50
- package/bin/motionary.mjs +26 -17
- package/bin/public-paths.mjs +4 -2
- package/dist/chunks/{anim-image-BscH1SqI.cjs → anim-image-CnUJNj8G.cjs} +2 -2
- package/dist/chunks/{anim-image-HCHGeBav.js → anim-image-a9nDCDNx.js} +2 -2
- package/dist/chunks/audio-CWxlWX4e.js +1 -1
- package/dist/chunks/audio-D0LwPShE.cjs +1 -1
- package/dist/chunks/badge-wall-Bj-RRR7j.js +1 -1
- package/dist/chunks/badge-wall-CITexuW7.cjs +1 -1
- package/dist/chunks/base-BvH4nAcv.cjs +1 -1
- package/dist/chunks/base-QrtwTUOO.js +1 -1
- package/dist/chunks/bg-generator-CML8tPN8.cjs +1 -1
- package/dist/chunks/bg-generator-Dj1hH67O.js +1 -1
- package/dist/chunks/bind-B_CTL6Qn.js +1 -1
- package/dist/chunks/bind-Ui43-n2d.cjs +1 -1
- package/dist/chunks/builtins-DQ_KD-84.js +1 -1
- package/dist/chunks/builtins-DweCp29Z.cjs +1 -1
- package/dist/chunks/carousel-DEgoYGFx.js +1 -1
- package/dist/chunks/carousel-DU3rHTq0.cjs +1 -1
- package/dist/chunks/cart-drawer-C0pY0dmc.js +1 -1
- package/dist/chunks/cart-drawer-CkFMKMhx.cjs +1 -1
- package/dist/chunks/code-export-B-eHxa4Z.js +1 -1
- package/dist/chunks/code-export-PdGSl9WE.cjs +1 -1
- package/dist/chunks/color-picker-B_xWVH8H.cjs +1 -1
- package/dist/chunks/color-picker-D15wk7nJ.js +1 -1
- package/dist/chunks/command-palette-BDNe1gMK.js +1 -1
- package/dist/chunks/command-palette-ISetAeX1.cjs +1 -1
- package/dist/chunks/core-BgR-tTTI.js +1 -1
- package/dist/chunks/core-BjcOCpJt.cjs +1 -1
- package/dist/chunks/core-CC1UXXEC.js +1 -1
- package/dist/chunks/core-DbAYRKnS.cjs +1 -1
- package/dist/chunks/core-Dj6iomdc.js +1 -1
- package/dist/chunks/core-DjjKLmZ6.cjs +1 -1
- package/dist/chunks/countdown-CG0Ihedq.js +1 -1
- package/dist/chunks/countdown-RQViryt7.cjs +1 -1
- package/dist/chunks/date-picker-BgApzPNn.cjs +1 -1
- package/dist/chunks/date-picker-DdlDcukY.js +1 -1
- package/dist/chunks/ease-HwYZnZat.cjs +1 -1
- package/dist/chunks/ease-XN8_0sXu.js +1 -1
- package/dist/chunks/equalizer--Sk1CWfZ.js +1 -1
- package/dist/chunks/equalizer-_eD_ZdCl.cjs +1 -1
- package/dist/chunks/festival-banner-BBqV8cdf.js +1 -1
- package/dist/chunks/festival-banner-Bs18K0MJ.cjs +1 -1
- package/dist/chunks/field-DDv6HlpL.js +1 -1
- package/dist/chunks/field-Dwq8-CLN.cjs +1 -1
- package/dist/chunks/{format-efFi6HuG.js → format-BSTz6pm_.js} +16 -14
- package/dist/chunks/{format-DrRrPbjl.cjs → format-b5fQz-vc.cjs} +18 -13
- package/dist/chunks/fx-DaVuB89C.cjs +1 -1
- package/dist/chunks/fx-cO_b2EVv.js +1 -1
- package/dist/chunks/generative-BKoxWOSP.cjs +1 -1
- package/dist/chunks/generative-BNmS-QUD.js +1 -1
- package/dist/chunks/{gl-scene-BKzlNb4E.cjs → gl-scene-BRYMrYWH.cjs} +2 -2
- package/dist/chunks/{gl-scene-DWEdwSYk.js → gl-scene-CT4L4pJC.js} +2 -2
- package/dist/chunks/globe-DA0jyb6s.cjs +1 -1
- package/dist/chunks/globe-l0QidRYi.js +1 -1
- package/dist/chunks/gpu-B5AZJvCt.js +1 -1
- package/dist/chunks/gpu-C2C6iBQC.cjs +1 -1
- package/dist/chunks/gpu-particles-BCpT6_0b.js +1 -1
- package/dist/chunks/gpu-particles-wEO_rds1.cjs +1 -1
- package/dist/chunks/{history-CLzpNgGy.cjs → history-B0Ml40k1.cjs} +18 -24
- package/dist/chunks/{history-6uuzTeIv.js → history-W7ot2kyl.js} +12 -18
- package/dist/chunks/index-C9_FEsfz.cjs +1 -1
- package/dist/chunks/index-Pkno706C.js +1 -1
- package/dist/chunks/index-tags-B-JBecYg.js +1 -1
- package/dist/chunks/index-tags-hLIF2Clq.cjs +1 -1
- package/dist/chunks/key-click-BLm3BI8_.js +1 -1
- package/dist/chunks/key-click-v7I4K5Sr.cjs +1 -1
- package/dist/chunks/{keyframes-Bk4ysJwz.cjs → keyframes-BNndesQm.cjs} +2 -2
- package/dist/chunks/{keyframes-DmwFPNdS.js → keyframes-DFw2w6uU.js} +2 -2
- package/dist/chunks/leaderboard-CbiWHJt6.js +1 -1
- package/dist/chunks/leaderboard-DvSSQ8o3.cjs +1 -1
- package/dist/chunks/location-card-BZn9anlf.js +1 -1
- package/dist/chunks/location-card-DSPTApUe.cjs +1 -1
- package/dist/chunks/lottie-icon-BoxkukMd.cjs +1 -1
- package/dist/chunks/lottie-icon-DeHawSTn.js +1 -1
- package/dist/chunks/{lottie-player-CN-D4xgN.cjs → lottie-player-BRJUQTP9.cjs} +2 -2
- package/dist/chunks/{lottie-player-x3lwdAOs.js → lottie-player-DKGirn7s.js} +2 -2
- package/dist/chunks/lyrics-CRB7dA1j.cjs +1 -1
- package/dist/chunks/lyrics-DVbmLBlN.js +1 -1
- package/dist/chunks/manifest-B0WJg6hn.js +1 -1
- package/dist/chunks/manifest-xr3WET80.cjs +1 -1
- package/dist/chunks/menu-CZ1zHTT9.cjs +1 -1
- package/dist/chunks/menu-CnQ_M2MQ.js +1 -1
- package/dist/chunks/menu-toggle-5XOYiIyd.js +1 -1
- package/dist/chunks/menu-toggle-DGXN4VsN.cjs +1 -1
- package/dist/chunks/nav-morph-C4rD3wrU.cjs +1 -1
- package/dist/chunks/nav-morph-ziuI5hHS.js +1 -1
- package/dist/chunks/otp-Cb48zoUe.js +1 -1
- package/dist/chunks/otp-DUyEWYMi.cjs +1 -1
- package/dist/chunks/pagination-BIufB-g3.js +1 -1
- package/dist/chunks/pagination-DHmYZZU9.cjs +1 -1
- package/dist/chunks/{physics-playground-CnOReDY0.cjs → physics-playground-BPaRX0Tp.cjs} +2 -2
- package/dist/chunks/{physics-playground-BhGV5Hge.js → physics-playground-COST2VVT.js} +2 -2
- package/dist/chunks/{play-DCeKlDqE.cjs → play-D9Utt9rO.cjs} +7 -3
- package/dist/chunks/{play-CQqgxhgJ.js → play-DZ_ho9zJ.js} +7 -3
- package/dist/chunks/player-core-CeaR3esR.cjs +1 -1
- package/dist/chunks/player-core-DAEKafsQ.js +1 -1
- package/dist/chunks/presence-C-dO1CU4.js +1 -1
- package/dist/chunks/presence-DAthlALi.cjs +1 -1
- package/dist/chunks/presets-BYBVJVeP.js +1 -1
- package/dist/chunks/presets-CUHys3sK.cjs +1 -1
- package/dist/chunks/{preview-UQjXLU7f.js → preview-DdgqW96I.js} +3 -7
- package/dist/chunks/{preview-CyTKsXQP.cjs → preview-kiMCBqSF.cjs} +6 -10
- package/dist/chunks/prize-wheel-emDopI5c.cjs +1 -1
- package/dist/chunks/prize-wheel-xiuulNSI.js +1 -1
- package/dist/chunks/product-gallery-BoiBGX9H.js +1 -1
- package/dist/chunks/product-gallery-CKtSVhZk.cjs +1 -1
- package/dist/chunks/progress-ring-BsEz1MN3.js +1 -1
- package/dist/chunks/progress-ring-C75O4MUi.cjs +1 -1
- package/dist/chunks/{project-Blmkuhzk.js → project-CCfILvjg.js} +20 -8
- package/dist/chunks/{project-CX5rdp4c.cjs → project-DiTOvzic.cjs} +20 -8
- package/dist/chunks/prop-panel-DFqga6H5.cjs +1 -1
- package/dist/chunks/prop-panel-DqIbmWmc.js +1 -1
- package/dist/chunks/radar-D-bZRrgs.cjs +1 -1
- package/dist/chunks/radar-t201zj2r.js +1 -1
- package/dist/chunks/reactions-BL2iO8iy.cjs +1 -1
- package/dist/chunks/reactions-CX-_6Suh.js +1 -1
- package/dist/chunks/registry-B1ipgYF7.js +1 -1
- package/dist/chunks/registry-CibnX7Ui.cjs +1 -1
- package/dist/chunks/{registry-DNhh5i4q.cjs → registry-CvFLujxx.cjs} +3 -3
- package/dist/chunks/{registry-Vz-UooRN.js → registry-Dc55SD6l.js} +3 -3
- package/dist/chunks/retro-button-CPAMUUZ2.js +1 -1
- package/dist/chunks/retro-button-DrrBZ6w8.cjs +1 -1
- package/dist/chunks/rive-D6X4J0Mi.cjs +1 -1
- package/dist/chunks/rive-uSPb8arE.js +1 -1
- package/dist/chunks/{runtime-link-CnsMVtL5.js → runtime-link-BGNFxzN5.js} +2 -2
- package/dist/chunks/{runtime-link-C9fXED4A.cjs → runtime-link-DYZKFep6.cjs} +2 -2
- package/dist/chunks/{scene-Dn6a9Id1.js → scene-C7-PUIZK.js} +19 -24
- package/dist/chunks/{scene-C4h75wjo.cjs → scene-U2YkjCm0.cjs} +19 -24
- package/dist/chunks/scroll-driven-CQbwzCdn.cjs +1 -1
- package/dist/chunks/scroll-driven-LghshrWq.js +1 -1
- package/dist/chunks/{scroll-scene-CYChBOFX.js → scroll-scene-B-4b0Ijq.js} +3 -3
- package/dist/chunks/{scroll-scene-DF9Xe5Wi.cjs → scroll-scene-CdJXKGN0.cjs} +3 -3
- package/dist/chunks/segmented-CpB4mKIn.cjs +1 -1
- package/dist/chunks/segmented-KPw5KH1W.js +1 -1
- package/dist/chunks/shader-backdrop-BodjXMhw.cjs +1 -1
- package/dist/chunks/shader-backdrop-JPI5yk7O.js +1 -1
- package/dist/chunks/shared-Bf72wLyt.cjs +1 -1
- package/dist/chunks/shared-CkKHWrtJ.js +1 -1
- package/dist/chunks/shared-jkgRH-Hx.cjs +1 -1
- package/dist/chunks/shared-o9CtwHmi.js +1 -1
- package/dist/chunks/sheet-B38ylIEW.cjs +1 -1
- package/dist/chunks/sheet-CheLvhW_.js +1 -1
- package/dist/chunks/sign-DvZ1jHxE.js +1 -1
- package/dist/chunks/sign-RAkQIWrM.cjs +1 -1
- package/dist/chunks/skeleton-reveal-DDDWXmcC.js +1 -1
- package/dist/chunks/skeleton-reveal-Dsd3Wp0n.cjs +1 -1
- package/dist/chunks/sparkline-DeKhZpVo.cjs +1 -1
- package/dist/chunks/sparkline-u-Oxv7YR.js +1 -1
- package/dist/chunks/spring-XEl_diDJ.cjs +1 -1
- package/dist/chunks/spring-YKWCyYGf.js +1 -1
- package/dist/chunks/stagger-B9sKPwQB.js +1 -1
- package/dist/chunks/stagger-DFKwqOQG.cjs +1 -1
- package/dist/chunks/suggestion-chips-BlX6Fmt-.js +1 -1
- package/dist/chunks/suggestion-chips-CAcbFTr4.cjs +1 -1
- package/dist/chunks/switch-DiTlApGd.cjs +1 -1
- package/dist/chunks/switch-kilxiPM3.js +1 -1
- package/dist/chunks/tab-bar-BBlVAqbq.cjs +1 -1
- package/dist/chunks/tab-bar-CBtsdbcT.js +1 -1
- package/dist/chunks/{ticker-ByIIDwbV.cjs → ticker-CRd7hKGj.cjs} +2 -2
- package/dist/chunks/{ticker-DiXl4Su3.js → ticker-CwX2fczl.js} +2 -2
- package/dist/chunks/tip-UhHR-P4Q.js +1 -1
- package/dist/chunks/tip-VGS3qAUm.cjs +1 -1
- package/dist/chunks/toast-stack-B_bO4fVO.js +1 -1
- package/dist/chunks/toast-stack-DprisNp_.cjs +1 -1
- package/dist/chunks/{tween-js3sOVsg.cjs → tween-BaRBiDNS.cjs} +2 -2
- package/dist/chunks/{tween-BWZ6Lovd.js → tween-DXCGIXDh.js} +2 -2
- package/dist/chunks/upload-progress-CEAWkP-p.cjs +1 -1
- package/dist/chunks/upload-progress-kJz9Mw10.js +1 -1
- package/dist/chunks/{v2-AmFfWfpi.js → v2-C_rZCsjr.js} +3 -3
- package/dist/chunks/{v2-BpVfM1Uo.cjs → v2-El9dfBqV.cjs} +3 -3
- package/dist/chunks/v3-read-BNhrN3tL.cjs +142 -0
- package/dist/chunks/v3-read-BqgIjLQP.js +138 -0
- package/dist/chunks/variants-BtqEJuki.cjs +1 -1
- package/dist/chunks/variants-CDG1W49e.js +1 -1
- package/dist/chunks/viewport-BAXHhZLV.js +1 -1
- package/dist/chunks/viewport-EFYGqMNa.cjs +1 -1
- package/dist/chunks/voice-button-9UauxvT9.cjs +1 -1
- package/dist/chunks/voice-button-leTq2whK.js +1 -1
- package/dist/chunks/weather-card-4Eg6e43D.cjs +1 -1
- package/dist/chunks/weather-card-CL5yJ4rw.js +1 -1
- package/dist/chunks/worker-canvas-BMBXAFWp.cjs +1 -1
- package/dist/chunks/worker-canvas-RGGXvIxH.js +1 -1
- package/dist/chunks/xp-bar-DgVUXJYh.js +1 -1
- package/dist/chunks/xp-bar-DkWfCTfB.cjs +1 -1
- package/dist/components/a11y.cjs +1 -1
- package/dist/components/a11y.js +1 -1
- package/dist/components/ai.cjs +1 -1
- package/dist/components/ai.js +1 -1
- package/dist/components/angular.cjs +1 -1
- package/dist/components/angular.js +1 -1
- package/dist/components/background.cjs +1 -1
- package/dist/components/background.js +1 -1
- package/dist/components/bridge.cjs +1 -1
- package/dist/components/bridge.js +1 -1
- package/dist/components/cards.cjs +1 -1
- package/dist/components/cards.js +1 -1
- package/dist/components/click.cjs +1 -1
- package/dist/components/click.js +1 -1
- package/dist/components/core.cjs +1 -1
- package/dist/components/core.js +1 -1
- package/dist/components/depth.cjs +1 -1
- package/dist/components/depth.js +1 -1
- package/dist/components/design.cjs +1 -1
- package/dist/components/design.js +1 -1
- package/dist/components/dotlottie.cjs +3 -3
- package/dist/components/dotlottie.js +3 -3
- package/dist/components/dsl.cjs +1 -1
- package/dist/components/dsl.js +1 -1
- package/dist/components/effects.cjs +2 -2
- package/dist/components/effects.js +2 -2
- 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 +2 -2
- 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 +3 -3
- package/dist/components/scene-v2.d.cts +1 -1
- package/dist/components/scene-v2.d.ts +1 -1
- package/dist/components/scene-v2.js +3 -3
- package/dist/components/{scene-v3-preview.cjs → scene-v3.cjs} +12 -103
- package/dist/components/{scene-v3-preview.d.cts → scene-v3.d.cts} +11 -6
- package/dist/components/{scene-v3-preview.d.ts → scene-v3.d.ts} +11 -6
- package/dist/components/{scene-v3-preview.js → scene-v3.js} +11 -103
- 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-a11y.cjs +1 -1
- package/dist/components/studio-a11y.js +1 -1
- package/dist/components/studio-ai.cjs +4 -4
- package/dist/components/studio-ai.js +4 -4
- package/dist/components/studio-app.cjs +4 -4
- package/dist/components/studio-app.d.cts +76 -6
- package/dist/components/studio-app.d.ts +76 -6
- package/dist/components/studio-app.js +4 -4
- package/dist/components/studio-assets.cjs +3 -3
- package/dist/components/studio-assets.js +3 -3
- package/dist/components/studio-canvas.cjs +3 -3
- package/dist/components/studio-canvas.js +3 -3
- package/dist/components/studio-export.cjs +4 -4
- package/dist/components/studio-export.js +4 -4
- package/dist/components/studio-native.cjs +3 -3
- package/dist/components/studio-native.js +3 -3
- package/dist/components/studio-provenance.cjs +1 -1
- package/dist/components/studio-provenance.js +1 -1
- package/dist/components/studio-store.cjs +1 -1
- package/dist/components/studio-store.js +1 -1
- package/dist/components/studio-templates.cjs +2 -2
- package/dist/components/studio-templates.js +2 -2
- package/dist/components/studio.cjs +10 -17
- package/dist/components/studio.d.cts +86 -8
- package/dist/components/studio.d.ts +86 -8
- package/dist/components/studio.js +11 -18
- 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 +6 -6
- package/dist/components/timeline-editor.d.cts +2 -2
- package/dist/components/timeline-editor.d.ts +2 -2
- package/dist/components/timeline-editor.js +6 -6
- 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.d.cts +1 -1
- package/dist/components/widgets.d.ts +1 -1
- package/dist/components/widgets.js +7 -7
- package/dist/components.cjs +1 -1
- package/dist/components.js +1 -1
- package/dist/components.umd.js +2 -2
- 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.txt +2 -2
- 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 +2 -2
- package/dist/runtime.d.ts +2 -2
- package/dist/runtime.iife.js +2 -2
- package/dist/runtime.js +6 -6
- package/dist/solid.cjs +1 -1
- package/dist/solid.js +1 -1
- package/dist/svelte.cjs +1 -1
- package/dist/svelte.js +1 -1
- package/dist/vue.cjs +1 -1
- package/dist/vue.js +1 -1
- package/dist/widgets/add-to-cart.cjs +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/components/usa-accordion.md +1 -1
- package/docs/components/usa-acrylic.md +1 -1
- package/docs/components/usa-add-to-cart.md +1 -1
- package/docs/components/usa-ambient.md +1 -1
- package/docs/components/usa-anim-icon.md +1 -1
- package/docs/components/usa-audio.md +1 -1
- package/docs/components/usa-aurora.md +1 -1
- package/docs/components/usa-auto-animate.md +1 -1
- package/docs/components/usa-auto-skeleton.md +1 -1
- package/docs/components/usa-avatar-stack.md +1 -1
- package/docs/components/usa-back-to-top.md +1 -1
- package/docs/components/usa-badge-wall.md +1 -1
- package/docs/components/usa-badge.md +1 -1
- package/docs/components/usa-bar-chart.md +1 -1
- package/docs/components/usa-bg-generator.md +1 -1
- package/docs/components/usa-blobs.md +1 -1
- package/docs/components/usa-bottom-sheet.md +1 -1
- package/docs/components/usa-button.md +1 -1
- package/docs/components/usa-card-stack.md +1 -1
- package/docs/components/usa-card.md +1 -1
- package/docs/components/usa-carousel-3d.md +1 -1
- package/docs/components/usa-carousel.md +1 -1
- package/docs/components/usa-cart-drawer.md +1 -1
- package/docs/components/usa-chapter-nav.md +1 -1
- package/docs/components/usa-chat-composer.md +1 -1
- package/docs/components/usa-check.md +1 -1
- package/docs/components/usa-checkbox.md +1 -1
- package/docs/components/usa-click.md +1 -1
- package/docs/components/usa-clock-control.md +1 -1
- package/docs/components/usa-code-export.md +1 -1
- package/docs/components/usa-color-picker.md +1 -1
- package/docs/components/usa-command-palette.md +1 -1
- package/docs/components/usa-compare.md +1 -1
- package/docs/components/usa-countdown.md +1 -1
- package/docs/components/usa-counter.md +1 -1
- package/docs/components/usa-cube-gallery.md +1 -1
- package/docs/components/usa-cube.md +1 -1
- package/docs/components/usa-cursor.md +1 -1
- package/docs/components/usa-date-picker.md +1 -1
- package/docs/components/usa-depth.md +1 -1
- package/docs/components/usa-dialog.md +1 -1
- package/docs/components/usa-disclosure.md +1 -1
- package/docs/components/usa-distort.md +1 -1
- package/docs/components/usa-dock.md +1 -1
- package/docs/components/usa-dot-network.md +1 -1
- package/docs/components/usa-dotlottie.md +6 -6
- package/docs/components/usa-double-tap.md +1 -1
- package/docs/components/usa-draggable.md +1 -1
- package/docs/components/usa-draw.md +1 -1
- package/docs/components/usa-drawer.md +1 -1
- package/docs/components/usa-equalizer.md +1 -1
- package/docs/components/usa-fab.md +1 -1
- package/docs/components/usa-festival-banner.md +1 -1
- package/docs/components/usa-field.md +1 -1
- package/docs/components/usa-file-drop.md +1 -1
- package/docs/components/usa-fullpage.md +1 -1
- package/docs/components/usa-fx.md +1 -1
- package/docs/components/usa-gauge.md +1 -1
- package/docs/components/usa-gen-art.md +1 -1
- package/docs/components/usa-gesture-fx.md +1 -1
- package/docs/components/usa-gesture-sticker.md +1 -1
- package/docs/components/usa-gl-model.md +7 -7
- package/docs/components/usa-gl-scene.md +8 -8
- package/docs/components/usa-glitch.md +1 -1
- package/docs/components/usa-globe.md +1 -1
- package/docs/components/usa-gpu-particles.md +1 -1
- package/docs/components/usa-gradient-text.md +1 -1
- package/docs/components/usa-grain.md +1 -1
- package/docs/components/usa-grid-glow.md +1 -1
- package/docs/components/usa-gyro-card.md +1 -1
- package/docs/components/usa-handwriting.md +1 -1
- package/docs/components/usa-hero-video.md +1 -1
- package/docs/components/usa-hold.md +1 -1
- package/docs/components/usa-hud-panel.md +1 -1
- package/docs/components/usa-hydrate.md +1 -1
- package/docs/components/usa-icon-morph.md +1 -1
- package/docs/components/usa-install-button.md +3 -3
- package/docs/components/usa-kanban.md +1 -1
- package/docs/components/usa-keyframe-editor.md +1 -1
- package/docs/components/usa-kpi.md +1 -1
- package/docs/components/usa-leaderboard.md +1 -1
- package/docs/components/usa-like.md +1 -1
- package/docs/components/usa-liquid-nav.md +1 -1
- package/docs/components/usa-liquid.md +1 -1
- package/docs/components/usa-loading-bar.md +1 -1
- package/docs/components/usa-location-card.md +1 -1
- package/docs/components/usa-lottie-icon.md +1 -1
- package/docs/components/usa-lottie-player.md +5 -5
- package/docs/components/usa-lottie.md +1 -1
- package/docs/components/usa-lyrics.md +1 -1
- package/docs/components/usa-magnetic.md +1 -1
- package/docs/components/usa-marquee.md +1 -1
- package/docs/components/usa-mask-reveal.md +1 -1
- package/docs/components/usa-masonry-flow.md +1 -1
- package/docs/components/usa-masonry.md +1 -1
- package/docs/components/usa-menu-toggle.md +1 -1
- package/docs/components/usa-menu.md +1 -1
- package/docs/components/usa-message-list.md +1 -1
- package/docs/components/usa-milestones.md +1 -1
- package/docs/components/usa-modal.md +1 -1
- package/docs/components/usa-morph.md +1 -1
- package/docs/components/usa-motion-inspector.md +1 -1
- package/docs/components/usa-motion-prefs.md +1 -1
- package/docs/components/usa-motion-prompt.md +1 -1
- package/docs/components/usa-motion-spec.md +1 -1
- package/docs/components/usa-motion-switch.md +1 -1
- package/docs/components/usa-motion-theme.md +1 -1
- package/docs/components/usa-motion.md +1 -1
- package/docs/components/usa-music-player.md +1 -1
- package/docs/components/usa-native-preview.md +1 -1
- package/docs/components/usa-nav-morph.md +1 -1
- package/docs/components/usa-navbar.md +1 -1
- package/docs/components/usa-notification-bell.md +1 -1
- package/docs/components/usa-odometer.md +1 -1
- package/docs/components/usa-organic-card.md +1 -1
- package/docs/components/usa-otp.md +1 -1
- package/docs/components/usa-overscroll.md +1 -1
- package/docs/components/usa-pack.md +1 -1
- package/docs/components/usa-pagination.md +1 -1
- package/docs/components/usa-panorama.md +1 -1
- package/docs/components/usa-parallax-layers.md +1 -1
- package/docs/components/usa-particles.md +1 -1
- package/docs/components/usa-pause-all.md +1 -1
- package/docs/components/usa-perf-monitor.md +1 -1
- package/docs/components/usa-physics-playground.md +6 -6
- package/docs/components/usa-pinch-zoom.md +1 -1
- package/docs/components/usa-player.md +1 -1
- package/docs/components/usa-plugin-card.md +4 -4
- package/docs/components/usa-plugin-store.md +1 -1
- package/docs/components/usa-popover.md +1 -1
- package/docs/components/usa-post-fx.md +1 -1
- package/docs/components/usa-presence.md +1 -1
- package/docs/components/usa-press.md +1 -1
- package/docs/components/usa-prize-wheel.md +1 -1
- package/docs/components/usa-product-gallery.md +1 -1
- package/docs/components/usa-progress-ring.md +1 -1
- package/docs/components/usa-progress.md +1 -1
- package/docs/components/usa-prop-panel.md +1 -1
- package/docs/components/usa-pull-cord.md +1 -1
- package/docs/components/usa-pull-refresh.md +1 -1
- package/docs/components/usa-radar.md +1 -1
- package/docs/components/usa-reactions.md +1 -1
- package/docs/components/usa-red-envelope.md +1 -1
- package/docs/components/usa-retro-button.md +1 -1
- package/docs/components/usa-reveal.md +1 -1
- package/docs/components/usa-ripple.md +1 -1
- package/docs/components/usa-rive.md +3 -3
- package/docs/components/usa-route-transition.md +1 -1
- package/docs/components/usa-scene.md +1 -1
- package/docs/components/usa-scramble.md +1 -1
- package/docs/components/usa-scroll-highlight.md +1 -1
- package/docs/components/usa-scroll-progress.md +1 -1
- package/docs/components/usa-scroll-ring.md +1 -1
- package/docs/components/usa-scroll-scene.md +5 -5
- package/docs/components/usa-scrolly.md +1 -1
- package/docs/components/usa-segmented.md +1 -1
- package/docs/components/usa-shader-backdrop.md +1 -1
- package/docs/components/usa-shader.md +1 -1
- package/docs/components/usa-sheet.md +1 -1
- package/docs/components/usa-shimmer-text.md +1 -1
- package/docs/components/usa-shortcut.md +1 -1
- package/docs/components/usa-skeleton-reveal.md +1 -1
- package/docs/components/usa-skeleton.md +1 -1
- package/docs/components/usa-sketch-chart.md +1 -1
- package/docs/components/usa-slider.md +1 -1
- package/docs/components/usa-smooth-scroll.md +5 -5
- package/docs/components/usa-snap-carousel.md +5 -5
- package/docs/components/usa-sparkline.md +1 -1
- package/docs/components/usa-spatial-card.md +1 -1
- package/docs/components/usa-spinner.md +1 -1
- package/docs/components/usa-splash.md +1 -1
- package/docs/components/usa-split-text.md +1 -1
- package/docs/components/usa-spotlight.md +1 -1
- package/docs/components/usa-spring.md +1 -1
- package/docs/components/usa-stagger.md +1 -1
- package/docs/components/usa-star-rating.md +1 -1
- package/docs/components/usa-stepper.md +1 -1
- package/docs/components/usa-sticky-stack.md +1 -1
- package/docs/components/usa-sticky-wall.md +1 -1
- package/docs/components/usa-stories.md +1 -1
- package/docs/components/usa-story.md +1 -1
- package/docs/components/usa-suggestion-chips.md +1 -1
- package/docs/components/usa-swipe-deck.md +1 -1
- package/docs/components/usa-swipeable.md +1 -1
- package/docs/components/usa-switch.md +1 -1
- package/docs/components/usa-tab-bar.md +1 -1
- package/docs/components/usa-tabs.md +1 -1
- package/docs/components/usa-terminal.md +1 -1
- package/docs/components/usa-text-rotate.md +1 -1
- package/docs/components/usa-text-splitter.md +5 -5
- package/docs/components/usa-theme-surface.md +1 -1
- package/docs/components/usa-theme-switcher.md +1 -1
- package/docs/components/usa-tilt.md +1 -1
- package/docs/components/usa-timeline.md +1 -1
- package/docs/components/usa-tip.md +1 -1
- package/docs/components/usa-toast-stack.md +1 -1
- package/docs/components/usa-toaster.md +1 -1
- package/docs/components/usa-token-editor.md +1 -1
- package/docs/components/usa-typewriter.md +1 -1
- package/docs/components/usa-upload-progress.md +1 -1
- package/docs/components/usa-video-card.md +1 -1
- package/docs/components/usa-view-switch.md +1 -1
- package/docs/components/usa-voice-button.md +1 -1
- package/docs/components/usa-volume-knob.md +1 -1
- package/docs/components/usa-water-ripple.md +1 -1
- package/docs/components/usa-wave-text.md +1 -1
- package/docs/components/usa-weather-card.md +1 -1
- package/docs/components/usa-worker-canvas.md +1 -1
- package/docs/components/usa-xp-bar.md +1 -1
- package/docs/components.md +50 -50
- package/docs/deprecations-v16.md +4 -4
- package/docs/mcp-gateway-interop.md +5 -2
- package/docs/mcp.md +9 -6
- package/docs/migrating-to-v16.md +4 -4
- package/docs/performance.md +1 -1
- package/docs/presets.md +2 -2
- package/docs/runtime/core.md +2 -2
- package/docs/runtime/drag-snap.md +3 -3
- package/docs/runtime/format-apng.md +3 -3
- package/docs/runtime/format-css.md +3 -3
- package/docs/runtime/format-gif.md +3 -3
- package/docs/runtime/format-gltf.md +3 -3
- package/docs/runtime/format-motion.md +3 -3
- package/docs/runtime/format-obj.md +3 -3
- package/docs/runtime/format-scene.md +3 -3
- package/docs/runtime/format-sprite.md +3 -3
- package/docs/runtime/format-svg.md +3 -3
- package/docs/runtime/format-webp.md +3 -3
- package/docs/runtime/gl.md +3 -3
- package/docs/runtime/gltf-anim.md +3 -3
- package/docs/runtime/gltf-decoders.md +3 -3
- package/docs/runtime/lottie-state.md +3 -3
- package/docs/runtime/physics.md +3 -3
- package/docs/runtime/scroll.md +3 -3
- package/docs/runtime/smooth.md +3 -3
- package/docs/runtime/text.md +3 -3
- package/docs/runtime/vector.md +3 -3
- package/docs/scene-v2.schema.json +1 -1
- package/docs/scene-v3.md +6 -5
- package/docs/timeline-doc.schema.json +1 -1
- package/docs/versions.md +5 -4
- package/figma-plugin/code.js +1 -1
- package/package.json +30 -10
|
@@ -1,16 +1,10 @@
|
|
|
1
|
-
import { d as isLayerLocked, i as isValidEasing,
|
|
1
|
+
import { d as docError, f as isLayerLocked, i as isValidEasing, g as round, b as byTime } from './format-BSTz6pm_.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* 13.6: editing operations on a `motionary-timeline` document. Every operation
|
|
5
5
|
* is pure: it returns a new document (unchanged layers are shared, so history
|
|
6
6
|
* snapshots stay cheap) and never edits a locked layer.
|
|
7
7
|
*/
|
|
8
|
-
const bad = (path, message) => new TimelineDocError([{ path, message }]);
|
|
9
|
-
const round = (n) => {
|
|
10
|
-
const r = Math.round(n * 1e4) / 1e4;
|
|
11
|
-
return r === 0 ? 0 : r;
|
|
12
|
-
};
|
|
13
|
-
const byTime = (ks) => ks.map((k, i) => [k, i]).sort((a, b) => a[0].time - b[0].time || a[1] - b[1]).map(([k]) => k);
|
|
14
8
|
/** A fresh id `prefix<n>` unused by any layer or keyframe of `doc`. */
|
|
15
9
|
function uniqueId(doc, prefix = 'id', taken = new Set()) {
|
|
16
10
|
const used = new Set(taken);
|
|
@@ -37,12 +31,12 @@ function layerSubtree(doc, id) {
|
|
|
37
31
|
function addLayer(doc, layer, o = {}) {
|
|
38
32
|
const id = layer.id ?? uniqueId(doc, layer.type === 'group' ? 'g' : 'l');
|
|
39
33
|
if (doc.layers.some((l) => l.id === id))
|
|
40
|
-
throw
|
|
34
|
+
throw docError('id', `duplicate layer id "${id}"`);
|
|
41
35
|
const n = { ...layer, id, type: layer.type ?? 'track' };
|
|
42
36
|
if (n.type === 'track' && !n.keyframes)
|
|
43
37
|
n.keyframes = [];
|
|
44
38
|
if (n.parent !== undefined && doc.layers.find((l) => l.id === n.parent)?.type !== 'group')
|
|
45
|
-
throw
|
|
39
|
+
throw docError('parent', `no group "${n.parent}"`);
|
|
46
40
|
if (n.parent !== undefined && isLayerLocked(doc, n.parent))
|
|
47
41
|
return doc;
|
|
48
42
|
const layers = doc.layers.slice();
|
|
@@ -100,7 +94,7 @@ function groupLayers(doc, ids, group = {}) {
|
|
|
100
94
|
return { doc, id: '' };
|
|
101
95
|
const id = group.id ?? uniqueId(doc, 'g');
|
|
102
96
|
if (doc.layers.some((l) => l.id === id))
|
|
103
|
-
throw
|
|
97
|
+
throw docError('id', `duplicate layer id "${id}"`);
|
|
104
98
|
const parent = members[0].parent;
|
|
105
99
|
const moving = new Set();
|
|
106
100
|
for (const m of members)
|
|
@@ -154,7 +148,7 @@ function moveLayer(doc, id, toIndex, o = {}) {
|
|
|
154
148
|
if (parent !== undefined) {
|
|
155
149
|
const p = doc.layers.find((l) => l.id === parent);
|
|
156
150
|
if (!p || p.type !== 'group' || sub.has(parent))
|
|
157
|
-
throw
|
|
151
|
+
throw docError('parent', `cannot move "${id}" into "${parent}"`);
|
|
158
152
|
if (isLayerLocked(doc, parent))
|
|
159
153
|
return doc;
|
|
160
154
|
}
|
|
@@ -212,14 +206,14 @@ function editableKeyframes(doc, ids) {
|
|
|
212
206
|
function addKeyframe(doc, layerId, kf) {
|
|
213
207
|
const l = doc.layers.find((x) => x.id === layerId);
|
|
214
208
|
if (!l || l.type !== 'track')
|
|
215
|
-
throw
|
|
209
|
+
throw docError('layer', `no track "${layerId}"`);
|
|
216
210
|
if (isLayerLocked(doc, layerId))
|
|
217
211
|
return doc;
|
|
218
212
|
const id = kf.id ?? uniqueId(doc, 'k');
|
|
219
213
|
if (locate(doc).has(id))
|
|
220
|
-
throw
|
|
214
|
+
throw docError('id', `duplicate keyframe id "${id}"`);
|
|
221
215
|
if (kf.easing !== undefined && !isValidEasing(kf.easing))
|
|
222
|
-
throw
|
|
216
|
+
throw docError('easing', `unknown easing "${kf.easing}"`);
|
|
223
217
|
const n = { id, time: Math.max(0, round(kf.time)), props: { ...kf.props } };
|
|
224
218
|
if (kf.easing !== undefined)
|
|
225
219
|
n.easing = kf.easing;
|
|
@@ -252,7 +246,7 @@ function shiftKeyframes(doc, ids, dt) {
|
|
|
252
246
|
/** Scale keyframe times by `factor` (> 0) around `pivot` (default: the earliest selected keyframe). */
|
|
253
247
|
function scaleKeyframes(doc, ids, factor, pivot) {
|
|
254
248
|
if (!(factor > 0) || !Number.isFinite(factor))
|
|
255
|
-
throw
|
|
249
|
+
throw docError('factor', 'expected a positive number');
|
|
256
250
|
const ok = editableKeyframes(doc, ids);
|
|
257
251
|
if (!ok.length || factor === 1)
|
|
258
252
|
return doc;
|
|
@@ -263,7 +257,7 @@ function scaleKeyframes(doc, ids, factor, pivot) {
|
|
|
263
257
|
/** Set the easing of every selected keyframe (`'linear'` clears it). */
|
|
264
258
|
function setKeyframeEasing(doc, ids, easing) {
|
|
265
259
|
if (!isValidEasing(easing))
|
|
266
|
-
throw
|
|
260
|
+
throw docError('easing', `unknown easing "${easing}"`);
|
|
267
261
|
return mapKeyframes(doc, ids, (k) => {
|
|
268
262
|
if ((k.easing ?? 'linear') === easing)
|
|
269
263
|
return k;
|
|
@@ -296,7 +290,7 @@ function copyKeyframes(doc, ids) {
|
|
|
296
290
|
*/
|
|
297
291
|
function pasteKeyframes(doc, clip, o) {
|
|
298
292
|
if (!clip || clip.format !== 'motionary-timeline-clip' || !Array.isArray(clip.items))
|
|
299
|
-
throw
|
|
293
|
+
throw docError('clip', 'not a keyframe clip');
|
|
300
294
|
const taken = new Set();
|
|
301
295
|
const ids = [];
|
|
302
296
|
let out = doc;
|
|
@@ -446,4 +440,4 @@ function bindHistoryKeys(target, history) {
|
|
|
446
440
|
}
|
|
447
441
|
|
|
448
442
|
export { addKeyframe as a, bindHistoryKeys as b, uniqueId as c, createTimelineHistory as d, setKeyframeEasing as e, addLayer as f, copyKeyframes as g, historyKeyAction as h, shiftKeyframes as i, editableKeyframes as j, groupLayers as k, layerSubtree as l, moveLayer as m, removeLayers as n, scaleKeyframes as o, pasteKeyframes as p, ungroupLayer as q, removeKeyframes as r, setKeyframeProps as s, updateLayers as u };
|
|
449
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
443
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.0.0/dist/chunks/history-W7ot2kyl.js.map
|
|
@@ -446,4 +446,4 @@ exports.spring = spring;
|
|
|
446
446
|
exports.stagger = stagger;
|
|
447
447
|
exports.timeline = timeline;
|
|
448
448
|
exports.toEasingFn = toEasingFn;
|
|
449
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
449
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.0.0/dist/chunks/index-C9_FEsfz.cjs.map
|
|
@@ -434,4 +434,4 @@ function timeline(entries, options = {}) {
|
|
|
434
434
|
}
|
|
435
435
|
|
|
436
436
|
export { MOTION_ENGINE_VERSION as M, animate as a, cubicBezier as b, control as c, spring as d, stagger as e, timeline as f, group as g, parallel as p, sequence as s, toEasingFn as t };
|
|
437
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
437
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.0.0/dist/chunks/index-Pkno706C.js.map
|
|
@@ -23,4 +23,4 @@ const COMPONENT_CATEGORIES = {
|
|
|
23
23
|
};
|
|
24
24
|
|
|
25
25
|
export { COMPONENT_CATEGORIES as C };
|
|
26
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
26
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.0.0/dist/chunks/index-tags-B-JBecYg.js.map
|
|
@@ -25,4 +25,4 @@ const COMPONENT_CATEGORIES = {
|
|
|
25
25
|
};
|
|
26
26
|
|
|
27
27
|
exports.COMPONENT_CATEGORIES = COMPONENT_CATEGORIES;
|
|
28
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
28
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.0.0/dist/chunks/index-tags-hLIF2Clq.cjs.map
|
|
@@ -21,4 +21,4 @@ function keyClick(el) {
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
export { keyClick as k };
|
|
24
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
24
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.0.0/dist/chunks/key-click-BLm3BI8_.js.map
|
|
@@ -23,4 +23,4 @@ function keyClick(el) {
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
exports.keyClick = keyClick;
|
|
26
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
26
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.0.0/dist/chunks/key-click-v7I4K5Sr.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var tween = require('./tween-
|
|
3
|
+
var tween = require('./tween-BaRBiDNS.cjs');
|
|
4
4
|
var ease = require('./ease-HwYZnZat.cjs');
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -185,4 +185,4 @@ function framesToTimeline(target, frames, o = {}) {
|
|
|
185
185
|
exports.camelProp = camelProp;
|
|
186
186
|
exports.distributeOffsets = distributeOffsets;
|
|
187
187
|
exports.framesToTimeline = framesToTimeline;
|
|
188
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
188
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.0.0/dist/chunks/keyframes-BNndesQm.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as Timeline, a as Tween, p as parseValue } from './tween-
|
|
1
|
+
import { T as Timeline, a as Tween, p as parseValue } from './tween-DXCGIXDh.js';
|
|
2
2
|
import { p as parseEase } from './ease-XN8_0sXu.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -181,4 +181,4 @@ function framesToTimeline(target, frames, o = {}) {
|
|
|
181
181
|
}
|
|
182
182
|
|
|
183
183
|
export { camelProp as c, distributeOffsets as d, framesToTimeline as f };
|
|
184
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
184
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.0.0/dist/chunks/keyframes-DFw2w6uU.js.map
|
|
@@ -116,4 +116,4 @@ function defineLeaderboard(tag = 'usa-leaderboard') {
|
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
export { defineLeaderboard as d, rankRows as r };
|
|
119
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
119
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.0.0/dist/chunks/leaderboard-CbiWHJt6.js.map
|
|
@@ -119,4 +119,4 @@ function defineLeaderboard(tag = 'usa-leaderboard') {
|
|
|
119
119
|
|
|
120
120
|
exports.defineLeaderboard = defineLeaderboard;
|
|
121
121
|
exports.rankRows = rankRows;
|
|
122
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
122
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.0.0/dist/chunks/leaderboard-DvSSQ8o3.cjs.map
|
|
@@ -78,4 +78,4 @@ function defineLocationCard(tag = 'usa-location-card') {
|
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
export { defineLocationCard as d, formatDistance as f, haversine as h };
|
|
81
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
81
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.0.0/dist/chunks/location-card-BZn9anlf.js.map
|
|
@@ -82,4 +82,4 @@ function defineLocationCard(tag = 'usa-location-card') {
|
|
|
82
82
|
exports.defineLocationCard = defineLocationCard;
|
|
83
83
|
exports.formatDistance = formatDistance;
|
|
84
84
|
exports.haversine = haversine;
|
|
85
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
85
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.0.0/dist/chunks/location-card-DSPTApUe.cjs.map
|
|
@@ -88,4 +88,4 @@ function defineLottieIcon(tag = 'usa-lottie-icon') {
|
|
|
88
88
|
|
|
89
89
|
exports.LOTTIE_ICONS = LOTTIE_ICONS;
|
|
90
90
|
exports.defineLottieIcon = defineLottieIcon;
|
|
91
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
91
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.0.0/dist/chunks/lottie-icon-BoxkukMd.cjs.map
|
|
@@ -85,4 +85,4 @@ function defineLottieIcon(tag = 'usa-lottie-icon') {
|
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
export { LOTTIE_ICONS as L, defineLottieIcon as d };
|
|
88
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
88
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.0.0/dist/chunks/lottie-icon-DeHawSTn.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var base = require('./base-BvH4nAcv.cjs');
|
|
4
|
-
var runtimeLink = require('./runtime-link-
|
|
4
|
+
var runtimeLink = require('./runtime-link-DYZKFep6.cjs');
|
|
5
5
|
|
|
6
6
|
var css = "usa-lottie-player{display:inline-block;width:240px;max-width:100%;vertical-align:middle}usa-lottie-player>canvas{display:block;width:100%;height:auto}usa-lottie-player .usa-rt-missing{margin:0 0 8px;padding:8px;border-radius:8px;background:#fef2f2;color:#991b1b;font:11px/1.4 ui-monospace,monospace;overflow-wrap:anywhere}";
|
|
7
7
|
|
|
@@ -127,4 +127,4 @@ function defineLottiePlayer(tag = 'usa-lottie-player') {
|
|
|
127
127
|
|
|
128
128
|
exports.css = css;
|
|
129
129
|
exports.defineLottiePlayer = defineLottiePlayer;
|
|
130
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
130
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.0.0/dist/chunks/lottie-player-BRJUQTP9.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { f as defineElement } from './base-QrtwTUOO.js';
|
|
2
|
-
import { r as runtimeModule } from './runtime-link-
|
|
2
|
+
import { r as runtimeModule } from './runtime-link-BGNFxzN5.js';
|
|
3
3
|
|
|
4
4
|
var css = "usa-lottie-player{display:inline-block;width:240px;max-width:100%;vertical-align:middle}usa-lottie-player>canvas{display:block;width:100%;height:auto}usa-lottie-player .usa-rt-missing{margin:0 0 8px;padding:8px;border-radius:8px;background:#fef2f2;color:#991b1b;font:11px/1.4 ui-monospace,monospace;overflow-wrap:anywhere}";
|
|
5
5
|
|
|
@@ -124,4 +124,4 @@ function defineLottiePlayer(tag = 'usa-lottie-player') {
|
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
export { css as c, defineLottiePlayer as d };
|
|
127
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
127
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.0.0/dist/chunks/lottie-player-DKGirn7s.js.map
|
|
@@ -124,4 +124,4 @@ function defineLyrics(tag = 'usa-lyrics') {
|
|
|
124
124
|
|
|
125
125
|
exports.defineLyrics = defineLyrics;
|
|
126
126
|
exports.parseLRC = parseLRC;
|
|
127
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
127
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.0.0/dist/chunks/lyrics-CRB7dA1j.cjs.map
|
|
@@ -121,4 +121,4 @@ function defineLyrics(tag = 'usa-lyrics') {
|
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
export { defineLyrics as d, parseLRC as p };
|
|
124
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
124
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.0.0/dist/chunks/lyrics-DVbmLBlN.js.map
|
|
@@ -73,4 +73,4 @@ async function loadEffectPack(src, opts = {}) {
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
export { EFFECT_PACK_FORMAT as E, loadEffectPack as l, packManifest as p, validateManifest as v };
|
|
76
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
76
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.0.0/dist/chunks/manifest-B0WJg6hn.js.map
|
|
@@ -78,4 +78,4 @@ exports.EFFECT_PACK_FORMAT = EFFECT_PACK_FORMAT;
|
|
|
78
78
|
exports.loadEffectPack = loadEffectPack;
|
|
79
79
|
exports.packManifest = packManifest;
|
|
80
80
|
exports.validateManifest = validateManifest;
|
|
81
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
81
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.0.0/dist/chunks/manifest-xr3WET80.cjs.map
|
|
@@ -147,4 +147,4 @@ function defineMenu(tag = 'usa-menu') {
|
|
|
147
147
|
|
|
148
148
|
exports.MENU_EFFECTS = MENU_EFFECTS;
|
|
149
149
|
exports.defineMenu = defineMenu;
|
|
150
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
150
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.0.0/dist/chunks/menu-CZ1zHTT9.cjs.map
|
|
@@ -144,4 +144,4 @@ function defineMenu(tag = 'usa-menu') {
|
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
export { MENU_EFFECTS as M, defineMenu as d };
|
|
147
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
147
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.0.0/dist/chunks/menu-CnQ_M2MQ.js.map
|
|
@@ -78,4 +78,4 @@ function defineMenuToggle(tag = 'usa-menu-toggle') {
|
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
export { TOGGLE_VARIANTS as T, defineMenuToggle as d };
|
|
81
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
81
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.0.0/dist/chunks/menu-toggle-5XOYiIyd.js.map
|
|
@@ -81,4 +81,4 @@ function defineMenuToggle(tag = 'usa-menu-toggle') {
|
|
|
81
81
|
|
|
82
82
|
exports.TOGGLE_VARIANTS = TOGGLE_VARIANTS;
|
|
83
83
|
exports.defineMenuToggle = defineMenuToggle;
|
|
84
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
84
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.0.0/dist/chunks/menu-toggle-DGXN4VsN.cjs.map
|
|
@@ -112,4 +112,4 @@ function defineNavMorph(tag = 'usa-nav-morph') {
|
|
|
112
112
|
|
|
113
113
|
exports.NAV_INDICATORS = NAV_INDICATORS;
|
|
114
114
|
exports.defineNavMorph = defineNavMorph;
|
|
115
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
115
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.0.0/dist/chunks/nav-morph-C4rD3wrU.cjs.map
|
|
@@ -109,4 +109,4 @@ function defineNavMorph(tag = 'usa-nav-morph') {
|
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
export { NAV_INDICATORS as N, defineNavMorph as d };
|
|
112
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
112
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.0.0/dist/chunks/nav-morph-ziuI5hHS.js.map
|
|
@@ -135,4 +135,4 @@ function defineOtp(tag = 'usa-otp') {
|
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
export { defineOtp as d, sanitizeCode as s };
|
|
138
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
138
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.0.0/dist/chunks/otp-Cb48zoUe.js.map
|
|
@@ -138,4 +138,4 @@ function defineOtp(tag = 'usa-otp') {
|
|
|
138
138
|
|
|
139
139
|
exports.defineOtp = defineOtp;
|
|
140
140
|
exports.sanitizeCode = sanitizeCode;
|
|
141
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
141
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.0.0/dist/chunks/otp-DUyEWYMi.cjs.map
|
|
@@ -131,4 +131,4 @@ function definePagination(tag = 'usa-pagination') {
|
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
export { definePagination as d, pageWindow as p };
|
|
134
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
134
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.0.0/dist/chunks/pagination-BIufB-g3.js.map
|
|
@@ -134,4 +134,4 @@ function definePagination(tag = 'usa-pagination') {
|
|
|
134
134
|
|
|
135
135
|
exports.definePagination = definePagination;
|
|
136
136
|
exports.pageWindow = pageWindow;
|
|
137
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
137
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.0.0/dist/chunks/pagination-DHmYZZU9.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var base = require('./base-BvH4nAcv.cjs');
|
|
4
|
-
var runtimeLink = require('./runtime-link-
|
|
4
|
+
var runtimeLink = require('./runtime-link-DYZKFep6.cjs');
|
|
5
5
|
|
|
6
6
|
var css = "usa-physics-playground{position:relative;display:block;aspect-ratio:5/3;min-height:140px;background:radial-gradient(circle at 50% 0,#1e293b,#0f172a);border-radius:12px;overflow:hidden;touch-action:none}usa-physics-playground>canvas{display:block;width:100%;height:100%;cursor:grab;outline:none}usa-physics-playground>canvas:active{cursor:grabbing}usa-physics-playground>canvas:focus-visible{box-shadow:inset 0 0 0 2px #818cf8}usa-physics-playground>script{display:none}";
|
|
7
7
|
|
|
@@ -276,4 +276,4 @@ function definePhysicsPlayground(tag = 'usa-physics-playground') {
|
|
|
276
276
|
|
|
277
277
|
exports.PHYSICS_PRESETS = PHYSICS_PRESETS;
|
|
278
278
|
exports.definePhysicsPlayground = definePhysicsPlayground;
|
|
279
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
279
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.0.0/dist/chunks/physics-playground-BPaRX0Tp.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { f as defineElement, r as raf } from './base-QrtwTUOO.js';
|
|
2
|
-
import { r as runtimeModule } from './runtime-link-
|
|
2
|
+
import { r as runtimeModule } from './runtime-link-BGNFxzN5.js';
|
|
3
3
|
|
|
4
4
|
var css = "usa-physics-playground{position:relative;display:block;aspect-ratio:5/3;min-height:140px;background:radial-gradient(circle at 50% 0,#1e293b,#0f172a);border-radius:12px;overflow:hidden;touch-action:none}usa-physics-playground>canvas{display:block;width:100%;height:100%;cursor:grab;outline:none}usa-physics-playground>canvas:active{cursor:grabbing}usa-physics-playground>canvas:focus-visible{box-shadow:inset 0 0 0 2px #818cf8}usa-physics-playground>script{display:none}";
|
|
5
5
|
|
|
@@ -273,4 +273,4 @@ function definePhysicsPlayground(tag = 'usa-physics-playground') {
|
|
|
273
273
|
}
|
|
274
274
|
|
|
275
275
|
export { PHYSICS_PRESETS as P, definePhysicsPlayground as d };
|
|
276
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
276
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.0.0/dist/chunks/physics-playground-COST2VVT.js.map
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var components_tokens = require('../components/tokens.cjs');
|
|
4
|
-
var format = require('./format-
|
|
4
|
+
var format = require('./format-b5fQz-vc.cjs');
|
|
5
|
+
var v3Read = require('./v3-read-BNhrN3tL.cjs');
|
|
5
6
|
|
|
6
7
|
/** @internal `{group.name}` token reference. */
|
|
7
8
|
const REF = /^\{(duration|easing|spring)\.([\w-]+)\}$/;
|
|
8
|
-
|
|
9
|
+
const fail3 = () => { throw new Error('[motionary] scene: this Scene v3 document has nested compositions / component layers — read it with sceneV3ToV2() from motionary/scene/v3 first'); };
|
|
10
|
+
/** Scene v3 (flat) / v2 / timeline v1 → playable animation JSON v1. Throws on a document it cannot read. */
|
|
9
11
|
function sceneToAnimation(d) {
|
|
12
|
+
if (d.format === 'motionary-scene' && d.version === 3)
|
|
13
|
+
d = v3Read.flatSceneV3ToV2(d) || fail3(); // 16.0: flat Scene v3 plays natively
|
|
10
14
|
if (d.version !== (d.format === 'motionary-scene' ? 2 : d.format === 'motionary-timeline' ? 1 : NaN) || !Array.isArray(d.layers))
|
|
11
15
|
throw new Error(`[motionary] scene: cannot read ${d.format} v${d.version} with "layers" ${typeof d.layers} (validateSceneV2 from motionary/scene explains; a newer version needs a newer motionary)`);
|
|
12
16
|
const tok = components_tokens.getMotionTokens();
|
|
@@ -78,4 +82,4 @@ function sceneToAnimation(d) {
|
|
|
78
82
|
}
|
|
79
83
|
|
|
80
84
|
exports.sceneToAnimation = sceneToAnimation;
|
|
81
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
85
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.0.0/dist/chunks/play-D9Utt9rO.cjs.map
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import { getMotionTokens } from '../components/tokens.js';
|
|
2
|
-
import { r as resolveRandom } from './format-
|
|
2
|
+
import { r as resolveRandom } from './format-BSTz6pm_.js';
|
|
3
|
+
import { f as flatSceneV3ToV2 } from './v3-read-BqgIjLQP.js';
|
|
3
4
|
|
|
4
5
|
/** @internal `{group.name}` token reference. */
|
|
5
6
|
const REF = /^\{(duration|easing|spring)\.([\w-]+)\}$/;
|
|
6
|
-
|
|
7
|
+
const fail3 = () => { throw new Error('[motionary] scene: this Scene v3 document has nested compositions / component layers — read it with sceneV3ToV2() from motionary/scene/v3 first'); };
|
|
8
|
+
/** Scene v3 (flat) / v2 / timeline v1 → playable animation JSON v1. Throws on a document it cannot read. */
|
|
7
9
|
function sceneToAnimation(d) {
|
|
10
|
+
if (d.format === 'motionary-scene' && d.version === 3)
|
|
11
|
+
d = flatSceneV3ToV2(d) || fail3(); // 16.0: flat Scene v3 plays natively
|
|
8
12
|
if (d.version !== (d.format === 'motionary-scene' ? 2 : d.format === 'motionary-timeline' ? 1 : NaN) || !Array.isArray(d.layers))
|
|
9
13
|
throw new Error(`[motionary] scene: cannot read ${d.format} v${d.version} with "layers" ${typeof d.layers} (validateSceneV2 from motionary/scene explains; a newer version needs a newer motionary)`);
|
|
10
14
|
const tok = getMotionTokens();
|
|
@@ -76,4 +80,4 @@ function sceneToAnimation(d) {
|
|
|
76
80
|
}
|
|
77
81
|
|
|
78
82
|
export { sceneToAnimation as s };
|
|
79
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
83
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.0.0/dist/chunks/play-DZ_ho9zJ.js.map
|
|
@@ -164,4 +164,4 @@ function createPlayerCore(root, animation, o = {}, scene) {
|
|
|
164
164
|
|
|
165
165
|
exports.ANIMATION_FORMAT = ANIMATION_FORMAT;
|
|
166
166
|
exports.createPlayerCore = createPlayerCore;
|
|
167
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
167
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.0.0/dist/chunks/player-core-CeaR3esR.cjs.map
|
|
@@ -161,4 +161,4 @@ function createPlayerCore(root, animation, o = {}, scene) {
|
|
|
161
161
|
}
|
|
162
162
|
|
|
163
163
|
export { ANIMATION_FORMAT as A, createPlayerCore as c };
|
|
164
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
164
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.0.0/dist/chunks/player-core-DAEKafsQ.js.map
|
|
@@ -74,4 +74,4 @@ function definePresence(tag = 'usa-presence') {
|
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
export { PRESENCE_STATES as P, definePresence as d, initials as i };
|
|
77
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
77
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.0.0/dist/chunks/presence-C-dO1CU4.js.map
|
|
@@ -78,4 +78,4 @@ function definePresence(tag = 'usa-presence') {
|
|
|
78
78
|
exports.PRESENCE_STATES = PRESENCE_STATES;
|
|
79
79
|
exports.definePresence = definePresence;
|
|
80
80
|
exports.initials = initials;
|
|
81
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
81
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.0.0/dist/chunks/presence-DAthlALi.cjs.map
|
|
@@ -223,4 +223,4 @@ function resolveEasing(easing) {
|
|
|
223
223
|
}
|
|
224
224
|
|
|
225
225
|
export { EASING_MAP as E, PRESETS as P, resolveEasing as a, reversePreset as b, registerPresets as c, resolvePreset as r };
|
|
226
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
226
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.0.0/dist/chunks/presets-BYBVJVeP.js.map
|
|
@@ -230,4 +230,4 @@ exports.registerPresets = registerPresets;
|
|
|
230
230
|
exports.resolveEasing = resolveEasing;
|
|
231
231
|
exports.resolvePreset = resolvePreset;
|
|
232
232
|
exports.reversePreset = reversePreset;
|
|
233
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
233
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.0.0/dist/chunks/presets-CUHys3sK.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as parseEase } from './ease-XN8_0sXu.js';
|
|
2
2
|
import { n as now, r as raf, b as caf } from './base-QrtwTUOO.js';
|
|
3
|
-
import {
|
|
3
|
+
import { g as round, a as timelineDocDuration, h as isLayerActive, b as byTime, r as resolveRandom } from './format-BSTz6pm_.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* 13.6: reproducible preview. `sampleTimelineDoc(doc, t)` is a pure function of
|
|
@@ -9,10 +9,6 @@ import { b as timelineDocDuration, e as isLayerActive, r as resolveRandom } from
|
|
|
9
9
|
* `random(a, b)` values depend only on the seed. `createTimelinePreview` writes
|
|
10
10
|
* that state to the DOM; `createFixedClock` drives it in fixed steps for tests.
|
|
11
11
|
*/
|
|
12
|
-
const round = (n) => {
|
|
13
|
-
const r = Math.round(n * 1e4) / 1e4;
|
|
14
|
-
return r === 0 ? 0 : r;
|
|
15
|
-
};
|
|
16
12
|
const NUM = /-?(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?/gi;
|
|
17
13
|
const HEX = /^#([0-9a-f]{3}|[0-9a-f]{6})$/i;
|
|
18
14
|
const hexRgb = (h) => {
|
|
@@ -75,7 +71,7 @@ function sampleTimelineDoc(doc, time) {
|
|
|
75
71
|
for (const l of doc.layers) {
|
|
76
72
|
if (l.type !== 'track' || !l.keyframes?.length || !isLayerActive(doc, l.id))
|
|
77
73
|
continue;
|
|
78
|
-
const ks = l.keyframes
|
|
74
|
+
const ks = byTime(l.keyframes);
|
|
79
75
|
const names = [];
|
|
80
76
|
for (const k of ks)
|
|
81
77
|
for (const n of Object.keys(k.props))
|
|
@@ -205,4 +201,4 @@ function createTimelinePreview(root, doc, o = {}) {
|
|
|
205
201
|
}
|
|
206
202
|
|
|
207
203
|
export { createFixedClock as a, createTimelinePreview as c, interpolateValue as i, sampleTimelineDoc as s };
|
|
208
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
204
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.0.0/dist/chunks/preview-DdgqW96I.js.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var ease$1 = require('./ease-HwYZnZat.cjs');
|
|
4
4
|
var base = require('./base-BvH4nAcv.cjs');
|
|
5
|
-
var format = require('./format-
|
|
5
|
+
var format = require('./format-b5fQz-vc.cjs');
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* 13.6: reproducible preview. `sampleTimelineDoc(doc, t)` is a pure function of
|
|
@@ -11,10 +11,6 @@ var format = require('./format-DrRrPbjl.cjs');
|
|
|
11
11
|
* `random(a, b)` values depend only on the seed. `createTimelinePreview` writes
|
|
12
12
|
* that state to the DOM; `createFixedClock` drives it in fixed steps for tests.
|
|
13
13
|
*/
|
|
14
|
-
const round = (n) => {
|
|
15
|
-
const r = Math.round(n * 1e4) / 1e4;
|
|
16
|
-
return r === 0 ? 0 : r;
|
|
17
|
-
};
|
|
18
14
|
const NUM = /-?(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?/gi;
|
|
19
15
|
const HEX = /^#([0-9a-f]{3}|[0-9a-f]{6})$/i;
|
|
20
16
|
const hexRgb = (h) => {
|
|
@@ -52,7 +48,7 @@ function interpolateValue(a, b, p) {
|
|
|
52
48
|
if (p === 1)
|
|
53
49
|
return b;
|
|
54
50
|
if (typeof a === 'number' && typeof b === 'number')
|
|
55
|
-
return round(a + (b - a) * p);
|
|
51
|
+
return format.round(a + (b - a) * p);
|
|
56
52
|
const sa = HEX.test(String(a).trim()) && HEX.test(String(b).trim()) ? hexRgb(String(a)) : String(a);
|
|
57
53
|
const sb = sa !== String(a) ? hexRgb(String(b)) : String(b);
|
|
58
54
|
const na = sa.match(NUM) || [];
|
|
@@ -63,7 +59,7 @@ function interpolateValue(a, b, p) {
|
|
|
63
59
|
return sa.replace(NUM, () => {
|
|
64
60
|
const k = i++;
|
|
65
61
|
const v = +na[k] + (+nb[k] - +na[k]) * p;
|
|
66
|
-
return String(rgb && k < 3 ? Math.min(255, Math.max(0, Math.round(v))) : round(v));
|
|
62
|
+
return String(rgb && k < 3 ? Math.min(255, Math.max(0, Math.round(v))) : format.round(v));
|
|
67
63
|
});
|
|
68
64
|
}
|
|
69
65
|
return p < 0.5 ? a : b;
|
|
@@ -77,7 +73,7 @@ function sampleTimelineDoc(doc, time) {
|
|
|
77
73
|
for (const l of doc.layers) {
|
|
78
74
|
if (l.type !== 'track' || !l.keyframes?.length || !format.isLayerActive(doc, l.id))
|
|
79
75
|
continue;
|
|
80
|
-
const ks = l.keyframes
|
|
76
|
+
const ks = format.byTime(l.keyframes);
|
|
81
77
|
const names = [];
|
|
82
78
|
for (const k of ks)
|
|
83
79
|
for (const n of Object.keys(k.props))
|
|
@@ -108,7 +104,7 @@ function sampleTimelineDoc(doc, time) {
|
|
|
108
104
|
function createFixedClock(o = {}) {
|
|
109
105
|
const step = o.step && o.step > 0 ? o.step : 1000 / 60;
|
|
110
106
|
let n = Math.round((o.start ?? 0) / step);
|
|
111
|
-
const at = () => round(n * step);
|
|
107
|
+
const at = () => format.round(n * step);
|
|
112
108
|
return {
|
|
113
109
|
get time() { return at(); },
|
|
114
110
|
step,
|
|
@@ -210,4 +206,4 @@ exports.createFixedClock = createFixedClock;
|
|
|
210
206
|
exports.createTimelinePreview = createTimelinePreview;
|
|
211
207
|
exports.interpolateValue = interpolateValue;
|
|
212
208
|
exports.sampleTimelineDoc = sampleTimelineDoc;
|
|
213
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
209
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.0.0/dist/chunks/preview-kiMCBqSF.cjs.map
|
|
@@ -90,4 +90,4 @@ function definePrizeWheel(tag = 'usa-prize-wheel') {
|
|
|
90
90
|
|
|
91
91
|
exports.definePrizeWheel = definePrizeWheel;
|
|
92
92
|
exports.wheelAngle = wheelAngle;
|
|
93
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
93
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.0.0/dist/chunks/prize-wheel-emDopI5c.cjs.map
|
|
@@ -87,4 +87,4 @@ function definePrizeWheel(tag = 'usa-prize-wheel') {
|
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
export { definePrizeWheel as d, wheelAngle as w };
|
|
90
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
90
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.0.0/dist/chunks/prize-wheel-xiuulNSI.js.map
|
|
@@ -118,4 +118,4 @@ function defineProductGallery(tag = 'usa-product-gallery') {
|
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
export { defineProductGallery as d, wrapIndex as w };
|
|
121
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
121
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.0.0/dist/chunks/product-gallery-BoiBGX9H.js.map
|
|
@@ -121,4 +121,4 @@ function defineProductGallery(tag = 'usa-product-gallery') {
|
|
|
121
121
|
|
|
122
122
|
exports.defineProductGallery = defineProductGallery;
|
|
123
123
|
exports.wrapIndex = wrapIndex;
|
|
124
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/
|
|
124
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.0.0/dist/chunks/product-gallery-CKtSVhZk.cjs.map
|