motionary 12.0.0 → 12.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +25 -0
- package/README.md +2 -0
- package/bin/mcp-mount.mjs +98 -0
- package/bin/motionary-mcp.mjs +27 -4
- package/bin/motionary.mjs +29 -2
- package/bin/xplat.mjs +164 -0
- package/dist/chunks/anim-image-D_WUCgp4.cjs +1 -1
- package/dist/chunks/anim-image-KyCg37rY.js +1 -1
- package/dist/chunks/audio-BSQmg3MB.cjs +1 -1
- package/dist/chunks/audio-DNNfcWi9.js +1 -1
- package/dist/chunks/badge-wall-BPbL8OTC.cjs +1 -1
- package/dist/chunks/badge-wall-Dg7S7RJn.js +1 -1
- package/dist/chunks/base-B3me2y0o.cjs +1 -1
- package/dist/chunks/base-zSGb8ujt.js +1 -1
- package/dist/chunks/bg-generator-DKX8nt8T.js +1 -1
- package/dist/chunks/bg-generator-U6fomxZX.cjs +1 -1
- package/dist/chunks/bind-B_CTL6Qn.js +1 -1
- package/dist/chunks/bind-Ui43-n2d.cjs +1 -1
- package/dist/chunks/builtins-Cz3iufK6.cjs +1 -1
- package/dist/chunks/builtins-Simwbnqg.js +1 -1
- package/dist/chunks/carousel-BvdFWXZC.cjs +1 -1
- package/dist/chunks/carousel-C36_TV-w.js +1 -1
- package/dist/chunks/cart-drawer-BIeW2ITt.js +1 -1
- package/dist/chunks/cart-drawer-BRK4G_aL.cjs +1 -1
- package/dist/chunks/code-export-B6NVzEhx.js +1 -1
- package/dist/chunks/code-export-BUcIsaA0.cjs +1 -1
- package/dist/chunks/color-picker-6qKpXxrS.js +1 -1
- package/dist/chunks/color-picker-CZvB7e4m.cjs +1 -1
- package/dist/chunks/command-palette-BSTQQK3b.js +1 -1
- package/dist/chunks/command-palette-CNnX1Qlx.cjs +1 -1
- package/dist/chunks/core-BOCM9zD5.js +1 -1
- package/dist/chunks/core-BcQb_f91.js +1 -1
- package/dist/chunks/core-BdLFN0RS.cjs +1 -1
- package/dist/chunks/core-BjcOCpJt.cjs +1 -1
- package/dist/chunks/core-Dj6iomdc.js +1 -1
- package/dist/chunks/core-KIvPGg0c.cjs +1 -1
- package/dist/chunks/countdown-CzDT07_X.js +1 -1
- package/dist/chunks/countdown-D5fCuduX.cjs +1 -1
- package/dist/chunks/date-picker-DJ5URMsx.cjs +1 -1
- package/dist/chunks/date-picker-DKv1uKYq.js +1 -1
- package/dist/chunks/ease-HwYZnZat.cjs +1 -1
- package/dist/chunks/ease-XN8_0sXu.js +1 -1
- package/dist/chunks/equalizer-C8mel4Mn.js +1 -1
- package/dist/chunks/equalizer-D3iO1wBO.cjs +1 -1
- package/dist/chunks/festival-banner-BYn-HCza.js +1 -1
- package/dist/chunks/festival-banner-Dx7QAmxt.cjs +1 -1
- package/dist/chunks/field-BlWcKLcW.js +1 -1
- package/dist/chunks/field-CLbSJL_S.cjs +1 -1
- package/dist/chunks/fx-BaPAanPW.cjs +1 -1
- package/dist/chunks/fx-DUteojZx.js +1 -1
- package/dist/chunks/generative-2LhxG5BJ.js +1 -1
- package/dist/chunks/generative-BHIj-NU0.cjs +1 -1
- package/dist/chunks/gl-scene-BzOKrqVW.cjs +1 -1
- package/dist/chunks/gl-scene-DqFpR0Z7.js +1 -1
- package/dist/chunks/globe-6qzMhWwL.js +1 -1
- package/dist/chunks/globe-DDPNdPPD.cjs +1 -1
- package/dist/chunks/gpu-Dw1udOJW.cjs +1 -1
- package/dist/chunks/gpu-ML0i9eNv.js +1 -1
- package/dist/chunks/gpu-particles-Ce1Q_xJk.js +1 -1
- package/dist/chunks/gpu-particles-Z95SjKpc.cjs +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-DbVzmsRL.js +1 -1
- package/dist/chunks/keyframes-cJHH8OjN.cjs +1 -1
- package/dist/chunks/leaderboard-ButHN_NI.cjs +1 -1
- package/dist/chunks/leaderboard-PaGjUBdI.js +1 -1
- package/dist/chunks/location-card-CLR05EP-.cjs +1 -1
- package/dist/chunks/location-card-D-jdyQge.js +1 -1
- package/dist/chunks/lottie-icon-1x0omshZ.js +1 -1
- package/dist/chunks/lottie-icon-DDKThCMc.cjs +1 -1
- package/dist/chunks/lottie-player-CHqBhRAB.js +1 -1
- package/dist/chunks/lottie-player-DGUpDJeC.cjs +1 -1
- package/dist/chunks/lyrics-gmFffOvn.cjs +1 -1
- package/dist/chunks/lyrics-r4Z0TGnm.js +1 -1
- package/dist/chunks/manifest-Bcz6rQ20.cjs +1 -1
- package/dist/chunks/manifest-pFJWahGJ.js +1 -1
- package/dist/chunks/menu-BTGBkd2U.js +1 -1
- package/dist/chunks/menu-BgO53POm.cjs +1 -1
- package/dist/chunks/menu-toggle-BJEK8BJD.cjs +1 -1
- package/dist/chunks/menu-toggle-Dch8f2GK.js +1 -1
- package/dist/chunks/nav-morph-BlfdTr2-.js +1 -1
- package/dist/chunks/nav-morph-DvE3FgWw.cjs +1 -1
- package/dist/chunks/otp-B1_JY5KD.cjs +1 -1
- package/dist/chunks/otp-Dxw6l5CL.js +1 -1
- package/dist/chunks/pagination-C5bamOI4.cjs +1 -1
- package/dist/chunks/pagination-CFOc73i-.js +1 -1
- package/dist/chunks/physics-playground-C5K776AL.cjs +1 -1
- package/dist/chunks/physics-playground-DHO_tLsW.js +1 -1
- package/dist/chunks/player-B7QRAdUN.cjs +1 -1
- package/dist/chunks/player-BA50IpKZ.js +1 -1
- package/dist/chunks/presence-230b12uw.cjs +1 -1
- package/dist/chunks/presence-CPc3nH2E.js +1 -1
- package/dist/chunks/presets-BYBVJVeP.js +1 -1
- package/dist/chunks/presets-CUHys3sK.cjs +1 -1
- package/dist/chunks/prize-wheel-CYEPyee6.cjs +1 -1
- package/dist/chunks/prize-wheel-ClMtfLVa.js +1 -1
- package/dist/chunks/product-gallery-DlVGui98.js +1 -1
- package/dist/chunks/product-gallery-mML9zLXE.cjs +1 -1
- package/dist/chunks/progress-ring-C8OHcD1x.cjs +1 -1
- package/dist/chunks/progress-ring-u5QwkDUc.js +1 -1
- package/dist/chunks/prop-panel-B4SaLelu.cjs +1 -1
- package/dist/chunks/prop-panel-CYTkWP9Y.js +1 -1
- package/dist/chunks/radar-B7ZGs9Ca.js +1 -1
- package/dist/chunks/radar-BWjX0-2G.cjs +1 -1
- package/dist/chunks/reactions-BTTEhsnZ.js +1 -1
- package/dist/chunks/reactions-D2QL8ezS.cjs +1 -1
- package/dist/chunks/registry-BB1oO-lR.cjs +1 -1
- package/dist/chunks/registry-CYojuxi5.js +1 -1
- package/dist/chunks/registry-D3VGJOuX.js +1 -1
- package/dist/chunks/registry-VKfDCYYI.cjs +1 -1
- package/dist/chunks/retro-button-CiVnwK4T.js +1 -1
- package/dist/chunks/retro-button-CqLmeF6H.cjs +1 -1
- package/dist/chunks/rive-CfWKBIa5.cjs +1 -1
- package/dist/chunks/rive-CtYlVrH0.js +1 -1
- package/dist/chunks/runtime-link-CvJOTQYQ.js +1 -1
- package/dist/chunks/runtime-link-CyExCzuU.cjs +1 -1
- package/dist/chunks/scroll-driven-CQbwzCdn.cjs +1 -1
- package/dist/chunks/scroll-driven-LghshrWq.js +1 -1
- package/dist/chunks/scroll-scene-BuR-Rq0p.js +1 -1
- package/dist/chunks/scroll-scene-CFHW9iRD.cjs +1 -1
- package/dist/chunks/segmented-BEuxQKN8.js +1 -1
- package/dist/chunks/segmented-omNqJ1vK.cjs +1 -1
- package/dist/chunks/shader-backdrop-Tnlj5ag3.cjs +1 -1
- package/dist/chunks/shader-backdrop-jJaiqu2T.js +1 -1
- package/dist/chunks/shared-BxK1D7EZ.cjs +1 -1
- package/dist/chunks/shared-C8Pi6tuh.js +1 -1
- package/dist/chunks/shared-CkKHWrtJ.js +1 -1
- package/dist/chunks/shared-jkgRH-Hx.cjs +1 -1
- package/dist/chunks/sheet-BHvZA7rD.js +1 -1
- package/dist/chunks/sheet-BfH5vWIW.cjs +1 -1
- package/dist/chunks/sign-DvZ1jHxE.js +1 -1
- package/dist/chunks/sign-RAkQIWrM.cjs +1 -1
- package/dist/chunks/skeleton-reveal-Dwm8Z6Iv.js +1 -1
- package/dist/chunks/skeleton-reveal-n4L3iur-.cjs +1 -1
- package/dist/chunks/sparkline-BtSW-HY0.js +1 -1
- package/dist/chunks/sparkline-DZiGHCOf.cjs +1 -1
- package/dist/chunks/spring-CznnvQCN.js +1 -1
- package/dist/chunks/spring-DcM7pQgx.cjs +1 -1
- package/dist/chunks/stagger-B9sKPwQB.js +1 -1
- package/dist/chunks/stagger-DFKwqOQG.cjs +1 -1
- package/dist/chunks/suggestion-chips-BVt6aSMC.cjs +1 -1
- package/dist/chunks/suggestion-chips-CtgmWPtH.js +1 -1
- package/dist/chunks/switch-BKhvELnx.cjs +1 -1
- package/dist/chunks/switch-CZCdSuCz.js +1 -1
- package/dist/chunks/tab-bar-2d1734DE.js +1 -1
- package/dist/chunks/tab-bar-B3ucWWMl.cjs +1 -1
- package/dist/chunks/ticker-Bx4j1lSk.cjs +1 -1
- package/dist/chunks/ticker-vWmxVVge.js +1 -1
- package/dist/chunks/tip-BQwC2KtE.cjs +1 -1
- package/dist/chunks/tip-r4VuAjSI.js +1 -1
- package/dist/chunks/toast-stack-D3zrI7U6.js +1 -1
- package/dist/chunks/toast-stack-DfFjAKGz.cjs +1 -1
- package/dist/chunks/tween-DhlovBgd.js +1 -1
- package/dist/chunks/tween-DjySqWFm.cjs +1 -1
- package/dist/chunks/upload-progress-CkfDSMr-.js +1 -1
- package/dist/chunks/upload-progress-DmywVhec.cjs +1 -1
- package/dist/chunks/variants-DRi3tBJf.js +1 -1
- package/dist/chunks/variants-cVfgIaXa.cjs +1 -1
- package/dist/chunks/voice-button-CZ5cpeWN.cjs +1 -1
- package/dist/chunks/voice-button-DVovZYBR.js +1 -1
- package/dist/chunks/weather-card-DCzxr5T4.cjs +1 -1
- package/dist/chunks/weather-card-pF9sSKuI.js +1 -1
- package/dist/chunks/worker-canvas-CDc2aIKC.cjs +1 -1
- package/dist/chunks/worker-canvas-Hl3quLAh.js +1 -1
- package/dist/chunks/xp-bar-D4Yq5Dpv.cjs +1 -1
- package/dist/chunks/xp-bar-j1FsL32r.js +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 +1 -1
- package/dist/components/dotlottie.js +1 -1
- package/dist/components/dsl.cjs +1 -1
- package/dist/components/dsl.js +1 -1
- package/dist/components/effects.cjs +1 -1
- package/dist/components/effects.js +1 -1
- package/dist/components/engine.cjs +1 -1
- package/dist/components/engine.js +1 -1
- package/dist/components/feedback.cjs +1 -1
- package/dist/components/feedback.js +1 -1
- package/dist/components/fx-3d.cjs +1 -1
- package/dist/components/fx-3d.js +1 -1
- package/dist/components/fx-ai.cjs +1 -1
- package/dist/components/fx-ai.js +1 -1
- package/dist/components/fx-chart.cjs +1 -1
- package/dist/components/fx-chart.js +1 -1
- package/dist/components/fx-cinema.cjs +1 -1
- package/dist/components/fx-cinema.js +1 -1
- package/dist/components/fx-cyber.cjs +1 -1
- package/dist/components/fx-cyber.js +1 -1
- package/dist/components/fx-festival.cjs +1 -1
- package/dist/components/fx-festival.js +1 -1
- package/dist/components/fx-focus.cjs +1 -1
- package/dist/components/fx-focus.js +1 -1
- package/dist/components/fx-form.cjs +1 -1
- package/dist/components/fx-form.js +1 -1
- package/dist/components/fx-game.cjs +1 -1
- package/dist/components/fx-game.js +1 -1
- package/dist/components/fx-genart.cjs +1 -1
- package/dist/components/fx-genart.js +1 -1
- package/dist/components/fx-geo.cjs +1 -1
- package/dist/components/fx-geo.js +1 -1
- package/dist/components/fx-gesture.cjs +1 -1
- package/dist/components/fx-gesture.js +1 -1
- package/dist/components/fx-gpu.cjs +1 -1
- package/dist/components/fx-gpu.js +1 -1
- package/dist/components/fx-light.cjs +1 -1
- package/dist/components/fx-light.js +1 -1
- package/dist/components/fx-lottie.cjs +1 -1
- package/dist/components/fx-lottie.js +1 -1
- package/dist/components/fx-morph.cjs +1 -1
- package/dist/components/fx-morph.js +1 -1
- package/dist/components/fx-music.cjs +1 -1
- package/dist/components/fx-music.js +1 -1
- package/dist/components/fx-organic.cjs +1 -1
- package/dist/components/fx-organic.js +1 -1
- package/dist/components/fx-paper.cjs +1 -1
- package/dist/components/fx-paper.js +1 -1
- package/dist/components/fx-perf.cjs +1 -1
- package/dist/components/fx-perf.js +1 -1
- package/dist/components/fx-physics.cjs +1 -1
- package/dist/components/fx-physics.js +1 -1
- package/dist/components/fx-retro.cjs +1 -1
- package/dist/components/fx-retro.js +1 -1
- package/dist/components/fx-safe.cjs +1 -1
- package/dist/components/fx-safe.js +1 -1
- package/dist/components/fx-shop.cjs +1 -1
- package/dist/components/fx-shop.js +1 -1
- package/dist/components/fx-social.cjs +1 -1
- package/dist/components/fx-social.js +1 -1
- package/dist/components/fx-spatial.cjs +1 -1
- package/dist/components/fx-spatial.js +1 -1
- package/dist/components/fx-surface.cjs +1 -1
- package/dist/components/fx-surface.js +1 -1
- package/dist/components/fx-text.cjs +1 -1
- package/dist/components/fx-text.js +1 -1
- package/dist/components/fx-transitions.cjs +1 -1
- package/dist/components/fx-transitions.js +1 -1
- package/dist/components/fx-video.cjs +1 -1
- package/dist/components/fx-video.js +1 -1
- package/dist/components/fx-weather.cjs +1 -1
- package/dist/components/fx-weather.js +1 -1
- package/dist/components/fx.cjs +1 -1
- package/dist/components/fx.js +1 -1
- package/dist/components/fx2.cjs +1 -1
- package/dist/components/fx2.js +1 -1
- package/dist/components/gesture.cjs +1 -1
- package/dist/components/gesture.js +1 -1
- package/dist/components/gl-model.cjs +1 -1
- package/dist/components/gl-model.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/native.cjs +1 -1
- package/dist/components/native.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.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/snap-carousel.cjs +1 -1
- package/dist/components/snap-carousel.js +1 -1
- package/dist/components/solid.cjs +1 -1
- package/dist/components/solid.js +1 -1
- package/dist/components/svelte.cjs +1 -1
- package/dist/components/svelte.js +1 -1
- package/dist/components/svg.cjs +1 -1
- package/dist/components/svg.js +1 -1
- package/dist/components/text.cjs +1 -1
- package/dist/components/text.js +1 -1
- package/dist/components/timeline.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 +1 -1
- package/dist/components/widgets.js +1 -1
- package/dist/components.cjs +1 -1
- package/dist/components.js +1 -1
- package/dist/components.umd.js +1 -1
- package/dist/effects/achievement-unlock.cjs +1 -1
- package/dist/effects/achievement-unlock.js +1 -1
- package/dist/effects/aurora-veil.cjs +1 -1
- package/dist/effects/aurora-veil.js +1 -1
- package/dist/effects/badge-pop.cjs +1 -1
- package/dist/effects/badge-pop.js +1 -1
- package/dist/effects/bars-grow.cjs +1 -1
- package/dist/effects/bars-grow.js +1 -1
- package/dist/effects/beat-bounce.cjs +1 -1
- package/dist/effects/beat-bounce.js +1 -1
- package/dist/effects/blob-button.cjs +1 -1
- package/dist/effects/blob-button.js +1 -1
- package/dist/effects/bloom.cjs +1 -1
- package/dist/effects/bloom.js +1 -1
- package/dist/effects/breathe.cjs +1 -1
- package/dist/effects/breathe.js +1 -1
- package/dist/effects/brushed-metal.cjs +1 -1
- package/dist/effects/brushed-metal.js +1 -1
- package/dist/effects/camera-dolly.cjs +1 -1
- package/dist/effects/camera-dolly.js +1 -1
- package/dist/effects/card-flip-3d.cjs +1 -1
- package/dist/effects/card-flip-3d.js +1 -1
- package/dist/effects/chest-open.cjs +1 -1
- package/dist/effects/chest-open.js +1 -1
- package/dist/effects/cloth.cjs +1 -1
- package/dist/effects/cloth.js +1 -1
- package/dist/effects/coin-burst.cjs +1 -1
- package/dist/effects/coin-burst.js +1 -1
- package/dist/effects/color-pulse.cjs +1 -1
- package/dist/effects/color-pulse.js +1 -1
- package/dist/effects/crt-power.cjs +1 -1
- package/dist/effects/crt-power.js +1 -1
- package/dist/effects/crumple.cjs +1 -1
- package/dist/effects/crumple.js +1 -1
- package/dist/effects/data-decode.cjs +1 -1
- package/dist/effects/data-decode.js +1 -1
- package/dist/effects/day-cycle.cjs +1 -1
- package/dist/effects/day-cycle.js +1 -1
- package/dist/effects/depth-in.cjs +1 -1
- package/dist/effects/depth-in.js +1 -1
- package/dist/effects/depth-pop.cjs +1 -1
- package/dist/effects/depth-pop.js +1 -1
- package/dist/effects/depth-stack.cjs +1 -1
- package/dist/effects/depth-stack.js +1 -1
- package/dist/effects/dolly-in.cjs +1 -1
- package/dist/effects/dolly-in.js +1 -1
- package/dist/effects/dots-pop.cjs +1 -1
- package/dist/effects/dots-pop.js +1 -1
- package/dist/effects/field-shake.cjs +1 -1
- package/dist/effects/field-shake.js +1 -1
- package/dist/effects/field-success.cjs +1 -1
- package/dist/effects/field-success.js +1 -1
- package/dist/effects/film-burn.cjs +1 -1
- package/dist/effects/film-burn.js +1 -1
- package/dist/effects/fire.cjs +1 -1
- package/dist/effects/fire.js +1 -1
- package/dist/effects/fireflies.cjs +1 -1
- package/dist/effects/fireflies.js +1 -1
- package/dist/effects/firework-burst.cjs +1 -1
- package/dist/effects/firework-burst.js +1 -1
- package/dist/effects/flip-chars.cjs +1 -1
- package/dist/effects/flip-chars.js +1 -1
- package/dist/effects/fluid.cjs +1 -1
- package/dist/effects/fluid.js +1 -1
- package/dist/effects/fly-to-cart.cjs +1 -1
- package/dist/effects/fly-to-cart.js +1 -1
- package/dist/effects/focus-draw.cjs +1 -1
- package/dist/effects/focus-draw.js +1 -1
- package/dist/effects/focus-glow.cjs +1 -1
- package/dist/effects/focus-glow.js +1 -1
- package/dist/effects/fog.cjs +1 -1
- package/dist/effects/fog.js +1 -1
- package/dist/effects/font-breathe.cjs +1 -1
- package/dist/effects/font-breathe.js +1 -1
- package/dist/effects/form-cascade.cjs +1 -1
- package/dist/effects/form-cascade.js +1 -1
- package/dist/effects/gen-skeleton.cjs +1 -1
- package/dist/effects/gen-skeleton.js +1 -1
- package/dist/effects/glass-frost.cjs +1 -1
- package/dist/effects/glass-frost.js +1 -1
- package/dist/effects/glitch-text.cjs +1 -1
- package/dist/effects/glitch-text.js +1 -1
- package/dist/effects/globe-spin.cjs +1 -1
- package/dist/effects/globe-spin.js +1 -1
- package/dist/effects/god-rays.cjs +1 -1
- package/dist/effects/god-rays.js +1 -1
- package/dist/effects/gpu-lift.cjs +1 -1
- package/dist/effects/gpu-lift.js +1 -1
- package/dist/effects/grain-flicker.cjs +1 -1
- package/dist/effects/grain-flicker.js +1 -1
- package/dist/effects/halftone-in.cjs +1 -1
- package/dist/effects/halftone-in.js +1 -1
- package/dist/effects/highlight-sweep.cjs +1 -1
- package/dist/effects/highlight-sweep.js +1 -1
- package/dist/effects/hologram.cjs +1 -1
- package/dist/effects/hologram.js +1 -1
- package/dist/effects/hud-frame.cjs +1 -1
- package/dist/effects/hud-frame.js +1 -1
- package/dist/effects/icon-pop.cjs +1 -1
- package/dist/effects/icon-pop.js +1 -1
- package/dist/effects/icon-swap.cjs +1 -1
- package/dist/effects/icon-swap.js +1 -1
- package/dist/effects/idle-reveal.cjs +1 -1
- package/dist/effects/idle-reveal.js +1 -1
- package/dist/effects/ink.cjs +1 -1
- package/dist/effects/ink.js +1 -1
- package/dist/effects/jump-cut.cjs +1 -1
- package/dist/effects/jump-cut.js +1 -1
- package/dist/effects/kaleido.cjs +1 -1
- package/dist/effects/kaleido.js +1 -1
- package/dist/effects/label-float.cjs +1 -1
- package/dist/effects/label-float.js +1 -1
- package/dist/effects/lantern-rise.cjs +1 -1
- package/dist/effects/lantern-rise.js +1 -1
- package/dist/effects/leaves.cjs +1 -1
- package/dist/effects/leaves.js +1 -1
- package/dist/effects/letterbox.cjs +1 -1
- package/dist/effects/letterbox.js +1 -1
- package/dist/effects/level-up.cjs +1 -1
- package/dist/effects/level-up.js +1 -1
- package/dist/effects/light-follow.cjs +1 -1
- package/dist/effects/light-follow.js +1 -1
- package/dist/effects/lightning.cjs +1 -1
- package/dist/effects/lightning.js +1 -1
- package/dist/effects/line-draw.cjs +1 -1
- package/dist/effects/line-draw.js +1 -1
- package/dist/effects/liquid-text.cjs +1 -1
- package/dist/effects/liquid-text.js +1 -1
- package/dist/effects/liquid-wipe.cjs +1 -1
- package/dist/effects/liquid-wipe.js +1 -1
- package/dist/effects/lottie-play.cjs +1 -1
- package/dist/effects/lottie-play.js +1 -1
- package/dist/effects/magnet.cjs +1 -1
- package/dist/effects/magnet.js +1 -1
- package/dist/effects/marching-ants.cjs +1 -1
- package/dist/effects/marching-ants.js +1 -1
- package/dist/effects/marker-pulse.cjs +1 -1
- package/dist/effects/marker-pulse.js +1 -1
- package/dist/effects/mention-glow.cjs +1 -1
- package/dist/effects/mention-glow.js +1 -1
- package/dist/effects/mesh-drift.cjs +1 -1
- package/dist/effects/mesh-drift.js +1 -1
- package/dist/effects/message-in.cjs +1 -1
- package/dist/effects/message-in.js +1 -1
- package/dist/effects/mosaic-flip.cjs +1 -1
- package/dist/effects/mosaic-flip.js +1 -1
- package/dist/effects/neon-ignite.cjs +1 -1
- package/dist/effects/neon-ignite.js +1 -1
- package/dist/effects/neon-pulse.cjs +1 -1
- package/dist/effects/neon-pulse.js +1 -1
- package/dist/effects/neon-write.cjs +1 -1
- package/dist/effects/neon-write.js +1 -1
- package/dist/effects/neu-press.cjs +1 -1
- package/dist/effects/neu-press.js +1 -1
- package/dist/effects/noise-reveal.cjs +1 -1
- package/dist/effects/noise-reveal.js +1 -1
- package/dist/effects/number-roll.cjs +1 -1
- package/dist/effects/number-roll.js +1 -1
- package/dist/effects/orbit-camera.cjs +1 -1
- package/dist/effects/orbit-camera.js +1 -1
- package/dist/effects/orbit-in.cjs +1 -1
- package/dist/effects/orbit-in.js +1 -1
- package/dist/effects/origami.cjs +1 -1
- package/dist/effects/origami.js +1 -1
- package/dist/effects/page-curl.cjs +1 -1
- package/dist/effects/page-curl.js +1 -1
- package/dist/effects/pan-reveal.cjs +1 -1
- package/dist/effects/pan-reveal.js +1 -1
- package/dist/effects/paper-unfold.cjs +1 -1
- package/dist/effects/paper-unfold.js +1 -1
- package/dist/effects/particle-text.cjs +1 -1
- package/dist/effects/particle-text.js +1 -1
- package/dist/effects/path-morph.cjs +1 -1
- package/dist/effects/path-morph.js +1 -1
- package/dist/effects/pearlescent.cjs +1 -1
- package/dist/effects/pearlescent.js +1 -1
- package/dist/effects/pencil-sketch.cjs +1 -1
- package/dist/effects/pencil-sketch.js +1 -1
- package/dist/effects/pin-drop.cjs +1 -1
- package/dist/effects/pin-drop.js +1 -1
- package/dist/effects/pinball.cjs +1 -1
- package/dist/effects/pinball.js +1 -1
- package/dist/effects/pinch-hint.cjs +1 -1
- package/dist/effects/pinch-hint.js +1 -1
- package/dist/effects/pixelate-in.cjs +1 -1
- package/dist/effects/pixelate-in.js +1 -1
- package/dist/effects/pointer-shadow.cjs +1 -1
- package/dist/effects/pointer-shadow.js +1 -1
- package/dist/effects/portal-open.cjs +1 -1
- package/dist/effects/portal-open.js +1 -1
- package/dist/effects/price-flip.cjs +1 -1
- package/dist/effects/price-flip.js +1 -1
- package/dist/effects/product-spin.cjs +1 -1
- package/dist/effects/product-spin.js +1 -1
- package/dist/effects/rack-focus.cjs +1 -1
- package/dist/effects/rack-focus.js +1 -1
- package/dist/effects/radial-spectrum.cjs +1 -1
- package/dist/effects/radial-spectrum.js +1 -1
- package/dist/effects/rain-glass.cjs +1 -1
- package/dist/effects/rain-glass.js +1 -1
- package/dist/effects/reaction-burst.cjs +1 -1
- package/dist/effects/reaction-burst.js +1 -1
- package/dist/effects/read-receipt.cjs +1 -1
- package/dist/effects/read-receipt.js +1 -1
- package/dist/effects/refraction.cjs +1 -1
- package/dist/effects/refraction.js +1 -1
- package/dist/effects/ring-sweep.cjs +1 -1
- package/dist/effects/ring-sweep.js +1 -1
- package/dist/effects/ripple-dissolve.cjs +1 -1
- package/dist/effects/ripple-dissolve.js +1 -1
- package/dist/effects/rope.cjs +1 -1
- package/dist/effects/rope.js +1 -1
- package/dist/effects/route-draw.cjs +1 -1
- package/dist/effects/route-draw.js +1 -1
- package/dist/effects/safe-fade.cjs +1 -1
- package/dist/effects/safe-fade.js +1 -1
- package/dist/effects/sakura.cjs +1 -1
- package/dist/effects/sakura.js +1 -1
- package/dist/effects/sale-shine.cjs +1 -1
- package/dist/effects/sale-shine.js +1 -1
- package/dist/effects/sankey-flow.cjs +1 -1
- package/dist/effects/sankey-flow.js +1 -1
- package/dist/effects/scanline-sweep.cjs +1 -1
- package/dist/effects/scanline-sweep.js +1 -1
- package/dist/effects/shatter.cjs +1 -1
- package/dist/effects/shatter.js +1 -1
- package/dist/effects/smoke.cjs +1 -1
- package/dist/effects/smoke.js +1 -1
- package/dist/effects/snowfall.cjs +1 -1
- package/dist/effects/snowfall.js +1 -1
- package/dist/effects/soft-body.cjs +1 -1
- package/dist/effects/soft-body.js +1 -1
- package/dist/effects/sound-particles.cjs +1 -1
- package/dist/effects/sound-particles.js +1 -1
- package/dist/effects/spatial-float.cjs +1 -1
- package/dist/effects/spatial-float.js +1 -1
- package/dist/effects/spectrum-mirror.cjs +1 -1
- package/dist/effects/spectrum-mirror.js +1 -1
- package/dist/effects/splash.cjs +1 -1
- package/dist/effects/splash.js +1 -1
- package/dist/effects/spooky-float.cjs +1 -1
- package/dist/effects/spooky-float.js +1 -1
- package/dist/effects/stock-pulse.cjs +1 -1
- package/dist/effects/stock-pulse.js +1 -1
- package/dist/effects/stream-text.cjs +1 -1
- package/dist/effects/stream-text.js +1 -1
- package/dist/effects/stroke-draw.cjs +1 -1
- package/dist/effects/stroke-draw.js +1 -1
- package/dist/effects/success-check.cjs +1 -1
- package/dist/effects/success-check.js +1 -1
- package/dist/effects/swipe-hint.cjs +1 -1
- package/dist/effects/swipe-hint.js +1 -1
- package/dist/effects/text-trail.cjs +1 -1
- package/dist/effects/text-trail.js +1 -1
- package/dist/effects/thinking-glow.cjs +1 -1
- package/dist/effects/thinking-glow.js +1 -1
- package/dist/effects/tilt-wobble.cjs +1 -1
- package/dist/effects/tilt-wobble.js +1 -1
- package/dist/effects/typing-dots.cjs +1 -1
- package/dist/effects/typing-dots.js +1 -1
- package/dist/effects/underline-sweep.cjs +1 -1
- package/dist/effects/underline-sweep.js +1 -1
- package/dist/effects/vhs-glitch.cjs +1 -1
- package/dist/effects/vhs-glitch.js +1 -1
- package/dist/effects/vine-grow.cjs +1 -1
- package/dist/effects/vine-grow.js +1 -1
- package/dist/effects/vinyl-spin.cjs +1 -1
- package/dist/effects/vinyl-spin.js +1 -1
- package/dist/effects/voice-wave.cjs +1 -1
- package/dist/effects/voice-wave.js +1 -1
- package/dist/effects/water-drop.cjs +1 -1
- package/dist/effects/water-drop.js +1 -1
- package/dist/effects/watercolor.cjs +1 -1
- package/dist/effects/watercolor.js +1 -1
- package/dist/effects/waveform-scope.cjs +1 -1
- package/dist/effects/waveform-scope.js +1 -1
- package/dist/effects/xmas-snow.cjs +1 -1
- package/dist/effects/xmas-snow.js +1 -1
- package/dist/effects/xp-gain.cjs +1 -1
- package/dist/effects/xp-gain.js +1 -1
- package/dist/effects/y2k-shine.cjs +1 -1
- package/dist/effects/y2k-shine.js +1 -1
- package/dist/element.cjs +1 -1
- package/dist/element.js +1 -1
- package/dist/element.umd.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/llms-full.txt +1 -1
- package/dist/llms.txt +1 -1
- package/dist/manifest.json +1 -1
- package/dist/presets/extended.cjs +1 -1
- package/dist/presets/extended.js +1 -1
- package/dist/presets-extended.umd.js +1 -1
- package/dist/react.cjs +1 -1
- package/dist/react.js +1 -1
- package/dist/runtime/drag-snap.cjs +1 -1
- package/dist/runtime/drag-snap.iife.js +1 -1
- package/dist/runtime/drag-snap.js +1 -1
- package/dist/runtime/format-apng.cjs +1 -1
- package/dist/runtime/format-apng.iife.js +1 -1
- package/dist/runtime/format-apng.js +1 -1
- package/dist/runtime/format-css.cjs +1 -1
- package/dist/runtime/format-css.iife.js +1 -1
- package/dist/runtime/format-css.js +1 -1
- package/dist/runtime/format-gif.cjs +1 -1
- package/dist/runtime/format-gif.iife.js +1 -1
- package/dist/runtime/format-gif.js +1 -1
- package/dist/runtime/format-gltf.cjs +1 -1
- package/dist/runtime/format-gltf.iife.js +1 -1
- package/dist/runtime/format-gltf.js +1 -1
- package/dist/runtime/format-motion.cjs +1 -1
- package/dist/runtime/format-motion.iife.js +1 -1
- package/dist/runtime/format-motion.js +1 -1
- package/dist/runtime/format-obj.cjs +1 -1
- package/dist/runtime/format-obj.iife.js +1 -1
- package/dist/runtime/format-obj.js +1 -1
- package/dist/runtime/format-scene.cjs +1 -1
- package/dist/runtime/format-scene.iife.js +1 -1
- package/dist/runtime/format-scene.js +1 -1
- package/dist/runtime/format-sprite.cjs +1 -1
- package/dist/runtime/format-sprite.iife.js +1 -1
- package/dist/runtime/format-sprite.js +1 -1
- package/dist/runtime/format-svg.cjs +1 -1
- package/dist/runtime/format-svg.iife.js +1 -1
- package/dist/runtime/format-svg.js +1 -1
- package/dist/runtime/format-webp.cjs +1 -1
- package/dist/runtime/format-webp.iife.js +1 -1
- package/dist/runtime/format-webp.js +1 -1
- package/dist/runtime/gl.cjs +1 -1
- package/dist/runtime/gl.iife.js +1 -1
- package/dist/runtime/gl.js +1 -1
- package/dist/runtime/gltf-anim.cjs +1 -1
- package/dist/runtime/gltf-anim.iife.js +1 -1
- package/dist/runtime/gltf-anim.js +1 -1
- package/dist/runtime/gltf-decoders.cjs +1 -1
- package/dist/runtime/gltf-decoders.iife.js +1 -1
- package/dist/runtime/gltf-decoders.js +1 -1
- package/dist/runtime/lottie-state.cjs +1 -1
- package/dist/runtime/lottie-state.iife.js +1 -1
- package/dist/runtime/lottie-state.js +1 -1
- package/dist/runtime/physics.cjs +1 -1
- package/dist/runtime/physics.iife.js +1 -1
- package/dist/runtime/physics.js +1 -1
- package/dist/runtime/scroll.cjs +1 -1
- package/dist/runtime/scroll.iife.js +1 -1
- package/dist/runtime/scroll.js +1 -1
- package/dist/runtime/smooth.cjs +1 -1
- package/dist/runtime/smooth.iife.js +1 -1
- package/dist/runtime/smooth.js +1 -1
- package/dist/runtime/text.cjs +1 -1
- package/dist/runtime/text.iife.js +1 -1
- package/dist/runtime/text.js +1 -1
- package/dist/runtime/vector.cjs +1 -1
- package/dist/runtime/vector.iife.js +1 -1
- package/dist/runtime/vector.js +1 -1
- package/dist/runtime.cjs +1 -1
- package/dist/runtime.iife.js +1 -1
- package/dist/runtime.js +1 -1
- 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 +1 -1
- package/dist/widgets/gl-scene.js +1 -1
- 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 +1 -1
- package/dist/widgets/lottie-player.js +1 -1
- 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 +1 -1
- package/dist/widgets/motion-inspector.js +1 -1
- 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 +1 -1
- package/dist/widgets/physics-playground.js +1 -1
- package/dist/widgets/plugin-card.cjs +1 -1
- package/dist/widgets/plugin-card.js +1 -1
- 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 +1 -1
- package/dist/widgets/scroll-scene.js +1 -1
- 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 +1 -1
- package/dist/widgets/smooth-scroll.js +1 -1
- 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 +1 -1
- package/dist/widgets/text-splitter.js +1 -1
- 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 +1 -1
- package/docs/cross-platform.md +41 -0
- package/docs/hybrid-apps.md +1 -1
- package/docs/mcp.md +18 -0
- package/package.json +6 -2
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,31 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [12.2.0] - 2026-10-10
|
|
11
|
+
|
|
12
|
+
### Stronger MCP validation (Tooling)
|
|
13
|
+
- `motionary-mcp` `validate_snippet` takes `mount: true`: the snippet's markup is mounted in a headless DOM (jsdom) with the real Motionary bundles and the `motionary/runtime` modules the snippet loads, in the correct order. The snippet's own scripts never run.
|
|
14
|
+
- Mounted checks, against the 12.0 component contract: every `<usa-*>` tag is defined and upgrades without throwing; a missing prerequisite surfaces as the component's own `requires motionary/runtime/…` error (`mount.confirmed` when the static pass already flagged it); legacy event names removed in 12.0 are errors with their `usa:*` replacement; `usa:*` events no used component emits and attributes an element reads but does not observe are warnings.
|
|
15
|
+
- New result field `mount: { mounted, environment, components: [{ tag, defined, upgraded }], confirmed }`. Static analysis stays the default and is unchanged.
|
|
16
|
+
- `jsdom` is a new **optional** peer (`npm i -D jsdom` to mount); without it `mount` is reported as skipped. Zero runtime dependencies, no runtime bundle changes.
|
|
17
|
+
- `MOTIONARY_DIST` points the server at another build. Docs: [docs/mcp.md](./docs/mcp.md#mounted-validation-122).
|
|
18
|
+
|
|
19
|
+
### Checks
|
|
20
|
+
- New `test/widgets-12-2.test.ts`: markup extraction, listened events, skip without jsdom, tool schema + optional peer, and a stdio MCP session (official SDK client) mounting real component sources: clean snippet, legacy event, unknown `usa:*` event, missing prerequisite, static default.
|
|
21
|
+
|
|
22
|
+
## [12.1.0] - 2026-10-10
|
|
23
|
+
|
|
24
|
+
### Cross-platform 3.0 (Public API)
|
|
25
|
+
- `npx motionary export --target css|wxss|arkts [--presets a,b] [--duration token] [--easing token] [--rpx] [--out file]` exports the presets, durations and easings from `motion.tokens.json` to code each platform runs natively.
|
|
26
|
+
- Mini programs (WeChat WXSS, Alipay ACSS, Douyin TTSS): `@keyframes` + `.usa-<preset>` classes, variables on `page`, optional px → rpx; example in `examples/miniapp`.
|
|
27
|
+
- HarmonyOS ArkUI: an ArkTS module with `USA_DURATION`, `USA_CURVE` (`curves.cubicBezierCurve`), `USA_PRESETS` frames and `usaAnimate()` on `animateTo`; parts with no ArkUI attribute (skew, perspective, clip-path) are listed in the file, never silently dropped; example in `examples/harmony-arkts`.
|
|
28
|
+
- Cross-platform previewer `showcase/xplat.html`: one preset on the web, in a mini program and as ArkUI maps it, with the generated code to copy.
|
|
29
|
+
- Reduced motion in every target: `@media (prefers-reduced-motion)` + `.usa-reduce-motion` class (CSS / WXSS), `reduceMotion` flag (ArkTS).
|
|
30
|
+
- New [docs/cross-platform.md](./docs/cross-platform.md). The exporter (`bin/xplat.mjs`) is build-time only: no runtime bundle changes.
|
|
31
|
+
|
|
32
|
+
### Checks
|
|
33
|
+
- New `test/widgets-12-1.test.ts`: transform parsing, ArkUI mapping + unmapped report, curves, every core preset exports to all three targets, reduced-motion rules, CLI (`--out`, unknown target / preset), committed example files equal a fresh export, previewer + docs.
|
|
34
|
+
|
|
10
35
|
## [12.0.0] - 2026-10-10
|
|
11
36
|
|
|
12
37
|
### ⚠️ Breaking — unified component contract (Components · Public API)
|
package/README.md
CHANGED
|
@@ -114,6 +114,8 @@ export class Hero {}
|
|
|
114
114
|
> 11.7: every `<usa-*>` element is audited against one contract — attributes, events, keyboard, lifecycle, reduced motion, errors ([docs/component-contract.md](./docs/component-contract.md), [report](./docs/contract-report.md)).
|
|
115
115
|
> 11.9: preparing for 12.0 — [docs/upgrading-12.md](./docs/upgrading-12.md) · `npx motionary doctor` · `npx usa-codemod-12 --write`.
|
|
116
116
|
> 12.0: one component contract for every `<usa-*>` element, enforced in CI — [docs/component-contract.md](./docs/component-contract.md) · upgrading: [docs/upgrading-12.md](./docs/upgrading-12.md).
|
|
117
|
+
> 12.1: cross-platform 3.0 — `npx motionary export --target css|wxss|arkts` for mini programs and HarmonyOS ArkUI, plus a [cross-platform previewer](https://harrisoncn.github.io/Motionary/showcase/xplat.html) — [docs/cross-platform.md](./docs/cross-platform.md).
|
|
118
|
+
> 12.2: `motionary-mcp` `validate_snippet { mount: true }` mounts generated code in a headless DOM with the real bundles and checks it against the component contract — [docs/mcp.md](./docs/mcp.md#mounted-validation-122).
|
|
117
119
|
|
|
118
120
|
Animated components need no framework at all:
|
|
119
121
|
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
// motionary-mcp 12.2 — validate_snippet { mount: true }: mount the snippet's markup in a headless DOM (jsdom, optional peer) with the
|
|
2
|
+
// real Motionary bundles, then check what actually happened against the component contract (docs/component-contract.md):
|
|
3
|
+
// • every <usa-*> tag is defined by the bundles and upgrades without throwing
|
|
4
|
+
// • missing prerequisites surface as the components' own errors ("requires motionary/runtime/…"), not a guess
|
|
5
|
+
// • attributes the snippet sets are ones the element observes (changes after mount are applied)
|
|
6
|
+
// • event names the snippet listens to are ones the used components emit (usa:* names; legacy names removed in 12.0)
|
|
7
|
+
// The snippet's own <script> code is never executed: only its markup is mounted, plus the library bundles it loads.
|
|
8
|
+
import { readFileSync, existsSync } from 'node:fs';
|
|
9
|
+
import { join } from 'node:path';
|
|
10
|
+
|
|
11
|
+
export const LEGACY_EVENTS_12 = { 'usa-beat': 'usa:beat', 'usa-audio-error': 'usa:audio-error', 'usa-player-ready': 'usa:ready', 'usa-player-finish': 'usa:finish', 'usa-story-step': 'usa:step' };
|
|
12
|
+
const GLOBAL = new Set(['class', 'id', 'style', 'role', 'slot', 'hidden', 'tabindex', 'title', 'lang', 'dir', 'part', 'is', 'inert', 'nonce', 'popover', 'translate', 'draggable', 'contenteditable', 'autofocus', 'key', 'ref', 'classname']);
|
|
13
|
+
|
|
14
|
+
/** Event names a snippet listens to: addEventListener('x'), Vue @x / v-on:x, Angular (x), Svelte on:x, JSX onX={…} is ignored (props). */
|
|
15
|
+
export function listenedEvents(code) {
|
|
16
|
+
const s = String(code || ''), out = new Set();
|
|
17
|
+
for (const r of [/addEventListener\(\s*['"`]([\w:.-]+)['"`]/g, /\s(?:@|v-on:)([\w:.-]+)\s*=/g, /\s\(([\w:.-]+)\)\s*=/g, /\son:([\w:.-]+)\s*=/g]) for (const m of s.matchAll(r)) out.add(m[1]);
|
|
18
|
+
return [...out];
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/** Markup to mount: an HTML snippet without its scripts, or — for ESM / JSX / Vue / Svelte — one element per <usa-*> opening tag. */
|
|
22
|
+
export function markupOf(code) {
|
|
23
|
+
const s = String(code || '');
|
|
24
|
+
const html = s.replace(/<script\b[\s\S]*?<\/script>/gi, '');
|
|
25
|
+
const looksHtml = /<usa-[a-z0-9-]+[\s>]/i.test(html) && !/\bimport\s|\bexport\s|=\{|\{\{|className=/.test(html);
|
|
26
|
+
if (looksHtml) return html;
|
|
27
|
+
return [...s.matchAll(/<(usa-[a-z0-9-]+)((?:\s+[a-zA-Z_][\w.-]*(?:\s*=\s*(?:"[^"]*"|'[^']*'))?)*)\s*\/?>/gi)].map(([, t, a]) => `<${t}${a}></${t}>`).join('\n');
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
const stub = (w, reduce) => {
|
|
31
|
+
w.matchMedia = (q) => ({ matches: /prefers-reduced-motion:\s*reduce/.test(q) ? reduce : false, media: q, addEventListener() {}, removeEventListener() {}, addListener() {}, removeListener() {}, onchange: null, dispatchEvent: () => false });
|
|
32
|
+
for (const n of ['IntersectionObserver', 'ResizeObserver', 'MutationObserver']) if (!w[n]) w[n] = class { observe() {} unobserve() {} disconnect() {} takeRecords() { return []; } };
|
|
33
|
+
const anim = () => ({ finished: Promise.resolve(), ready: Promise.resolve(), cancel() {}, finish() {}, play() {}, pause() {}, reverse() {}, commitStyles() {}, persist() {}, updatePlaybackRate() {}, addEventListener() {}, removeEventListener() {}, currentTime: 0, playState: 'finished', effect: null, onfinish: null, oncancel: null });
|
|
34
|
+
if (!w.Element.prototype.animate) w.Element.prototype.animate = anim;
|
|
35
|
+
if (!w.Element.prototype.getAnimations) w.Element.prototype.getAnimations = () => [];
|
|
36
|
+
if (!w.document.getAnimations) w.document.getAnimations = () => [];
|
|
37
|
+
w.HTMLCanvasElement.prototype.getContext = () => null;
|
|
38
|
+
if (!w.CSSStyleSheet.prototype.replaceSync) w.CSSStyleSheet.prototype.replaceSync = function () {};
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
/** Mount and check. Returns { mounted, environment, components:[{tag, defined, upgraded}], errors, warnings } or { mounted:false, skipped }. */
|
|
42
|
+
export async function mountSnippet(m, code, { distDir, findComponent, runtimeIds = [], bundles, loadJsdom = () => import('jsdom') } = {}) {
|
|
43
|
+
let JSDOM, VirtualConsole;
|
|
44
|
+
try {
|
|
45
|
+
({ JSDOM, VirtualConsole } = await loadJsdom());
|
|
46
|
+
} catch {
|
|
47
|
+
return { mounted: false, skipped: 'jsdom is not installed — `npm i -D jsdom` (optional peer) to mount snippets; the static checks still ran' };
|
|
48
|
+
}
|
|
49
|
+
const errors = [], warnings = [], seen = new Set();
|
|
50
|
+
const note = (list, msg) => { if (!seen.has(msg)) { seen.add(msg); list.push(msg); } };
|
|
51
|
+
const vc = new VirtualConsole();
|
|
52
|
+
vc.on('jsdomError', (e) => { const t = String((e && (e.detail?.message || e.detail || e.message)) || e); if (!/Not implemented/.test(t)) note(errors, `mount: ${t.split('\n')[0]}`); });
|
|
53
|
+
vc.on('error', (...a) => { const t = a.map(String).join(' '); if (/\[motionary\]|requires motionary|Error/.test(t)) note(errors, `mount: ${t.split('\n')[0]}`); });
|
|
54
|
+
vc.on('warn', (...a) => { const t = a.map(String).join(' '); if (/\[motionary\]/.test(t) && !/lacks .* motionary 5\.0 requires/.test(t)) note(warnings, `mount: ${t.split('\n')[0]}`); });
|
|
55
|
+
const dom = new JSDOM('<!doctype html><html><head></head><body></body></html>', { runScripts: 'outside-only', pretendToBeVisual: true, url: 'https://localhost/', virtualConsole: vc });
|
|
56
|
+
const w = dom.window;
|
|
57
|
+
try {
|
|
58
|
+
stub(w, false);
|
|
59
|
+
const load = (f) => { const p = f.startsWith('/') ? f : join(distDir, f); if (existsSync(p)) { try { w.eval(readFileSync(p, 'utf8')); } catch (e) { note(errors, `mount: ${f} threw while loading: ${String(e.message || e).split('\n')[0]}`); } return true; } return false; };
|
|
60
|
+
// prerequisites the snippet itself loads, in the order a correct page loads them
|
|
61
|
+
if (runtimeIds.length) { load('runtime.iife.js'); for (const r of runtimeIds) if (r !== 'core') load(`runtime/${r}.iife.js`); }
|
|
62
|
+
const markup = markupOf(code);
|
|
63
|
+
const tags = [...new Set([...markup.matchAll(/<(usa-[a-z0-9-]+)/gi)].map((x) => x[1].toLowerCase()))];
|
|
64
|
+
if (bundles) for (const b of bundles) load(b);
|
|
65
|
+
else {
|
|
66
|
+
if (!load('components.umd.js')) return { mounted: false, skipped: `no built bundles in ${distDir} — run npm run build` };
|
|
67
|
+
if (tags.some((t) => !w.customElements.get(t))) load('widgets.umd.js');
|
|
68
|
+
}
|
|
69
|
+
w.document.body.innerHTML = markup;
|
|
70
|
+
await new Promise((r) => w.setTimeout(r, 30));
|
|
71
|
+
await new Promise((r) => w.setTimeout(r, 0));
|
|
72
|
+
const components = [];
|
|
73
|
+
for (const tag of tags) {
|
|
74
|
+
const ctor = w.customElements.get(tag), el = w.document.querySelector(tag);
|
|
75
|
+
const c = findComponent ? findComponent(m, tag) : null;
|
|
76
|
+
const row = { tag, defined: !!ctor, upgraded: !!(ctor && el instanceof ctor) };
|
|
77
|
+
components.push(row);
|
|
78
|
+
if (!c) continue; // unknown tags are reported by the static pass
|
|
79
|
+
if (!ctor) { note(warnings, `<${tag}> is not in the no-build bundles (components.umd.js / widgets.umd.js) — mounted checks skipped; import it from '${c.import.path}'`); continue; }
|
|
80
|
+
const observed = new Set((ctor.observedAttributes || []).map((a) => String(a).toLowerCase()));
|
|
81
|
+
for (const a of el ? el.getAttributeNames() : []) {
|
|
82
|
+
const k = a.toLowerCase();
|
|
83
|
+
if (GLOBAL.has(k) || k.startsWith('data-') || k.startsWith('aria-') || k.startsWith('on') || /[:@()]/.test(k)) continue;
|
|
84
|
+
if ((c.attributes || []).includes(k) && !observed.has(k)) note(warnings, `<${tag} ${k}>: the element reads "${k}" but does not observe it — set it before mount; changing it later has no effect (contract exemption)`);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
// events: legacy names are gone in 12.0; usa:* names must be emitted by a component the snippet uses
|
|
88
|
+
const used = components.map((x) => findComponent && findComponent(m, x.tag)).filter(Boolean);
|
|
89
|
+
const emitted = new Set(used.flatMap((c) => c.events || []));
|
|
90
|
+
for (const ev of listenedEvents(code)) {
|
|
91
|
+
if (LEGACY_EVENTS_12[ev]) note(errors, `event "${ev}" was removed in 12.0 — listen to "${LEGACY_EVENTS_12[ev]}" (npx usa-codemod-12 --write)`);
|
|
92
|
+
else if (ev.startsWith('usa:') && used.length && !emitted.has(ev)) note(warnings, `no component in this snippet emits "${ev}" (they emit: ${[...emitted].join(', ') || 'no usa:* events'})`);
|
|
93
|
+
}
|
|
94
|
+
return { mounted: true, environment: 'jsdom', components, errors, warnings };
|
|
95
|
+
} finally {
|
|
96
|
+
w.close();
|
|
97
|
+
}
|
|
98
|
+
}
|
package/bin/motionary-mcp.mjs
CHANGED
|
@@ -20,6 +20,7 @@ import { fileURLToPath } from 'node:url';
|
|
|
20
20
|
import { dirname, join } from 'node:path';
|
|
21
21
|
import { createInterface } from 'node:readline';
|
|
22
22
|
import { pathToFileURL } from 'node:url';
|
|
23
|
+
import { mountSnippet } from './mcp-mount.mjs';
|
|
23
24
|
|
|
24
25
|
const HERE = dirname(fileURLToPath(import.meta.url));
|
|
25
26
|
const SERVER = { name: 'motionary-mcp', version: '2.0.0' };
|
|
@@ -248,6 +249,24 @@ export function validateSnippet(m, code) {
|
|
|
248
249
|
return { valid: errors.length === 0, errors, warnings, components: comps.map((c) => c.tag), prerequisites: modules.map(reqLabel) };
|
|
249
250
|
}
|
|
250
251
|
|
|
252
|
+
/** 12.2: static checks + a real mount in jsdom (optional peer) with the built bundles; the snippet's own scripts never run. */
|
|
253
|
+
export async function validateSnippetMounted(m, code, opts = {}) {
|
|
254
|
+
const r = validateSnippet(m, code);
|
|
255
|
+
const src = String(code || '');
|
|
256
|
+
const ids = [...new Set(r.components.flatMap((t) => findComponent(m, t)?.requires || []))].filter((x) => !isPeer(x) && (x === 'core' ? /motionary\/runtime['"]|runtime\.iife\.js/.test(src) : src.includes(`motionary/runtime/${x}`) || src.includes(`runtime/${x}.iife.js`)));
|
|
257
|
+
if (ids.length && !ids.includes('core')) ids.unshift('core');
|
|
258
|
+
const mt = await mountSnippet(m, src, { distDir: opts.distDir || process.env.MOTIONARY_DIST || join(HERE, '../dist'), findComponent, runtimeIds: ids, bundles: opts.bundles, loadJsdom: opts.loadJsdom });
|
|
259
|
+
if (!mt.mounted) return { ...r, mount: { mounted: false, skipped: mt.skipped } };
|
|
260
|
+
// a missing prerequisite the static pass already reported is confirmed by the mount, not reported twice
|
|
261
|
+
const confirmed = [], errs = [];
|
|
262
|
+
for (const e of mt.errors) {
|
|
263
|
+
const k = (e.match(/requires (motionary\/runtime\/[\w-]+)/) || [])[1];
|
|
264
|
+
if (k && r.errors.concat(r.warnings).some((x) => x.includes(`requires ${k}`))) confirmed.push(e); else errs.push(e);
|
|
265
|
+
}
|
|
266
|
+
const errors = [...r.errors, ...errs], warnings = [...r.warnings, ...mt.warnings];
|
|
267
|
+
return { ...r, valid: errors.length === 0, errors, warnings, mount: { mounted: true, environment: mt.environment, components: mt.components, confirmed } };
|
|
268
|
+
}
|
|
269
|
+
|
|
251
270
|
// ---------------------------------------------------------------- MCP surface
|
|
252
271
|
const RO = { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false };
|
|
253
272
|
export const TOOLS = [
|
|
@@ -257,7 +276,7 @@ export const TOOLS = [
|
|
|
257
276
|
{ name: 'get_example', title: 'Get an example', description: "A working example for one component in the requested style ('html' = CDN, 'esm' = npm + bundler, or a variant id).", inputSchema: { type: 'object', properties: { tag: { type: 'string' }, variant: { type: 'string', description: "'html' (default), 'esm', or a variant id from get_component" } }, required: ['tag'], additionalProperties: false }, annotations: { title: 'Get example', ...RO } },
|
|
258
277
|
{ name: 'scaffold_snippet', title: 'Scaffold a snippet', description: 'A ready-to-paste snippet using one or more components, with every prerequisite installed, imported and registered in the right order before the components mount.', inputSchema: { type: 'object', properties: { tags: { type: 'array', items: { type: 'string' }, minItems: 1 }, framework: { type: 'string', enum: FRAMEWORKS, default: 'esm' } }, required: ['tags'], additionalProperties: false }, annotations: { title: 'Scaffold snippet', ...RO } },
|
|
259
278
|
{ name: 'suggest_motion', title: 'Suggest a motion', description: 'Natural language (English or Chinese) → a motion spec: effect, direction, duration, easing, trigger, stagger, Web Animations keyframes + options, CSS, and the Motionary components that implement it, with prerequisite-aware code. Deterministic parser, no model, no network.', inputSchema: { type: 'object', properties: { text: { type: 'string', description: "e.g. 'fade the cards up slowly when they scroll into view, one after another'" }, format: { type: 'string', enum: ['waapi', 'css', 'component'], default: 'waapi' } }, required: ['text'], additionalProperties: false }, annotations: { title: 'Suggest motion', ...RO } },
|
|
260
|
-
{ name: 'validate_snippet', title: 'Validate a snippet', description: 'Check HTML / ESM / JSX / Vue / Svelte code that uses <usa-*> components: unknown tags (with suggestions) and attributes, missing or mis-ordered prerequisites (motionary/runtime modules, official runtimes), components never defined, hand-written animation without a reduced-motion path. Static analysis
|
|
279
|
+
{ name: 'validate_snippet', title: 'Validate a snippet', description: 'Check HTML / ESM / JSX / Vue / Svelte code that uses <usa-*> components: unknown tags (with suggestions) and attributes, missing or mis-ordered prerequisites (motionary/runtime modules, official runtimes), components never defined, hand-written animation without a reduced-motion path. Static analysis by default; mount: true also mounts the markup in a headless DOM (jsdom, optional peer) with the real Motionary bundles and checks definitions, upgrade errors, prerequisites, observed attributes and event names against the component contract — the snippet\'s own scripts never run.', inputSchema: { type: 'object', properties: { code: { type: 'string' }, mount: { type: 'boolean', default: false, description: 'also mount the markup in jsdom with the real bundles (12.2)' } }, required: ['code'], additionalProperties: false }, annotations: { title: 'Validate snippet', ...RO } },
|
|
261
280
|
];
|
|
262
281
|
|
|
263
282
|
const text = (obj) => ({ content: [{ type: 'text', text: typeof obj === 'string' ? obj : JSON.stringify(obj, null, 2) }], ...(typeof obj === 'object' ? { structuredContent: Array.isArray(obj) ? { items: obj } : obj } : {}) });
|
|
@@ -306,6 +325,7 @@ export function callTool(m, name, a = {}) {
|
|
|
306
325
|
return text(suggestMotion(m, a.text, a.format || 'waapi'));
|
|
307
326
|
case 'validate_snippet':
|
|
308
327
|
if (typeof a.code !== 'string') throw new Error('code is required');
|
|
328
|
+
if (a.mount) return validateSnippetMounted(m, a.code).then(text);
|
|
309
329
|
return text(validateSnippet(m, a.code));
|
|
310
330
|
default:
|
|
311
331
|
throw Object.assign(new Error(`unknown tool ${name}`), { code: -32602 });
|
|
@@ -354,7 +374,9 @@ export function handle(m, msg, state = {}) {
|
|
|
354
374
|
return ok({ tools: TOOLS });
|
|
355
375
|
case 'tools/call':
|
|
356
376
|
try {
|
|
357
|
-
|
|
377
|
+
const res = callTool(m, params.name, params.arguments || {});
|
|
378
|
+
if (res && typeof res.then === 'function') return res.then(ok, (e) => ok({ content: [{ type: 'text', text: String(e.message || e) }], isError: true }));
|
|
379
|
+
return ok(res);
|
|
358
380
|
} catch (e) {
|
|
359
381
|
if (e.code === -32602) return err(-32602, e.message);
|
|
360
382
|
return ok({ content: [{ type: 'text', text: String(e.message || e) }], isError: true });
|
|
@@ -391,8 +413,9 @@ export function serve(input = process.stdin, output = process.stdout, manifest)
|
|
|
391
413
|
} catch {
|
|
392
414
|
return send({ jsonrpc: '2.0', id: null, error: { code: -32700, message: 'Parse error' } });
|
|
393
415
|
}
|
|
394
|
-
|
|
395
|
-
|
|
416
|
+
const out = (x) => { const r = handle(m, x, state); if (r && typeof r.then === 'function') r.then(send); else send(r); };
|
|
417
|
+
if (Array.isArray(msg)) msg.forEach(out);
|
|
418
|
+
else out(msg);
|
|
396
419
|
});
|
|
397
420
|
return rl;
|
|
398
421
|
}
|
package/bin/motionary.mjs
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
// motionary — command line (11.5).
|
|
3
3
|
// npx motionary doctor [paths…] [--json] scan a project for deprecated import paths (exit 1 when found)
|
|
4
|
+
// npx motionary export --target css|wxss|arkts presets + motion tokens for other platforms (12.1)
|
|
4
5
|
// npx motionary help
|
|
5
6
|
// Old subpaths still work (removed in 13.0) and never warn at runtime; `doctor` is how a project finds them.
|
|
6
7
|
import { readFileSync, readdirSync, statSync, existsSync } from 'node:fs';
|
|
7
8
|
import { join, extname } from 'node:path';
|
|
8
9
|
import { pathToFileURL } from 'node:url';
|
|
10
|
+
import { writeFileSync } from 'node:fs';
|
|
11
|
+
import { exportMotion, TARGETS } from './xplat.mjs';
|
|
9
12
|
import { DEPRECATED_PATHS, REMOVED_IN, LEGACY_EVENTS, EVENTS_REMOVED_IN, findDeprecated } from './public-paths.mjs';
|
|
10
13
|
|
|
11
14
|
const EXT = new Set(['.js', '.mjs', '.cjs', '.jsx', '.ts', '.tsx', '.mts', '.cts', '.vue', '.svelte', '.html', '.astro', '.md', '.mdx', '.json']);
|
|
@@ -32,6 +35,8 @@ const HELP = `motionary <command>
|
|
|
32
35
|
|
|
33
36
|
doctor [paths…] [--json] list deprecated motionary import paths and legacy event names (default: current directory).
|
|
34
37
|
Exit code 1 when any is found. Fix them with: npx usa-codemod-12 --write [paths…]
|
|
38
|
+
export --target css|wxss|arkts [--presets a,b] [--duration token] [--easing token] [--rpx] [--out file]
|
|
39
|
+
export presets + motion tokens for the web, mini programs (WXSS) or HarmonyOS (ArkTS) — docs/cross-platform.md
|
|
35
40
|
help this text
|
|
36
41
|
|
|
37
42
|
Deprecated subpaths (work until ${REMOVED_IN}, no runtime warning):
|
|
@@ -41,8 +46,30 @@ Legacy event names (fire next to the usa:* names since 11.8, removed in ${EVENTS
|
|
|
41
46
|
${Object.entries(LEGACY_EVENTS).map(([a, b]) => ` ${a} → ${b}`).join('\n')}
|
|
42
47
|
`;
|
|
43
48
|
|
|
44
|
-
|
|
49
|
+
const flag = (rest, name) => { const i = rest.indexOf('--' + name); return i >= 0 ? rest[i + 1] : undefined; };
|
|
50
|
+
/** `motionary export`: returns the exit code; writes to --out or stdout. */
|
|
51
|
+
export function runExport(rest, presets, tokens) {
|
|
52
|
+
const target = flag(rest, 'target') || 'css';
|
|
53
|
+
const list = flag(rest, 'presets');
|
|
54
|
+
try {
|
|
55
|
+
const code = exportMotion(target, presets, tokens, { presets: list ? list.split(',').map((s) => s.trim()).filter(Boolean) : undefined, duration: flag(rest, 'duration'), easing: flag(rest, 'easing'), rpx: rest.includes('--rpx') });
|
|
56
|
+
const out = flag(rest, 'out');
|
|
57
|
+
if (out) { writeFileSync(out, code); console.log(`motionary export: ${target} → ${out}`); } else process.stdout.write(code);
|
|
58
|
+
return 0;
|
|
59
|
+
} catch (e) {
|
|
60
|
+
console.error(String(e.message || e) + `\n(targets: ${TARGETS.join(', ')})`);
|
|
61
|
+
return 2;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
const TOKENS = () => { try { return JSON.parse(readFileSync(new URL('../docs/motion.tokens.json', import.meta.url), 'utf8')); } catch { return JSON.parse(readFileSync(join(process.cwd(), 'docs/motion.tokens.json'), 'utf8')); } }; // non-file import.meta.url under jsdom
|
|
65
|
+
|
|
66
|
+
/** env.presets / env.tokens are for tests; the CLI loads PRESETS from the built package (dist/index.js). */
|
|
67
|
+
export function main(argv, env = {}) {
|
|
45
68
|
const [cmd = 'help', ...rest] = argv;
|
|
69
|
+
if (cmd === 'export') {
|
|
70
|
+
if (env.presets) return runExport(rest, env.presets, env.tokens || TOKENS());
|
|
71
|
+
return import('../dist/index.js').then((m) => runExport(rest, m.PRESETS, env.tokens || TOKENS()));
|
|
72
|
+
}
|
|
46
73
|
if (cmd === 'doctor' || cmd === 'check') {
|
|
47
74
|
const found = doctor(rest.filter((a) => !a.startsWith('--')));
|
|
48
75
|
if (rest.includes('--json')) console.log(JSON.stringify({ deprecated: found }, null, 2));
|
|
@@ -57,4 +84,4 @@ export function main(argv) {
|
|
|
57
84
|
return cmd === 'help' || cmd === '--help' || cmd === '-h' ? 0 : 2;
|
|
58
85
|
}
|
|
59
86
|
|
|
60
|
-
if (import.meta.url === pathToFileURL(process.argv[1] || '').href)
|
|
87
|
+
if (import.meta.url === pathToFileURL(process.argv[1] || '').href) Promise.resolve(main(process.argv.slice(2))).then((c) => { process.exitCode = c; });
|
package/bin/xplat.mjs
ADDED
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
// motionary cross-platform export (12.1) — pure functions, no Node or DOM APIs, so the CLI (`npx motionary export`)
|
|
2
|
+
// and the cross-platform previewer (showcase/xplat.html) share one implementation.
|
|
3
|
+
//
|
|
4
|
+
// toCss(presets, tokens, opts) plain CSS: custom properties + @keyframes + .usa-<preset> classes
|
|
5
|
+
// toWxss(presets, tokens, opts) WeChat / Alipay / Douyin mini programs (WXSS / ACSS / TTSS): same CSS subset, rpx-safe
|
|
6
|
+
// toArkTs(presets, tokens, opts) HarmonyOS ArkTS module: duration / curve constants + from/to frames for animateTo()
|
|
7
|
+
//
|
|
8
|
+
// presets: { name: { from: {opacity, transform, filter, clipPath}, to: {...} } } (motionary PRESETS shape)
|
|
9
|
+
// tokens: docs/motion.tokens.json (W3C design-token format) — durations and cubic-bezier easings
|
|
10
|
+
// Reduced motion is part of every target: CSS/WXSS emit `@media (prefers-reduced-motion: reduce)` plus a `.usa-reduce-motion`
|
|
11
|
+
// class for an in-app setting; ArkTS takes a `reduceMotion` flag (usaAnimate(…, reduceMotion) jumps to the end state).
|
|
12
|
+
|
|
13
|
+
export const XPLAT_VERSION = '12.1';
|
|
14
|
+
export const TARGETS = ['css', 'wxss', 'arkts'];
|
|
15
|
+
|
|
16
|
+
/** Flatten motion.tokens.json → { durations: {name: ms}, easings: {name: 'cubic-bezier(…)'|'linear'} }. */
|
|
17
|
+
export function readTokens(tokens) {
|
|
18
|
+
const m = (tokens && tokens.motion) || {};
|
|
19
|
+
const durations = {}, easings = {};
|
|
20
|
+
for (const [k, v] of Object.entries(m.duration || {})) durations[k] = parseFloat(String(v.$value)) || 0;
|
|
21
|
+
for (const [k, v] of Object.entries(m.easing || {})) easings[k] = Array.isArray(v.$value) ? `cubic-bezier(${v.$value.join(', ')})` : String(v.$value);
|
|
22
|
+
return { durations, easings };
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
const TF = /([a-zA-Z0-9]+)\(([^)]*)\)/g;
|
|
26
|
+
/** 'translateY(40px) scale(0.8)' → [{fn:'translateY', args:['40px']}, …] */
|
|
27
|
+
export function parseTransform(t) {
|
|
28
|
+
const out = [];
|
|
29
|
+
if (!t) return out;
|
|
30
|
+
for (const m of String(t).matchAll(TF)) out.push({ fn: m[1], args: m[2].split(',').map((s) => s.trim()).filter(Boolean) });
|
|
31
|
+
return out;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
const num = (s) => parseFloat(s);
|
|
35
|
+
const unit = (s) => String(s).replace(/^-?[0-9.]+/, '');
|
|
36
|
+
const kebab = (k) => k.replace(/[A-Z]/g, (c) => '-' + c.toLowerCase());
|
|
37
|
+
const safeName = (n) => String(n).replace(/[^a-zA-Z0-9-]/g, '-');
|
|
38
|
+
|
|
39
|
+
/** One frame → ArkTS attribute values. Unsupported parts are reported, never silently dropped. */
|
|
40
|
+
export function arkFrame(f) {
|
|
41
|
+
const o = {}, unsupported = [];
|
|
42
|
+
if (f.opacity != null) o.opacity = Number(f.opacity);
|
|
43
|
+
for (const { fn, args } of parseTransform(f.transform)) {
|
|
44
|
+
const a = args[0];
|
|
45
|
+
const len = (s) => (unit(s) === '%' ? `'${s}'` : num(s));
|
|
46
|
+
if (fn === 'translateX') o.tx = len(a);
|
|
47
|
+
else if (fn === 'translateY') o.ty = len(a);
|
|
48
|
+
else if (fn === 'translate') { o.tx = len(a); if (args[1]) o.ty = len(args[1]); }
|
|
49
|
+
else if (fn === 'scale') { o.sx = num(a); o.sy = args[1] != null ? num(args[1]) : num(a); }
|
|
50
|
+
else if (fn === 'scaleX') o.sx = num(a);
|
|
51
|
+
else if (fn === 'scaleY') o.sy = num(a);
|
|
52
|
+
else if (fn === 'rotate' || fn === 'rotateZ') o.rz = num(a);
|
|
53
|
+
else if (fn === 'rotateX') o.rx = num(a);
|
|
54
|
+
else if (fn === 'rotateY') o.ry = num(a);
|
|
55
|
+
else unsupported.push(fn); // skew*, perspective, matrix*: no direct ArkUI attribute
|
|
56
|
+
}
|
|
57
|
+
for (const { fn, args } of parseTransform(f.filter)) {
|
|
58
|
+
if (fn === 'blur') o.blur = num(args[0]);
|
|
59
|
+
else if (fn === 'brightness') o.brightness = num(args[0]);
|
|
60
|
+
else unsupported.push(fn);
|
|
61
|
+
}
|
|
62
|
+
if (f.clipPath) unsupported.push('clip-path');
|
|
63
|
+
return { frame: o, unsupported };
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/** ArkUI curve expression for a CSS easing string. */
|
|
67
|
+
export function arkCurve(e) {
|
|
68
|
+
const s = String(e || 'ease').trim();
|
|
69
|
+
const named = { linear: 'Curve.Linear', ease: 'Curve.Ease', 'ease-in': 'Curve.EaseIn', 'ease-out': 'Curve.EaseOut', 'ease-in-out': 'Curve.EaseInOut' };
|
|
70
|
+
if (named[s]) return named[s];
|
|
71
|
+
const m = s.match(/^cubic-bezier\(([^)]*)\)$/);
|
|
72
|
+
if (m) return `curves.cubicBezierCurve(${m[1].split(',').map((x) => num(x)).join(', ')})`;
|
|
73
|
+
return 'Curve.Ease';
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
function pick(presets, names) {
|
|
77
|
+
const all = Object.keys(presets || {});
|
|
78
|
+
const list = names && names.length ? names : all;
|
|
79
|
+
const missing = list.filter((n) => !presets[n]);
|
|
80
|
+
if (missing.length) throw new Error(`[motionary] unknown preset(s): ${missing.join(', ')}`);
|
|
81
|
+
return list;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
function cssFrame(f, { rpx = false } = {}) {
|
|
85
|
+
return Object.entries(f)
|
|
86
|
+
.map(([k, v]) => `${kebab(k)}: ${rpx ? String(v).replace(/(-?[0-9.]+)px/g, (_, n) => `${+n * 2}rpx`) : v};`)
|
|
87
|
+
.join(' ');
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
function cssLike(presets, tokens, opts, rpx, header, root) {
|
|
91
|
+
const { durations, easings } = readTokens(tokens);
|
|
92
|
+
const names = pick(presets, opts.presets);
|
|
93
|
+
const dur = opts.duration || 'normal', ease = opts.easing || 'standard';
|
|
94
|
+
const L = [header, root + ' {'];
|
|
95
|
+
for (const [k, v] of Object.entries(durations)) L.push(` --usa-duration-${k}: ${v}ms;`);
|
|
96
|
+
for (const [k, v] of Object.entries(easings)) L.push(` --usa-easing-${k}: ${v};`);
|
|
97
|
+
L.push('}', '');
|
|
98
|
+
for (const n of names) {
|
|
99
|
+
const p = presets[n], c = safeName(n);
|
|
100
|
+
L.push(`@keyframes usa-${c} { from { ${cssFrame(p.from, { rpx })} } to { ${cssFrame(p.to, { rpx })} } }`);
|
|
101
|
+
L.push(`.usa-${c} { animation: usa-${c} var(--usa-duration-${dur}, ${durations[dur] ?? 300}ms) var(--usa-easing-${ease}, ${easings[ease] || 'ease'}) both; }`);
|
|
102
|
+
}
|
|
103
|
+
L.push('', '/* reduced motion: OS setting where the renderer exposes it, or add .usa-reduce-motion from your own setting */');
|
|
104
|
+
const sel = names.map((n) => `.usa-${safeName(n)}`).join(', ');
|
|
105
|
+
L.push(`@media (prefers-reduced-motion: reduce) { ${sel} { animation-duration: 1ms; animation-delay: 0s; } }`);
|
|
106
|
+
L.push(names.map((n) => `.usa-reduce-motion .usa-${safeName(n)}, .usa-reduce-motion.usa-${safeName(n)}`).join(',\n') + ' { animation-duration: 1ms; animation-delay: 0s; }');
|
|
107
|
+
return L.join('\n') + '\n';
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export function toCss(presets, tokens, opts = {}) {
|
|
111
|
+
return cssLike(presets, tokens, opts, false, `/* motionary ${XPLAT_VERSION} — CSS export (npx motionary export --target css) */`, ':root');
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/** Mini programs: WXSS has no :root, so variables sit on `page`; px stay px unless { rpx: true } (1px → 2rpx at 750 design width). */
|
|
115
|
+
export function toWxss(presets, tokens, opts = {}) {
|
|
116
|
+
return cssLike(presets, tokens, opts, !!opts.rpx, `/* motionary ${XPLAT_VERSION} — mini program export (WXSS / ACSS / TTSS). Generated: npx motionary export --target wxss */`, 'page');
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export function toArkTs(presets, tokens, opts = {}) {
|
|
120
|
+
const { durations, easings } = readTokens(tokens);
|
|
121
|
+
const names = pick(presets, opts.presets);
|
|
122
|
+
const L = [
|
|
123
|
+
`// motionary ${XPLAT_VERSION} — HarmonyOS ArkTS export. Generated: npx motionary export --target arkts`,
|
|
124
|
+
`// Usage: this.frame = USA_PRESETS['fade-in-up'].from; usaAnimate(USA_PRESETS['fade-in-up'], (f) => this.frame = f, { reduceMotion })`,
|
|
125
|
+
`import { curves } from '@kit.ArkUI';`,
|
|
126
|
+
'',
|
|
127
|
+
'export interface UsaFrame { opacity?: number; tx?: number | string; ty?: number | string; sx?: number; sy?: number; rx?: number; ry?: number; rz?: number; blur?: number; brightness?: number }',
|
|
128
|
+
'export interface UsaPreset { from: UsaFrame; to: UsaFrame }',
|
|
129
|
+
'export interface UsaAnimateOptions { duration?: string; curve?: string; reduceMotion?: boolean }',
|
|
130
|
+
'',
|
|
131
|
+
`export const USA_DURATION: Record<string, number> = { ${Object.entries(durations).map(([k, v]) => `'${k}': ${v}`).join(', ')} };`,
|
|
132
|
+
`export const USA_CURVE: Record<string, ICurve> = { ${Object.entries(easings).map(([k, v]) => `'${k}': ${arkCurve(v).replace(/^Curve\.(\w+)$/, 'curves.initCurve(Curve.$1)')}`).join(', ')} };`,
|
|
133
|
+
'',
|
|
134
|
+
'export const USA_PRESETS: Record<string, UsaPreset> = {',
|
|
135
|
+
];
|
|
136
|
+
const notes = [];
|
|
137
|
+
for (const n of names) {
|
|
138
|
+
const a = arkFrame(presets[n].from), b = arkFrame(presets[n].to);
|
|
139
|
+
const un = [...new Set([...a.unsupported, ...b.unsupported])];
|
|
140
|
+
if (un.length) notes.push(`${n}: ${un.join(', ')} not mapped (no direct ArkUI attribute)`);
|
|
141
|
+
const fr = (o) => '{ ' + Object.entries(o).map(([k, v]) => `${k}: ${v}`).join(', ') + ' }';
|
|
142
|
+
L.push(` '${n}': { from: ${fr(a.frame)}, to: ${fr(b.frame)} },`);
|
|
143
|
+
}
|
|
144
|
+
L.push('};', '');
|
|
145
|
+
if (notes.length) L.push('// Not mapped:', ...notes.map((s) => '// ' + s), '');
|
|
146
|
+
L.push(
|
|
147
|
+
'/** Animate a preset with animateTo(); reduceMotion = true jumps straight to the end state (honour your own setting). */',
|
|
148
|
+
'export function usaAnimate(p: UsaPreset, apply: (f: UsaFrame) => void, opts: UsaAnimateOptions = {}): void {',
|
|
149
|
+
' apply(p.from);',
|
|
150
|
+
" if (opts.reduceMotion) { apply(p.to); return; }",
|
|
151
|
+
` animateTo({ duration: USA_DURATION[opts.duration ?? '${opts.duration || 'normal'}'], curve: USA_CURVE[opts.curve ?? '${opts.easing || 'standard'}'] }, () => apply(p.to));`,
|
|
152
|
+
'}',
|
|
153
|
+
'',
|
|
154
|
+
);
|
|
155
|
+
return L.join('\n');
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
/** Dispatch by target name. */
|
|
159
|
+
export function exportMotion(target, presets, tokens, opts = {}) {
|
|
160
|
+
if (target === 'css') return toCss(presets, tokens, opts);
|
|
161
|
+
if (target === 'wxss' || target === 'miniapp') return toWxss(presets, tokens, opts);
|
|
162
|
+
if (target === 'arkts' || target === 'harmony') return toArkTs(presets, tokens, opts);
|
|
163
|
+
throw new Error(`[motionary] unknown export target "${target}" — use one of: ${TARGETS.join(', ')}`);
|
|
164
|
+
}
|
|
@@ -171,4 +171,4 @@ exports.composeFrames = composeFrames;
|
|
|
171
171
|
exports.crc32 = crc32;
|
|
172
172
|
exports.fixDelay = fixDelay;
|
|
173
173
|
exports.u8 = u8;
|
|
174
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v12.
|
|
174
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v12.2.0/dist/chunks/anim-image-D_WUCgp4.cjs.map
|
|
@@ -163,4 +163,4 @@ function crc32(bytes, start = 0, end = bytes.length) {
|
|
|
163
163
|
}
|
|
164
164
|
|
|
165
165
|
export { animatedImagePlayer as a, browserDecode as b, composeFrames as c, bytesOf as d, crc32 as e, fixDelay as f, u8 as u };
|
|
166
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v12.
|
|
166
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v12.2.0/dist/chunks/anim-image-KyCg37rY.js.map
|
|
@@ -339,4 +339,4 @@ exports.disableAudio = disableAudio;
|
|
|
339
339
|
exports.enableAudio = enableAudio;
|
|
340
340
|
exports.getAudio = getAudio;
|
|
341
341
|
exports.onBeat = onBeat;
|
|
342
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v12.
|
|
342
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v12.2.0/dist/chunks/audio-BSQmg3MB.cjs.map
|
|
@@ -330,4 +330,4 @@ function defineAudio(tag = 'usa-audio') {
|
|
|
330
330
|
}
|
|
331
331
|
|
|
332
332
|
export { AUDIO_FX as A, disableAudio as a, bindBeat as b, createBeatDetector as c, defineAudio as d, enableAudio as e, getAudio as g, onBeat as o };
|
|
333
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v12.
|
|
333
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v12.2.0/dist/chunks/audio-DNNfcWi9.js.map
|
|
@@ -77,4 +77,4 @@ function defineBadgeWall(tag = 'usa-badge-wall') {
|
|
|
77
77
|
|
|
78
78
|
exports.badgeProgress = badgeProgress;
|
|
79
79
|
exports.defineBadgeWall = defineBadgeWall;
|
|
80
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v12.
|
|
80
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v12.2.0/dist/chunks/badge-wall-BPbL8OTC.cjs.map
|
|
@@ -74,4 +74,4 @@ function defineBadgeWall(tag = 'usa-badge-wall') {
|
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
export { badgeProgress as b, defineBadgeWall as d };
|
|
77
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v12.
|
|
77
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v12.2.0/dist/chunks/badge-wall-Dg7S7RJn.js.map
|
|
@@ -494,4 +494,4 @@ exports.shadowStyles = shadowStyles;
|
|
|
494
494
|
exports.srText = srText;
|
|
495
495
|
exports.trackAnimation = trackAnimation;
|
|
496
496
|
exports.withoutDeprecations = withoutDeprecations;
|
|
497
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v12.
|
|
497
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v12.2.0/dist/chunks/base-B3me2y0o.cjs.map
|
|
@@ -458,4 +458,4 @@ function kindOf(el, valid, fallback) {
|
|
|
458
458
|
const clamp = (v, min, max) => Math.min(max, Math.max(min, v));
|
|
459
459
|
|
|
460
460
|
export { srText as A, deprecate as B, adoptStyles as C, EASE_OUT as D, EASE_SPRING as E, kindOf as F, shadowStyles as G, FLUENT_DECELERATE as H, MOTION_SENSITIVITY_LEVELS as M, applyFrame as a, caf as b, configureComponents as c, clamp as d, animateWithMotion as e, defineElement as f, getMotionSensitivity as g, getClock as h, canDefine as i, MOTION_SCALE as j, activeAnimations as k, adaptKeyframes as l, motionScale as m, now as n, onClockChange as o, prefersReducedMotion as p, animationBudget as q, raf as r, setClock as s, trackAnimation as t, getMotionIntensity as u, onFrame as v, schedulerStats as w, setAnimationBudget as x, withoutDeprecations as y, setStyleLoader as z };
|
|
461
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v12.
|
|
461
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v12.2.0/dist/chunks/base-zSGb8ujt.js.map
|
|
@@ -92,4 +92,4 @@ function defineBgGenerator(tag = 'usa-bg-generator') {
|
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
export { backgroundCss as b, defineBgGenerator as d };
|
|
95
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v12.
|
|
95
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v12.2.0/dist/chunks/bg-generator-DKX8nt8T.js.map
|
|
@@ -95,4 +95,4 @@ function defineBgGenerator(tag = 'usa-bg-generator') {
|
|
|
95
95
|
|
|
96
96
|
exports.backgroundCss = backgroundCss;
|
|
97
97
|
exports.defineBgGenerator = defineBgGenerator;
|
|
98
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v12.
|
|
98
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v12.2.0/dist/chunks/bg-generator-U6fomxZX.cjs.map
|
|
@@ -19,4 +19,4 @@ function bindUsa(el, binding = {}) {
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
export { bindUsa as b, usaEventName as u };
|
|
22
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v12.
|
|
22
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v12.2.0/dist/chunks/bind-B_CTL6Qn.js.map
|
|
@@ -22,4 +22,4 @@ function bindUsa(el, binding = {}) {
|
|
|
22
22
|
|
|
23
23
|
exports.bindUsa = bindUsa;
|
|
24
24
|
exports.usaEventName = usaEventName;
|
|
25
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v12.
|
|
25
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v12.2.0/dist/chunks/bind-Ui43-n2d.cjs.map
|
|
@@ -98,4 +98,4 @@ const click = [
|
|
|
98
98
|
const BUILTIN_EFFECTS = [...enter, ...attention, ...click];
|
|
99
99
|
|
|
100
100
|
exports.BUILTIN_EFFECTS = BUILTIN_EFFECTS;
|
|
101
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v12.
|
|
101
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v12.2.0/dist/chunks/builtins-Cz3iufK6.cjs.map
|
|
@@ -96,4 +96,4 @@ const click = [
|
|
|
96
96
|
const BUILTIN_EFFECTS = [...enter, ...attention, ...click];
|
|
97
97
|
|
|
98
98
|
export { BUILTIN_EFFECTS as B };
|
|
99
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v12.
|
|
99
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v12.2.0/dist/chunks/builtins-Simwbnqg.js.map
|
|
@@ -197,4 +197,4 @@ function defineCarousel(tag = 'usa-carousel') {
|
|
|
197
197
|
|
|
198
198
|
exports.CAROUSEL_EFFECTS = CAROUSEL_EFFECTS;
|
|
199
199
|
exports.defineCarousel = defineCarousel;
|
|
200
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v12.
|
|
200
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v12.2.0/dist/chunks/carousel-BvdFWXZC.cjs.map
|
|
@@ -194,4 +194,4 @@ function defineCarousel(tag = 'usa-carousel') {
|
|
|
194
194
|
}
|
|
195
195
|
|
|
196
196
|
export { CAROUSEL_EFFECTS as C, defineCarousel as d };
|
|
197
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v12.
|
|
197
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v12.2.0/dist/chunks/carousel-C36_TV-w.js.map
|
|
@@ -172,4 +172,4 @@ function defineCartDrawer(tag = 'usa-cart-drawer') {
|
|
|
172
172
|
}
|
|
173
173
|
|
|
174
174
|
export { cartTotal as c, defineCartDrawer as d };
|
|
175
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v12.
|
|
175
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v12.2.0/dist/chunks/cart-drawer-BIeW2ITt.js.map
|
|
@@ -175,4 +175,4 @@ function defineCartDrawer(tag = 'usa-cart-drawer') {
|
|
|
175
175
|
|
|
176
176
|
exports.cartTotal = cartTotal;
|
|
177
177
|
exports.defineCartDrawer = defineCartDrawer;
|
|
178
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v12.
|
|
178
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v12.2.0/dist/chunks/cart-drawer-BRK4G_aL.cjs.map
|
|
@@ -170,4 +170,4 @@ function defineCodeExport(tag = 'usa-code-export') {
|
|
|
170
170
|
}
|
|
171
171
|
|
|
172
172
|
export { describeComponent as a, defineCodeExport as d, exportComponent as e };
|
|
173
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v12.
|
|
173
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v12.2.0/dist/chunks/code-export-B6NVzEhx.js.map
|
|
@@ -174,4 +174,4 @@ function defineCodeExport(tag = 'usa-code-export') {
|
|
|
174
174
|
exports.defineCodeExport = defineCodeExport;
|
|
175
175
|
exports.describeComponent = describeComponent;
|
|
176
176
|
exports.exportComponent = exportComponent;
|
|
177
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v12.
|
|
177
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v12.2.0/dist/chunks/code-export-BUcIsaA0.cjs.map
|
|
@@ -126,4 +126,4 @@ function defineColorPicker(tag = 'usa-color-picker') {
|
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
export { hsvToHex as a, defineColorPicker as d, hexToHsv as h };
|
|
129
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v12.
|
|
129
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v12.2.0/dist/chunks/color-picker-6qKpXxrS.js.map
|
|
@@ -130,4 +130,4 @@ function defineColorPicker(tag = 'usa-color-picker') {
|
|
|
130
130
|
exports.defineColorPicker = defineColorPicker;
|
|
131
131
|
exports.hexToHsv = hexToHsv;
|
|
132
132
|
exports.hsvToHex = hsvToHex;
|
|
133
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v12.
|
|
133
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v12.2.0/dist/chunks/color-picker-CZvB7e4m.cjs.map
|