motionary 11.3.0 → 11.5.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 +27 -0
- package/README.md +4 -0
- package/README_ja.md +2 -0
- package/README_zh.md +2 -0
- package/bin/motionary.mjs +57 -0
- package/bin/public-paths.mjs +64 -0
- package/bin/usa-codemod-12.mjs +49 -0
- package/dist/chunks/{anim-image-Cz9T5ZiX.cjs → anim-image-B0OtraWD.cjs} +2 -2
- package/dist/chunks/{anim-image-D5Yboz1O.js → anim-image-C_KpJ7os.js} +2 -2
- package/dist/chunks/audio-Dc4JT_0D.cjs +1 -1
- package/dist/chunks/audio-Ds5ppQVV.js +1 -1
- package/dist/chunks/badge-wall-CHvTcDpR.cjs +1 -1
- package/dist/chunks/badge-wall-fWlK0AtX.js +1 -1
- package/dist/chunks/base-B3me2y0o.cjs +1 -1
- package/dist/chunks/base-zSGb8ujt.js +1 -1
- package/dist/chunks/bg-generator-C-T8N2CW.cjs +1 -1
- package/dist/chunks/bg-generator-CVHPNzl6.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-Cz3iufK6.cjs +1 -1
- package/dist/chunks/builtins-Simwbnqg.js +1 -1
- package/dist/chunks/carousel-CUEAF4k3.cjs +1 -1
- package/dist/chunks/carousel-Ca5FiNvL.js +1 -1
- package/dist/chunks/cart-drawer-BMth2aMo.cjs +1 -1
- package/dist/chunks/cart-drawer-CDBjWN5-.js +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-DFvcXhEq.js +1 -1
- package/dist/chunks/color-picker-Dmr2b2J4.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-COaDvsTK.cjs +1 -1
- package/dist/chunks/countdown-CeOzDrkE.js +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-C6cz1y_2.js +1 -1
- package/dist/chunks/equalizer-GY-Qul0f.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-9yXGRDgJ.js → gl-scene-B9CUF5f3.js} +2 -2
- package/dist/chunks/{gl-scene-Cbw8wTyh.cjs → gl-scene-BO28sVfQ.cjs} +2 -2
- package/dist/chunks/globe-C5waX_Bv.cjs +1 -1
- package/dist/chunks/globe-DAdScNVh.js +1 -1
- package/dist/chunks/gpu-Dw1udOJW.cjs +1 -1
- package/dist/chunks/gpu-ML0i9eNv.js +1 -1
- package/dist/chunks/gpu-particles-BVMXKtdI.cjs +1 -1
- package/dist/chunks/gpu-particles-BafFhVwB.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/{keyframes-DqWXtvxl.js → keyframes-CDfaqK4L.js} +2 -2
- package/dist/chunks/{keyframes-Cl8Qc-Tq.cjs → keyframes-DA6Ie3XT.cjs} +2 -2
- package/dist/chunks/leaderboard-BReEpUTf.js +1 -1
- package/dist/chunks/leaderboard-DYRLL45b.cjs +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-BfG8_n32.cjs +1 -1
- package/dist/chunks/lottie-icon-kOzTlEj1.js +1 -1
- package/dist/chunks/{lottie-player-B6xOJ3ry.cjs → lottie-player-B_4d1D6U.cjs} +2 -2
- package/dist/chunks/{lottie-player-CmsgZ-bf.js → lottie-player-Bs9X-VZY.js} +2 -2
- package/dist/chunks/lyrics-CtKFEFtI.cjs +1 -1
- package/dist/chunks/lyrics-DHri0dBh.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-CLteQORa.js +1 -1
- package/dist/chunks/menu-toggle-lGl4Jvae.cjs +1 -1
- package/dist/chunks/nav-morph-BDnCH13j.cjs +1 -1
- package/dist/chunks/nav-morph-Cn8rkJgZ.js +1 -1
- package/dist/chunks/otp-CD87vVt6.js +1 -1
- package/dist/chunks/otp-tQy0gMPq.cjs +1 -1
- package/dist/chunks/pagination-6QHulvKI.js +1 -1
- package/dist/chunks/pagination-DD2oqXhh.cjs +1 -1
- package/dist/chunks/{physics-playground-C2Icbixn.cjs → physics-playground-Byj_5mso.cjs} +2 -2
- package/dist/chunks/{physics-playground-Ca8v8I8C.js → physics-playground-YlkHVQQ3.js} +2 -2
- package/dist/chunks/player-BYwLXSuJ.js +1 -1
- package/dist/chunks/player-DZe-cHvD.cjs +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-BzYWrEvu.js +1 -1
- package/dist/chunks/prize-wheel-DuS1Ud_o.cjs +1 -1
- package/dist/chunks/product-gallery-CTswLWBk.cjs +1 -1
- package/dist/chunks/product-gallery-DuUVpQGx.js +1 -1
- package/dist/chunks/progress-ring-CDJnN8et.js +1 -1
- package/dist/chunks/progress-ring-TnacbuYB.cjs +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-BCX05Z6_.js +1 -1
- package/dist/chunks/reactions-BNpZ7cPy.cjs +1 -1
- package/dist/chunks/registry-BB1oO-lR.cjs +1 -1
- package/dist/chunks/{registry-xlsVOzSM.js → registry-CMjteilk.js} +41 -4
- package/dist/chunks/registry-CYojuxi5.js +1 -1
- package/dist/chunks/{registry-D_iQfO4b.cjs → registry-U0scTJZr.cjs} +44 -3
- package/dist/chunks/retro-button-CNbQ4ph9.cjs +1 -1
- package/dist/chunks/retro-button-dVmLtNmb.js +1 -1
- package/dist/chunks/rive-CfWKBIa5.cjs +1 -1
- package/dist/chunks/rive-CtYlVrH0.js +1 -1
- package/dist/chunks/{runtime-link-d33GAHqB.js → runtime-link-2DE2Nz8C.js} +2 -2
- package/dist/chunks/{runtime-link-DEKlZ_vv.cjs → runtime-link-Cnij6nmH.cjs} +2 -2
- package/dist/chunks/scroll-driven-CQbwzCdn.cjs +1 -1
- package/dist/chunks/scroll-driven-LghshrWq.js +1 -1
- package/dist/chunks/{scroll-scene-CHqUJZRm.js → scroll-scene-CqaCIEZg.js} +3 -3
- package/dist/chunks/{scroll-scene-Cb9ODLiQ.cjs → scroll-scene-D3NqonOT.cjs} +3 -3
- package/dist/chunks/segmented-CRHXT6gm.js +1 -1
- package/dist/chunks/segmented-Can8wI4p.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-BhB1Mi-1.js +1 -1
- package/dist/chunks/sparkline-CEF92PsW.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-0mn-fRmX.cjs +1 -1
- package/dist/chunks/switch-CP2i0RlH.js +1 -1
- package/dist/chunks/tab-bar-CZLz8oVX.cjs +1 -1
- package/dist/chunks/tab-bar-Du_iYdCI.js +1 -1
- package/dist/chunks/{ticker-DYsDZNuj.cjs → ticker-D58R9_k6.cjs} +2 -2
- package/dist/chunks/{ticker-BJA5lDMi.js → ticker-wWXyZQwD.js} +2 -2
- package/dist/chunks/tip-Txz4rnqn.cjs +1 -1
- package/dist/chunks/tip-c0HIMPnO.js +1 -1
- package/dist/chunks/toast-stack-Cylun3Yf.js +1 -1
- package/dist/chunks/toast-stack-DanHRGwO.cjs +1 -1
- package/dist/chunks/{tween-GiD1mhGX.js → tween-B0nMjJJi.js} +2 -2
- package/dist/chunks/{tween-CtquqexF.cjs → tween-DRtewovf.cjs} +2 -2
- 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 +24 -11
- package/dist/components/angular.d.cts +22 -10
- package/dist/components/angular.d.ts +22 -10
- package/dist/components/angular.js +22 -12
- 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 +4 -4
- package/dist/components/dotlottie.js +4 -4
- 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 +4 -4
- package/dist/components/gl-model.js +4 -4
- 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 +3 -3
- package/dist/components/snap-carousel.js +3 -3
- 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 +7 -7
- package/dist/components/widgets.js +9 -9
- package/dist/components.cjs +1 -1
- package/dist/components.js +1 -1
- package/dist/components.umd.js +1 -1
- package/dist/deprecated/components-ai.d.cts +9 -0
- package/dist/deprecated/components-ai.d.ts +9 -0
- package/dist/deprecated/components-angular.d.cts +12 -0
- package/dist/deprecated/components-angular.d.ts +12 -0
- package/dist/deprecated/components-core.d.cts +17 -0
- package/dist/deprecated/components-core.d.ts +17 -0
- package/dist/deprecated/components-design.d.cts +7 -0
- package/dist/deprecated/components-design.d.ts +7 -0
- package/dist/deprecated/design.d.cts +7 -0
- package/dist/deprecated/design.d.ts +7 -0
- 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 +234 -1
- package/dist/manifest.schema.json +16 -0
- 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 +3 -3
- package/dist/runtime/drag-snap.d.cts +8 -0
- package/dist/runtime/drag-snap.d.ts +8 -0
- package/dist/runtime/drag-snap.iife.js +2 -2
- package/dist/runtime/drag-snap.js +3 -3
- package/dist/runtime/format-apng.cjs +6 -6
- package/dist/runtime/format-apng.d.cts +8 -0
- package/dist/runtime/format-apng.d.ts +8 -0
- package/dist/runtime/format-apng.iife.js +2 -2
- package/dist/runtime/format-apng.js +6 -6
- package/dist/runtime/format-css.cjs +6 -6
- package/dist/runtime/format-css.d.cts +8 -0
- package/dist/runtime/format-css.d.ts +8 -0
- package/dist/runtime/format-css.iife.js +2 -2
- package/dist/runtime/format-css.js +6 -6
- package/dist/runtime/format-gif.cjs +6 -6
- package/dist/runtime/format-gif.d.cts +8 -0
- package/dist/runtime/format-gif.d.ts +8 -0
- package/dist/runtime/format-gif.iife.js +2 -2
- package/dist/runtime/format-gif.js +6 -6
- package/dist/runtime/format-gltf.cjs +3 -3
- package/dist/runtime/format-gltf.d.cts +8 -0
- package/dist/runtime/format-gltf.d.ts +8 -0
- package/dist/runtime/format-gltf.iife.js +2 -2
- package/dist/runtime/format-gltf.js +3 -3
- package/dist/runtime/format-motion.cjs +6 -6
- package/dist/runtime/format-motion.d.cts +8 -0
- package/dist/runtime/format-motion.d.ts +8 -0
- package/dist/runtime/format-motion.iife.js +2 -2
- package/dist/runtime/format-motion.js +6 -6
- package/dist/runtime/format-obj.cjs +3 -3
- package/dist/runtime/format-obj.d.cts +8 -0
- package/dist/runtime/format-obj.d.ts +8 -0
- package/dist/runtime/format-obj.iife.js +2 -2
- package/dist/runtime/format-obj.js +3 -3
- package/dist/runtime/format-scene.cjs +3 -3
- package/dist/runtime/format-scene.d.cts +8 -0
- package/dist/runtime/format-scene.d.ts +8 -0
- package/dist/runtime/format-scene.iife.js +2 -2
- package/dist/runtime/format-scene.js +3 -3
- package/dist/runtime/format-sprite.cjs +5 -5
- package/dist/runtime/format-sprite.d.cts +8 -0
- package/dist/runtime/format-sprite.d.ts +8 -0
- package/dist/runtime/format-sprite.iife.js +2 -2
- package/dist/runtime/format-sprite.js +5 -5
- package/dist/runtime/format-svg.cjs +5 -5
- package/dist/runtime/format-svg.d.cts +8 -0
- package/dist/runtime/format-svg.d.ts +8 -0
- package/dist/runtime/format-svg.iife.js +2 -2
- package/dist/runtime/format-svg.js +5 -5
- package/dist/runtime/format-webp.cjs +6 -6
- package/dist/runtime/format-webp.d.cts +8 -0
- package/dist/runtime/format-webp.d.ts +8 -0
- package/dist/runtime/format-webp.iife.js +2 -2
- package/dist/runtime/format-webp.js +6 -6
- package/dist/runtime/gl.cjs +3 -2
- package/dist/runtime/gl.d.cts +8 -0
- package/dist/runtime/gl.d.ts +8 -0
- package/dist/runtime/gl.iife.js +2 -2
- package/dist/runtime/gl.js +3 -2
- package/dist/runtime/gltf-anim.cjs +3 -3
- package/dist/runtime/gltf-anim.d.cts +8 -0
- package/dist/runtime/gltf-anim.d.ts +8 -0
- package/dist/runtime/gltf-anim.iife.js +2 -2
- package/dist/runtime/gltf-anim.js +3 -3
- package/dist/runtime/gltf-decoders.cjs +3 -3
- package/dist/runtime/gltf-decoders.d.cts +8 -0
- package/dist/runtime/gltf-decoders.d.ts +8 -0
- package/dist/runtime/gltf-decoders.iife.js +2 -2
- package/dist/runtime/gltf-decoders.js +3 -3
- package/dist/runtime/lottie-state.cjs +3 -3
- package/dist/runtime/lottie-state.d.cts +8 -0
- package/dist/runtime/lottie-state.d.ts +8 -0
- package/dist/runtime/lottie-state.iife.js +2 -2
- package/dist/runtime/lottie-state.js +3 -3
- package/dist/runtime/physics.cjs +3 -3
- package/dist/runtime/physics.d.cts +8 -0
- package/dist/runtime/physics.d.ts +8 -0
- package/dist/runtime/physics.iife.js +2 -2
- package/dist/runtime/physics.js +3 -3
- package/dist/runtime/scroll.cjs +4 -4
- package/dist/runtime/scroll.d.cts +8 -0
- package/dist/runtime/scroll.d.ts +8 -0
- package/dist/runtime/scroll.iife.js +2 -2
- package/dist/runtime/scroll.js +4 -4
- package/dist/runtime/smooth.cjs +3 -3
- package/dist/runtime/smooth.d.cts +8 -0
- package/dist/runtime/smooth.d.ts +8 -0
- package/dist/runtime/smooth.iife.js +2 -2
- package/dist/runtime/smooth.js +3 -3
- package/dist/runtime/text.cjs +3 -3
- package/dist/runtime/text.d.cts +8 -0
- package/dist/runtime/text.d.ts +8 -0
- package/dist/runtime/text.iife.js +2 -2
- package/dist/runtime/text.js +3 -3
- package/dist/runtime/vector.cjs +5 -5
- package/dist/runtime/vector.d.cts +8 -0
- package/dist/runtime/vector.d.ts +8 -0
- package/dist/runtime/vector.iife.js +2 -2
- package/dist/runtime/vector.js +5 -5
- package/dist/runtime.cjs +9 -4
- package/dist/runtime.d.cts +18 -3
- package/dist/runtime.d.ts +18 -3
- package/dist/runtime.iife.js +2 -2
- package/dist/runtime.js +7 -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 +4 -4
- package/dist/widgets/dotlottie.js +4 -4
- 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 +4 -4
- package/dist/widgets/gl-model.js +4 -4
- package/dist/widgets/gl-scene.cjs +4 -4
- package/dist/widgets/gl-scene.js +4 -4
- 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 +4 -4
- package/dist/widgets/lottie-player.js +4 -4
- 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 +4 -4
- package/dist/widgets/physics-playground.js +4 -4
- 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 +4 -4
- package/dist/widgets/scroll-scene.js +4 -4
- 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 +3 -3
- package/dist/widgets/smooth-scroll.js +3 -3
- package/dist/widgets/snap-carousel.cjs +3 -3
- package/dist/widgets/snap-carousel.js +3 -3
- package/dist/widgets/sparkline.cjs +1 -1
- package/dist/widgets/sparkline.js +1 -1
- package/dist/widgets/spatial-card.cjs +1 -1
- package/dist/widgets/spatial-card.js +1 -1
- package/dist/widgets/star-rating.cjs +1 -1
- package/dist/widgets/star-rating.js +1 -1
- package/dist/widgets/stepper.cjs +1 -1
- package/dist/widgets/stepper.js +1 -1
- package/dist/widgets/sticky-wall.cjs +1 -1
- package/dist/widgets/sticky-wall.js +1 -1
- package/dist/widgets/stories.cjs +1 -1
- package/dist/widgets/stories.js +1 -1
- package/dist/widgets/suggestion-chips.cjs +1 -1
- package/dist/widgets/suggestion-chips.js +1 -1
- package/dist/widgets/swipe-deck.cjs +1 -1
- package/dist/widgets/swipe-deck.js +1 -1
- package/dist/widgets/switch.cjs +1 -1
- package/dist/widgets/switch.js +1 -1
- package/dist/widgets/tab-bar.cjs +1 -1
- package/dist/widgets/tab-bar.js +1 -1
- package/dist/widgets/terminal.cjs +1 -1
- package/dist/widgets/terminal.js +1 -1
- package/dist/widgets/text-splitter.cjs +3 -3
- package/dist/widgets/text-splitter.js +3 -3
- package/dist/widgets/theme-surface.cjs +1 -1
- package/dist/widgets/theme-surface.js +1 -1
- package/dist/widgets/theme-switcher.cjs +1 -1
- package/dist/widgets/theme-switcher.js +1 -1
- package/dist/widgets/tip.cjs +1 -1
- package/dist/widgets/tip.js +1 -1
- package/dist/widgets/toast-stack.cjs +1 -1
- package/dist/widgets/toast-stack.js +1 -1
- package/dist/widgets/token-editor.cjs +1 -1
- package/dist/widgets/token-editor.js +1 -1
- package/dist/widgets/upload-progress.cjs +1 -1
- package/dist/widgets/upload-progress.js +1 -1
- package/dist/widgets/video-card.cjs +1 -1
- package/dist/widgets/video-card.js +1 -1
- package/dist/widgets/voice-button.cjs +1 -1
- package/dist/widgets/voice-button.js +1 -1
- package/dist/widgets/volume-knob.cjs +1 -1
- package/dist/widgets/volume-knob.js +1 -1
- package/dist/widgets/weather-card.cjs +1 -1
- package/dist/widgets/weather-card.js +1 -1
- package/dist/widgets/worker-canvas.cjs +1 -1
- package/dist/widgets/worker-canvas.js +1 -1
- package/dist/widgets/xp-bar.cjs +1 -1
- package/dist/widgets/xp-bar.js +1 -1
- package/dist/widgets.umd.js +2 -2
- package/docs/ROADMAP.md +1 -1
- package/docs/architecture.md +3 -3
- package/docs/components.md +1 -1
- package/docs/frameworks-ssr.md +1 -1
- package/docs/hybrid-apps.md +1 -1
- package/docs/public-api.md +45 -0
- package/docs/runtime/basis-transcoder.md +2 -0
- package/docs/runtime/core.md +2 -0
- package/docs/runtime/draco3d.md +2 -0
- package/docs/runtime/drag-snap.md +2 -0
- package/docs/runtime/format-apng.md +2 -0
- package/docs/runtime/format-css.md +2 -0
- package/docs/runtime/format-gif.md +2 -0
- package/docs/runtime/format-gltf.md +2 -0
- package/docs/runtime/format-motion.md +2 -0
- package/docs/runtime/format-obj.md +2 -0
- package/docs/runtime/format-scene.md +2 -0
- package/docs/runtime/format-sprite.md +2 -0
- package/docs/runtime/format-svg.md +2 -0
- package/docs/runtime/format-webp.md +2 -0
- package/docs/runtime/gl.md +2 -0
- package/docs/runtime/gltf-anim.md +2 -0
- package/docs/runtime/gltf-decoders.md +2 -0
- package/docs/runtime/lottie-state.md +2 -0
- package/docs/runtime/physics.md +2 -0
- package/docs/runtime/rive.md +2 -0
- package/docs/runtime/scroll.md +2 -0
- package/docs/runtime/smooth.md +2 -0
- package/docs/runtime/text.md +2 -0
- package/docs/runtime/vector.md +2 -0
- package/docs/runtime-tiers.md +37 -0
- package/package.json +50 -15
package/dist/manifest.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"schemaVersion": 2,
|
|
5
5
|
"stability": "stable",
|
|
6
6
|
"package": "motionary",
|
|
7
|
-
"version": "11.
|
|
7
|
+
"version": "11.5.0",
|
|
8
8
|
"homepage": "https://harrisoncn.github.io/Motionary/",
|
|
9
9
|
"llms": "https://harrisoncn.github.io/Motionary/llms.txt",
|
|
10
10
|
"cdn": {
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
{
|
|
17
17
|
"kind": "runtime",
|
|
18
18
|
"id": "core",
|
|
19
|
+
"tier": "basic",
|
|
19
20
|
"label": "motionary/runtime",
|
|
20
21
|
"title": "Runtime core",
|
|
21
22
|
"summary": "Shared ticker (one rAF loop), tween + timeline engine with easing, module registry with clear errors.",
|
|
@@ -87,6 +88,7 @@
|
|
|
87
88
|
{
|
|
88
89
|
"kind": "runtime",
|
|
89
90
|
"id": "format-css",
|
|
91
|
+
"tier": "basic",
|
|
90
92
|
"label": "motionary/runtime/format-css",
|
|
91
93
|
"title": "CSS @keyframes & WAAPI keyframes loader",
|
|
92
94
|
"summary": "Import CSS @keyframes text or live CSSKeyframesRule objects and Web Animations API keyframes (array or property-indexed) into a runtime timeline.",
|
|
@@ -156,6 +158,7 @@
|
|
|
156
158
|
{
|
|
157
159
|
"kind": "runtime",
|
|
158
160
|
"id": "format-motion",
|
|
161
|
+
"tier": "basic",
|
|
159
162
|
"label": "motionary/runtime/format-motion",
|
|
160
163
|
"title": "Motion / Framer keyframe JSON loader",
|
|
161
164
|
"summary": "Play Motion / Framer-style { initial, animate, transition } JSON (arrays as keyframes, times, repeatType, springs) with the runtime.",
|
|
@@ -214,6 +217,7 @@
|
|
|
214
217
|
{
|
|
215
218
|
"kind": "runtime",
|
|
216
219
|
"id": "scroll",
|
|
220
|
+
"tier": "basic",
|
|
217
221
|
"label": "motionary/runtime/scroll",
|
|
218
222
|
"title": "Scroll scenes",
|
|
219
223
|
"summary": "Scroll-linked scenes: start / end rules, scrub (direct or smoothed), pin, markers, enter / leave callbacks and per-edge actions for a runtime tween or timeline.",
|
|
@@ -295,6 +299,7 @@
|
|
|
295
299
|
{
|
|
296
300
|
"kind": "runtime",
|
|
297
301
|
"id": "format-svg",
|
|
302
|
+
"tier": "standard",
|
|
298
303
|
"label": "motionary/runtime/format-svg",
|
|
299
304
|
"title": "SVG loader: SMIL playback + path morphing",
|
|
300
305
|
"summary": "Replay SVG SMIL animations (animate, set, animateTransform, animateMotion) on the runtime timeline, morph between any two paths, and measure paths without the DOM.",
|
|
@@ -373,6 +378,7 @@
|
|
|
373
378
|
{
|
|
374
379
|
"kind": "runtime",
|
|
375
380
|
"id": "text",
|
|
381
|
+
"tier": "basic",
|
|
376
382
|
"label": "motionary/runtime/text",
|
|
377
383
|
"title": "Text splitting",
|
|
378
384
|
"summary": "Split text into characters (grapheme-aware), words and lines for animation while keeping it accessible (aria-label with the full text, pieces hidden from assistive tech).",
|
|
@@ -439,6 +445,7 @@
|
|
|
439
445
|
{
|
|
440
446
|
"kind": "runtime",
|
|
441
447
|
"id": "format-sprite",
|
|
448
|
+
"tier": "standard",
|
|
442
449
|
"label": "motionary/runtime/format-sprite",
|
|
443
450
|
"title": "Sprite sheets & image sequences",
|
|
444
451
|
"summary": "Play TexturePacker / Aseprite sprite sheets and numbered image sequences on a canvas or an element background, as runtime timelines (scrubbable).",
|
|
@@ -511,6 +518,7 @@
|
|
|
511
518
|
{
|
|
512
519
|
"kind": "runtime",
|
|
513
520
|
"id": "smooth",
|
|
521
|
+
"tier": "standard",
|
|
514
522
|
"label": "motionary/runtime/smooth",
|
|
515
523
|
"title": "Smooth scrolling",
|
|
516
524
|
"summary": "Smooth, inertial wheel scrolling (lerp or fixed-duration glide) for the window or any scroll container, anchor links that glide, off under prefers-reduced-motion; real scroll events keep scroll scenes and observers working.",
|
|
@@ -583,6 +591,7 @@
|
|
|
583
591
|
{
|
|
584
592
|
"kind": "runtime",
|
|
585
593
|
"id": "format-gif",
|
|
594
|
+
"tier": "standard",
|
|
586
595
|
"label": "motionary/runtime/format-gif",
|
|
587
596
|
"title": "GIF decoder",
|
|
588
597
|
"summary": "Decode animated GIFs (own LZW decoder, no DOM) into composited RGBA frames and play / scrub / reverse them on a canvas as a runtime timeline.",
|
|
@@ -651,6 +660,7 @@
|
|
|
651
660
|
{
|
|
652
661
|
"kind": "runtime",
|
|
653
662
|
"id": "format-apng",
|
|
663
|
+
"tier": "standard",
|
|
654
664
|
"label": "motionary/runtime/format-apng",
|
|
655
665
|
"title": "APNG loader",
|
|
656
666
|
"summary": "Split animated PNGs into standalone frame PNGs (decoded by the browser), composite them (dispose / blend) and play them on a canvas as a runtime timeline.",
|
|
@@ -720,6 +730,7 @@
|
|
|
720
730
|
{
|
|
721
731
|
"kind": "runtime",
|
|
722
732
|
"id": "format-webp",
|
|
733
|
+
"tier": "standard",
|
|
723
734
|
"label": "motionary/runtime/format-webp",
|
|
724
735
|
"title": "Animated WebP loader",
|
|
725
736
|
"summary": "Split animated WebP files (ANIM / ANMF) into standalone frames (decoded by the browser), composite them (blend / dispose) and play them on a canvas as a runtime timeline.",
|
|
@@ -784,6 +795,7 @@
|
|
|
784
795
|
{
|
|
785
796
|
"kind": "runtime",
|
|
786
797
|
"id": "gl",
|
|
798
|
+
"tier": "advanced",
|
|
787
799
|
"label": "motionary/runtime/gl",
|
|
788
800
|
"title": "WebGL2 scene renderer",
|
|
789
801
|
"summary": "A small WebGL2 renderer with its own API: scene graph, camera, lights, box / plane / sphere / torus, PBR-style materials, shader materials, image and video textures, orbit controls — not a Three.js clone.",
|
|
@@ -872,6 +884,7 @@
|
|
|
872
884
|
{
|
|
873
885
|
"kind": "runtime",
|
|
874
886
|
"id": "format-gltf",
|
|
887
|
+
"tier": "advanced",
|
|
875
888
|
"label": "motionary/runtime/format-gltf",
|
|
876
889
|
"title": "glTF 2.0 / GLB loader",
|
|
877
890
|
"summary": "Load glTF 2.0 (.gltf with external or data: buffers, .glb) into motionary/runtime/gl nodes: node hierarchy, meshes, PBR metallic-roughness materials, embedded / external images.",
|
|
@@ -956,6 +969,7 @@
|
|
|
956
969
|
{
|
|
957
970
|
"kind": "runtime",
|
|
958
971
|
"id": "format-obj",
|
|
972
|
+
"tier": "advanced",
|
|
959
973
|
"label": "motionary/runtime/format-obj",
|
|
960
974
|
"title": "OBJ / MTL loader",
|
|
961
975
|
"summary": "Load Wavefront OBJ (+ MTL materials and diffuse textures) into motionary/runtime/gl nodes: polygons triangulated, groups, per-material meshes.",
|
|
@@ -1020,6 +1034,7 @@
|
|
|
1020
1034
|
{
|
|
1021
1035
|
"kind": "runtime",
|
|
1022
1036
|
"id": "vector",
|
|
1037
|
+
"tier": "standard",
|
|
1023
1038
|
"label": "motionary/runtime/vector",
|
|
1024
1039
|
"title": "Lottie + dotLottie player",
|
|
1025
1040
|
"summary": "Plays Lottie (bodymovin JSON) and dotLottie (.lottie) files on Canvas 2D with Motionary’s own renderer (no lottie-web code): shapes, gradients, trim paths, masks, track mattes, precomps, images; a runtime timeline you can seek, reverse and scrub.",
|
|
@@ -1138,6 +1153,7 @@
|
|
|
1138
1153
|
"stability": "stable"
|
|
1139
1154
|
},
|
|
1140
1155
|
{
|
|
1156
|
+
"tier": "standard",
|
|
1141
1157
|
"kind": "peer",
|
|
1142
1158
|
"id": "rive",
|
|
1143
1159
|
"label": "@rive-app/canvas",
|
|
@@ -1203,6 +1219,7 @@
|
|
|
1203
1219
|
{
|
|
1204
1220
|
"kind": "runtime",
|
|
1205
1221
|
"id": "physics",
|
|
1222
|
+
"tier": "advanced",
|
|
1206
1223
|
"label": "motionary/runtime/physics",
|
|
1207
1224
|
"title": "2D rigid-body physics",
|
|
1208
1225
|
"summary": "A small 2D rigid-body engine written for Motionary (own implementation and API — no Matter.js / Box2D code): circles, boxes and convex polygons, mass from density, restitution, friction, sensors, collision groups, sleeping, distance / spring / pin constraints, pointer drag, a fixed time step on the shared ticker.",
|
|
@@ -1273,6 +1290,7 @@
|
|
|
1273
1290
|
{
|
|
1274
1291
|
"kind": "runtime",
|
|
1275
1292
|
"id": "format-scene",
|
|
1293
|
+
"tier": "advanced",
|
|
1276
1294
|
"label": "motionary/runtime/format-scene",
|
|
1277
1295
|
"title": "Scene JSON (motionary-scene@1)",
|
|
1278
1296
|
"summary": "The versioned motionary-scene@1 format: a JSON description of a 2D physics scene (world, named materials, bodies, constraints, per-body style) — validate, migrate older drafts, load into a physics world and save one back.",
|
|
@@ -1338,6 +1356,7 @@
|
|
|
1338
1356
|
{
|
|
1339
1357
|
"kind": "runtime",
|
|
1340
1358
|
"id": "drag-snap",
|
|
1359
|
+
"tier": "standard",
|
|
1341
1360
|
"label": "motionary/runtime/drag-snap",
|
|
1342
1361
|
"title": "Drag, inertia and snap points",
|
|
1343
1362
|
"summary": "Pointer drag along one axis with velocity tracking, inertial throws, rubber-band edges and spring-animated snap points on the shared ticker — the engine of <usa-snap-carousel>, usable for sheets, sliders and pickers (own implementation).",
|
|
@@ -1408,6 +1427,7 @@
|
|
|
1408
1427
|
{
|
|
1409
1428
|
"kind": "runtime",
|
|
1410
1429
|
"id": "gltf-anim",
|
|
1430
|
+
"tier": "advanced",
|
|
1411
1431
|
"label": "motionary/runtime/gltf-anim",
|
|
1412
1432
|
"title": "glTF animation, skinning and morph targets",
|
|
1413
1433
|
"summary": "Plays glTF 2.0 animations on models loaded by motionary/runtime/format-gltf: translation / rotation / scale / weights channels with LINEAR, STEP and CUBICSPLINE samplers, skins (4 joints per vertex) and morph targets, deformed on the CPU and re-uploaded to motionary/runtime/gl (own implementation).",
|
|
@@ -1478,6 +1498,7 @@
|
|
|
1478
1498
|
{
|
|
1479
1499
|
"kind": "runtime",
|
|
1480
1500
|
"id": "lottie-state",
|
|
1501
|
+
"tier": "standard",
|
|
1481
1502
|
"label": "motionary/runtime/lottie-state",
|
|
1482
1503
|
"title": "dotLottie themes + state machines",
|
|
1483
1504
|
"summary": "Resolves Lottie slots with dotLottie themes (Color / Scalar / Vector / Text rules, static or keyframed) and runs a subset of dotLottie state machines (playback states, Event / Numeric / String / Boolean guards, pointer + completion interactions, input / theme / frame actions) for motionary/runtime/vector — own implementation, used by <usa-dotlottie>.",
|
|
@@ -1547,6 +1568,7 @@
|
|
|
1547
1568
|
{
|
|
1548
1569
|
"kind": "runtime",
|
|
1549
1570
|
"id": "gltf-decoders",
|
|
1571
|
+
"tier": "advanced",
|
|
1550
1572
|
"label": "motionary/runtime/gltf-decoders",
|
|
1551
1573
|
"title": "glTF decoder hooks (Draco, KTX2)",
|
|
1552
1574
|
"summary": "Lets motionary/runtime/format-gltf load KHR_draco_mesh_compression meshes and KHR_texture_basisu (KTX2) textures through the official decoders — Google draco3d and the Basis Universal transcoder — registered as lazy loaders; Motionary does not reimplement them.",
|
|
@@ -1605,6 +1627,7 @@
|
|
|
1605
1627
|
"stability": "stable"
|
|
1606
1628
|
},
|
|
1607
1629
|
{
|
|
1630
|
+
"tier": "advanced",
|
|
1608
1631
|
"kind": "peer",
|
|
1609
1632
|
"id": "draco3d",
|
|
1610
1633
|
"label": "draco3d",
|
|
@@ -1640,6 +1663,7 @@
|
|
|
1640
1663
|
"stability": "stable"
|
|
1641
1664
|
},
|
|
1642
1665
|
{
|
|
1666
|
+
"tier": "advanced",
|
|
1643
1667
|
"kind": "peer",
|
|
1644
1668
|
"id": "basis-transcoder",
|
|
1645
1669
|
"label": "basis_transcoder.js",
|
|
@@ -1703,6 +1727,7 @@
|
|
|
1703
1727
|
"example": "<usa-accordion>\n <details><summary>Shipping</summary><p>…</p></details>\n <details><summary>Returns</summary><p>…</p></details>\n</usa-accordion>",
|
|
1704
1728
|
"esm": "import { defineAccordion } from 'motionary/components/transitions';\n\ndefineAccordion(); // registers <usa-accordion>\n\n/* then use it in your HTML:\n<usa-accordion>\n <details><summary>Shipping</summary><p>…</p></details>\n <details><summary>Returns</summary><p>…</p></details>\n</usa-accordion>\n*/",
|
|
1705
1729
|
"requires": [],
|
|
1730
|
+
"tier": "basic",
|
|
1706
1731
|
"prerequisites": null,
|
|
1707
1732
|
"entry": null,
|
|
1708
1733
|
"stability": "stable",
|
|
@@ -1738,6 +1763,7 @@
|
|
|
1738
1763
|
"example": "<usa-acrylic shimmer=\"hover\">\n <nav>…</nav>\n</usa-acrylic>\n<usa-acrylic kind=\"mica\">…</usa-acrylic>",
|
|
1739
1764
|
"esm": "import { defineAcrylic } from 'motionary/components/background';\n\ndefineAcrylic(); // registers <usa-acrylic>\n\n/* then use it in your HTML:\n<usa-acrylic shimmer=\"hover\">\n <nav>…</nav>\n</usa-acrylic>\n<usa-acrylic kind=\"mica\">…</usa-acrylic>\n*/",
|
|
1740
1765
|
"requires": [],
|
|
1766
|
+
"tier": "basic",
|
|
1741
1767
|
"prerequisites": null,
|
|
1742
1768
|
"entry": null,
|
|
1743
1769
|
"stability": "stable",
|
|
@@ -1775,6 +1801,7 @@
|
|
|
1775
1801
|
"example": "<usa-cart-drawer id=\"cart\"></usa-cart-drawer>\n<div data-product>\n <img src=\"shoe.jpg\" alt=\"Sneaker\">\n <usa-add-to-cart cart=\"#cart\" item='{\"name\":\"Sneaker\",\"price\":89}'></usa-add-to-cart>\n</div>",
|
|
1776
1802
|
"esm": "import { defineAddToCart } from 'motionary/components/widgets';\n\ndefineAddToCart(); // registers <usa-add-to-cart>\n\n/* then use it in your HTML:\n<usa-cart-drawer id=\"cart\"></usa-cart-drawer>\n<div data-product>\n <img src=\"shoe.jpg\" alt=\"Sneaker\">\n <usa-add-to-cart cart=\"#cart\" item='{\"name\":\"Sneaker\",\"price\":89}'></usa-add-to-cart>\n</div>\n*/",
|
|
1777
1803
|
"requires": [],
|
|
1804
|
+
"tier": "basic",
|
|
1778
1805
|
"prerequisites": null,
|
|
1779
1806
|
"entry": "motionary/widgets/add-to-cart",
|
|
1780
1807
|
"stability": "stable",
|
|
@@ -1819,6 +1846,7 @@
|
|
|
1819
1846
|
"example": "<usa-ambient effect=\"snow\" density=\"1.2\"></usa-ambient>",
|
|
1820
1847
|
"esm": "import { defineAmbient } from 'motionary/components/page';\n\ndefineAmbient(); // registers <usa-ambient>\n\n/* then use it in your HTML:\n<usa-ambient effect=\"snow\" density=\"1.2\"></usa-ambient>\n*/",
|
|
1821
1848
|
"requires": [],
|
|
1849
|
+
"tier": "basic",
|
|
1822
1850
|
"prerequisites": null,
|
|
1823
1851
|
"entry": null,
|
|
1824
1852
|
"stability": "stable",
|
|
@@ -1856,6 +1884,7 @@
|
|
|
1856
1884
|
"example": "<usa-anim-icon name=\"bell\" label=\"Notifications\"></usa-anim-icon>\n<usa-anim-icon name=\"heart\" trigger=\"click\"></usa-anim-icon>",
|
|
1857
1885
|
"esm": "import { defineAnimIcon } from 'motionary/components/svg';\n\ndefineAnimIcon(); // registers <usa-anim-icon>\n\n/* then use it in your HTML:\n<usa-anim-icon name=\"bell\" label=\"Notifications\"></usa-anim-icon>\n<usa-anim-icon name=\"heart\" trigger=\"click\"></usa-anim-icon>\n*/",
|
|
1858
1886
|
"requires": [],
|
|
1887
|
+
"tier": "basic",
|
|
1859
1888
|
"prerequisites": null,
|
|
1860
1889
|
"entry": null,
|
|
1861
1890
|
"stability": "stable",
|
|
@@ -1893,6 +1922,7 @@
|
|
|
1893
1922
|
"example": "<audio id=\"track\" src=\"song.mp3\" controls></audio>\n<usa-audio source=\"#track\" label=\"Play with visuals\">\n <div data-usa-beat=\"pop\">♪</div>\n</usa-audio>",
|
|
1894
1923
|
"esm": "import { defineAudio } from 'motionary/components/effects';\n\ndefineAudio(); // registers <usa-audio>\n\n/* then use it in your HTML:\n<audio id=\"track\" src=\"song.mp3\" controls></audio>\n<usa-audio source=\"#track\" label=\"Play with visuals\">\n <div data-usa-beat=\"pop\">♪</div>\n</usa-audio>\n*/",
|
|
1895
1924
|
"requires": [],
|
|
1925
|
+
"tier": "basic",
|
|
1896
1926
|
"prerequisites": null,
|
|
1897
1927
|
"entry": null,
|
|
1898
1928
|
"stability": "stable",
|
|
@@ -1926,6 +1956,7 @@
|
|
|
1926
1956
|
"example": "<usa-aurora colors=\"#7c5cff,#22d3ee,#f472b6\">\n <h1>Hero</h1>\n</usa-aurora>",
|
|
1927
1957
|
"esm": "import { defineAurora } from 'motionary/components/background';\n\ndefineAurora(); // registers <usa-aurora>\n\n/* then use it in your HTML:\n<usa-aurora colors=\"#7c5cff,#22d3ee,#f472b6\">\n <h1>Hero</h1>\n</usa-aurora>\n*/",
|
|
1928
1958
|
"requires": [],
|
|
1959
|
+
"tier": "basic",
|
|
1929
1960
|
"prerequisites": null,
|
|
1930
1961
|
"entry": null,
|
|
1931
1962
|
"stability": "stable",
|
|
@@ -1961,6 +1992,7 @@
|
|
|
1961
1992
|
"example": "<usa-auto-animate>\n <ul class=\"todo\">…</ul>\n</usa-auto-animate>\n\n<!-- or on any element: -->\n<script type=\"module\">\n import { autoAnimate } from 'motionary/components/layout';\n autoAnimate(document.querySelector('.grid'));\n</script>",
|
|
1962
1993
|
"esm": "import { defineAutoAnimate } from 'motionary/components/layout';\n\ndefineAutoAnimate(); // registers <usa-auto-animate>\n\n/* then use it in your HTML:\n<usa-auto-animate>\n <ul class=\"todo\">…</ul>\n</usa-auto-animate>\n\n<!-- or on any element: -->\n*/",
|
|
1963
1994
|
"requires": [],
|
|
1995
|
+
"tier": "basic",
|
|
1964
1996
|
"prerequisites": null,
|
|
1965
1997
|
"entry": null,
|
|
1966
1998
|
"stability": "stable",
|
|
@@ -1993,6 +2025,7 @@
|
|
|
1993
2025
|
"example": "<usa-auto-skeleton loading>\n <h3>{{ title }}</h3>\n <p>{{ body }}</p>\n</usa-auto-skeleton>",
|
|
1994
2026
|
"esm": "import { defineAutoSkeleton } from 'motionary/components/page';\n\ndefineAutoSkeleton(); // registers <usa-auto-skeleton>\n\n/* then use it in your HTML:\n<usa-auto-skeleton loading>\n <h3>{{ title }}</h3>\n <p>{{ body }}</p>\n</usa-auto-skeleton>\n*/",
|
|
1995
2027
|
"requires": [],
|
|
2028
|
+
"tier": "basic",
|
|
1996
2029
|
"prerequisites": null,
|
|
1997
2030
|
"entry": null,
|
|
1998
2031
|
"stability": "stable",
|
|
@@ -2029,6 +2062,7 @@
|
|
|
2029
2062
|
"example": "<usa-avatar-stack max=\"4\">\n <img src=\"a.jpg\" alt=\"Ana\">\n …\n</usa-avatar-stack>",
|
|
2030
2063
|
"esm": "import { defineAvatarStack } from 'motionary/components/ui';\n\ndefineAvatarStack(); // registers <usa-avatar-stack>\n\n/* then use it in your HTML:\n<usa-avatar-stack max=\"4\">\n <img src=\"a.jpg\" alt=\"Ana\">\n …\n</usa-avatar-stack>\n*/",
|
|
2031
2064
|
"requires": [],
|
|
2065
|
+
"tier": "basic",
|
|
2032
2066
|
"prerequisites": null,
|
|
2033
2067
|
"entry": null,
|
|
2034
2068
|
"stability": "stable",
|
|
@@ -2058,6 +2092,7 @@
|
|
|
2058
2092
|
"example": "<usa-back-to-top offset=\"400\"></usa-back-to-top>",
|
|
2059
2093
|
"esm": "import { defineBackToTop } from 'motionary/components/page';\n\ndefineBackToTop(); // registers <usa-back-to-top>\n\n/* then use it in your HTML:\n<usa-back-to-top offset=\"400\"></usa-back-to-top>\n*/",
|
|
2060
2094
|
"requires": [],
|
|
2095
|
+
"tier": "basic",
|
|
2061
2096
|
"prerequisites": null,
|
|
2062
2097
|
"entry": null,
|
|
2063
2098
|
"stability": "stable",
|
|
@@ -2093,6 +2128,7 @@
|
|
|
2093
2128
|
"example": "<usa-badge value=\"3\">\n <button>Inbox</button>\n</usa-badge>",
|
|
2094
2129
|
"esm": "import { defineBadge } from 'motionary/components/ui';\n\ndefineBadge(); // registers <usa-badge>\n\n/* then use it in your HTML:\n<usa-badge value=\"3\">\n <button>Inbox</button>\n</usa-badge>\n*/",
|
|
2095
2130
|
"requires": [],
|
|
2131
|
+
"tier": "basic",
|
|
2096
2132
|
"prerequisites": null,
|
|
2097
2133
|
"entry": null,
|
|
2098
2134
|
"stability": "stable",
|
|
@@ -2130,6 +2166,7 @@
|
|
|
2130
2166
|
"example": "<usa-badge-wall>\n <li data-icon=\"🏆\">First win</li>\n <li data-icon=\"🔥\" data-locked>7-day streak</li>\n</usa-badge-wall>\n<script>wall.unlock('7-day streak');</script>",
|
|
2131
2167
|
"esm": "import { defineBadgeWall } from 'motionary/components/widgets';\n\ndefineBadgeWall(); // registers <usa-badge-wall>\n\n/* then use it in your HTML:\n<usa-badge-wall>\n <li data-icon=\"🏆\">First win</li>\n <li data-icon=\"🔥\" data-locked>7-day streak</li>\n</usa-badge-wall>\n*/",
|
|
2132
2168
|
"requires": [],
|
|
2169
|
+
"tier": "basic",
|
|
2133
2170
|
"prerequisites": null,
|
|
2134
2171
|
"entry": "motionary/widgets/badge-wall",
|
|
2135
2172
|
"stability": "stable",
|
|
@@ -2167,6 +2204,7 @@
|
|
|
2167
2204
|
"example": "<usa-bar-chart values=\"12,19,8,15,22\" labels=\"Mon,Tue,Wed,Thu,Fri\" unit=\"k\"></usa-bar-chart>\n<script>chart.data = [{ label: 'Mon', value: 18 }, …];</script>",
|
|
2168
2205
|
"esm": "import { defineBarChart } from 'motionary/components/widgets';\n\ndefineBarChart(); // registers <usa-bar-chart>\n\n/* then use it in your HTML:\n<usa-bar-chart values=\"12,19,8,15,22\" labels=\"Mon,Tue,Wed,Thu,Fri\" unit=\"k\"></usa-bar-chart>\n*/",
|
|
2169
2206
|
"requires": [],
|
|
2207
|
+
"tier": "basic",
|
|
2170
2208
|
"prerequisites": null,
|
|
2171
2209
|
"entry": "motionary/widgets/bar-chart",
|
|
2172
2210
|
"stability": "stable",
|
|
@@ -2207,6 +2245,7 @@
|
|
|
2207
2245
|
"example": "<usa-bg-generator palette=\"candy\" style=\"mesh\"></usa-bg-generator>",
|
|
2208
2246
|
"esm": "import { defineBgGenerator } from 'motionary/components/widgets';\n\ndefineBgGenerator(); // registers <usa-bg-generator>\n\n/* then use it in your HTML:\n<usa-bg-generator palette=\"candy\" style=\"mesh\"></usa-bg-generator>\n*/",
|
|
2209
2247
|
"requires": [],
|
|
2248
|
+
"tier": "basic",
|
|
2210
2249
|
"prerequisites": null,
|
|
2211
2250
|
"entry": "motionary/widgets/bg-generator",
|
|
2212
2251
|
"stability": "stable",
|
|
@@ -2239,6 +2278,7 @@
|
|
|
2239
2278
|
"example": "<usa-blobs colors=\"#7c5cff,#22d3ee,#f472b6\">…</usa-blobs>",
|
|
2240
2279
|
"esm": "import { defineBlobs } from 'motionary/components/background';\n\ndefineBlobs(); // registers <usa-blobs>\n\n/* then use it in your HTML:\n<usa-blobs colors=\"#7c5cff,#22d3ee,#f472b6\">…</usa-blobs>\n*/",
|
|
2241
2280
|
"requires": [],
|
|
2281
|
+
"tier": "basic",
|
|
2242
2282
|
"prerequisites": null,
|
|
2243
2283
|
"entry": null,
|
|
2244
2284
|
"stability": "stable",
|
|
@@ -2275,6 +2315,7 @@
|
|
|
2275
2315
|
"example": "<usa-bottom-sheet snap=\"0.4,0.9\" label=\"Filters\">…</usa-bottom-sheet>",
|
|
2276
2316
|
"esm": "import { defineBottomSheet } from 'motionary/components/ui';\n\ndefineBottomSheet(); // registers <usa-bottom-sheet>\n\n/* then use it in your HTML:\n<usa-bottom-sheet snap=\"0.4,0.9\" label=\"Filters\">…</usa-bottom-sheet>\n*/",
|
|
2277
2317
|
"requires": [],
|
|
2318
|
+
"tier": "basic",
|
|
2278
2319
|
"prerequisites": null,
|
|
2279
2320
|
"entry": null,
|
|
2280
2321
|
"stability": "stable",
|
|
@@ -2317,6 +2358,7 @@
|
|
|
2317
2358
|
"example": "<usa-button deform=\"squash\">\n <button>Squash</button>\n</usa-button>\n<usa-button deform=\"gooey\"><button>Gooey</button></usa-button>\n<usa-button deform=\"dent\"><button>Dent</button></usa-button>",
|
|
2318
2359
|
"esm": "import { defineButton } from 'motionary/components/click';\n\ndefineButton(); // registers <usa-button>\n\n/* then use it in your HTML:\n<usa-button deform=\"squash\">\n <button>Squash</button>\n</usa-button>\n<usa-button deform=\"gooey\"><button>Gooey</button></usa-button>\n<usa-button deform=\"dent\"><button>Dent</button></usa-button>\n*/",
|
|
2319
2360
|
"requires": [],
|
|
2361
|
+
"tier": "basic",
|
|
2320
2362
|
"prerequisites": null,
|
|
2321
2363
|
"entry": null,
|
|
2322
2364
|
"stability": "stable",
|
|
@@ -2381,6 +2423,7 @@
|
|
|
2381
2423
|
"example": "<usa-card effect=\"lift sheen\">\n <h3>Pro plan</h3>\n</usa-card>\n<usa-card effect=\"flip\" trigger=\"click\">\n <div data-front>Front</div>\n <div data-back>Back</div>\n</usa-card>\n<usa-card effect=\"expand\">\n <h3>Title</h3>\n <div data-detail>Long text… <button data-close>Close</button></div>\n</usa-card>",
|
|
2382
2424
|
"esm": "import { defineCard } from 'motionary/components/cards';\n\ndefineCard(); // registers <usa-card>\n\n/* then use it in your HTML:\n<usa-card effect=\"lift sheen\">\n <h3>Pro plan</h3>\n</usa-card>\n<usa-card effect=\"flip\" trigger=\"click\">\n <div data-front>Front</div>\n <div data-back>Back</div>\n</usa-card>\n<usa-card effect=\"expand\">\n <h3>Title</h3>\n <div data-detail>Long text… <button data-close>Close</button></div>\n</usa-card>\n*/",
|
|
2383
2425
|
"requires": [],
|
|
2426
|
+
"tier": "basic",
|
|
2384
2427
|
"prerequisites": null,
|
|
2385
2428
|
"entry": null,
|
|
2386
2429
|
"stability": "stable",
|
|
@@ -2440,6 +2483,7 @@
|
|
|
2440
2483
|
"example": "<usa-card-stack loop>\n <article>1</article>\n <article>2</article>\n <article>3</article>\n</usa-card-stack>",
|
|
2441
2484
|
"esm": "import { defineCardStack } from 'motionary/components/cards';\n\ndefineCardStack(); // registers <usa-card-stack>\n\n/* then use it in your HTML:\n<usa-card-stack loop>\n <article>1</article>\n <article>2</article>\n <article>3</article>\n</usa-card-stack>\n*/",
|
|
2442
2485
|
"requires": [],
|
|
2486
|
+
"tier": "basic",
|
|
2443
2487
|
"prerequisites": null,
|
|
2444
2488
|
"entry": null,
|
|
2445
2489
|
"stability": "stable",
|
|
@@ -2485,6 +2529,7 @@
|
|
|
2485
2529
|
"example": "<usa-carousel effect=\"cards\" loop autoplay=\"4000\" label=\"Featured\">\n <img src=\"a.jpg\" alt=\"…\">\n <img src=\"b.jpg\" alt=\"…\">\n <img src=\"c.jpg\" alt=\"…\">\n</usa-carousel>",
|
|
2486
2530
|
"esm": "import { defineCarousel } from 'motionary/components/widgets';\n\ndefineCarousel(); // registers <usa-carousel>\n\n/* then use it in your HTML:\n<usa-carousel effect=\"cards\" loop autoplay=\"4000\" label=\"Featured\">\n <img src=\"a.jpg\" alt=\"…\">\n <img src=\"b.jpg\" alt=\"…\">\n <img src=\"c.jpg\" alt=\"…\">\n</usa-carousel>\n*/",
|
|
2487
2531
|
"requires": [],
|
|
2532
|
+
"tier": "basic",
|
|
2488
2533
|
"prerequisites": null,
|
|
2489
2534
|
"entry": "motionary/widgets/carousel",
|
|
2490
2535
|
"stability": "stable",
|
|
@@ -2525,6 +2570,7 @@
|
|
|
2525
2570
|
"example": "<usa-carousel-3d autoplay=\"3000\">\n <img src=\"1.jpg\" alt=\"\">\n <img src=\"2.jpg\" alt=\"\">\n …\n</usa-carousel-3d>",
|
|
2526
2571
|
"esm": "import { defineCarousel3d } from 'motionary/components/cards';\n\ndefineCarousel3d(); // registers <usa-carousel-3d>\n\n/* then use it in your HTML:\n<usa-carousel-3d autoplay=\"3000\">\n <img src=\"1.jpg\" alt=\"\">\n <img src=\"2.jpg\" alt=\"\">\n …\n</usa-carousel-3d>\n*/",
|
|
2527
2572
|
"requires": [],
|
|
2573
|
+
"tier": "basic",
|
|
2528
2574
|
"prerequisites": null,
|
|
2529
2575
|
"entry": null,
|
|
2530
2576
|
"stability": "stable",
|
|
@@ -2566,6 +2612,7 @@
|
|
|
2566
2612
|
"example": "<usa-cart-drawer currency=\"$\"></usa-cart-drawer>\n<script>cart.add({ id: 'tee', name: 'T-shirt', price: 24 });</script>",
|
|
2567
2613
|
"esm": "import { defineCartDrawer } from 'motionary/components/widgets';\n\ndefineCartDrawer(); // registers <usa-cart-drawer>\n\n/* then use it in your HTML:\n<usa-cart-drawer currency=\"$\"></usa-cart-drawer>\n*/",
|
|
2568
2614
|
"requires": [],
|
|
2615
|
+
"tier": "basic",
|
|
2569
2616
|
"prerequisites": null,
|
|
2570
2617
|
"entry": "motionary/widgets/cart-drawer",
|
|
2571
2618
|
"stability": "stable",
|
|
@@ -2607,6 +2654,7 @@
|
|
|
2607
2654
|
"example": "<usa-chapter-nav for=\"#story\"></usa-chapter-nav>\n<article id=\"story\">\n <section data-chapter=\"Prologue\">…</section>\n <section data-chapter=\"The storm\">…</section>\n</article>",
|
|
2608
2655
|
"esm": "import { defineChapterNav } from 'motionary/components/widgets';\n\ndefineChapterNav(); // registers <usa-chapter-nav>\n\n/* then use it in your HTML:\n<usa-chapter-nav for=\"#story\"></usa-chapter-nav>\n<article id=\"story\">\n <section data-chapter=\"Prologue\">…</section>\n <section data-chapter=\"The storm\">…</section>\n</article>\n*/",
|
|
2609
2656
|
"requires": [],
|
|
2657
|
+
"tier": "basic",
|
|
2610
2658
|
"prerequisites": null,
|
|
2611
2659
|
"entry": "motionary/widgets/chapter-nav",
|
|
2612
2660
|
"stability": "stable",
|
|
@@ -2651,6 +2699,7 @@
|
|
|
2651
2699
|
"example": "<usa-chat-composer placeholder=\"Ask anything…\"></usa-chat-composer>\n<script>composer.addEventListener('usa:send', async (e) => { composer.busy = true; await ask(e.detail.text); composer.busy = false; });</script>",
|
|
2652
2700
|
"esm": "import { defineChatComposer } from 'motionary/components/widgets';\n\ndefineChatComposer(); // registers <usa-chat-composer>\n\n/* then use it in your HTML:\n<usa-chat-composer placeholder=\"Ask anything…\"></usa-chat-composer>\n*/",
|
|
2653
2701
|
"requires": [],
|
|
2702
|
+
"tier": "basic",
|
|
2654
2703
|
"prerequisites": null,
|
|
2655
2704
|
"entry": "motionary/widgets/chat-composer",
|
|
2656
2705
|
"stability": "stable",
|
|
@@ -2689,6 +2738,7 @@
|
|
|
2689
2738
|
"example": "<usa-check kind=\"success\" label=\"Payment complete\"></usa-check>",
|
|
2690
2739
|
"esm": "import { defineCheck } from 'motionary/components/feedback';\n\ndefineCheck(); // registers <usa-check>\n\n/* then use it in your HTML:\n<usa-check kind=\"success\" label=\"Payment complete\"></usa-check>\n*/",
|
|
2691
2740
|
"requires": [],
|
|
2741
|
+
"tier": "basic",
|
|
2692
2742
|
"prerequisites": null,
|
|
2693
2743
|
"entry": null,
|
|
2694
2744
|
"stability": "stable",
|
|
@@ -2728,6 +2778,7 @@
|
|
|
2728
2778
|
"example": "<usa-checkbox name=\"terms\">I agree</usa-checkbox>",
|
|
2729
2779
|
"esm": "import { defineCheckbox } from 'motionary/components/click';\n\ndefineCheckbox(); // registers <usa-checkbox>\n\n/* then use it in your HTML:\n<usa-checkbox name=\"terms\">I agree</usa-checkbox>\n*/",
|
|
2730
2780
|
"requires": [],
|
|
2781
|
+
"tier": "basic",
|
|
2731
2782
|
"prerequisites": null,
|
|
2732
2783
|
"entry": null,
|
|
2733
2784
|
"stability": "stable",
|
|
@@ -2768,6 +2819,7 @@
|
|
|
2768
2819
|
"example": "<usa-click effect=\"press-spring burst\" shape=\"star\">\n <button>Celebrate</button>\n</usa-click>",
|
|
2769
2820
|
"esm": "import { defineClick } from 'motionary/components/click';\n\ndefineClick(); // registers <usa-click>\n\n/* then use it in your HTML:\n<usa-click effect=\"press-spring burst\" shape=\"star\">\n <button>Celebrate</button>\n</usa-click>\n*/",
|
|
2770
2821
|
"requires": [],
|
|
2822
|
+
"tier": "basic",
|
|
2771
2823
|
"prerequisites": null,
|
|
2772
2824
|
"entry": null,
|
|
2773
2825
|
"stability": "stable",
|
|
@@ -2806,6 +2858,7 @@
|
|
|
2806
2858
|
"example": "<usa-clock-control speeds=\"0.25,0.5,1,2\"></usa-clock-control>\n<script type=\"module\">\nimport { motionClock, createTimeline } from 'motionary/engine';\nmotionClock.rate = 0.5;\ncreateTimeline().add(a, [{ opacity: 0 }, { opacity: 1 }], 400).add(b, [{ transform: 'scale(0)' }, { transform: 'none' }], 500, '-=200').play();\n</script>",
|
|
2807
2859
|
"esm": "import { defineClockControl } from 'motionary/components/widgets';\n\ndefineClockControl(); // registers <usa-clock-control>\n\n/* then use it in your HTML:\n<usa-clock-control speeds=\"0.25,0.5,1,2\"></usa-clock-control>\n*/",
|
|
2808
2860
|
"requires": [],
|
|
2861
|
+
"tier": "basic",
|
|
2809
2862
|
"prerequisites": null,
|
|
2810
2863
|
"entry": "motionary/widgets/clock-control",
|
|
2811
2864
|
"stability": "stable",
|
|
@@ -2846,6 +2899,7 @@
|
|
|
2846
2899
|
"example": "<usa-code-export formats=\"html,react,vue\">\n <usa-star-rating value=\"4\"></usa-star-rating>\n</usa-code-export>",
|
|
2847
2900
|
"esm": "import { defineCodeExport } from 'motionary/components/widgets';\n\ndefineCodeExport(); // registers <usa-code-export>\n\n/* then use it in your HTML:\n<usa-code-export formats=\"html,react,vue\">\n <usa-star-rating value=\"4\"></usa-star-rating>\n</usa-code-export>\n*/",
|
|
2848
2901
|
"requires": [],
|
|
2902
|
+
"tier": "basic",
|
|
2849
2903
|
"prerequisites": null,
|
|
2850
2904
|
"entry": "motionary/widgets/code-export",
|
|
2851
2905
|
"stability": "stable",
|
|
@@ -2884,6 +2938,7 @@
|
|
|
2884
2938
|
"example": "<usa-color-picker value=\"#7c5cff\" swatches=\"#f43f5e,#f59e0b,#22c55e,#0ea5e9\"></usa-color-picker>",
|
|
2885
2939
|
"esm": "import { defineColorPicker } from 'motionary/components/widgets';\n\ndefineColorPicker(); // registers <usa-color-picker>\n\n/* then use it in your HTML:\n<usa-color-picker value=\"#7c5cff\" swatches=\"#f43f5e,#f59e0b,#22c55e,#0ea5e9\"></usa-color-picker>\n*/",
|
|
2886
2940
|
"requires": [],
|
|
2941
|
+
"tier": "basic",
|
|
2887
2942
|
"prerequisites": null,
|
|
2888
2943
|
"entry": "motionary/widgets/color-picker",
|
|
2889
2944
|
"stability": "stable",
|
|
@@ -2931,6 +2986,7 @@
|
|
|
2931
2986
|
"example": "<usa-command-palette>\n <option value=\"new\" data-group=\"File\" data-keys=\"mod+n\">New file</option>\n <option value=\"theme\" data-group=\"View\">Toggle theme</option>\n</usa-command-palette>\n<script>palette.addEventListener('usa:run', (e) => run(e.detail.id));</script>",
|
|
2932
2987
|
"esm": "import { defineCommandPalette } from 'motionary/components/widgets';\n\ndefineCommandPalette(); // registers <usa-command-palette>\n\n/* then use it in your HTML:\n<usa-command-palette>\n <option value=\"new\" data-group=\"File\" data-keys=\"mod+n\">New file</option>\n <option value=\"theme\" data-group=\"View\">Toggle theme</option>\n</usa-command-palette>\n*/",
|
|
2933
2988
|
"requires": [],
|
|
2989
|
+
"tier": "basic",
|
|
2934
2990
|
"prerequisites": null,
|
|
2935
2991
|
"entry": "motionary/widgets/command-palette",
|
|
2936
2992
|
"stability": "stable",
|
|
@@ -2969,6 +3025,7 @@
|
|
|
2969
3025
|
"example": "<usa-compare labels=\"Before,After\" intro>\n <img src=\"before.jpg\" alt=\"Before\">\n <img src=\"after.jpg\" alt=\"After\">\n</usa-compare>",
|
|
2970
3026
|
"esm": "import { defineCompare } from 'motionary/components/widgets';\n\ndefineCompare(); // registers <usa-compare>\n\n/* then use it in your HTML:\n<usa-compare labels=\"Before,After\" intro>\n <img src=\"before.jpg\" alt=\"Before\">\n <img src=\"after.jpg\" alt=\"After\">\n</usa-compare>\n*/",
|
|
2971
3027
|
"requires": [],
|
|
3028
|
+
"tier": "basic",
|
|
2972
3029
|
"prerequisites": null,
|
|
2973
3030
|
"entry": "motionary/widgets/compare",
|
|
2974
3031
|
"stability": "stable",
|
|
@@ -3011,6 +3068,7 @@
|
|
|
3011
3068
|
"example": "<usa-countdown to=\"2026-12-24T00:00:00\" units=\"d,h,m,s\"></usa-countdown>",
|
|
3012
3069
|
"esm": "import { defineCountdown } from 'motionary/components/widgets';\n\ndefineCountdown(); // registers <usa-countdown>\n\n/* then use it in your HTML:\n<usa-countdown to=\"2026-12-24T00:00:00\" units=\"d,h,m,s\"></usa-countdown>\n*/",
|
|
3013
3070
|
"requires": [],
|
|
3071
|
+
"tier": "basic",
|
|
3014
3072
|
"prerequisites": null,
|
|
3015
3073
|
"entry": "motionary/widgets/countdown",
|
|
3016
3074
|
"stability": "stable",
|
|
@@ -3052,6 +3110,7 @@
|
|
|
3052
3110
|
"example": "<usa-counter to=\"128490\" prefix=\"$\" duration=\"2000\"></usa-counter>",
|
|
3053
3111
|
"esm": "import { defineCounter } from 'motionary/components/text';\n\ndefineCounter(); // registers <usa-counter>\n\n/* then use it in your HTML:\n<usa-counter to=\"128490\" prefix=\"$\" duration=\"2000\"></usa-counter>\n*/",
|
|
3054
3112
|
"requires": [],
|
|
3113
|
+
"tier": "basic",
|
|
3055
3114
|
"prerequisites": null,
|
|
3056
3115
|
"entry": null,
|
|
3057
3116
|
"stability": "stable",
|
|
@@ -3092,6 +3151,7 @@
|
|
|
3092
3151
|
"example": "<usa-cube size=\"200\" autoplay=\"3000\">\n <div>Front</div><div>Right</div><div>Back</div><div>Left</div>\n</usa-cube>",
|
|
3093
3152
|
"esm": "import { defineCube } from 'motionary/components/depth';\n\ndefineCube(); // registers <usa-cube>\n\n/* then use it in your HTML:\n<usa-cube size=\"200\" autoplay=\"3000\">\n <div>Front</div><div>Right</div><div>Back</div><div>Left</div>\n</usa-cube>\n*/",
|
|
3094
3153
|
"requires": [],
|
|
3154
|
+
"tier": "basic",
|
|
3095
3155
|
"prerequisites": null,
|
|
3096
3156
|
"entry": null,
|
|
3097
3157
|
"stability": "stable",
|
|
@@ -3134,6 +3194,7 @@
|
|
|
3134
3194
|
"example": "<usa-cube-gallery autoplay=\"4000\" label=\"Products\">\n <img src=\"a.jpg\" alt=\"…\">\n <img src=\"b.jpg\" alt=\"…\">\n <img src=\"c.jpg\" alt=\"…\">\n</usa-cube-gallery>",
|
|
3135
3195
|
"esm": "import { defineCubeGallery } from 'motionary/components/widgets';\n\ndefineCubeGallery(); // registers <usa-cube-gallery>\n\n/* then use it in your HTML:\n<usa-cube-gallery autoplay=\"4000\" label=\"Products\">\n <img src=\"a.jpg\" alt=\"…\">\n <img src=\"b.jpg\" alt=\"…\">\n <img src=\"c.jpg\" alt=\"…\">\n</usa-cube-gallery>\n*/",
|
|
3136
3196
|
"requires": [],
|
|
3197
|
+
"tier": "basic",
|
|
3137
3198
|
"prerequisites": null,
|
|
3138
3199
|
"entry": "motionary/widgets/cube-gallery",
|
|
3139
3200
|
"stability": "stable",
|
|
@@ -3170,6 +3231,7 @@
|
|
|
3170
3231
|
"example": "<usa-cursor mode=\"magnetic\" hide-native></usa-cursor>",
|
|
3171
3232
|
"esm": "import { defineCursor } from 'motionary/components/page';\n\ndefineCursor(); // registers <usa-cursor>\n\n/* then use it in your HTML:\n<usa-cursor mode=\"magnetic\" hide-native></usa-cursor>\n*/",
|
|
3172
3233
|
"requires": [],
|
|
3234
|
+
"tier": "basic",
|
|
3173
3235
|
"prerequisites": null,
|
|
3174
3236
|
"entry": null,
|
|
3175
3237
|
"stability": "stable",
|
|
@@ -3212,6 +3274,7 @@
|
|
|
3212
3274
|
"example": "<usa-date-picker value=\"2026-10-08\" min=\"2026-01-01\" first-day=\"1\"></usa-date-picker>",
|
|
3213
3275
|
"esm": "import { defineDatePicker } from 'motionary/components/widgets';\n\ndefineDatePicker(); // registers <usa-date-picker>\n\n/* then use it in your HTML:\n<usa-date-picker value=\"2026-10-08\" min=\"2026-01-01\" first-day=\"1\"></usa-date-picker>\n*/",
|
|
3214
3276
|
"requires": [],
|
|
3277
|
+
"tier": "basic",
|
|
3215
3278
|
"prerequisites": null,
|
|
3216
3279
|
"entry": "motionary/widgets/date-picker",
|
|
3217
3280
|
"stability": "stable",
|
|
@@ -3250,6 +3313,7 @@
|
|
|
3250
3313
|
"example": "<usa-depth source=\"pointer orientation\" strength=\"40\" rotate=\"6\">\n <div class=\"scene\">\n <img data-depth=\"-0.6\" src=\"sky.png\" alt=\"\">\n <img data-depth=\"0.2\" src=\"hills.png\" alt=\"\">\n <h2 data-depth=\"0.8\">Title</h2>\n </div>\n</usa-depth>",
|
|
3251
3314
|
"esm": "import { defineDepth } from 'motionary/components/depth';\n\ndefineDepth(); // registers <usa-depth>\n\n/* then use it in your HTML:\n<usa-depth source=\"pointer orientation\" strength=\"40\" rotate=\"6\">\n <div class=\"scene\">\n <img data-depth=\"-0.6\" src=\"sky.png\" alt=\"\">\n <img data-depth=\"0.2\" src=\"hills.png\" alt=\"\">\n <h2 data-depth=\"0.8\">Title</h2>\n </div>\n</usa-depth>\n*/",
|
|
3252
3315
|
"requires": [],
|
|
3316
|
+
"tier": "basic",
|
|
3253
3317
|
"prerequisites": null,
|
|
3254
3318
|
"entry": null,
|
|
3255
3319
|
"stability": "stable",
|
|
@@ -3293,6 +3357,7 @@
|
|
|
3293
3357
|
"example": "<usa-dialog id=\"dlg\" kind=\"modal\" label=\"Settings\">\n <h2>Settings</h2>\n <button data-close>Done</button>\n</usa-dialog>\n<button onclick=\"dlg.show()\">Open</button>",
|
|
3294
3358
|
"esm": "import { defineDialog } from 'motionary/components/transitions';\n\ndefineDialog(); // registers <usa-dialog>\n\n/* then use it in your HTML:\n<usa-dialog id=\"dlg\" kind=\"modal\" label=\"Settings\">\n <h2>Settings</h2>\n <button data-close>Done</button>\n</usa-dialog>\n<button onclick=\"dlg.show()\">Open</button>\n*/",
|
|
3295
3359
|
"requires": [],
|
|
3360
|
+
"tier": "basic",
|
|
3296
3361
|
"prerequisites": null,
|
|
3297
3362
|
"entry": null,
|
|
3298
3363
|
"stability": "stable",
|
|
@@ -3332,6 +3397,7 @@
|
|
|
3332
3397
|
"example": "<usa-disclosure variant=\"cards\">\n <details><summary>Shipping</summary><p>…</p></details>\n <details><summary>Returns</summary><p>…</p></details>\n</usa-disclosure>",
|
|
3333
3398
|
"esm": "import { defineDisclosure } from 'motionary/components/widgets';\n\ndefineDisclosure(); // registers <usa-disclosure>\n\n/* then use it in your HTML:\n<usa-disclosure variant=\"cards\">\n <details><summary>Shipping</summary><p>…</p></details>\n <details><summary>Returns</summary><p>…</p></details>\n</usa-disclosure>\n*/",
|
|
3334
3399
|
"requires": [],
|
|
3400
|
+
"tier": "basic",
|
|
3335
3401
|
"prerequisites": null,
|
|
3336
3402
|
"entry": "motionary/widgets/disclosure",
|
|
3337
3403
|
"stability": "stable",
|
|
@@ -3363,6 +3429,7 @@
|
|
|
3363
3429
|
"example": "<usa-distort>\n <img src=\"photo.jpg\" alt=\"…\">\n</usa-distort>",
|
|
3364
3430
|
"esm": "import { defineDistort } from 'motionary/components/webgl';\n\ndefineDistort(); // registers <usa-distort>\n\n/* then use it in your HTML:\n<usa-distort>\n <img src=\"photo.jpg\" alt=\"…\">\n</usa-distort>\n*/",
|
|
3365
3431
|
"requires": [],
|
|
3432
|
+
"tier": "basic",
|
|
3366
3433
|
"prerequisites": null,
|
|
3367
3434
|
"entry": null,
|
|
3368
3435
|
"stability": "stable",
|
|
@@ -3400,6 +3467,7 @@
|
|
|
3400
3467
|
"example": "<usa-dock magnify=\"1.9\" bounce label=\"Apps\">\n <button data-label=\"Finder\" aria-label=\"Finder\">🗂</button>\n <button data-label=\"Music\" aria-label=\"Music\">🎵</button>\n <a href=\"/mail\" data-label=\"Mail\" aria-label=\"Mail\">✉️</a>\n</usa-dock>",
|
|
3401
3468
|
"esm": "import { defineDock } from 'motionary/components/widgets';\n\ndefineDock(); // registers <usa-dock>\n\n/* then use it in your HTML:\n<usa-dock magnify=\"1.9\" bounce label=\"Apps\">\n <button data-label=\"Finder\" aria-label=\"Finder\">🗂</button>\n <button data-label=\"Music\" aria-label=\"Music\">🎵</button>\n <a href=\"/mail\" data-label=\"Mail\" aria-label=\"Mail\">✉️</a>\n</usa-dock>\n*/",
|
|
3402
3469
|
"requires": [],
|
|
3470
|
+
"tier": "basic",
|
|
3403
3471
|
"prerequisites": null,
|
|
3404
3472
|
"entry": "motionary/widgets/dock",
|
|
3405
3473
|
"stability": "stable",
|
|
@@ -3432,6 +3500,7 @@
|
|
|
3432
3500
|
"example": "<usa-dot-network gap=\"28\">…</usa-dot-network>",
|
|
3433
3501
|
"esm": "import { defineDotNetwork } from 'motionary/components/background';\n\ndefineDotNetwork(); // registers <usa-dot-network>\n\n/* then use it in your HTML:\n<usa-dot-network gap=\"28\">…</usa-dot-network>\n*/",
|
|
3434
3502
|
"requires": [],
|
|
3503
|
+
"tier": "basic",
|
|
3435
3504
|
"prerequisites": null,
|
|
3436
3505
|
"entry": null,
|
|
3437
3506
|
"stability": "stable",
|
|
@@ -3481,6 +3550,7 @@
|
|
|
3481
3550
|
"vector",
|
|
3482
3551
|
"lottie-state"
|
|
3483
3552
|
],
|
|
3553
|
+
"tier": "standard",
|
|
3484
3554
|
"prerequisites": {
|
|
3485
3555
|
"badge": "Requires: motionary/runtime/vector + motionary/runtime/lottie-state",
|
|
3486
3556
|
"modules": [
|
|
@@ -3530,6 +3600,7 @@
|
|
|
3530
3600
|
"example": "<usa-double-tap>\n <img src=\"photo.jpg\" alt=\"…\">\n</usa-double-tap>",
|
|
3531
3601
|
"esm": "import { defineDoubleTap } from 'motionary/components/click';\n\ndefineDoubleTap(); // registers <usa-double-tap>\n\n/* then use it in your HTML:\n<usa-double-tap>\n <img src=\"photo.jpg\" alt=\"…\">\n</usa-double-tap>\n*/",
|
|
3532
3602
|
"requires": [],
|
|
3603
|
+
"tier": "basic",
|
|
3533
3604
|
"prerequisites": null,
|
|
3534
3605
|
"entry": null,
|
|
3535
3606
|
"stability": "stable",
|
|
@@ -3573,6 +3644,7 @@
|
|
|
3573
3644
|
"example": "<usa-draggable spring-back>\n <div class=\"card\">Drag me</div>\n</usa-draggable>\n<usa-draggable inertia snap=\"80\" bounds=\"parent\">…</usa-draggable>",
|
|
3574
3645
|
"esm": "import { defineDraggable } from 'motionary/components/physics';\n\ndefineDraggable(); // registers <usa-draggable>\n\n/* then use it in your HTML:\n<usa-draggable spring-back>\n <div class=\"card\">Drag me</div>\n</usa-draggable>\n<usa-draggable inertia snap=\"80\" bounds=\"parent\">…</usa-draggable>\n*/",
|
|
3575
3646
|
"requires": [],
|
|
3647
|
+
"tier": "basic",
|
|
3576
3648
|
"prerequisites": null,
|
|
3577
3649
|
"entry": null,
|
|
3578
3650
|
"stability": "stable",
|
|
@@ -3608,6 +3680,7 @@
|
|
|
3608
3680
|
"example": "<usa-draw duration=\"1800\" stagger=\"0.3\" fill>\n <svg viewBox=\"0 0 100 40\">…</svg>\n</usa-draw>",
|
|
3609
3681
|
"esm": "import { defineDraw } from 'motionary/components/svg';\n\ndefineDraw(); // registers <usa-draw>\n\n/* then use it in your HTML:\n<usa-draw duration=\"1800\" stagger=\"0.3\" fill>\n <svg viewBox=\"0 0 100 40\">…</svg>\n</usa-draw>\n*/",
|
|
3610
3682
|
"requires": [],
|
|
3683
|
+
"tier": "basic",
|
|
3611
3684
|
"prerequisites": null,
|
|
3612
3685
|
"entry": null,
|
|
3613
3686
|
"stability": "stable",
|
|
@@ -3641,6 +3714,7 @@
|
|
|
3641
3714
|
"example": "<button onclick=\"nav.open = true\">Menu</button>\n<usa-drawer id=\"nav\" side=\"left\" label=\"Navigation\">…</usa-drawer>",
|
|
3642
3715
|
"esm": "import { defineDrawer } from 'motionary/components/ui';\n\ndefineDrawer(); // registers <usa-drawer>\n\n/* then use it in your HTML:\n<button onclick=\"nav.open = true\">Menu</button>\n<usa-drawer id=\"nav\" side=\"left\" label=\"Navigation\">…</usa-drawer>\n*/",
|
|
3643
3716
|
"requires": [],
|
|
3717
|
+
"tier": "basic",
|
|
3644
3718
|
"prerequisites": null,
|
|
3645
3719
|
"entry": null,
|
|
3646
3720
|
"stability": "stable",
|
|
@@ -3680,6 +3754,7 @@
|
|
|
3680
3754
|
"example": "<usa-equalizer preset=\"rock\" bands=\"60,150,400,1k,2.4k,6k,16k\"></usa-equalizer>\n<script>eq.applyPreset('vocal');</script>",
|
|
3681
3755
|
"esm": "import { defineEqualizer } from 'motionary/components/widgets';\n\ndefineEqualizer(); // registers <usa-equalizer>\n\n/* then use it in your HTML:\n<usa-equalizer preset=\"rock\" bands=\"60,150,400,1k,2.4k,6k,16k\"></usa-equalizer>\n*/",
|
|
3682
3756
|
"requires": [],
|
|
3757
|
+
"tier": "basic",
|
|
3683
3758
|
"prerequisites": null,
|
|
3684
3759
|
"entry": "motionary/widgets/equalizer",
|
|
3685
3760
|
"stability": "stable",
|
|
@@ -3717,6 +3792,7 @@
|
|
|
3717
3792
|
"example": "<usa-fab direction=\"up\">\n <button aria-label=\"Create\">+</button>\n <button aria-label=\"Photo\">📷</button>\n <button aria-label=\"Note\">📝</button>\n</usa-fab>",
|
|
3718
3793
|
"esm": "import { defineFab } from 'motionary/components/ui';\n\ndefineFab(); // registers <usa-fab>\n\n/* then use it in your HTML:\n<usa-fab direction=\"up\">\n <button aria-label=\"Create\">+</button>\n <button aria-label=\"Photo\">📷</button>\n <button aria-label=\"Note\">📝</button>\n</usa-fab>\n*/",
|
|
3719
3794
|
"requires": [],
|
|
3795
|
+
"tier": "basic",
|
|
3720
3796
|
"prerequisites": null,
|
|
3721
3797
|
"entry": null,
|
|
3722
3798
|
"stability": "stable",
|
|
@@ -3758,6 +3834,7 @@
|
|
|
3758
3834
|
"example": "<usa-festival-banner theme=\"lunar\" dismissible>🧧 Happy Lunar New Year — 20% off all week</usa-festival-banner>",
|
|
3759
3835
|
"esm": "import { defineFestivalBanner } from 'motionary/components/widgets';\n\ndefineFestivalBanner(); // registers <usa-festival-banner>\n\n/* then use it in your HTML:\n<usa-festival-banner theme=\"lunar\" dismissible>🧧 Happy Lunar New Year — 20% off all week</usa-festival-banner>\n*/",
|
|
3760
3836
|
"requires": [],
|
|
3837
|
+
"tier": "basic",
|
|
3761
3838
|
"prerequisites": null,
|
|
3762
3839
|
"entry": "motionary/widgets/festival-banner",
|
|
3763
3840
|
"stability": "stable",
|
|
@@ -3801,6 +3878,7 @@
|
|
|
3801
3878
|
"example": "<usa-field label=\"Email\" type=\"email\" name=\"email\" required></usa-field>\n<usa-field label=\"Password\" type=\"password\" name=\"pw\" minlength=\"8\" strength></usa-field>",
|
|
3802
3879
|
"esm": "import { defineField } from 'motionary/components/widgets';\n\ndefineField(); // registers <usa-field>\n\n/* then use it in your HTML:\n<usa-field label=\"Email\" type=\"email\" name=\"email\" required></usa-field>\n<usa-field label=\"Password\" type=\"password\" name=\"pw\" minlength=\"8\" strength></usa-field>\n*/",
|
|
3803
3880
|
"requires": [],
|
|
3881
|
+
"tier": "basic",
|
|
3804
3882
|
"prerequisites": null,
|
|
3805
3883
|
"entry": "motionary/widgets/field",
|
|
3806
3884
|
"stability": "stable",
|
|
@@ -3840,6 +3918,7 @@
|
|
|
3840
3918
|
"example": "<usa-file-drop multiple accept=\"image/*\" label=\"Drop images or browse\"></usa-file-drop>\n<script>\n drop.addEventListener('usa:files', (e) => upload(e.detail.files, (i, p) => drop.setProgress(i, p)));\n</script>",
|
|
3841
3919
|
"esm": "import { defineFileDrop } from 'motionary/components/widgets';\n\ndefineFileDrop(); // registers <usa-file-drop>\n\n/* then use it in your HTML:\n<usa-file-drop multiple accept=\"image/*\" label=\"Drop images or browse\"></usa-file-drop>\n*/",
|
|
3842
3920
|
"requires": [],
|
|
3921
|
+
"tier": "basic",
|
|
3843
3922
|
"prerequisites": null,
|
|
3844
3923
|
"entry": "motionary/widgets/file-drop",
|
|
3845
3924
|
"stability": "stable",
|
|
@@ -3876,6 +3955,7 @@
|
|
|
3876
3955
|
"example": "<usa-fullpage dots>\n <section>One</section>\n <section>Two</section>\n</usa-fullpage>",
|
|
3877
3956
|
"esm": "import { defineFullpage } from 'motionary/components/page';\n\ndefineFullpage(); // registers <usa-fullpage>\n\n/* then use it in your HTML:\n<usa-fullpage dots>\n <section>One</section>\n <section>Two</section>\n</usa-fullpage>\n*/",
|
|
3878
3957
|
"requires": [],
|
|
3958
|
+
"tier": "basic",
|
|
3879
3959
|
"prerequisites": null,
|
|
3880
3960
|
"entry": null,
|
|
3881
3961
|
"stability": "stable",
|
|
@@ -3914,6 +3994,7 @@
|
|
|
3914
3994
|
"example": "<usa-fx effect=\"jelly\" trigger=\"click\">\n <button>Press me</button>\n</usa-fx>",
|
|
3915
3995
|
"esm": "import { defineFx } from 'motionary/components/fx';\n\ndefineFx(); // registers <usa-fx>\n\n/* then use it in your HTML:\n<usa-fx effect=\"jelly\" trigger=\"click\">\n <button>Press me</button>\n</usa-fx>\n*/",
|
|
3916
3996
|
"requires": [],
|
|
3997
|
+
"tier": "basic",
|
|
3917
3998
|
"prerequisites": null,
|
|
3918
3999
|
"entry": null,
|
|
3919
4000
|
"stability": "stable",
|
|
@@ -4453,6 +4534,7 @@
|
|
|
4453
4534
|
"example": "<usa-gauge value=\"72\" unit=\"%\" label=\"CPU\" zones=\"60:#22c55e,85:#f59e0b,100:#ef4444\"></usa-gauge>",
|
|
4454
4535
|
"esm": "import { defineGauge } from 'motionary/components/widgets';\n\ndefineGauge(); // registers <usa-gauge>\n\n/* then use it in your HTML:\n<usa-gauge value=\"72\" unit=\"%\" label=\"CPU\" zones=\"60:#22c55e,85:#f59e0b,100:#ef4444\"></usa-gauge>\n*/",
|
|
4455
4536
|
"requires": [],
|
|
4537
|
+
"tier": "basic",
|
|
4456
4538
|
"prerequisites": null,
|
|
4457
4539
|
"entry": "motionary/widgets/gauge",
|
|
4458
4540
|
"stability": "stable",
|
|
@@ -4496,6 +4578,7 @@
|
|
|
4496
4578
|
"example": "<usa-gen-art art=\"flow\" seed=\"7\" palette=\"ocean\" style=\"height:240px\"></usa-gen-art>",
|
|
4497
4579
|
"esm": "import { defineGenArt } from 'motionary/components/widgets';\n\ndefineGenArt(); // registers <usa-gen-art>\n\n/* then use it in your HTML:\n<usa-gen-art art=\"flow\" seed=\"7\" palette=\"ocean\" style=\"height:240px\"></usa-gen-art>\n*/",
|
|
4498
4580
|
"requires": [],
|
|
4581
|
+
"tier": "basic",
|
|
4499
4582
|
"prerequisites": null,
|
|
4500
4583
|
"entry": "motionary/widgets/gen-art",
|
|
4501
4584
|
"stability": "stable",
|
|
@@ -4534,6 +4617,7 @@
|
|
|
4534
4617
|
"example": "<usa-gesture-fx gesture=\"long-press\" effect=\"tada\">\n <button>Hold me</button>\n</usa-gesture-fx>",
|
|
4535
4618
|
"esm": "import { defineGestureFx } from 'motionary/components/effects';\n\ndefineGestureFx(); // registers <usa-gesture-fx>\n\n/* then use it in your HTML:\n<usa-gesture-fx gesture=\"long-press\" effect=\"tada\">\n <button>Hold me</button>\n</usa-gesture-fx>\n*/",
|
|
4536
4619
|
"requires": [],
|
|
4620
|
+
"tier": "basic",
|
|
4537
4621
|
"prerequisites": null,
|
|
4538
4622
|
"entry": null,
|
|
4539
4623
|
"stability": "stable",
|
|
@@ -4576,6 +4660,7 @@
|
|
|
4576
4660
|
"example": "<usa-gesture-sticker label=\"Star sticker\" max=\"3\">\n <img src=\"star.png\" alt=\"Star\" width=\"120\">\n</usa-gesture-sticker>",
|
|
4577
4661
|
"esm": "import { defineGestureSticker } from 'motionary/components/widgets';\n\ndefineGestureSticker(); // registers <usa-gesture-sticker>\n\n/* then use it in your HTML:\n<usa-gesture-sticker label=\"Star sticker\" max=\"3\">\n <img src=\"star.png\" alt=\"Star\" width=\"120\">\n</usa-gesture-sticker>\n*/",
|
|
4578
4662
|
"requires": [],
|
|
4663
|
+
"tier": "basic",
|
|
4579
4664
|
"prerequisites": null,
|
|
4580
4665
|
"entry": "motionary/widgets/gesture-sticker",
|
|
4581
4666
|
"stability": "stable",
|
|
@@ -4619,6 +4704,7 @@
|
|
|
4619
4704
|
"draco3d",
|
|
4620
4705
|
"basis-transcoder"
|
|
4621
4706
|
],
|
|
4707
|
+
"tier": "advanced",
|
|
4622
4708
|
"prerequisites": {
|
|
4623
4709
|
"badge": "Requires: motionary/runtime/gl + motionary/runtime/format-gltf + motionary/runtime/gltf-decoders + draco3d + basis_transcoder.js",
|
|
4624
4710
|
"modules": [
|
|
@@ -4701,6 +4787,7 @@
|
|
|
4701
4787
|
"format-obj",
|
|
4702
4788
|
"gltf-anim"
|
|
4703
4789
|
],
|
|
4790
|
+
"tier": "advanced",
|
|
4704
4791
|
"prerequisites": {
|
|
4705
4792
|
"badge": "Requires: motionary/runtime/gl + motionary/runtime/format-gltf + motionary/runtime/format-obj + motionary/runtime/gltf-anim",
|
|
4706
4793
|
"modules": [
|
|
@@ -4769,6 +4856,7 @@
|
|
|
4769
4856
|
"example": "<usa-glitch trigger=\"hover\">SYSTEM ERROR</usa-glitch>",
|
|
4770
4857
|
"esm": "import { defineGlitch } from 'motionary/components/text';\n\ndefineGlitch(); // registers <usa-glitch>\n\n/* then use it in your HTML:\n<usa-glitch trigger=\"hover\">SYSTEM ERROR</usa-glitch>\n*/",
|
|
4771
4858
|
"requires": [],
|
|
4859
|
+
"tier": "basic",
|
|
4772
4860
|
"prerequisites": null,
|
|
4773
4861
|
"entry": null,
|
|
4774
4862
|
"stability": "stable",
|
|
@@ -4810,6 +4898,7 @@
|
|
|
4810
4898
|
"example": "<usa-globe markers=\"Shanghai:31.2,121.5; London:51.5,-0.1; New York:40.7,-74\"></usa-globe>\n<script>globe.flyTo('London');</script>",
|
|
4811
4899
|
"esm": "import { defineGlobe } from 'motionary/components/widgets';\n\ndefineGlobe(); // registers <usa-globe>\n\n/* then use it in your HTML:\n<usa-globe markers=\"Shanghai:31.2,121.5; London:51.5,-0.1; New York:40.7,-74\"></usa-globe>\n*/",
|
|
4812
4900
|
"requires": [],
|
|
4901
|
+
"tier": "basic",
|
|
4813
4902
|
"prerequisites": null,
|
|
4814
4903
|
"entry": "motionary/widgets/globe",
|
|
4815
4904
|
"stability": "stable",
|
|
@@ -4854,6 +4943,7 @@
|
|
|
4854
4943
|
"example": "<usa-gpu-particles count=\"30000\" mode=\"galaxy\" colors=\"#818cf8,#f472b6\" pointer></usa-gpu-particles>",
|
|
4855
4944
|
"esm": "import { defineGpuParticles } from 'motionary/components/widgets';\n\ndefineGpuParticles(); // registers <usa-gpu-particles>\n\n/* then use it in your HTML:\n<usa-gpu-particles count=\"30000\" mode=\"galaxy\" colors=\"#818cf8,#f472b6\" pointer></usa-gpu-particles>\n*/",
|
|
4856
4945
|
"requires": [],
|
|
4946
|
+
"tier": "basic",
|
|
4857
4947
|
"prerequisites": null,
|
|
4858
4948
|
"entry": "motionary/widgets/gpu-particles",
|
|
4859
4949
|
"stability": "stable",
|
|
@@ -4890,6 +4980,7 @@
|
|
|
4890
4980
|
"example": "<usa-gradient-text colors=\"#7c5cff,#22d3ee,#f472b6\">Gradient</usa-gradient-text>",
|
|
4891
4981
|
"esm": "import { defineGradientText } from 'motionary/components/text';\n\ndefineGradientText(); // registers <usa-gradient-text>\n\n/* then use it in your HTML:\n<usa-gradient-text colors=\"#7c5cff,#22d3ee,#f472b6\">Gradient</usa-gradient-text>\n*/",
|
|
4892
4982
|
"requires": [],
|
|
4983
|
+
"tier": "basic",
|
|
4893
4984
|
"prerequisites": null,
|
|
4894
4985
|
"entry": null,
|
|
4895
4986
|
"stability": "stable",
|
|
@@ -4923,6 +5014,7 @@
|
|
|
4923
5014
|
"example": "<usa-grain animated opacity=\"0.15\">\n <img src=\"hero.jpg\" alt=\"\">\n</usa-grain>",
|
|
4924
5015
|
"esm": "import { defineGrain } from 'motionary/components/background';\n\ndefineGrain(); // registers <usa-grain>\n\n/* then use it in your HTML:\n<usa-grain animated opacity=\"0.15\">\n <img src=\"hero.jpg\" alt=\"\">\n</usa-grain>\n*/",
|
|
4925
5016
|
"requires": [],
|
|
5017
|
+
"tier": "basic",
|
|
4926
5018
|
"prerequisites": null,
|
|
4927
5019
|
"entry": null,
|
|
4928
5020
|
"stability": "stable",
|
|
@@ -4955,6 +5047,7 @@
|
|
|
4955
5047
|
"example": "<usa-grid-glow size=\"32\">\n <h2>Hero</h2>\n</usa-grid-glow>",
|
|
4956
5048
|
"esm": "import { defineGridGlow } from 'motionary/components/background';\n\ndefineGridGlow(); // registers <usa-grid-glow>\n\n/* then use it in your HTML:\n<usa-grid-glow size=\"32\">\n <h2>Hero</h2>\n</usa-grid-glow>\n*/",
|
|
4957
5049
|
"requires": [],
|
|
5050
|
+
"tier": "basic",
|
|
4958
5051
|
"prerequisites": null,
|
|
4959
5052
|
"entry": null,
|
|
4960
5053
|
"stability": "stable",
|
|
@@ -4996,6 +5089,7 @@
|
|
|
4996
5089
|
"example": "<usa-gyro-card max=\"15\">\n <h3 data-depth=\"2\">Gyro</h3>\n <p data-depth=\"1\">Tilt your phone</p>\n</usa-gyro-card>",
|
|
4997
5090
|
"esm": "import { defineGyroCard } from 'motionary/components/widgets';\n\ndefineGyroCard(); // registers <usa-gyro-card>\n\n/* then use it in your HTML:\n<usa-gyro-card max=\"15\">\n <h3 data-depth=\"2\">Gyro</h3>\n <p data-depth=\"1\">Tilt your phone</p>\n</usa-gyro-card>\n*/",
|
|
4998
5091
|
"requires": [],
|
|
5092
|
+
"tier": "basic",
|
|
4999
5093
|
"prerequisites": null,
|
|
5000
5094
|
"entry": "motionary/widgets/gyro-card",
|
|
5001
5095
|
"stability": "stable",
|
|
@@ -5035,6 +5129,7 @@
|
|
|
5035
5129
|
"example": "<usa-handwriting text=\"Thank you\" size=\"72\"></usa-handwriting>",
|
|
5036
5130
|
"esm": "import { defineHandwriting } from 'motionary/components/text';\n\ndefineHandwriting(); // registers <usa-handwriting>\n\n/* then use it in your HTML:\n<usa-handwriting text=\"Thank you\" size=\"72\"></usa-handwriting>\n*/",
|
|
5037
5131
|
"requires": [],
|
|
5132
|
+
"tier": "basic",
|
|
5038
5133
|
"prerequisites": null,
|
|
5039
5134
|
"entry": null,
|
|
5040
5135
|
"stability": "stable",
|
|
@@ -5074,6 +5169,7 @@
|
|
|
5074
5169
|
"example": "<usa-hero-video label=\"Welcome\" poster=\"poster.jpg\">\n <video src=\"hero.mp4\" autoplay muted loop playsinline></video>\n <h1>Motion, declared.</h1>\n</usa-hero-video>",
|
|
5075
5170
|
"esm": "import { defineHeroVideo } from 'motionary/components/widgets';\n\ndefineHeroVideo(); // registers <usa-hero-video>\n\n/* then use it in your HTML:\n<usa-hero-video label=\"Welcome\" poster=\"poster.jpg\">\n <video src=\"hero.mp4\" autoplay muted loop playsinline></video>\n <h1>Motion, declared.</h1>\n</usa-hero-video>\n*/",
|
|
5076
5171
|
"requires": [],
|
|
5172
|
+
"tier": "basic",
|
|
5077
5173
|
"prerequisites": null,
|
|
5078
5174
|
"entry": "motionary/widgets/hero-video",
|
|
5079
5175
|
"stability": "stable",
|
|
@@ -5113,6 +5209,7 @@
|
|
|
5113
5209
|
"example": "<usa-hold duration=\"1200\" label=\"Delete project\">Hold to delete</usa-hold>",
|
|
5114
5210
|
"esm": "import { defineHold } from 'motionary/components/click';\n\ndefineHold(); // registers <usa-hold>\n\n/* then use it in your HTML:\n<usa-hold duration=\"1200\" label=\"Delete project\">Hold to delete</usa-hold>\n*/",
|
|
5115
5211
|
"requires": [],
|
|
5212
|
+
"tier": "basic",
|
|
5116
5213
|
"prerequisites": null,
|
|
5117
5214
|
"entry": null,
|
|
5118
5215
|
"stability": "stable",
|
|
@@ -5154,6 +5251,7 @@
|
|
|
5154
5251
|
"example": "<usa-hud-panel title=\"SHIP STATUS\" status=\"ONLINE\">\n <p data-value=\"82\">Shields</p>\n <p data-value=\"47\">Fuel</p>\n</usa-hud-panel>",
|
|
5155
5252
|
"esm": "import { defineHudPanel } from 'motionary/components/widgets';\n\ndefineHudPanel(); // registers <usa-hud-panel>\n\n/* then use it in your HTML:\n<usa-hud-panel title=\"SHIP STATUS\" status=\"ONLINE\">\n <p data-value=\"82\">Shields</p>\n <p data-value=\"47\">Fuel</p>\n</usa-hud-panel>\n*/",
|
|
5156
5253
|
"requires": [],
|
|
5254
|
+
"tier": "basic",
|
|
5157
5255
|
"prerequisites": null,
|
|
5158
5256
|
"entry": "motionary/widgets/hud-panel",
|
|
5159
5257
|
"stability": "stable",
|
|
@@ -5195,6 +5293,7 @@
|
|
|
5195
5293
|
"example": "<!-- <head> -->${ssrHead()}\n<usa-hydrate effect=\"fade-up\" stagger=\"80\">\n <h1>Server-rendered title</h1>\n <p>…</p>\n</usa-hydrate>\n<!-- or: <section data-usa-hydrate=\"blur\">…</section> + hydrateMotion() -->",
|
|
5196
5294
|
"esm": "import { defineHydrate } from 'motionary/components/widgets';\n\ndefineHydrate(); // registers <usa-hydrate>\n\n/* then use it in your HTML:\n<!-- <head> -->${ssrHead()}\n<usa-hydrate effect=\"fade-up\" stagger=\"80\">\n <h1>Server-rendered title</h1>\n <p>…</p>\n</usa-hydrate>\n<!-- or: <section data-usa-hydrate=\"blur\">…</section> + hydrateMotion() -->\n*/",
|
|
5197
5295
|
"requires": [],
|
|
5296
|
+
"tier": "basic",
|
|
5198
5297
|
"prerequisites": null,
|
|
5199
5298
|
"entry": "motionary/widgets/hydrate",
|
|
5200
5299
|
"stability": "stable",
|
|
@@ -5235,6 +5334,7 @@
|
|
|
5235
5334
|
"example": "<usa-icon-morph icons=\"play,pause\" labels=\"Play,Pause\" toggle></usa-icon-morph>\n<usa-icon-morph icons=\"menu,close\" labels=\"Open menu,Close menu\" toggle></usa-icon-morph>",
|
|
5236
5335
|
"esm": "import { defineIconMorph } from 'motionary/components/click';\n\ndefineIconMorph(); // registers <usa-icon-morph>\n\n/* then use it in your HTML:\n<usa-icon-morph icons=\"play,pause\" labels=\"Play,Pause\" toggle></usa-icon-morph>\n<usa-icon-morph icons=\"menu,close\" labels=\"Open menu,Close menu\" toggle></usa-icon-morph>\n*/",
|
|
5237
5336
|
"requires": [],
|
|
5337
|
+
"tier": "basic",
|
|
5238
5338
|
"prerequisites": null,
|
|
5239
5339
|
"entry": null,
|
|
5240
5340
|
"stability": "stable",
|
|
@@ -5279,6 +5379,7 @@
|
|
|
5279
5379
|
"example": "<usa-install-button package=\"motionary\" managers=\"npm pnpm yarn bun cdn\" cdn=\"https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js\"></usa-install-button>",
|
|
5280
5380
|
"esm": "import { defineInstallButton } from 'motionary/components/widgets';\n\ndefineInstallButton(); // registers <usa-install-button>\n\n/* then use it in your HTML:\n<usa-install-button package=\"motionary\" managers=\"npm pnpm yarn bun cdn\" cdn=\"https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js\"></usa-install-button>\n*/",
|
|
5281
5381
|
"requires": [],
|
|
5382
|
+
"tier": "basic",
|
|
5282
5383
|
"prerequisites": null,
|
|
5283
5384
|
"entry": "motionary/widgets/install-button",
|
|
5284
5385
|
"stability": "stable",
|
|
@@ -5317,6 +5418,7 @@
|
|
|
5317
5418
|
"example": "<usa-kanban label=\"Sprint\">\n <section data-title=\"To do\">\n <h3>To do</h3>\n <div data-card>Design</div>\n <div data-card>Write docs</div>\n </section>\n <section data-title=\"Done\"><h3>Done</h3></section>\n</usa-kanban>",
|
|
5318
5419
|
"esm": "import { defineKanban } from 'motionary/components/widgets';\n\ndefineKanban(); // registers <usa-kanban>\n\n/* then use it in your HTML:\n<usa-kanban label=\"Sprint\">\n <section data-title=\"To do\">\n <h3>To do</h3>\n <div data-card>Design</div>\n <div data-card>Write docs</div>\n </section>\n <section data-title=\"Done\"><h3>Done</h3></section>\n</usa-kanban>\n*/",
|
|
5319
5420
|
"requires": [],
|
|
5421
|
+
"tier": "basic",
|
|
5320
5422
|
"prerequisites": null,
|
|
5321
5423
|
"entry": "motionary/widgets/kanban",
|
|
5322
5424
|
"stability": "stable",
|
|
@@ -5356,6 +5458,7 @@
|
|
|
5356
5458
|
"example": "<div id=\"hero\"><h1>Title</h1><div class=\"card\">…</div><button>Go</button></div>\n<usa-keyframe-editor for=\"hero\"></usa-keyframe-editor>\n<script>\n editor.addEventListener('usa:change', (e) => save(e.detail.animation));\n</script>",
|
|
5357
5459
|
"esm": "import { defineKeyframeEditor } from 'motionary/components/widgets';\n\ndefineKeyframeEditor(); // registers <usa-keyframe-editor>\n\n/* then use it in your HTML:\n<div id=\"hero\"><h1>Title</h1><div class=\"card\">…</div><button>Go</button></div>\n<usa-keyframe-editor for=\"hero\"></usa-keyframe-editor>\n*/",
|
|
5358
5460
|
"requires": [],
|
|
5461
|
+
"tier": "basic",
|
|
5359
5462
|
"prerequisites": null,
|
|
5360
5463
|
"entry": "motionary/widgets/keyframe-editor",
|
|
5361
5464
|
"stability": "stable",
|
|
@@ -5395,6 +5498,7 @@
|
|
|
5395
5498
|
"example": "<usa-kpi label=\"Revenue\" value=\"$48.2k\" delta=\"+12.5%\" trend=\"4,6,5,9,8,12\" caption=\"vs last month\"></usa-kpi>",
|
|
5396
5499
|
"esm": "import { defineKpi } from 'motionary/components/widgets';\n\ndefineKpi(); // registers <usa-kpi>\n\n/* then use it in your HTML:\n<usa-kpi label=\"Revenue\" value=\"$48.2k\" delta=\"+12.5%\" trend=\"4,6,5,9,8,12\" caption=\"vs last month\"></usa-kpi>\n*/",
|
|
5397
5500
|
"requires": [],
|
|
5501
|
+
"tier": "basic",
|
|
5398
5502
|
"prerequisites": null,
|
|
5399
5503
|
"entry": "motionary/widgets/kpi",
|
|
5400
5504
|
"stability": "stable",
|
|
@@ -5432,6 +5536,7 @@
|
|
|
5432
5536
|
"example": "<usa-leaderboard me=\"Ada\">\n <li data-score=\"980\">Ada</li>\n <li data-score=\"870\">Alan</li>\n <li data-score=\"760\">Grace</li>\n</usa-leaderboard>\n<script>board.setScore('Grace', 1000);</script>",
|
|
5433
5537
|
"esm": "import { defineLeaderboard } from 'motionary/components/widgets';\n\ndefineLeaderboard(); // registers <usa-leaderboard>\n\n/* then use it in your HTML:\n<usa-leaderboard me=\"Ada\">\n <li data-score=\"980\">Ada</li>\n <li data-score=\"870\">Alan</li>\n <li data-score=\"760\">Grace</li>\n</usa-leaderboard>\n*/",
|
|
5434
5538
|
"requires": [],
|
|
5539
|
+
"tier": "basic",
|
|
5435
5540
|
"prerequisites": null,
|
|
5436
5541
|
"entry": "motionary/widgets/leaderboard",
|
|
5437
5542
|
"stability": "stable",
|
|
@@ -5471,6 +5576,7 @@
|
|
|
5471
5576
|
"example": "<usa-like count=\"128\"></usa-like>",
|
|
5472
5577
|
"esm": "import { defineLike } from 'motionary/components/click';\n\ndefineLike(); // registers <usa-like>\n\n/* then use it in your HTML:\n<usa-like count=\"128\"></usa-like>\n*/",
|
|
5473
5578
|
"requires": [],
|
|
5579
|
+
"tier": "basic",
|
|
5474
5580
|
"prerequisites": null,
|
|
5475
5581
|
"entry": null,
|
|
5476
5582
|
"stability": "stable",
|
|
@@ -5502,6 +5608,7 @@
|
|
|
5502
5608
|
"example": "<usa-liquid strength=\"1\">\n <img src=\"photo.jpg\" alt=\"…\">\n</usa-liquid>",
|
|
5503
5609
|
"esm": "import { defineLiquid } from 'motionary/components/webgl';\n\ndefineLiquid(); // registers <usa-liquid>\n\n/* then use it in your HTML:\n<usa-liquid strength=\"1\">\n <img src=\"photo.jpg\" alt=\"…\">\n</usa-liquid>\n*/",
|
|
5504
5610
|
"requires": [],
|
|
5611
|
+
"tier": "basic",
|
|
5505
5612
|
"prerequisites": null,
|
|
5506
5613
|
"entry": null,
|
|
5507
5614
|
"stability": "stable",
|
|
@@ -5539,6 +5646,7 @@
|
|
|
5539
5646
|
"example": "<usa-liquid-nav label=\"Main\">\n <a href=\"/\" aria-current=\"page\">Home</a><a href=\"/shop\">Shop</a><a href=\"/about\">About</a>\n</usa-liquid-nav>",
|
|
5540
5647
|
"esm": "import { defineLiquidNav } from 'motionary/components/widgets';\n\ndefineLiquidNav(); // registers <usa-liquid-nav>\n\n/* then use it in your HTML:\n<usa-liquid-nav label=\"Main\">\n <a href=\"/\" aria-current=\"page\">Home</a><a href=\"/shop\">Shop</a><a href=\"/about\">About</a>\n</usa-liquid-nav>\n*/",
|
|
5541
5648
|
"requires": [],
|
|
5649
|
+
"tier": "basic",
|
|
5542
5650
|
"prerequisites": null,
|
|
5543
5651
|
"entry": "motionary/widgets/liquid-nav",
|
|
5544
5652
|
"stability": "stable",
|
|
@@ -5573,6 +5681,7 @@
|
|
|
5573
5681
|
"example": "<script type=\"module\">\n import { loadingBar } from 'motionary/components/page';\n await loadingBar.track(fetch('/api'));\n</script>",
|
|
5574
5682
|
"esm": "import { defineLoadingBar } from 'motionary/components/page';\n\ndefineLoadingBar(); // registers <usa-loading-bar>\n\n/* then use it in your HTML:\n\n*/",
|
|
5575
5683
|
"requires": [],
|
|
5684
|
+
"tier": "basic",
|
|
5576
5685
|
"prerequisites": null,
|
|
5577
5686
|
"entry": null,
|
|
5578
5687
|
"stability": "stable",
|
|
@@ -5620,6 +5729,7 @@
|
|
|
5620
5729
|
"example": "<usa-location-card name=\"Blue Bottle\" address=\"66 Mint St, San Francisco\"\n lat=\"37.782\" lon=\"-122.407\" from-lat=\"37.776\" from-lon=\"-122.394\" href=\"https://maps.example/…\"></usa-location-card>",
|
|
5621
5730
|
"esm": "import { defineLocationCard } from 'motionary/components/widgets';\n\ndefineLocationCard(); // registers <usa-location-card>\n\n/* then use it in your HTML:\n<usa-location-card name=\"Blue Bottle\" address=\"66 Mint St, San Francisco\"\n lat=\"37.782\" lon=\"-122.407\" from-lat=\"37.776\" from-lon=\"-122.394\" href=\"https://maps.example/…\"></usa-location-card>\n*/",
|
|
5622
5731
|
"requires": [],
|
|
5732
|
+
"tier": "basic",
|
|
5623
5733
|
"prerequisites": null,
|
|
5624
5734
|
"entry": "motionary/widgets/location-card",
|
|
5625
5735
|
"stability": "stable",
|
|
@@ -5666,6 +5776,7 @@
|
|
|
5666
5776
|
"example": "<usa-lottie src=\"confetti.json\" autoplay loop label=\"Celebration\"></usa-lottie>",
|
|
5667
5777
|
"esm": "import { defineLottie } from 'motionary/components/widgets';\n\ndefineLottie(); // registers <usa-lottie>\n\n/* then use it in your HTML:\n<usa-lottie src=\"confetti.json\" autoplay loop label=\"Celebration\"></usa-lottie>\n*/",
|
|
5668
5778
|
"requires": [],
|
|
5779
|
+
"tier": "basic",
|
|
5669
5780
|
"prerequisites": null,
|
|
5670
5781
|
"entry": "motionary/widgets/lottie",
|
|
5671
5782
|
"stability": "stable",
|
|
@@ -5707,6 +5818,7 @@
|
|
|
5707
5818
|
"example": "<usa-lottie-icon name=\"heart\" trigger=\"click\" size=\"32\" label=\"Like\"></usa-lottie-icon>\n<usa-lottie-icon name=\"bell\" trigger=\"hover\"></usa-lottie-icon>",
|
|
5708
5819
|
"esm": "import { defineLottieIcon } from 'motionary/components/widgets';\n\ndefineLottieIcon(); // registers <usa-lottie-icon>\n\n/* then use it in your HTML:\n<usa-lottie-icon name=\"heart\" trigger=\"click\" size=\"32\" label=\"Like\"></usa-lottie-icon>\n<usa-lottie-icon name=\"bell\" trigger=\"hover\"></usa-lottie-icon>\n*/",
|
|
5709
5820
|
"requires": [],
|
|
5821
|
+
"tier": "basic",
|
|
5710
5822
|
"prerequisites": null,
|
|
5711
5823
|
"entry": "motionary/widgets/lottie-icon",
|
|
5712
5824
|
"stability": "stable",
|
|
@@ -5766,6 +5878,7 @@
|
|
|
5766
5878
|
"requires": [
|
|
5767
5879
|
"vector"
|
|
5768
5880
|
],
|
|
5881
|
+
"tier": "standard",
|
|
5769
5882
|
"prerequisites": {
|
|
5770
5883
|
"badge": "Requires: motionary/runtime/vector",
|
|
5771
5884
|
"modules": [
|
|
@@ -5828,6 +5941,7 @@
|
|
|
5828
5941
|
"example": "<usa-lyrics for=\"player\">\n <script type=\"text/plain\">\n[00:01.00] First line\n[00:04.50] Second line\n </script>\n</usa-lyrics>",
|
|
5829
5942
|
"esm": "import { defineLyrics } from 'motionary/components/widgets';\n\ndefineLyrics(); // registers <usa-lyrics>\n\n/* then use it in your HTML:\n<usa-lyrics for=\"player\">\n </usa-lyrics>\n*/",
|
|
5830
5943
|
"requires": [],
|
|
5944
|
+
"tier": "basic",
|
|
5831
5945
|
"prerequisites": null,
|
|
5832
5946
|
"entry": "motionary/widgets/lyrics",
|
|
5833
5947
|
"stability": "stable",
|
|
@@ -5861,6 +5975,7 @@
|
|
|
5861
5975
|
"example": "<usa-magnetic strength=\"0.4\"><button>Hover near me</button></usa-magnetic>",
|
|
5862
5976
|
"esm": "import { defineMagnetic } from 'motionary/components/interaction';\n\ndefineMagnetic(); // registers <usa-magnetic>\n\n/* then use it in your HTML:\n<usa-magnetic strength=\"0.4\"><button>Hover near me</button></usa-magnetic>\n*/",
|
|
5863
5977
|
"requires": [],
|
|
5978
|
+
"tier": "basic",
|
|
5864
5979
|
"prerequisites": null,
|
|
5865
5980
|
"entry": null,
|
|
5866
5981
|
"stability": "stable",
|
|
@@ -5898,6 +6013,7 @@
|
|
|
5898
6013
|
"example": "<usa-marquee speed=\"50\" pause-on-hover fade>\n <img src=\"logo-a.svg\" alt=\"A\">\n <img src=\"logo-b.svg\" alt=\"B\">\n</usa-marquee>",
|
|
5899
6014
|
"esm": "import { defineMarquee } from 'motionary/components/background';\n\ndefineMarquee(); // registers <usa-marquee>\n\n/* then use it in your HTML:\n<usa-marquee speed=\"50\" pause-on-hover fade>\n <img src=\"logo-a.svg\" alt=\"A\">\n <img src=\"logo-b.svg\" alt=\"B\">\n</usa-marquee>\n*/",
|
|
5900
6015
|
"requires": [],
|
|
6016
|
+
"tier": "basic",
|
|
5901
6017
|
"prerequisites": null,
|
|
5902
6018
|
"entry": null,
|
|
5903
6019
|
"stability": "stable",
|
|
@@ -5933,6 +6049,7 @@
|
|
|
5933
6049
|
"example": "<usa-mask-reveal shape=\"circle\" at=\"20% 30%\">\n <img src=\"hero.jpg\" alt=\"…\">\n</usa-mask-reveal>",
|
|
5934
6050
|
"esm": "import { defineMaskReveal } from 'motionary/components/svg';\n\ndefineMaskReveal(); // registers <usa-mask-reveal>\n\n/* then use it in your HTML:\n<usa-mask-reveal shape=\"circle\" at=\"20% 30%\">\n <img src=\"hero.jpg\" alt=\"…\">\n</usa-mask-reveal>\n*/",
|
|
5935
6051
|
"requires": [],
|
|
6052
|
+
"tier": "basic",
|
|
5936
6053
|
"prerequisites": null,
|
|
5937
6054
|
"entry": null,
|
|
5938
6055
|
"stability": "stable",
|
|
@@ -5971,6 +6088,7 @@
|
|
|
5971
6088
|
"example": "<usa-masonry min=\"220\" gap=\"16\">\n <img src=\"1.jpg\" alt=\"…\">\n <img src=\"2.jpg\" alt=\"…\">\n</usa-masonry>",
|
|
5972
6089
|
"esm": "import { defineMasonry } from 'motionary/components/layout';\n\ndefineMasonry(); // registers <usa-masonry>\n\n/* then use it in your HTML:\n<usa-masonry min=\"220\" gap=\"16\">\n <img src=\"1.jpg\" alt=\"…\">\n <img src=\"2.jpg\" alt=\"…\">\n</usa-masonry>\n*/",
|
|
5973
6090
|
"requires": [],
|
|
6091
|
+
"tier": "basic",
|
|
5974
6092
|
"prerequisites": null,
|
|
5975
6093
|
"entry": null,
|
|
5976
6094
|
"stability": "stable",
|
|
@@ -6015,6 +6133,7 @@
|
|
|
6015
6133
|
"example": "<usa-masonry-flow min=\"160\" gap=\"12\">\n <img src=\"1.jpg\" alt=\"…\">\n <img src=\"2.jpg\" alt=\"…\">\n …\n</usa-masonry-flow>\n<!-- grid.filter('.cats'), grid.shuffle(), grid.sort((a, b) => …) -->",
|
|
6016
6134
|
"esm": "import { defineMasonryFlow } from 'motionary/components/widgets';\n\ndefineMasonryFlow(); // registers <usa-masonry-flow>\n\n/* then use it in your HTML:\n<usa-masonry-flow min=\"160\" gap=\"12\">\n <img src=\"1.jpg\" alt=\"…\">\n <img src=\"2.jpg\" alt=\"…\">\n …\n</usa-masonry-flow>\n<!-- grid.filter('.cats'), grid.shuffle(), grid.sort((a, b) => …) -->\n*/",
|
|
6017
6135
|
"requires": [],
|
|
6136
|
+
"tier": "basic",
|
|
6018
6137
|
"prerequisites": null,
|
|
6019
6138
|
"entry": "motionary/widgets/masonry-flow",
|
|
6020
6139
|
"stability": "stable",
|
|
@@ -6059,6 +6178,7 @@
|
|
|
6059
6178
|
"example": "<usa-menu placement=\"bottom-start\" effect=\"scale\">\n <button>Actions ▾</button>\n <button>Edit</button>\n <button>Duplicate</button>\n <hr>\n <button>Delete</button>\n</usa-menu>",
|
|
6060
6179
|
"esm": "import { defineMenu } from 'motionary/components/widgets';\n\ndefineMenu(); // registers <usa-menu>\n\n/* then use it in your HTML:\n<usa-menu placement=\"bottom-start\" effect=\"scale\">\n <button>Actions ▾</button>\n <button>Edit</button>\n <button>Duplicate</button>\n <hr>\n <button>Delete</button>\n</usa-menu>\n*/",
|
|
6061
6180
|
"requires": [],
|
|
6181
|
+
"tier": "basic",
|
|
6062
6182
|
"prerequisites": null,
|
|
6063
6183
|
"entry": "motionary/widgets/menu",
|
|
6064
6184
|
"stability": "stable",
|
|
@@ -6098,6 +6218,7 @@
|
|
|
6098
6218
|
"example": "<usa-menu-toggle for=\"site-menu\" variant=\"cross\" label=\"Menu\"></usa-menu-toggle>\n<nav id=\"site-menu\" hidden>…</nav>",
|
|
6099
6219
|
"esm": "import { defineMenuToggle } from 'motionary/components/widgets';\n\ndefineMenuToggle(); // registers <usa-menu-toggle>\n\n/* then use it in your HTML:\n<usa-menu-toggle for=\"site-menu\" variant=\"cross\" label=\"Menu\"></usa-menu-toggle>\n<nav id=\"site-menu\" hidden>…</nav>\n*/",
|
|
6100
6220
|
"requires": [],
|
|
6221
|
+
"tier": "basic",
|
|
6101
6222
|
"prerequisites": null,
|
|
6102
6223
|
"entry": "motionary/widgets/menu-toggle",
|
|
6103
6224
|
"stability": "stable",
|
|
@@ -6136,6 +6257,7 @@
|
|
|
6136
6257
|
"example": "<usa-message-list>\n <p data-from=\"Ada\">Hi! 👋</p>\n <p data-me>Hey Ada</p>\n</usa-message-list>\n<script>list.typing('Ada'); list.push({ from: 'Ada', text: 'Ship it?' });</script>",
|
|
6137
6258
|
"esm": "import { defineMessageList } from 'motionary/components/widgets';\n\ndefineMessageList(); // registers <usa-message-list>\n\n/* then use it in your HTML:\n<usa-message-list>\n <p data-from=\"Ada\">Hi! 👋</p>\n <p data-me>Hey Ada</p>\n</usa-message-list>\n*/",
|
|
6138
6259
|
"requires": [],
|
|
6260
|
+
"tier": "basic",
|
|
6139
6261
|
"prerequisites": null,
|
|
6140
6262
|
"entry": "motionary/widgets/message-list",
|
|
6141
6263
|
"stability": "stable",
|
|
@@ -6173,6 +6295,7 @@
|
|
|
6173
6295
|
"example": "<usa-milestones>\n <div data-date=\"2024\"><h3>Idea</h3><p>…</p></div>\n <div data-date=\"2025\"><h3>Beta</h3><p>…</p></div>\n <div data-date=\"2026\"><h3>Launch</h3><p>…</p></div>\n</usa-milestones>",
|
|
6174
6296
|
"esm": "import { defineMilestones } from 'motionary/components/widgets';\n\ndefineMilestones(); // registers <usa-milestones>\n\n/* then use it in your HTML:\n<usa-milestones>\n <div data-date=\"2024\"><h3>Idea</h3><p>…</p></div>\n <div data-date=\"2025\"><h3>Beta</h3><p>…</p></div>\n <div data-date=\"2026\"><h3>Launch</h3><p>…</p></div>\n</usa-milestones>\n*/",
|
|
6175
6297
|
"requires": [],
|
|
6298
|
+
"tier": "basic",
|
|
6176
6299
|
"prerequisites": null,
|
|
6177
6300
|
"entry": "motionary/widgets/milestones",
|
|
6178
6301
|
"stability": "stable",
|
|
@@ -6206,6 +6329,7 @@
|
|
|
6206
6329
|
"example": "<button data-usa-open=\"welcome\">Open</button>\n<usa-modal id=\"welcome\" effect=\"origin\" label=\"Welcome\">\n <h2>Hello 👋</h2>\n <p>…</p>\n <button data-usa-close=\"ok\">Got it</button>\n</usa-modal>",
|
|
6207
6330
|
"esm": "import { defineModal } from 'motionary/components/widgets';\n\ndefineModal(); // registers <usa-modal>\n\n/* then use it in your HTML:\n<button data-usa-open=\"welcome\">Open</button>\n<usa-modal id=\"welcome\" effect=\"origin\" label=\"Welcome\">\n <h2>Hello 👋</h2>\n <p>…</p>\n <button data-usa-close=\"ok\">Got it</button>\n</usa-modal>\n*/",
|
|
6208
6331
|
"requires": [],
|
|
6332
|
+
"tier": "basic",
|
|
6209
6333
|
"prerequisites": null,
|
|
6210
6334
|
"entry": "motionary/widgets/modal",
|
|
6211
6335
|
"stability": "stable",
|
|
@@ -6243,6 +6367,7 @@
|
|
|
6243
6367
|
"example": "<usa-morph trigger=\"auto\" interval=\"1800\"\n paths=\"M50 10 C75 10 90 30 90 50 C90 75 70 90 50 90 C25 90 10 70 10 50 C10 30 25 10 50 10 Z | M50 4 C80 20 96 26 86 54 C78 84 64 96 44 86 C14 80 4 64 14 44 C20 20 30 0 50 4 Z\"></usa-morph>",
|
|
6244
6368
|
"esm": "import { defineMorph } from 'motionary/components/svg';\n\ndefineMorph(); // registers <usa-morph>\n\n/* then use it in your HTML:\n<usa-morph trigger=\"auto\" interval=\"1800\"\n paths=\"M50 10 C75 10 90 30 90 50 C90 75 70 90 50 90 C25 90 10 70 10 50 C10 30 25 10 50 10 Z | M50 4 C80 20 96 26 86 54 C78 84 64 96 44 86 C14 80 4 64 14 44 C20 20 30 0 50 4 Z\"></usa-morph>\n*/",
|
|
6245
6369
|
"requires": [],
|
|
6370
|
+
"tier": "basic",
|
|
6246
6371
|
"prerequisites": null,
|
|
6247
6372
|
"entry": null,
|
|
6248
6373
|
"stability": "stable",
|
|
@@ -6280,6 +6405,7 @@
|
|
|
6280
6405
|
"example": "<usa-motion rules=\"enter: fade-up 600ms ease-out stagger 80ms; hover: pop\">\n <div class=\"card\">One</div><div class=\"card\">Two</div><div class=\"card\">Three</div>\n</usa-motion>\n\n<!-- or on any element, with applyMotion() from motionary/dsl -->\n<section data-motion=\"enter: fade-up 500ms; click: confetti count=40\">…</section>",
|
|
6281
6406
|
"esm": "import { defineMotion } from 'motionary/components/widgets';\n\ndefineMotion(); // registers <usa-motion>\n\n/* then use it in your HTML:\n<usa-motion rules=\"enter: fade-up 600ms ease-out stagger 80ms; hover: pop\">\n <div class=\"card\">One</div><div class=\"card\">Two</div><div class=\"card\">Three</div>\n</usa-motion>\n\n<!-- or on any element, with applyMotion() from motionary/dsl -->\n<section data-motion=\"enter: fade-up 500ms; click: confetti count=40\">…</section>\n*/",
|
|
6282
6407
|
"requires": [],
|
|
6408
|
+
"tier": "basic",
|
|
6283
6409
|
"prerequisites": null,
|
|
6284
6410
|
"entry": "motionary/widgets/motion",
|
|
6285
6411
|
"stability": "stable",
|
|
@@ -6324,6 +6450,7 @@
|
|
|
6324
6450
|
"example": "<usa-motion-inspector scope=\"#app\" interval=\"500\"></usa-motion-inspector>",
|
|
6325
6451
|
"esm": "import { defineMotionInspector } from 'motionary/components/widgets';\n\ndefineMotionInspector(); // registers <usa-motion-inspector>\n\n/* then use it in your HTML:\n<usa-motion-inspector scope=\"#app\" interval=\"500\"></usa-motion-inspector>\n*/",
|
|
6326
6452
|
"requires": [],
|
|
6453
|
+
"tier": "basic",
|
|
6327
6454
|
"prerequisites": null,
|
|
6328
6455
|
"entry": "motionary/widgets/motion-inspector",
|
|
6329
6456
|
"stability": "stable",
|
|
@@ -6363,6 +6490,7 @@
|
|
|
6363
6490
|
"example": "<usa-motion-prefs></usa-motion-prefs>",
|
|
6364
6491
|
"esm": "import { defineMotionPrefs } from 'motionary/components/widgets';\n\ndefineMotionPrefs(); // registers <usa-motion-prefs>\n\n/* then use it in your HTML:\n<usa-motion-prefs></usa-motion-prefs>\n*/",
|
|
6365
6492
|
"requires": [],
|
|
6493
|
+
"tier": "basic",
|
|
6366
6494
|
"prerequisites": null,
|
|
6367
6495
|
"entry": "motionary/widgets/motion-prefs",
|
|
6368
6496
|
"stability": "stable",
|
|
@@ -6407,6 +6535,7 @@
|
|
|
6407
6535
|
"example": "<usa-motion-prompt value=\"fade the cards up slowly, one after another\"></usa-motion-prompt>",
|
|
6408
6536
|
"esm": "import { defineMotionPrompt } from 'motionary/components/widgets';\n\ndefineMotionPrompt(); // registers <usa-motion-prompt>\n\n/* then use it in your HTML:\n<usa-motion-prompt value=\"fade the cards up slowly, one after another\"></usa-motion-prompt>\n*/",
|
|
6409
6537
|
"requires": [],
|
|
6538
|
+
"tier": "basic",
|
|
6410
6539
|
"prerequisites": null,
|
|
6411
6540
|
"entry": "motionary/widgets/motion-prompt",
|
|
6412
6541
|
"stability": "stable",
|
|
@@ -6447,6 +6576,7 @@
|
|
|
6447
6576
|
"example": "<usa-motion-spec label=\"Card entrance\" rules=\"enter: fade-up 600ms ease-out stagger 80ms; hover: pop 300ms spring\"></usa-motion-spec>",
|
|
6448
6577
|
"esm": "import { defineMotionSpec } from 'motionary/components/widgets';\n\ndefineMotionSpec(); // registers <usa-motion-spec>\n\n/* then use it in your HTML:\n<usa-motion-spec label=\"Card entrance\" rules=\"enter: fade-up 600ms ease-out stagger 80ms; hover: pop 300ms spring\"></usa-motion-spec>\n*/",
|
|
6449
6578
|
"requires": [],
|
|
6579
|
+
"tier": "basic",
|
|
6450
6580
|
"prerequisites": null,
|
|
6451
6581
|
"entry": "motionary/widgets/motion-spec",
|
|
6452
6582
|
"stability": "stable",
|
|
@@ -6479,6 +6609,7 @@
|
|
|
6479
6609
|
"example": "<usa-motion-switch></usa-motion-switch>\n<!-- or: setMotionIntensity('low', true) -->",
|
|
6480
6610
|
"esm": "import { defineMotionSwitch } from 'motionary/components/page';\n\ndefineMotionSwitch(); // registers <usa-motion-switch>\n\n/* then use it in your HTML:\n<usa-motion-switch></usa-motion-switch>\n<!-- or: setMotionIntensity('low', true) -->\n*/",
|
|
6481
6611
|
"requires": [],
|
|
6612
|
+
"tier": "basic",
|
|
6482
6613
|
"prerequisites": null,
|
|
6483
6614
|
"entry": null,
|
|
6484
6615
|
"stability": "stable",
|
|
@@ -6516,6 +6647,7 @@
|
|
|
6516
6647
|
"example": "<usa-motion-theme name=\"neon\">\n <div class=\"usa-surface\">\n <button data-theme-fx=\"click\">Tap</button>\n </div>\n</usa-motion-theme>",
|
|
6517
6648
|
"esm": "import { defineMotionTheme } from 'motionary/components/effects';\n\ndefineMotionTheme(); // registers <usa-motion-theme>\n\n/* then use it in your HTML:\n<usa-motion-theme name=\"neon\">\n <div class=\"usa-surface\">\n <button data-theme-fx=\"click\">Tap</button>\n </div>\n</usa-motion-theme>\n*/",
|
|
6518
6649
|
"requires": [],
|
|
6650
|
+
"tier": "basic",
|
|
6519
6651
|
"prerequisites": null,
|
|
6520
6652
|
"entry": null,
|
|
6521
6653
|
"stability": "stable",
|
|
@@ -6563,6 +6695,7 @@
|
|
|
6563
6695
|
"example": "<usa-music-player title=\"Night Drive\" artist=\"Motionary\" cover=\"cover.jpg\">\n <audio src=\"track.mp3\"></audio>\n</usa-music-player>",
|
|
6564
6696
|
"esm": "import { defineMusicPlayer } from 'motionary/components/widgets';\n\ndefineMusicPlayer(); // registers <usa-music-player>\n\n/* then use it in your HTML:\n<usa-music-player title=\"Night Drive\" artist=\"Motionary\" cover=\"cover.jpg\">\n <audio src=\"track.mp3\"></audio>\n</usa-music-player>\n*/",
|
|
6565
6697
|
"requires": [],
|
|
6698
|
+
"tier": "basic",
|
|
6566
6699
|
"prerequisites": null,
|
|
6567
6700
|
"entry": "motionary/widgets/music-player",
|
|
6568
6701
|
"stability": "stable",
|
|
@@ -6605,6 +6738,7 @@
|
|
|
6605
6738
|
"example": "<usa-native-preview platform=\"ios\" rules=\"enter: fade-up 500ms smooth stagger 80ms; click: pop\">\n <div class=\"row\">Inbox</div><div class=\"row\">Starred</div>\n</usa-native-preview>",
|
|
6606
6739
|
"esm": "import { defineNativePreview } from 'motionary/components/widgets';\n\ndefineNativePreview(); // registers <usa-native-preview>\n\n/* then use it in your HTML:\n<usa-native-preview platform=\"ios\" rules=\"enter: fade-up 500ms smooth stagger 80ms; click: pop\">\n <div class=\"row\">Inbox</div><div class=\"row\">Starred</div>\n</usa-native-preview>\n*/",
|
|
6607
6740
|
"requires": [],
|
|
6741
|
+
"tier": "basic",
|
|
6608
6742
|
"prerequisites": null,
|
|
6609
6743
|
"entry": "motionary/widgets/native-preview",
|
|
6610
6744
|
"stability": "stable",
|
|
@@ -6642,6 +6776,7 @@
|
|
|
6642
6776
|
"example": "<usa-nav-morph indicator=\"underline\" label=\"Main\">\n <a href=\"/\" aria-current=\"page\">Home</a>\n <a href=\"/docs\">Docs</a>\n <a href=\"/blog\">Blog</a>\n</usa-nav-morph>",
|
|
6643
6777
|
"esm": "import { defineNavMorph } from 'motionary/components/widgets';\n\ndefineNavMorph(); // registers <usa-nav-morph>\n\n/* then use it in your HTML:\n<usa-nav-morph indicator=\"underline\" label=\"Main\">\n <a href=\"/\" aria-current=\"page\">Home</a>\n <a href=\"/docs\">Docs</a>\n <a href=\"/blog\">Blog</a>\n</usa-nav-morph>\n*/",
|
|
6644
6778
|
"requires": [],
|
|
6779
|
+
"tier": "basic",
|
|
6645
6780
|
"prerequisites": null,
|
|
6646
6781
|
"entry": "motionary/widgets/nav-morph",
|
|
6647
6782
|
"stability": "stable",
|
|
@@ -6677,6 +6812,7 @@
|
|
|
6677
6812
|
"example": "<usa-navbar shrink>\n <header>…</header>\n</usa-navbar>",
|
|
6678
6813
|
"esm": "import { defineNavbar } from 'motionary/components/ui';\n\ndefineNavbar(); // registers <usa-navbar>\n\n/* then use it in your HTML:\n<usa-navbar shrink>\n <header>…</header>\n</usa-navbar>\n*/",
|
|
6679
6814
|
"requires": [],
|
|
6815
|
+
"tier": "basic",
|
|
6680
6816
|
"prerequisites": null,
|
|
6681
6817
|
"entry": null,
|
|
6682
6818
|
"stability": "stable",
|
|
@@ -6717,6 +6853,7 @@
|
|
|
6717
6853
|
"example": "<usa-notification-bell>\n <li data-time=\"2m\">Ada liked your post</li>\n</usa-notification-bell>\n<script>bell.notify({ text: 'New follower', time: 'now' });</script>",
|
|
6718
6854
|
"esm": "import { defineNotificationBell } from 'motionary/components/widgets';\n\ndefineNotificationBell(); // registers <usa-notification-bell>\n\n/* then use it in your HTML:\n<usa-notification-bell>\n <li data-time=\"2m\">Ada liked your post</li>\n</usa-notification-bell>\n*/",
|
|
6719
6855
|
"requires": [],
|
|
6856
|
+
"tier": "basic",
|
|
6720
6857
|
"prerequisites": null,
|
|
6721
6858
|
"entry": "motionary/widgets/notification-bell",
|
|
6722
6859
|
"stability": "stable",
|
|
@@ -6756,6 +6893,7 @@
|
|
|
6756
6893
|
"example": "<usa-odometer value=\"1284\" locale=\"en-US\" prefix=\"$\"></usa-odometer>\n<!-- el.value = 2048 rolls every digit -->",
|
|
6757
6894
|
"esm": "import { defineOdometer } from 'motionary/components/widgets';\n\ndefineOdometer(); // registers <usa-odometer>\n\n/* then use it in your HTML:\n<usa-odometer value=\"1284\" locale=\"en-US\" prefix=\"$\"></usa-odometer>\n<!-- el.value = 2048 rolls every digit -->\n*/",
|
|
6758
6895
|
"requires": [],
|
|
6896
|
+
"tier": "basic",
|
|
6759
6897
|
"prerequisites": null,
|
|
6760
6898
|
"entry": "motionary/widgets/odometer",
|
|
6761
6899
|
"stability": "stable",
|
|
@@ -6794,6 +6932,7 @@
|
|
|
6794
6932
|
"example": "<usa-organic-card tint=\"ocean\">\n <h3>Deep sea</h3><p>Content…</p>\n</usa-organic-card>",
|
|
6795
6933
|
"esm": "import { defineOrganicCard } from 'motionary/components/widgets';\n\ndefineOrganicCard(); // registers <usa-organic-card>\n\n/* then use it in your HTML:\n<usa-organic-card tint=\"ocean\">\n <h3>Deep sea</h3><p>Content…</p>\n</usa-organic-card>\n*/",
|
|
6796
6934
|
"requires": [],
|
|
6935
|
+
"tier": "basic",
|
|
6797
6936
|
"prerequisites": null,
|
|
6798
6937
|
"entry": "motionary/widgets/organic-card",
|
|
6799
6938
|
"stability": "stable",
|
|
@@ -6838,6 +6977,7 @@
|
|
|
6838
6977
|
"example": "<usa-otp length=\"6\"></usa-otp>\n<script>otp.addEventListener('usa:complete', (e) => check(e.detail.code) ? otp.success() : otp.error());</script>",
|
|
6839
6978
|
"esm": "import { defineOtp } from 'motionary/components/widgets';\n\ndefineOtp(); // registers <usa-otp>\n\n/* then use it in your HTML:\n<usa-otp length=\"6\"></usa-otp>\n*/",
|
|
6840
6979
|
"requires": [],
|
|
6980
|
+
"tier": "basic",
|
|
6841
6981
|
"prerequisites": null,
|
|
6842
6982
|
"entry": "motionary/widgets/otp",
|
|
6843
6983
|
"stability": "stable",
|
|
@@ -6871,6 +7011,7 @@
|
|
|
6871
7011
|
"example": "<usa-overscroll style=\"height: 240px\">\n <ul>…</ul>\n</usa-overscroll>",
|
|
6872
7012
|
"esm": "import { defineOverscroll } from 'motionary/components/physics';\n\ndefineOverscroll(); // registers <usa-overscroll>\n\n/* then use it in your HTML:\n<usa-overscroll style=\"height: 240px\">\n <ul>…</ul>\n</usa-overscroll>\n*/",
|
|
6873
7013
|
"requires": [],
|
|
7014
|
+
"tier": "basic",
|
|
6874
7015
|
"prerequisites": null,
|
|
6875
7016
|
"entry": null,
|
|
6876
7017
|
"stability": "stable",
|
|
@@ -6904,6 +7045,7 @@
|
|
|
6904
7045
|
"example": "<usa-pack name=\"ecommerce\">\n <article data-role=\"product\">\n <img src=\"shoe.jpg\" alt=\"Runner\">\n <span data-role=\"price\">$129</span>\n <button data-role=\"add-to-cart\">Add to cart</button>\n </article>\n <a data-role=\"cart\" href=\"/cart\">Cart</a>\n</usa-pack>",
|
|
6905
7046
|
"esm": "import { definePack } from 'motionary/components/packs';\n\ndefinePack(); // registers <usa-pack>\n\n/* then use it in your HTML:\n<usa-pack name=\"ecommerce\">\n <article data-role=\"product\">\n <img src=\"shoe.jpg\" alt=\"Runner\">\n <span data-role=\"price\">$129</span>\n <button data-role=\"add-to-cart\">Add to cart</button>\n </article>\n <a data-role=\"cart\" href=\"/cart\">Cart</a>\n</usa-pack>\n*/",
|
|
6906
7047
|
"requires": [],
|
|
7048
|
+
"tier": "basic",
|
|
6907
7049
|
"prerequisites": null,
|
|
6908
7050
|
"entry": null,
|
|
6909
7051
|
"stability": "stable",
|
|
@@ -6974,6 +7116,7 @@
|
|
|
6974
7116
|
"example": "<usa-pagination total=\"20\" page=\"1\" siblings=\"1\"></usa-pagination>",
|
|
6975
7117
|
"esm": "import { definePagination } from 'motionary/components/widgets';\n\ndefinePagination(); // registers <usa-pagination>\n\n/* then use it in your HTML:\n<usa-pagination total=\"20\" page=\"1\" siblings=\"1\"></usa-pagination>\n*/",
|
|
6976
7118
|
"requires": [],
|
|
7119
|
+
"tier": "basic",
|
|
6977
7120
|
"prerequisites": null,
|
|
6978
7121
|
"entry": "motionary/widgets/pagination",
|
|
6979
7122
|
"stability": "stable",
|
|
@@ -7017,6 +7160,7 @@
|
|
|
7017
7160
|
"example": "<usa-panorama src=\"pano-equirect.jpg\" label=\"Lake at dawn\" autorotate=\"6\"></usa-panorama>",
|
|
7018
7161
|
"esm": "import { definePanorama } from 'motionary/components/widgets';\n\ndefinePanorama(); // registers <usa-panorama>\n\n/* then use it in your HTML:\n<usa-panorama src=\"pano-equirect.jpg\" label=\"Lake at dawn\" autorotate=\"6\"></usa-panorama>\n*/",
|
|
7019
7162
|
"requires": [],
|
|
7163
|
+
"tier": "basic",
|
|
7020
7164
|
"prerequisites": null,
|
|
7021
7165
|
"entry": "motionary/widgets/panorama",
|
|
7022
7166
|
"stability": "stable",
|
|
@@ -7061,6 +7205,7 @@
|
|
|
7061
7205
|
"example": "<usa-parallax-layers range=\"120\">\n <img data-depth=\"0.6\" src=\"mountains.webp\" alt=\"\">\n <h2 data-depth=\"-0.3\">Above the clouds</h2>\n</usa-parallax-layers>",
|
|
7062
7206
|
"esm": "import { defineParallaxLayers } from 'motionary/components/widgets';\n\ndefineParallaxLayers(); // registers <usa-parallax-layers>\n\n/* then use it in your HTML:\n<usa-parallax-layers range=\"120\">\n <img data-depth=\"0.6\" src=\"mountains.webp\" alt=\"\">\n <h2 data-depth=\"-0.3\">Above the clouds</h2>\n</usa-parallax-layers>\n*/",
|
|
7063
7207
|
"requires": [],
|
|
7208
|
+
"tier": "basic",
|
|
7064
7209
|
"prerequisites": null,
|
|
7065
7210
|
"entry": "motionary/widgets/parallax-layers",
|
|
7066
7211
|
"stability": "stable",
|
|
@@ -7100,6 +7245,7 @@
|
|
|
7100
7245
|
"example": "<usa-particles count=\"80\" links=\"120\" interactive></usa-particles>",
|
|
7101
7246
|
"esm": "import { defineParticles } from 'motionary/components/background';\n\ndefineParticles(); // registers <usa-particles>\n\n/* then use it in your HTML:\n<usa-particles count=\"80\" links=\"120\" interactive></usa-particles>\n*/",
|
|
7102
7247
|
"requires": [],
|
|
7248
|
+
"tier": "basic",
|
|
7103
7249
|
"prerequisites": null,
|
|
7104
7250
|
"entry": null,
|
|
7105
7251
|
"stability": "stable",
|
|
@@ -7141,6 +7287,7 @@
|
|
|
7141
7287
|
"example": "<usa-pause-all></usa-pause-all>",
|
|
7142
7288
|
"esm": "import { definePauseAll } from 'motionary/components/widgets';\n\ndefinePauseAll(); // registers <usa-pause-all>\n\n/* then use it in your HTML:\n<usa-pause-all></usa-pause-all>\n*/",
|
|
7143
7289
|
"requires": [],
|
|
7290
|
+
"tier": "basic",
|
|
7144
7291
|
"prerequisites": null,
|
|
7145
7292
|
"entry": "motionary/widgets/pause-all",
|
|
7146
7293
|
"stability": "stable",
|
|
@@ -7179,6 +7326,7 @@
|
|
|
7179
7326
|
"example": "<usa-perf-monitor corner=\"bottom-right\"></usa-perf-monitor>",
|
|
7180
7327
|
"esm": "import { definePerfMonitor } from 'motionary/components/widgets';\n\ndefinePerfMonitor(); // registers <usa-perf-monitor>\n\n/* then use it in your HTML:\n<usa-perf-monitor corner=\"bottom-right\"></usa-perf-monitor>\n*/",
|
|
7181
7328
|
"requires": [],
|
|
7329
|
+
"tier": "basic",
|
|
7182
7330
|
"prerequisites": null,
|
|
7183
7331
|
"entry": "motionary/widgets/perf-monitor",
|
|
7184
7332
|
"stability": "stable",
|
|
@@ -7232,6 +7380,7 @@
|
|
|
7232
7380
|
"physics",
|
|
7233
7381
|
"format-scene"
|
|
7234
7382
|
],
|
|
7383
|
+
"tier": "advanced",
|
|
7235
7384
|
"prerequisites": {
|
|
7236
7385
|
"badge": "Requires: motionary/runtime/physics + motionary/runtime/format-scene",
|
|
7237
7386
|
"modules": [
|
|
@@ -7282,6 +7431,7 @@
|
|
|
7282
7431
|
"example": "<usa-pinch-zoom max=\"4\">\n <img src=\"photo.jpg\" alt=\"…\">\n</usa-pinch-zoom>",
|
|
7283
7432
|
"esm": "import { definePinchZoom } from 'motionary/components/gesture';\n\ndefinePinchZoom(); // registers <usa-pinch-zoom>\n\n/* then use it in your HTML:\n<usa-pinch-zoom max=\"4\">\n <img src=\"photo.jpg\" alt=\"…\">\n</usa-pinch-zoom>\n*/",
|
|
7284
7433
|
"requires": [],
|
|
7434
|
+
"tier": "basic",
|
|
7285
7435
|
"prerequisites": null,
|
|
7286
7436
|
"entry": null,
|
|
7287
7437
|
"stability": "stable",
|
|
@@ -7326,6 +7476,7 @@
|
|
|
7326
7476
|
"example": "<usa-player src=\"hero.json\" trigger=\"view\">\n <h1>Title</h1>\n <a class=\"cta\">Start</a>\n</usa-player>",
|
|
7327
7477
|
"esm": "import { definePlayer } from 'motionary/components/effects';\n\ndefinePlayer(); // registers <usa-player>\n\n/* then use it in your HTML:\n<usa-player src=\"hero.json\" trigger=\"view\">\n <h1>Title</h1>\n <a class=\"cta\">Start</a>\n</usa-player>\n*/",
|
|
7328
7478
|
"requires": [],
|
|
7479
|
+
"tier": "basic",
|
|
7329
7480
|
"prerequisites": null,
|
|
7330
7481
|
"entry": null,
|
|
7331
7482
|
"stability": "stable",
|
|
@@ -7378,6 +7529,7 @@
|
|
|
7378
7529
|
"requires": [
|
|
7379
7530
|
"core"
|
|
7380
7531
|
],
|
|
7532
|
+
"tier": "basic",
|
|
7381
7533
|
"prerequisites": {
|
|
7382
7534
|
"badge": "Requires: motionary/runtime",
|
|
7383
7535
|
"modules": [
|
|
@@ -7433,6 +7585,7 @@
|
|
|
7433
7585
|
"example": "<usa-plugin-store query=\"neon\"></usa-plugin-store>\n<script type=\"module\">\n const store = document.querySelector('usa-plugin-store');\n store.loader = (entry) => import(entry); // or map to your bundler imports\n</script>",
|
|
7434
7586
|
"esm": "import { definePluginStore } from 'motionary/components/widgets';\n\ndefinePluginStore(); // registers <usa-plugin-store>\n\n/* then use it in your HTML:\n<usa-plugin-store query=\"neon\"></usa-plugin-store>\n*/",
|
|
7435
7587
|
"requires": [],
|
|
7588
|
+
"tier": "basic",
|
|
7436
7589
|
"prerequisites": null,
|
|
7437
7590
|
"entry": "motionary/widgets/plugin-store",
|
|
7438
7591
|
"stability": "stable",
|
|
@@ -7464,6 +7617,7 @@
|
|
|
7464
7617
|
"example": "<usa-popover>\n <button>Share</button>\n <div data-popover>…</div>\n</usa-popover>",
|
|
7465
7618
|
"esm": "import { definePopover } from 'motionary/components/ui';\n\ndefinePopover(); // registers <usa-popover>\n\n/* then use it in your HTML:\n<usa-popover>\n <button>Share</button>\n <div data-popover>…</div>\n</usa-popover>\n*/",
|
|
7466
7619
|
"requires": [],
|
|
7620
|
+
"tier": "basic",
|
|
7467
7621
|
"prerequisites": null,
|
|
7468
7622
|
"entry": null,
|
|
7469
7623
|
"stability": "stable",
|
|
@@ -7496,6 +7650,7 @@
|
|
|
7496
7650
|
"example": "<usa-post-fx effects=\"vignette grain\" intensity=\"0.6\">\n <img src=\"photo.jpg\" alt=\"…\">\n</usa-post-fx>",
|
|
7497
7651
|
"esm": "import { definePostFx } from 'motionary/components/webgl';\n\ndefinePostFx(); // registers <usa-post-fx>\n\n/* then use it in your HTML:\n<usa-post-fx effects=\"vignette grain\" intensity=\"0.6\">\n <img src=\"photo.jpg\" alt=\"…\">\n</usa-post-fx>\n*/",
|
|
7498
7652
|
"requires": [],
|
|
7653
|
+
"tier": "basic",
|
|
7499
7654
|
"prerequisites": null,
|
|
7500
7655
|
"entry": null,
|
|
7501
7656
|
"stability": "stable",
|
|
@@ -7534,6 +7689,7 @@
|
|
|
7534
7689
|
"example": "<usa-presence name=\"Ada Lovelace\" status=\"online\"></usa-presence>\n<usa-presence name=\"Alan Turing\" status=\"away\" speaking></usa-presence>\n<usa-presence name=\"Grace Hopper\" status=\"busy\" story></usa-presence>",
|
|
7535
7690
|
"esm": "import { definePresence } from 'motionary/components/widgets';\n\ndefinePresence(); // registers <usa-presence>\n\n/* then use it in your HTML:\n<usa-presence name=\"Ada Lovelace\" status=\"online\"></usa-presence>\n<usa-presence name=\"Alan Turing\" status=\"away\" speaking></usa-presence>\n<usa-presence name=\"Grace Hopper\" status=\"busy\" story></usa-presence>\n*/",
|
|
7536
7691
|
"requires": [],
|
|
7692
|
+
"tier": "basic",
|
|
7537
7693
|
"prerequisites": null,
|
|
7538
7694
|
"entry": "motionary/widgets/presence",
|
|
7539
7695
|
"stability": "stable",
|
|
@@ -7565,6 +7721,7 @@
|
|
|
7565
7721
|
"example": "<usa-press bounce><button>Press</button></usa-press>",
|
|
7566
7722
|
"esm": "import { definePress } from 'motionary/components/interaction';\n\ndefinePress(); // registers <usa-press>\n\n/* then use it in your HTML:\n<usa-press bounce><button>Press</button></usa-press>\n*/",
|
|
7567
7723
|
"requires": [],
|
|
7724
|
+
"tier": "basic",
|
|
7568
7725
|
"prerequisites": null,
|
|
7569
7726
|
"entry": null,
|
|
7570
7727
|
"stability": "stable",
|
|
@@ -7602,6 +7759,7 @@
|
|
|
7602
7759
|
"example": "<usa-prize-wheel segments=\"10% off,Free ship,Try again,🎁 Gift,5% off,Jackpot\"></usa-prize-wheel>",
|
|
7603
7760
|
"esm": "import { definePrizeWheel } from 'motionary/components/widgets';\n\ndefinePrizeWheel(); // registers <usa-prize-wheel>\n\n/* then use it in your HTML:\n<usa-prize-wheel segments=\"10% off,Free ship,Try again,🎁 Gift,5% off,Jackpot\"></usa-prize-wheel>\n*/",
|
|
7604
7761
|
"requires": [],
|
|
7762
|
+
"tier": "basic",
|
|
7605
7763
|
"prerequisites": null,
|
|
7606
7764
|
"entry": "motionary/widgets/prize-wheel",
|
|
7607
7765
|
"stability": "stable",
|
|
@@ -7643,6 +7801,7 @@
|
|
|
7643
7801
|
"example": "<usa-product-gallery zoom=\"2\">\n <img src=\"front.jpg\" alt=\"Front\">\n <img src=\"side.jpg\" alt=\"Side\">\n <img src=\"back.jpg\" alt=\"Back\">\n</usa-product-gallery>",
|
|
7644
7802
|
"esm": "import { defineProductGallery } from 'motionary/components/widgets';\n\ndefineProductGallery(); // registers <usa-product-gallery>\n\n/* then use it in your HTML:\n<usa-product-gallery zoom=\"2\">\n <img src=\"front.jpg\" alt=\"Front\">\n <img src=\"side.jpg\" alt=\"Side\">\n <img src=\"back.jpg\" alt=\"Back\">\n</usa-product-gallery>\n*/",
|
|
7645
7803
|
"requires": [],
|
|
7804
|
+
"tier": "basic",
|
|
7646
7805
|
"prerequisites": null,
|
|
7647
7806
|
"entry": "motionary/widgets/product-gallery",
|
|
7648
7807
|
"stability": "stable",
|
|
@@ -7679,6 +7838,7 @@
|
|
|
7679
7838
|
"example": "<usa-progress value=\"40\"></usa-progress>\n<usa-progress indeterminate></usa-progress>",
|
|
7680
7839
|
"esm": "import { defineProgress } from 'motionary/components/feedback';\n\ndefineProgress(); // registers <usa-progress>\n\n/* then use it in your HTML:\n<usa-progress value=\"40\"></usa-progress>\n<usa-progress indeterminate></usa-progress>\n*/",
|
|
7681
7840
|
"requires": [],
|
|
7841
|
+
"tier": "basic",
|
|
7682
7842
|
"prerequisites": null,
|
|
7683
7843
|
"entry": null,
|
|
7684
7844
|
"stability": "stable",
|
|
@@ -7719,6 +7879,7 @@
|
|
|
7719
7879
|
"example": "<usa-progress-ring value=\"72\" gradient=\"#7c5cff,#22d3ee\"></usa-progress-ring>\n<usa-progress-ring variant=\"bar\" value=\"40\"></usa-progress-ring>\n<usa-progress-ring variant=\"semi\" value=\"88\"></usa-progress-ring>\n<!-- el.value = 90 animates to the new value -->",
|
|
7720
7880
|
"esm": "import { defineProgressRing } from 'motionary/components/widgets';\n\ndefineProgressRing(); // registers <usa-progress-ring>\n\n/* then use it in your HTML:\n<usa-progress-ring value=\"72\" gradient=\"#7c5cff,#22d3ee\"></usa-progress-ring>\n<usa-progress-ring variant=\"bar\" value=\"40\"></usa-progress-ring>\n<usa-progress-ring variant=\"semi\" value=\"88\"></usa-progress-ring>\n<!-- el.value = 90 animates to the new value -->\n*/",
|
|
7721
7881
|
"requires": [],
|
|
7882
|
+
"tier": "basic",
|
|
7722
7883
|
"prerequisites": null,
|
|
7723
7884
|
"entry": "motionary/widgets/progress-ring",
|
|
7724
7885
|
"stability": "stable",
|
|
@@ -7760,6 +7921,7 @@
|
|
|
7760
7921
|
"example": "<usa-star-rating id=\"r\" value=\"3\"></usa-star-rating>\n<usa-prop-panel for=\"#r\" props=\"value:number:0:5, icon:select:star|heart, readonly:boolean\"></usa-prop-panel>",
|
|
7761
7922
|
"esm": "import { definePropPanel } from 'motionary/components/widgets';\n\ndefinePropPanel(); // registers <usa-prop-panel>\n\n/* then use it in your HTML:\n<usa-star-rating id=\"r\" value=\"3\"></usa-star-rating>\n<usa-prop-panel for=\"#r\" props=\"value:number:0:5, icon:select:star|heart, readonly:boolean\"></usa-prop-panel>\n*/",
|
|
7762
7923
|
"requires": [],
|
|
7924
|
+
"tier": "basic",
|
|
7763
7925
|
"prerequisites": null,
|
|
7764
7926
|
"entry": "motionary/widgets/prop-panel",
|
|
7765
7927
|
"stability": "stable",
|
|
@@ -7797,6 +7959,7 @@
|
|
|
7797
7959
|
"example": "<usa-pull-cord label=\"Desk lamp\"></usa-pull-cord>",
|
|
7798
7960
|
"esm": "import { definePullCord } from 'motionary/components/widgets';\n\ndefinePullCord(); // registers <usa-pull-cord>\n\n/* then use it in your HTML:\n<usa-pull-cord label=\"Desk lamp\"></usa-pull-cord>\n*/",
|
|
7799
7961
|
"requires": [],
|
|
7962
|
+
"tier": "basic",
|
|
7800
7963
|
"prerequisites": null,
|
|
7801
7964
|
"entry": "motionary/widgets/pull-cord",
|
|
7802
7965
|
"stability": "stable",
|
|
@@ -7828,6 +7991,7 @@
|
|
|
7828
7991
|
"example": "<usa-pull-refresh style=\"height: 300px\">\n <ul>…</ul>\n</usa-pull-refresh>\n<script>el.addEventListener('usa:refresh', async (e) => { await load(); e.detail.done(); });</script>",
|
|
7829
7992
|
"esm": "import { definePullRefresh } from 'motionary/components/ui';\n\ndefinePullRefresh(); // registers <usa-pull-refresh>\n\n/* then use it in your HTML:\n<usa-pull-refresh style=\"height: 300px\">\n <ul>…</ul>\n</usa-pull-refresh>\n*/",
|
|
7830
7993
|
"requires": [],
|
|
7994
|
+
"tier": "basic",
|
|
7831
7995
|
"prerequisites": null,
|
|
7832
7996
|
"entry": null,
|
|
7833
7997
|
"stability": "stable",
|
|
@@ -7870,6 +8034,7 @@
|
|
|
7870
8034
|
"example": "<usa-radar targets=\"Alpha:40,0.6; Bravo:200,0.35; Echo:300,0.8\" speed=\"4\"></usa-radar>",
|
|
7871
8035
|
"esm": "import { defineRadar } from 'motionary/components/widgets';\n\ndefineRadar(); // registers <usa-radar>\n\n/* then use it in your HTML:\n<usa-radar targets=\"Alpha:40,0.6; Bravo:200,0.35; Echo:300,0.8\" speed=\"4\"></usa-radar>\n*/",
|
|
7872
8036
|
"requires": [],
|
|
8037
|
+
"tier": "basic",
|
|
7873
8038
|
"prerequisites": null,
|
|
7874
8039
|
"entry": "motionary/widgets/radar",
|
|
7875
8040
|
"stability": "stable",
|
|
@@ -7907,6 +8072,7 @@
|
|
|
7907
8072
|
"example": "<usa-reactions emojis=\"👍,❤️,😂,🎉\" counts=\"3,1,0,2\"></usa-reactions>",
|
|
7908
8073
|
"esm": "import { defineReactions } from 'motionary/components/widgets';\n\ndefineReactions(); // registers <usa-reactions>\n\n/* then use it in your HTML:\n<usa-reactions emojis=\"👍,❤️,😂,🎉\" counts=\"3,1,0,2\"></usa-reactions>\n*/",
|
|
7909
8074
|
"requires": [],
|
|
8075
|
+
"tier": "basic",
|
|
7910
8076
|
"prerequisites": null,
|
|
7911
8077
|
"entry": "motionary/widgets/reactions",
|
|
7912
8078
|
"stability": "stable",
|
|
@@ -7950,6 +8116,7 @@
|
|
|
7950
8116
|
"example": "<usa-red-envelope amount=\"88.88\" from=\"Grandma\" message=\"恭喜发财\"></usa-red-envelope>",
|
|
7951
8117
|
"esm": "import { defineRedEnvelope } from 'motionary/components/widgets';\n\ndefineRedEnvelope(); // registers <usa-red-envelope>\n\n/* then use it in your HTML:\n<usa-red-envelope amount=\"88.88\" from=\"Grandma\" message=\"恭喜发财\"></usa-red-envelope>\n*/",
|
|
7952
8118
|
"requires": [],
|
|
8119
|
+
"tier": "basic",
|
|
7953
8120
|
"prerequisites": null,
|
|
7954
8121
|
"entry": "motionary/widgets/red-envelope",
|
|
7955
8122
|
"stability": "stable",
|
|
@@ -7986,6 +8153,7 @@
|
|
|
7986
8153
|
"example": "<usa-retro-button variant=\"pixel\">Start</usa-retro-button>\n<usa-retro-button variant=\"win95\">OK</usa-retro-button>",
|
|
7987
8154
|
"esm": "import { defineRetroButton } from 'motionary/components/widgets';\n\ndefineRetroButton(); // registers <usa-retro-button>\n\n/* then use it in your HTML:\n<usa-retro-button variant=\"pixel\">Start</usa-retro-button>\n<usa-retro-button variant=\"win95\">OK</usa-retro-button>\n*/",
|
|
7988
8155
|
"requires": [],
|
|
8156
|
+
"tier": "basic",
|
|
7989
8157
|
"prerequisites": null,
|
|
7990
8158
|
"entry": "motionary/widgets/retro-button",
|
|
7991
8159
|
"stability": "stable",
|
|
@@ -8029,6 +8197,7 @@
|
|
|
8029
8197
|
"example": "<usa-reveal effect=\"fade-up\" duration=\"700\">\n <h2>Hello</h2>\n</usa-reveal>",
|
|
8030
8198
|
"esm": "import { defineReveal } from 'motionary/components/reveal';\n\ndefineReveal(); // registers <usa-reveal>\n\n/* then use it in your HTML:\n<usa-reveal effect=\"fade-up\" duration=\"700\">\n <h2>Hello</h2>\n</usa-reveal>\n*/",
|
|
8031
8199
|
"requires": [],
|
|
8200
|
+
"tier": "basic",
|
|
8032
8201
|
"prerequisites": null,
|
|
8033
8202
|
"entry": null,
|
|
8034
8203
|
"stability": "stable",
|
|
@@ -8060,6 +8229,7 @@
|
|
|
8060
8229
|
"example": "<usa-ripple><button>Click me</button></usa-ripple>",
|
|
8061
8230
|
"esm": "import { defineRipple } from 'motionary/components/interaction';\n\ndefineRipple(); // registers <usa-ripple>\n\n/* then use it in your HTML:\n<usa-ripple><button>Click me</button></usa-ripple>\n*/",
|
|
8062
8231
|
"requires": [],
|
|
8232
|
+
"tier": "basic",
|
|
8063
8233
|
"prerequisites": null,
|
|
8064
8234
|
"entry": null,
|
|
8065
8235
|
"stability": "stable",
|
|
@@ -8113,6 +8283,7 @@
|
|
|
8113
8283
|
"requires": [
|
|
8114
8284
|
"rive"
|
|
8115
8285
|
],
|
|
8286
|
+
"tier": "standard",
|
|
8116
8287
|
"prerequisites": {
|
|
8117
8288
|
"badge": "Requires: @rive-app/canvas",
|
|
8118
8289
|
"modules": [
|
|
@@ -8168,6 +8339,7 @@
|
|
|
8168
8339
|
"example": "<usa-route-transition id=\"app\" effect=\"slide\" cross-document>\n <nav><a href=\"/\">Home</a> <a href=\"/about\">About</a></nav>\n <h1 data-shared=\"title\">Home</h1>\n</usa-route-transition>",
|
|
8169
8340
|
"esm": "import { defineRouteTransition } from 'motionary/components/widgets';\n\ndefineRouteTransition(); // registers <usa-route-transition>\n\n/* then use it in your HTML:\n<usa-route-transition id=\"app\" effect=\"slide\" cross-document>\n <nav><a href=\"/\">Home</a> <a href=\"/about\">About</a></nav>\n <h1 data-shared=\"title\">Home</h1>\n</usa-route-transition>\n*/",
|
|
8170
8341
|
"requires": [],
|
|
8342
|
+
"tier": "basic",
|
|
8171
8343
|
"prerequisites": null,
|
|
8172
8344
|
"entry": "motionary/widgets/route-transition",
|
|
8173
8345
|
"stability": "stable",
|
|
@@ -8209,6 +8381,7 @@
|
|
|
8209
8381
|
"example": "<usa-scene camera=\"dolly-in\">\n <img src=\"harbor.jpg\" alt=\"Harbor at dawn\">\n <p data-caption data-at=\"0.4\">Dawn, 1912.</p>\n</usa-scene>",
|
|
8210
8382
|
"esm": "import { defineScene } from 'motionary/components/widgets';\n\ndefineScene(); // registers <usa-scene>\n\n/* then use it in your HTML:\n<usa-scene camera=\"dolly-in\">\n <img src=\"harbor.jpg\" alt=\"Harbor at dawn\">\n <p data-caption data-at=\"0.4\">Dawn, 1912.</p>\n</usa-scene>\n*/",
|
|
8211
8383
|
"requires": [],
|
|
8384
|
+
"tier": "basic",
|
|
8212
8385
|
"prerequisites": null,
|
|
8213
8386
|
"entry": "motionary/widgets/scene",
|
|
8214
8387
|
"stability": "stable",
|
|
@@ -8244,6 +8417,7 @@
|
|
|
8244
8417
|
"example": "<usa-scramble trigger=\"hover\">ACCESS GRANTED</usa-scramble>",
|
|
8245
8418
|
"esm": "import { defineScramble } from 'motionary/components/text';\n\ndefineScramble(); // registers <usa-scramble>\n\n/* then use it in your HTML:\n<usa-scramble trigger=\"hover\">ACCESS GRANTED</usa-scramble>\n*/",
|
|
8246
8419
|
"requires": [],
|
|
8420
|
+
"tier": "basic",
|
|
8247
8421
|
"prerequisites": null,
|
|
8248
8422
|
"entry": null,
|
|
8249
8423
|
"stability": "stable",
|
|
@@ -8279,6 +8453,7 @@
|
|
|
8279
8453
|
"example": "<usa-scroll-highlight>Every word lights up as you scroll.</usa-scroll-highlight>\n<usa-scroll-highlight mode=\"marker\">Important</usa-scroll-highlight>",
|
|
8280
8454
|
"esm": "import { defineScrollHighlight } from 'motionary/components/text';\n\ndefineScrollHighlight(); // registers <usa-scroll-highlight>\n\n/* then use it in your HTML:\n<usa-scroll-highlight>Every word lights up as you scroll.</usa-scroll-highlight>\n<usa-scroll-highlight mode=\"marker\">Important</usa-scroll-highlight>\n*/",
|
|
8281
8455
|
"requires": [],
|
|
8456
|
+
"tier": "basic",
|
|
8282
8457
|
"prerequisites": null,
|
|
8283
8458
|
"entry": null,
|
|
8284
8459
|
"stability": "stable",
|
|
@@ -8316,6 +8491,7 @@
|
|
|
8316
8491
|
"example": "<usa-scroll-progress></usa-scroll-progress>\n<!-- or for one article -->\n<usa-scroll-progress target=\"#post\" position=\"bottom\"></usa-scroll-progress>",
|
|
8317
8492
|
"esm": "import { defineScrollProgress } from 'motionary/components/reveal';\n\ndefineScrollProgress(); // registers <usa-scroll-progress>\n\n/* then use it in your HTML:\n<usa-scroll-progress></usa-scroll-progress>\n<!-- or for one article -->\n<usa-scroll-progress target=\"#post\" position=\"bottom\"></usa-scroll-progress>\n*/",
|
|
8318
8493
|
"requires": [],
|
|
8494
|
+
"tier": "basic",
|
|
8319
8495
|
"prerequisites": null,
|
|
8320
8496
|
"entry": null,
|
|
8321
8497
|
"stability": "stable",
|
|
@@ -8361,6 +8537,7 @@
|
|
|
8361
8537
|
"example": "<usa-scroll-ring label back-to-top></usa-scroll-ring>",
|
|
8362
8538
|
"esm": "import { defineScrollRing } from 'motionary/components/widgets';\n\ndefineScrollRing(); // registers <usa-scroll-ring>\n\n/* then use it in your HTML:\n<usa-scroll-ring label back-to-top></usa-scroll-ring>\n*/",
|
|
8363
8539
|
"requires": [],
|
|
8540
|
+
"tier": "basic",
|
|
8364
8541
|
"prerequisites": null,
|
|
8365
8542
|
"entry": "motionary/widgets/scroll-ring",
|
|
8366
8543
|
"stability": "stable",
|
|
@@ -8413,6 +8590,7 @@
|
|
|
8413
8590
|
"requires": [
|
|
8414
8591
|
"scroll"
|
|
8415
8592
|
],
|
|
8593
|
+
"tier": "basic",
|
|
8416
8594
|
"prerequisites": {
|
|
8417
8595
|
"badge": "Requires: motionary/runtime/scroll",
|
|
8418
8596
|
"modules": [
|
|
@@ -8460,6 +8638,7 @@
|
|
|
8460
8638
|
"example": "<usa-scrolly>\n <figure data-sticky>…</figure>\n <section data-step=\"intro\">…</section>\n <section data-step=\"detail\">…</section>\n</usa-scrolly>",
|
|
8461
8639
|
"esm": "import { defineScrolly } from 'motionary/components/reveal';\n\ndefineScrolly(); // registers <usa-scrolly>\n\n/* then use it in your HTML:\n<usa-scrolly>\n <figure data-sticky>…</figure>\n <section data-step=\"intro\">…</section>\n <section data-step=\"detail\">…</section>\n</usa-scrolly>\n*/",
|
|
8462
8640
|
"requires": [],
|
|
8641
|
+
"tier": "basic",
|
|
8463
8642
|
"prerequisites": null,
|
|
8464
8643
|
"entry": null,
|
|
8465
8644
|
"stability": "stable",
|
|
@@ -8497,6 +8676,7 @@
|
|
|
8497
8676
|
"example": "<usa-segmented variant=\"ios\" label=\"View\">\n <button>Day</button>\n <button>Week</button>\n <button>Month</button>\n</usa-segmented>",
|
|
8498
8677
|
"esm": "import { defineSegmented } from 'motionary/components/widgets';\n\ndefineSegmented(); // registers <usa-segmented>\n\n/* then use it in your HTML:\n<usa-segmented variant=\"ios\" label=\"View\">\n <button>Day</button>\n <button>Week</button>\n <button>Month</button>\n</usa-segmented>\n*/",
|
|
8499
8678
|
"requires": [],
|
|
8679
|
+
"tier": "basic",
|
|
8500
8680
|
"prerequisites": null,
|
|
8501
8681
|
"entry": "motionary/widgets/segmented",
|
|
8502
8682
|
"stability": "stable",
|
|
@@ -8529,6 +8709,7 @@
|
|
|
8529
8709
|
"example": "<usa-shader preset=\"aurora\" speed=\"1\">\n <h1>Hero title</h1>\n</usa-shader>\n\n<usa-shader>\n <script type=\"x-shader/x-fragment\">\n void main() { gl_FragColor = vec4(v_uv, 0.5 + 0.5 * sin(u_time), 1.0); }\n </script>\n</usa-shader>",
|
|
8530
8710
|
"esm": "import { defineShader } from 'motionary/components/webgl';\n\ndefineShader(); // registers <usa-shader>\n\n/* then use it in your HTML:\n<usa-shader preset=\"aurora\" speed=\"1\">\n <h1>Hero title</h1>\n</usa-shader>\n\n<usa-shader>\n </usa-shader>\n*/",
|
|
8531
8711
|
"requires": [],
|
|
8712
|
+
"tier": "basic",
|
|
8532
8713
|
"prerequisites": null,
|
|
8533
8714
|
"entry": null,
|
|
8534
8715
|
"stability": "stable",
|
|
@@ -8585,6 +8766,7 @@
|
|
|
8585
8766
|
"example": "<usa-shader-backdrop preset=\"aurora\" post=\"bloom,vignette,grain\">\n <h1>Hello</h1>\n</usa-shader-backdrop>",
|
|
8586
8767
|
"esm": "import { defineShaderBackdrop } from 'motionary/components/widgets';\n\ndefineShaderBackdrop(); // registers <usa-shader-backdrop>\n\n/* then use it in your HTML:\n<usa-shader-backdrop preset=\"aurora\" post=\"bloom,vignette,grain\">\n <h1>Hello</h1>\n</usa-shader-backdrop>\n*/",
|
|
8587
8768
|
"requires": [],
|
|
8769
|
+
"tier": "basic",
|
|
8588
8770
|
"prerequisites": null,
|
|
8589
8771
|
"entry": "motionary/widgets/shader-backdrop",
|
|
8590
8772
|
"stability": "stable",
|
|
@@ -8618,6 +8800,7 @@
|
|
|
8618
8800
|
"example": "<button data-usa-open=\"cart\">Cart</button>\n<usa-sheet id=\"cart\" side=\"right\" label=\"Cart\">\n <h2>Your cart</h2>\n …\n <button data-usa-close>Close</button>\n</usa-sheet>",
|
|
8619
8801
|
"esm": "import { defineSheet } from 'motionary/components/widgets';\n\ndefineSheet(); // registers <usa-sheet>\n\n/* then use it in your HTML:\n<button data-usa-open=\"cart\">Cart</button>\n<usa-sheet id=\"cart\" side=\"right\" label=\"Cart\">\n <h2>Your cart</h2>\n …\n <button data-usa-close>Close</button>\n</usa-sheet>\n*/",
|
|
8620
8802
|
"requires": [],
|
|
8803
|
+
"tier": "basic",
|
|
8621
8804
|
"prerequisites": null,
|
|
8622
8805
|
"entry": "motionary/widgets/sheet",
|
|
8623
8806
|
"stability": "stable",
|
|
@@ -8651,6 +8834,7 @@
|
|
|
8651
8834
|
"example": "<usa-shimmer-text shine=\"#fff\">Premium</usa-shimmer-text>",
|
|
8652
8835
|
"esm": "import { defineShimmerText } from 'motionary/components/text';\n\ndefineShimmerText(); // registers <usa-shimmer-text>\n\n/* then use it in your HTML:\n<usa-shimmer-text shine=\"#fff\">Premium</usa-shimmer-text>\n*/",
|
|
8653
8836
|
"requires": [],
|
|
8837
|
+
"tier": "basic",
|
|
8654
8838
|
"prerequisites": null,
|
|
8655
8839
|
"entry": null,
|
|
8656
8840
|
"stability": "stable",
|
|
@@ -8693,6 +8877,7 @@
|
|
|
8693
8877
|
"example": "<usa-shortcut keys=\"mod+k\" label=\"Search\"></usa-shortcut>\n<usa-shortcut keys=\"mod+shift+p\" for=\"palette-button\"></usa-shortcut>",
|
|
8694
8878
|
"esm": "import { defineShortcut } from 'motionary/components/widgets';\n\ndefineShortcut(); // registers <usa-shortcut>\n\n/* then use it in your HTML:\n<usa-shortcut keys=\"mod+k\" label=\"Search\"></usa-shortcut>\n<usa-shortcut keys=\"mod+shift+p\" for=\"palette-button\"></usa-shortcut>\n*/",
|
|
8695
8879
|
"requires": [],
|
|
8880
|
+
"tier": "basic",
|
|
8696
8881
|
"prerequisites": null,
|
|
8697
8882
|
"entry": "motionary/widgets/shortcut",
|
|
8698
8883
|
"stability": "stable",
|
|
@@ -8732,6 +8917,7 @@
|
|
|
8732
8917
|
"example": "<usa-skeleton loading avatar lines=\"3\">\n <article>…</article>\n</usa-skeleton>",
|
|
8733
8918
|
"esm": "import { defineSkeleton } from 'motionary/components/feedback';\n\ndefineSkeleton(); // registers <usa-skeleton>\n\n/* then use it in your HTML:\n<usa-skeleton loading avatar lines=\"3\">\n <article>…</article>\n</usa-skeleton>\n*/",
|
|
8734
8919
|
"requires": [],
|
|
8920
|
+
"tier": "basic",
|
|
8735
8921
|
"prerequisites": null,
|
|
8736
8922
|
"entry": null,
|
|
8737
8923
|
"stability": "stable",
|
|
@@ -8772,6 +8958,7 @@
|
|
|
8772
8958
|
"example": "<usa-skeleton-reveal loading variant=\"wave\">\n <img src=\"avatar.jpg\" alt=\"\" data-skeleton=\"circle\">\n <h3>Ada Lovelace</h3>\n <p>…</p>\n</usa-skeleton-reveal>\n<!-- el.loading = false (or el.reveal()) when the data arrived -->",
|
|
8773
8959
|
"esm": "import { defineSkeletonReveal } from 'motionary/components/widgets';\n\ndefineSkeletonReveal(); // registers <usa-skeleton-reveal>\n\n/* then use it in your HTML:\n<usa-skeleton-reveal loading variant=\"wave\">\n <img src=\"avatar.jpg\" alt=\"\" data-skeleton=\"circle\">\n <h3>Ada Lovelace</h3>\n <p>…</p>\n</usa-skeleton-reveal>\n<!-- el.loading = false (or el.reveal()) when the data arrived -->\n*/",
|
|
8774
8960
|
"requires": [],
|
|
8961
|
+
"tier": "basic",
|
|
8775
8962
|
"prerequisites": null,
|
|
8776
8963
|
"entry": "motionary/widgets/skeleton-reveal",
|
|
8777
8964
|
"stability": "stable",
|
|
@@ -8816,6 +9003,7 @@
|
|
|
8816
9003
|
"example": "<usa-sketch-chart values=\"3,7,5,9\" labels=\"Q1,Q2,Q3,Q4\" label=\"Revenue\"></usa-sketch-chart>",
|
|
8817
9004
|
"esm": "import { defineSketchChart } from 'motionary/components/widgets';\n\ndefineSketchChart(); // registers <usa-sketch-chart>\n\n/* then use it in your HTML:\n<usa-sketch-chart values=\"3,7,5,9\" labels=\"Q1,Q2,Q3,Q4\" label=\"Revenue\"></usa-sketch-chart>\n*/",
|
|
8818
9005
|
"requires": [],
|
|
9006
|
+
"tier": "basic",
|
|
8819
9007
|
"prerequisites": null,
|
|
8820
9008
|
"entry": "motionary/widgets/sketch-chart",
|
|
8821
9009
|
"stability": "stable",
|
|
@@ -8854,6 +9042,7 @@
|
|
|
8854
9042
|
"example": "<usa-slider name=\"volume\" value=\"40\" bubble label=\"Volume\"></usa-slider>",
|
|
8855
9043
|
"esm": "import { defineSlider } from 'motionary/components/ui';\n\ndefineSlider(); // registers <usa-slider>\n\n/* then use it in your HTML:\n<usa-slider name=\"volume\" value=\"40\" bubble label=\"Volume\"></usa-slider>\n*/",
|
|
8856
9044
|
"requires": [],
|
|
9045
|
+
"tier": "basic",
|
|
8857
9046
|
"prerequisites": null,
|
|
8858
9047
|
"entry": null,
|
|
8859
9048
|
"stability": "stable",
|
|
@@ -8908,6 +9097,7 @@
|
|
|
8908
9097
|
"requires": [
|
|
8909
9098
|
"smooth"
|
|
8910
9099
|
],
|
|
9100
|
+
"tier": "standard",
|
|
8911
9101
|
"prerequisites": {
|
|
8912
9102
|
"badge": "Requires: motionary/runtime/smooth",
|
|
8913
9103
|
"modules": [
|
|
@@ -8972,6 +9162,7 @@
|
|
|
8972
9162
|
"requires": [
|
|
8973
9163
|
"drag-snap"
|
|
8974
9164
|
],
|
|
9165
|
+
"tier": "standard",
|
|
8975
9166
|
"prerequisites": {
|
|
8976
9167
|
"badge": "Requires: motionary/runtime/drag-snap",
|
|
8977
9168
|
"modules": [
|
|
@@ -9021,6 +9212,7 @@
|
|
|
9021
9212
|
"example": "<usa-sparkline values=\"3,5,4,8,6,9,12\" variant=\"area\"></usa-sparkline>",
|
|
9022
9213
|
"esm": "import { defineSparkline } from 'motionary/components/widgets';\n\ndefineSparkline(); // registers <usa-sparkline>\n\n/* then use it in your HTML:\n<usa-sparkline values=\"3,5,4,8,6,9,12\" variant=\"area\"></usa-sparkline>\n*/",
|
|
9023
9214
|
"requires": [],
|
|
9215
|
+
"tier": "basic",
|
|
9024
9216
|
"prerequisites": null,
|
|
9025
9217
|
"entry": "motionary/widgets/sparkline",
|
|
9026
9218
|
"stability": "stable",
|
|
@@ -9056,6 +9248,7 @@
|
|
|
9056
9248
|
"example": "<usa-spatial-card>\n <h3 data-depth=\"2\">Photos</h3>\n <p data-depth=\"1\">Spatial window</p>\n <nav slot=\"ornament\"><button>⟲</button><button>♡</button></nav>\n</usa-spatial-card>",
|
|
9057
9249
|
"esm": "import { defineSpatialCard } from 'motionary/components/widgets';\n\ndefineSpatialCard(); // registers <usa-spatial-card>\n\n/* then use it in your HTML:\n<usa-spatial-card>\n <h3 data-depth=\"2\">Photos</h3>\n <p data-depth=\"1\">Spatial window</p>\n <nav slot=\"ornament\"><button>⟲</button><button>♡</button></nav>\n</usa-spatial-card>\n*/",
|
|
9058
9250
|
"requires": [],
|
|
9251
|
+
"tier": "basic",
|
|
9059
9252
|
"prerequisites": null,
|
|
9060
9253
|
"entry": "motionary/widgets/spatial-card",
|
|
9061
9254
|
"stability": "stable",
|
|
@@ -9090,6 +9283,7 @@
|
|
|
9090
9283
|
"example": "<usa-spinner kind=\"fluent\"></usa-spinner>\n<usa-spinner kind=\"windows\" size=\"40\"></usa-spinner>",
|
|
9091
9284
|
"esm": "import { defineSpinner } from 'motionary/components/feedback';\n\ndefineSpinner(); // registers <usa-spinner>\n\n/* then use it in your HTML:\n<usa-spinner kind=\"fluent\"></usa-spinner>\n<usa-spinner kind=\"windows\" size=\"40\"></usa-spinner>\n*/",
|
|
9092
9285
|
"requires": [],
|
|
9286
|
+
"tier": "basic",
|
|
9093
9287
|
"prerequisites": null,
|
|
9094
9288
|
"entry": null,
|
|
9095
9289
|
"stability": "stable",
|
|
@@ -9124,6 +9318,7 @@
|
|
|
9124
9318
|
"example": "<usa-splash exit=\"circle\" min=\"800\">\n <img src=\"logo.svg\" alt=\"\">\n</usa-splash>",
|
|
9125
9319
|
"esm": "import { defineSplash } from 'motionary/components/page';\n\ndefineSplash(); // registers <usa-splash>\n\n/* then use it in your HTML:\n<usa-splash exit=\"circle\" min=\"800\">\n <img src=\"logo.svg\" alt=\"\">\n</usa-splash>\n*/",
|
|
9126
9320
|
"requires": [],
|
|
9321
|
+
"tier": "basic",
|
|
9127
9322
|
"prerequisites": null,
|
|
9128
9323
|
"entry": null,
|
|
9129
9324
|
"stability": "stable",
|
|
@@ -9162,6 +9357,7 @@
|
|
|
9162
9357
|
"example": "<usa-split-text effect=\"rise\">Animated headline</usa-split-text>",
|
|
9163
9358
|
"esm": "import { defineSplitText } from 'motionary/components/text';\n\ndefineSplitText(); // registers <usa-split-text>\n\n/* then use it in your HTML:\n<usa-split-text effect=\"rise\">Animated headline</usa-split-text>\n*/",
|
|
9164
9359
|
"requires": [],
|
|
9360
|
+
"tier": "basic",
|
|
9165
9361
|
"prerequisites": null,
|
|
9166
9362
|
"entry": null,
|
|
9167
9363
|
"stability": "stable",
|
|
@@ -9195,6 +9391,7 @@
|
|
|
9195
9391
|
"example": "<usa-spotlight>\n <button>Mail</button>\n <button>Calendar</button>\n <button>Photos</button>\n</usa-spotlight>",
|
|
9196
9392
|
"esm": "import { defineSpotlight } from 'motionary/components/interaction';\n\ndefineSpotlight(); // registers <usa-spotlight>\n\n/* then use it in your HTML:\n<usa-spotlight>\n <button>Mail</button>\n <button>Calendar</button>\n <button>Photos</button>\n</usa-spotlight>\n*/",
|
|
9197
9393
|
"requires": [],
|
|
9394
|
+
"tier": "basic",
|
|
9198
9395
|
"prerequisites": null,
|
|
9199
9396
|
"entry": null,
|
|
9200
9397
|
"stability": "stable",
|
|
@@ -9235,6 +9432,7 @@
|
|
|
9235
9432
|
"example": "<usa-spring effect=\"bounce-in\" preset=\"bouncy\">\n <div class=\"card\">Hello</div>\n</usa-spring>\n<usa-spring effect=\"jelly\" trigger=\"click\">\n <button>Tap me</button>\n</usa-spring>",
|
|
9236
9433
|
"esm": "import { defineSpring } from 'motionary/components/physics';\n\ndefineSpring(); // registers <usa-spring>\n\n/* then use it in your HTML:\n<usa-spring effect=\"bounce-in\" preset=\"bouncy\">\n <div class=\"card\">Hello</div>\n</usa-spring>\n<usa-spring effect=\"jelly\" trigger=\"click\">\n <button>Tap me</button>\n</usa-spring>\n*/",
|
|
9237
9434
|
"requires": [],
|
|
9435
|
+
"tier": "basic",
|
|
9238
9436
|
"prerequisites": null,
|
|
9239
9437
|
"entry": null,
|
|
9240
9438
|
"stability": "stable",
|
|
@@ -9274,6 +9472,7 @@
|
|
|
9274
9472
|
"example": "<usa-stagger effect=\"rise\" interval=\"80\">\n <li>One</li>\n <li>Two</li>\n <li>Three</li>\n</usa-stagger>",
|
|
9275
9473
|
"esm": "import { defineStagger } from 'motionary/components/reveal';\n\ndefineStagger(); // registers <usa-stagger>\n\n/* then use it in your HTML:\n<usa-stagger effect=\"rise\" interval=\"80\">\n <li>One</li>\n <li>Two</li>\n <li>Three</li>\n</usa-stagger>\n*/",
|
|
9276
9474
|
"requires": [],
|
|
9475
|
+
"tier": "basic",
|
|
9277
9476
|
"prerequisites": null,
|
|
9278
9477
|
"entry": null,
|
|
9279
9478
|
"stability": "stable",
|
|
@@ -9314,6 +9513,7 @@
|
|
|
9314
9513
|
"example": "<usa-star-rating value=\"3.5\" step=\"0.5\" label=\"Your rating\"></usa-star-rating>\n<usa-star-rating value=\"4\" readonly></usa-star-rating>",
|
|
9315
9514
|
"esm": "import { defineStarRating } from 'motionary/components/widgets';\n\ndefineStarRating(); // registers <usa-star-rating>\n\n/* then use it in your HTML:\n<usa-star-rating value=\"3.5\" step=\"0.5\" label=\"Your rating\"></usa-star-rating>\n<usa-star-rating value=\"4\" readonly></usa-star-rating>\n*/",
|
|
9316
9515
|
"requires": [],
|
|
9516
|
+
"tier": "basic",
|
|
9317
9517
|
"prerequisites": null,
|
|
9318
9518
|
"entry": "motionary/widgets/star-rating",
|
|
9319
9519
|
"stability": "stable",
|
|
@@ -9354,6 +9554,7 @@
|
|
|
9354
9554
|
"example": "<usa-stepper value=\"1\" label=\"Checkout\">\n <span>Cart</span>\n <span>Shipping</span>\n <span>Payment</span>\n <span>Done</span>\n</usa-stepper>",
|
|
9355
9555
|
"esm": "import { defineStepper } from 'motionary/components/widgets';\n\ndefineStepper(); // registers <usa-stepper>\n\n/* then use it in your HTML:\n<usa-stepper value=\"1\" label=\"Checkout\">\n <span>Cart</span>\n <span>Shipping</span>\n <span>Payment</span>\n <span>Done</span>\n</usa-stepper>\n*/",
|
|
9356
9556
|
"requires": [],
|
|
9557
|
+
"tier": "basic",
|
|
9357
9558
|
"prerequisites": null,
|
|
9358
9559
|
"entry": "motionary/widgets/stepper",
|
|
9359
9560
|
"stability": "stable",
|
|
@@ -9389,6 +9590,7 @@
|
|
|
9389
9590
|
"example": "<usa-sticky-stack top=\"80\">\n <section>One</section>\n <section>Two</section>\n <section>Three</section>\n</usa-sticky-stack>",
|
|
9390
9591
|
"esm": "import { defineStickyStack } from 'motionary/components/cards';\n\ndefineStickyStack(); // registers <usa-sticky-stack>\n\n/* then use it in your HTML:\n<usa-sticky-stack top=\"80\">\n <section>One</section>\n <section>Two</section>\n <section>Three</section>\n</usa-sticky-stack>\n*/",
|
|
9391
9592
|
"requires": [],
|
|
9593
|
+
"tier": "basic",
|
|
9392
9594
|
"prerequisites": null,
|
|
9393
9595
|
"entry": null,
|
|
9394
9596
|
"stability": "stable",
|
|
@@ -9429,6 +9631,7 @@
|
|
|
9429
9631
|
"example": "<usa-sticky-wall label=\"Ideas\">\n <p>Ship 8.5 ✏️</p>\n <p data-color=\"pink\">Call Mia</p>\n <p data-color=\"blue\">Buy paper</p>\n</usa-sticky-wall>",
|
|
9430
9632
|
"esm": "import { defineStickyWall } from 'motionary/components/widgets';\n\ndefineStickyWall(); // registers <usa-sticky-wall>\n\n/* then use it in your HTML:\n<usa-sticky-wall label=\"Ideas\">\n <p>Ship 8.5 ✏️</p>\n <p data-color=\"pink\">Call Mia</p>\n <p data-color=\"blue\">Buy paper</p>\n</usa-sticky-wall>\n*/",
|
|
9431
9633
|
"requires": [],
|
|
9634
|
+
"tier": "basic",
|
|
9432
9635
|
"prerequisites": null,
|
|
9433
9636
|
"entry": "motionary/widgets/sticky-wall",
|
|
9434
9637
|
"stability": "stable",
|
|
@@ -9474,6 +9677,7 @@
|
|
|
9474
9677
|
"example": "<usa-stories duration=\"5000\" loop>\n <img src=\"1.jpg\" alt=\"…\">\n <img src=\"2.jpg\" alt=\"…\">\n</usa-stories>",
|
|
9475
9678
|
"esm": "import { defineStories } from 'motionary/components/widgets';\n\ndefineStories(); // registers <usa-stories>\n\n/* then use it in your HTML:\n<usa-stories duration=\"5000\" loop>\n <img src=\"1.jpg\" alt=\"…\">\n <img src=\"2.jpg\" alt=\"…\">\n</usa-stories>\n*/",
|
|
9476
9679
|
"requires": [],
|
|
9680
|
+
"tier": "basic",
|
|
9477
9681
|
"prerequisites": null,
|
|
9478
9682
|
"entry": "motionary/widgets/stories",
|
|
9479
9683
|
"stability": "stable",
|
|
@@ -9509,6 +9713,7 @@
|
|
|
9509
9713
|
"example": "<usa-story template=\"compare\" label=\"2019 vs 2026\">\n <div data-sticky>\n <img data-before src=\"before.jpg\" alt=\"Before\">\n <img data-after src=\"after.jpg\" alt=\"After\">\n </div>\n</usa-story>",
|
|
9510
9714
|
"esm": "import { defineStory } from 'motionary/components/effects';\n\ndefineStory(); // registers <usa-story>\n\n/* then use it in your HTML:\n<usa-story template=\"compare\" label=\"2019 vs 2026\">\n <div data-sticky>\n <img data-before src=\"before.jpg\" alt=\"Before\">\n <img data-after src=\"after.jpg\" alt=\"After\">\n </div>\n</usa-story>\n*/",
|
|
9511
9715
|
"requires": [],
|
|
9716
|
+
"tier": "basic",
|
|
9512
9717
|
"prerequisites": null,
|
|
9513
9718
|
"entry": null,
|
|
9514
9719
|
"stability": "stable",
|
|
@@ -9570,6 +9775,7 @@
|
|
|
9570
9775
|
"example": "<usa-suggestion-chips items=\"Summarise|Translate|Explain like I'm 5\" dismiss></usa-suggestion-chips>",
|
|
9571
9776
|
"esm": "import { defineSuggestionChips } from 'motionary/components/widgets';\n\ndefineSuggestionChips(); // registers <usa-suggestion-chips>\n\n/* then use it in your HTML:\n<usa-suggestion-chips items=\"Summarise|Translate|Explain like I'm 5\" dismiss></usa-suggestion-chips>\n*/",
|
|
9572
9777
|
"requires": [],
|
|
9778
|
+
"tier": "basic",
|
|
9573
9779
|
"prerequisites": null,
|
|
9574
9780
|
"entry": "motionary/widgets/suggestion-chips",
|
|
9575
9781
|
"stability": "stable",
|
|
@@ -9610,6 +9816,7 @@
|
|
|
9610
9816
|
"example": "<usa-swipe-deck threshold=\"110\" label=\"Matches\">\n <article>Ada</article>\n <article>Linus</article>\n <article>Grace</article>\n</usa-swipe-deck>",
|
|
9611
9817
|
"esm": "import { defineSwipeDeck } from 'motionary/components/widgets';\n\ndefineSwipeDeck(); // registers <usa-swipe-deck>\n\n/* then use it in your HTML:\n<usa-swipe-deck threshold=\"110\" label=\"Matches\">\n <article>Ada</article>\n <article>Linus</article>\n <article>Grace</article>\n</usa-swipe-deck>\n*/",
|
|
9612
9818
|
"requires": [],
|
|
9819
|
+
"tier": "basic",
|
|
9613
9820
|
"prerequisites": null,
|
|
9614
9821
|
"entry": "motionary/widgets/swipe-deck",
|
|
9615
9822
|
"stability": "stable",
|
|
@@ -9650,6 +9857,7 @@
|
|
|
9650
9857
|
"example": "<usa-swipeable distance=\"120\" dismiss>\n <div class=\"card\">Swipe me away</div>\n</usa-swipeable>",
|
|
9651
9858
|
"esm": "import { defineSwipeable } from 'motionary/components/gesture';\n\ndefineSwipeable(); // registers <usa-swipeable>\n\n/* then use it in your HTML:\n<usa-swipeable distance=\"120\" dismiss>\n <div class=\"card\">Swipe me away</div>\n</usa-swipeable>\n*/",
|
|
9652
9859
|
"requires": [],
|
|
9860
|
+
"tier": "basic",
|
|
9653
9861
|
"prerequisites": null,
|
|
9654
9862
|
"entry": null,
|
|
9655
9863
|
"stability": "stable",
|
|
@@ -9689,6 +9897,7 @@
|
|
|
9689
9897
|
"example": "<usa-switch variant=\"daynight\" name=\"dark\" label=\"Dark mode\"></usa-switch>",
|
|
9690
9898
|
"esm": "import { defineSwitch } from 'motionary/components/widgets';\n\ndefineSwitch(); // registers <usa-switch>\n\n/* then use it in your HTML:\n<usa-switch variant=\"daynight\" name=\"dark\" label=\"Dark mode\"></usa-switch>\n*/",
|
|
9691
9899
|
"requires": [],
|
|
9900
|
+
"tier": "basic",
|
|
9692
9901
|
"prerequisites": null,
|
|
9693
9902
|
"entry": "motionary/widgets/switch",
|
|
9694
9903
|
"stability": "stable",
|
|
@@ -9728,6 +9937,7 @@
|
|
|
9728
9937
|
"example": "<usa-tab-bar indicator=\"pill\">\n <button>Overview</button>\n <button>Specs</button>\n <button>Reviews</button>\n <div data-panel>…</div>\n <div data-panel>…</div>\n <div data-panel>…</div>\n</usa-tab-bar>",
|
|
9729
9938
|
"esm": "import { defineTabBar } from 'motionary/components/widgets';\n\ndefineTabBar(); // registers <usa-tab-bar>\n\n/* then use it in your HTML:\n<usa-tab-bar indicator=\"pill\">\n <button>Overview</button>\n <button>Specs</button>\n <button>Reviews</button>\n <div data-panel>…</div>\n <div data-panel>…</div>\n <div data-panel>…</div>\n</usa-tab-bar>\n*/",
|
|
9730
9939
|
"requires": [],
|
|
9940
|
+
"tier": "basic",
|
|
9731
9941
|
"prerequisites": null,
|
|
9732
9942
|
"entry": "motionary/widgets/tab-bar",
|
|
9733
9943
|
"stability": "stable",
|
|
@@ -9764,6 +9974,7 @@
|
|
|
9764
9974
|
"example": "<usa-tabs>\n <nav><button data-tab>One</button><button data-tab>Two</button></nav>\n <section data-panel>…</section>\n <section data-panel>…</section>\n</usa-tabs>",
|
|
9765
9975
|
"esm": "import { defineTabs } from 'motionary/components/ui';\n\ndefineTabs(); // registers <usa-tabs>\n\n/* then use it in your HTML:\n<usa-tabs>\n <nav><button data-tab>One</button><button data-tab>Two</button></nav>\n <section data-panel>…</section>\n <section data-panel>…</section>\n</usa-tabs>\n*/",
|
|
9766
9976
|
"requires": [],
|
|
9977
|
+
"tier": "basic",
|
|
9767
9978
|
"prerequisites": null,
|
|
9768
9979
|
"entry": null,
|
|
9769
9980
|
"stability": "stable",
|
|
@@ -9807,6 +10018,7 @@
|
|
|
9807
10018
|
"example": "<usa-terminal title=\"zsh\" theme=\"green\">\n <p data-cmd>npm i motionary</p>\n <p>added 1 package in 2s</p>\n</usa-terminal>",
|
|
9808
10019
|
"esm": "import { defineTerminal } from 'motionary/components/widgets';\n\ndefineTerminal(); // registers <usa-terminal>\n\n/* then use it in your HTML:\n<usa-terminal title=\"zsh\" theme=\"green\">\n <p data-cmd>npm i motionary</p>\n <p>added 1 package in 2s</p>\n</usa-terminal>\n*/",
|
|
9809
10020
|
"requires": [],
|
|
10021
|
+
"tier": "basic",
|
|
9810
10022
|
"prerequisites": null,
|
|
9811
10023
|
"entry": "motionary/widgets/terminal",
|
|
9812
10024
|
"stability": "stable",
|
|
@@ -9845,6 +10057,7 @@
|
|
|
9845
10057
|
"example": "Build <usa-text-rotate words=\"fast|tiny|typed\"></usa-text-rotate> apps",
|
|
9846
10058
|
"esm": "import { defineTextRotate } from 'motionary/components/text';\n\ndefineTextRotate(); // registers <usa-text-rotate>\n\n/* then use it in your HTML:\nBuild <usa-text-rotate words=\"fast|tiny|typed\"></usa-text-rotate> apps\n*/",
|
|
9847
10059
|
"requires": [],
|
|
10060
|
+
"tier": "basic",
|
|
9848
10061
|
"prerequisites": null,
|
|
9849
10062
|
"entry": null,
|
|
9850
10063
|
"stability": "stable",
|
|
@@ -9895,6 +10108,7 @@
|
|
|
9895
10108
|
"requires": [
|
|
9896
10109
|
"text"
|
|
9897
10110
|
],
|
|
10111
|
+
"tier": "basic",
|
|
9898
10112
|
"prerequisites": {
|
|
9899
10113
|
"badge": "Requires: motionary/runtime/text",
|
|
9900
10114
|
"modules": [
|
|
@@ -9945,6 +10159,7 @@
|
|
|
9945
10159
|
"example": "<usa-theme-surface theme=\"glass\">\n <h3>Frosted</h3><p>Content…</p>\n</usa-theme-surface>",
|
|
9946
10160
|
"esm": "import { defineThemeSurface } from 'motionary/components/widgets';\n\ndefineThemeSurface(); // registers <usa-theme-surface>\n\n/* then use it in your HTML:\n<usa-theme-surface theme=\"glass\">\n <h3>Frosted</h3><p>Content…</p>\n</usa-theme-surface>\n*/",
|
|
9947
10161
|
"requires": [],
|
|
10162
|
+
"tier": "basic",
|
|
9948
10163
|
"prerequisites": null,
|
|
9949
10164
|
"entry": "motionary/widgets/theme-surface",
|
|
9950
10165
|
"stability": "stable",
|
|
@@ -9984,6 +10199,7 @@
|
|
|
9984
10199
|
"example": "<usa-theme-switcher themes=\"light,dark,neon,glass,neu\" persist></usa-theme-switcher>",
|
|
9985
10200
|
"esm": "import { defineThemeSwitcher } from 'motionary/components/widgets';\n\ndefineThemeSwitcher(); // registers <usa-theme-switcher>\n\n/* then use it in your HTML:\n<usa-theme-switcher themes=\"light,dark,neon,glass,neu\" persist></usa-theme-switcher>\n*/",
|
|
9986
10201
|
"requires": [],
|
|
10202
|
+
"tier": "basic",
|
|
9987
10203
|
"prerequisites": null,
|
|
9988
10204
|
"entry": "motionary/widgets/theme-switcher",
|
|
9989
10205
|
"stability": "stable",
|
|
@@ -10020,6 +10236,7 @@
|
|
|
10020
10236
|
"example": "<usa-tilt glare max=\"12\">\n <div class=\"card\">…</div>\n</usa-tilt>",
|
|
10021
10237
|
"esm": "import { defineTilt } from 'motionary/components/interaction';\n\ndefineTilt(); // registers <usa-tilt>\n\n/* then use it in your HTML:\n<usa-tilt glare max=\"12\">\n <div class=\"card\">…</div>\n</usa-tilt>\n*/",
|
|
10022
10238
|
"requires": [],
|
|
10239
|
+
"tier": "basic",
|
|
10023
10240
|
"prerequisites": null,
|
|
10024
10241
|
"entry": null,
|
|
10025
10242
|
"stability": "stable",
|
|
@@ -10062,6 +10279,7 @@
|
|
|
10062
10279
|
"example": "<usa-timeline overlap=\"150\">\n <h2 data-tl=\"fade-up\">Title</h2>\n <p data-tl=\"blur\">Subtitle</p>\n <button data-tl=\"scale\" data-at=\"<+=100\">CTA</button>\n</usa-timeline>",
|
|
10063
10280
|
"esm": "import { defineTimeline } from 'motionary/components/timeline';\n\ndefineTimeline(); // registers <usa-timeline>\n\n/* then use it in your HTML:\n<usa-timeline overlap=\"150\">\n <h2 data-tl=\"fade-up\">Title</h2>\n <p data-tl=\"blur\">Subtitle</p>\n <button data-tl=\"scale\" data-at=\"<+=100\">CTA</button>\n</usa-timeline>\n*/",
|
|
10064
10281
|
"requires": [],
|
|
10282
|
+
"tier": "basic",
|
|
10065
10283
|
"prerequisites": null,
|
|
10066
10284
|
"entry": null,
|
|
10067
10285
|
"stability": "stable",
|
|
@@ -10105,6 +10323,7 @@
|
|
|
10105
10323
|
"example": "<usa-tip text=\"Copied to clipboard\" placement=\"top\">\n <button>Copy</button>\n</usa-tip>\n<usa-tip trigger=\"click\" placement=\"bottom\">\n <button>Details</button>\n <div slot=\"tip\"><strong>Pro tip</strong> …</div>\n</usa-tip>",
|
|
10106
10324
|
"esm": "import { defineTip } from 'motionary/components/widgets';\n\ndefineTip(); // registers <usa-tip>\n\n/* then use it in your HTML:\n<usa-tip text=\"Copied to clipboard\" placement=\"top\">\n <button>Copy</button>\n</usa-tip>\n<usa-tip trigger=\"click\" placement=\"bottom\">\n <button>Details</button>\n <div slot=\"tip\"><strong>Pro tip</strong> …</div>\n</usa-tip>\n*/",
|
|
10107
10325
|
"requires": [],
|
|
10326
|
+
"tier": "basic",
|
|
10108
10327
|
"prerequisites": null,
|
|
10109
10328
|
"entry": "motionary/widgets/tip",
|
|
10110
10329
|
"stability": "stable",
|
|
@@ -10147,6 +10366,7 @@
|
|
|
10147
10366
|
"example": "<button data-usa-toast=\"Saved to your library\" data-usa-toast-type=\"success\">Save</button>\n<usa-toast-stack position=\"bottom-right\" duration=\"4000\" max=\"3\"></usa-toast-stack>\n<!-- or from JS: stackToast({ title: 'Done', message: 'Saved', type: 'success' }) -->",
|
|
10148
10367
|
"esm": "import { defineToastStack } from 'motionary/components/widgets';\n\ndefineToastStack(); // registers <usa-toast-stack>\n\n/* then use it in your HTML:\n<button data-usa-toast=\"Saved to your library\" data-usa-toast-type=\"success\">Save</button>\n<usa-toast-stack position=\"bottom-right\" duration=\"4000\" max=\"3\"></usa-toast-stack>\n<!-- or from JS: stackToast({ title: 'Done', message: 'Saved', type: 'success' }) -->\n*/",
|
|
10149
10368
|
"requires": [],
|
|
10369
|
+
"tier": "basic",
|
|
10150
10370
|
"prerequisites": null,
|
|
10151
10371
|
"entry": "motionary/widgets/toast-stack",
|
|
10152
10372
|
"stability": "stable",
|
|
@@ -10183,6 +10403,7 @@
|
|
|
10183
10403
|
"example": "<usa-toaster position=\"bottom-right\"></usa-toaster>\n<script type=\"module\">\n import { toast } from 'motionary/components/feedback';\n toast('Saved', { type: 'success' });\n</script>",
|
|
10184
10404
|
"esm": "import { defineToaster } from 'motionary/components/feedback';\n\ndefineToaster(); // registers <usa-toaster>\n\n/* then use it in your HTML:\n<usa-toaster position=\"bottom-right\"></usa-toaster>\n*/",
|
|
10185
10405
|
"requires": [],
|
|
10406
|
+
"tier": "basic",
|
|
10186
10407
|
"prerequisites": null,
|
|
10187
10408
|
"entry": null,
|
|
10188
10409
|
"stability": "stable",
|
|
@@ -10228,6 +10449,7 @@
|
|
|
10228
10449
|
"example": "<usa-token-editor apply format=\"2025.10\"></usa-token-editor>",
|
|
10229
10450
|
"esm": "import { defineTokenEditor } from 'motionary/components/widgets';\n\ndefineTokenEditor(); // registers <usa-token-editor>\n\n/* then use it in your HTML:\n<usa-token-editor apply format=\"2025.10\"></usa-token-editor>\n*/",
|
|
10230
10451
|
"requires": [],
|
|
10452
|
+
"tier": "basic",
|
|
10231
10453
|
"prerequisites": null,
|
|
10232
10454
|
"entry": "motionary/widgets/token-editor",
|
|
10233
10455
|
"stability": "stable",
|
|
@@ -10267,6 +10489,7 @@
|
|
|
10267
10489
|
"example": "<usa-typewriter words=\"Hello, Windows.|Hello, web.\" loop></usa-typewriter>",
|
|
10268
10490
|
"esm": "import { defineTypewriter } from 'motionary/components/text';\n\ndefineTypewriter(); // registers <usa-typewriter>\n\n/* then use it in your HTML:\n<usa-typewriter words=\"Hello, Windows.|Hello, web.\" loop></usa-typewriter>\n*/",
|
|
10269
10491
|
"requires": [],
|
|
10492
|
+
"tier": "basic",
|
|
10270
10493
|
"prerequisites": null,
|
|
10271
10494
|
"entry": null,
|
|
10272
10495
|
"stability": "stable",
|
|
@@ -10310,6 +10533,7 @@
|
|
|
10310
10533
|
"example": "<usa-upload-progress name=\"report.pdf\" size=\"2400000\" value=\"40\"></usa-upload-progress>\n<script>row.value = 75; row.status = 'error';</script>",
|
|
10311
10534
|
"esm": "import { defineUploadProgress } from 'motionary/components/widgets';\n\ndefineUploadProgress(); // registers <usa-upload-progress>\n\n/* then use it in your HTML:\n<usa-upload-progress name=\"report.pdf\" size=\"2400000\" value=\"40\"></usa-upload-progress>\n*/",
|
|
10312
10535
|
"requires": [],
|
|
10536
|
+
"tier": "basic",
|
|
10313
10537
|
"prerequisites": null,
|
|
10314
10538
|
"entry": "motionary/widgets/upload-progress",
|
|
10315
10539
|
"stability": "stable",
|
|
@@ -10348,6 +10572,7 @@
|
|
|
10348
10572
|
"example": "<usa-video-card duration=\"2:41\">\n <img src=\"poster.jpg\" alt=\"\">\n <video src=\"preview.mp4\" muted playsinline></video>\n <h3>Making of Motionary</h3>\n</usa-video-card>",
|
|
10349
10573
|
"esm": "import { defineVideoCard } from 'motionary/components/widgets';\n\ndefineVideoCard(); // registers <usa-video-card>\n\n/* then use it in your HTML:\n<usa-video-card duration=\"2:41\">\n <img src=\"poster.jpg\" alt=\"\">\n <video src=\"preview.mp4\" muted playsinline></video>\n <h3>Making of Motionary</h3>\n</usa-video-card>\n*/",
|
|
10350
10574
|
"requires": [],
|
|
10575
|
+
"tier": "basic",
|
|
10351
10576
|
"prerequisites": null,
|
|
10352
10577
|
"entry": "motionary/widgets/video-card",
|
|
10353
10578
|
"stability": "stable",
|
|
@@ -10383,6 +10608,7 @@
|
|
|
10383
10608
|
"example": "<usa-view-switch active=\"home\">\n <section data-view=\"home\">…</section>\n <section data-view=\"about\">…</section>\n</usa-view-switch>",
|
|
10384
10609
|
"esm": "import { defineViewSwitch } from 'motionary/components/transitions';\n\ndefineViewSwitch(); // registers <usa-view-switch>\n\n/* then use it in your HTML:\n<usa-view-switch active=\"home\">\n <section data-view=\"home\">…</section>\n <section data-view=\"about\">…</section>\n</usa-view-switch>\n*/",
|
|
10385
10610
|
"requires": [],
|
|
10611
|
+
"tier": "basic",
|
|
10386
10612
|
"prerequisites": null,
|
|
10387
10613
|
"entry": null,
|
|
10388
10614
|
"stability": "stable",
|
|
@@ -10422,6 +10648,7 @@
|
|
|
10422
10648
|
"example": "<usa-voice-button label=\"Talk to the assistant\"></usa-voice-button>\n<script>vb.addEventListener('usa:start', start); analyser.onlevel = (l) => (vb.level = l);</script>",
|
|
10423
10649
|
"esm": "import { defineVoiceButton } from 'motionary/components/widgets';\n\ndefineVoiceButton(); // registers <usa-voice-button>\n\n/* then use it in your HTML:\n<usa-voice-button label=\"Talk to the assistant\"></usa-voice-button>\n*/",
|
|
10424
10650
|
"requires": [],
|
|
10651
|
+
"tier": "basic",
|
|
10425
10652
|
"prerequisites": null,
|
|
10426
10653
|
"entry": "motionary/widgets/voice-button",
|
|
10427
10654
|
"stability": "stable",
|
|
@@ -10461,6 +10688,7 @@
|
|
|
10461
10688
|
"example": "<usa-volume-knob value=\"60\" label=\"Volume\"></usa-volume-knob>",
|
|
10462
10689
|
"esm": "import { defineVolumeKnob } from 'motionary/components/widgets';\n\ndefineVolumeKnob(); // registers <usa-volume-knob>\n\n/* then use it in your HTML:\n<usa-volume-knob value=\"60\" label=\"Volume\"></usa-volume-knob>\n*/",
|
|
10463
10690
|
"requires": [],
|
|
10691
|
+
"tier": "basic",
|
|
10464
10692
|
"prerequisites": null,
|
|
10465
10693
|
"entry": "motionary/widgets/volume-knob",
|
|
10466
10694
|
"stability": "stable",
|
|
@@ -10493,6 +10721,7 @@
|
|
|
10493
10721
|
"example": "<usa-water-ripple>\n <img src=\"lake.jpg\" alt=\"\">\n</usa-water-ripple>",
|
|
10494
10722
|
"esm": "import { defineWaterRipple } from 'motionary/components/background';\n\ndefineWaterRipple(); // registers <usa-water-ripple>\n\n/* then use it in your HTML:\n<usa-water-ripple>\n <img src=\"lake.jpg\" alt=\"\">\n</usa-water-ripple>\n*/",
|
|
10495
10723
|
"requires": [],
|
|
10724
|
+
"tier": "basic",
|
|
10496
10725
|
"prerequisites": null,
|
|
10497
10726
|
"entry": null,
|
|
10498
10727
|
"stability": "stable",
|
|
@@ -10527,6 +10756,7 @@
|
|
|
10527
10756
|
"example": "<usa-wave-text>Loading…</usa-wave-text>",
|
|
10528
10757
|
"esm": "import { defineWaveText } from 'motionary/components/text';\n\ndefineWaveText(); // registers <usa-wave-text>\n\n/* then use it in your HTML:\n<usa-wave-text>Loading…</usa-wave-text>\n*/",
|
|
10529
10758
|
"requires": [],
|
|
10759
|
+
"tier": "basic",
|
|
10530
10760
|
"prerequisites": null,
|
|
10531
10761
|
"entry": null,
|
|
10532
10762
|
"stability": "stable",
|
|
@@ -10566,6 +10796,7 @@
|
|
|
10566
10796
|
"example": "<usa-weather-card condition=\"rain\" temp=\"12\" place=\"Lisbon\"></usa-weather-card>",
|
|
10567
10797
|
"esm": "import { defineWeatherCard } from 'motionary/components/widgets';\n\ndefineWeatherCard(); // registers <usa-weather-card>\n\n/* then use it in your HTML:\n<usa-weather-card condition=\"rain\" temp=\"12\" place=\"Lisbon\"></usa-weather-card>\n*/",
|
|
10568
10798
|
"requires": [],
|
|
10799
|
+
"tier": "basic",
|
|
10569
10800
|
"prerequisites": null,
|
|
10570
10801
|
"entry": "motionary/widgets/weather-card",
|
|
10571
10802
|
"stability": "stable",
|
|
@@ -10604,6 +10835,7 @@
|
|
|
10604
10835
|
"example": "<usa-worker-canvas scene=\"starfield\" style=\"height:240px\"></usa-worker-canvas>",
|
|
10605
10836
|
"esm": "import { defineWorkerCanvas } from 'motionary/components/widgets';\n\ndefineWorkerCanvas(); // registers <usa-worker-canvas>\n\n/* then use it in your HTML:\n<usa-worker-canvas scene=\"starfield\" style=\"height:240px\"></usa-worker-canvas>\n*/",
|
|
10606
10837
|
"requires": [],
|
|
10838
|
+
"tier": "basic",
|
|
10607
10839
|
"prerequisites": null,
|
|
10608
10840
|
"entry": "motionary/widgets/worker-canvas",
|
|
10609
10841
|
"stability": "stable",
|
|
@@ -10646,6 +10878,7 @@
|
|
|
10646
10878
|
"example": "<usa-xp-bar level=\"3\" xp=\"40\" per=\"100\"></usa-xp-bar>\n<script>bar.add(75); // → level 4, 15 XP</script>",
|
|
10647
10879
|
"esm": "import { defineXpBar } from 'motionary/components/widgets';\n\ndefineXpBar(); // registers <usa-xp-bar>\n\n/* then use it in your HTML:\n<usa-xp-bar level=\"3\" xp=\"40\" per=\"100\"></usa-xp-bar>\n*/",
|
|
10648
10880
|
"requires": [],
|
|
10881
|
+
"tier": "basic",
|
|
10649
10882
|
"prerequisites": null,
|
|
10650
10883
|
"entry": "motionary/widgets/xp-bar",
|
|
10651
10884
|
"stability": "stable",
|