motionary 12.9.0 → 13.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +2 -2
- package/CHANGELOG.md +28 -0
- package/README.md +394 -223
- package/README_ja.md +245 -118
- package/README_zh.md +245 -118
- package/bin/public-paths.mjs +3 -0
- package/dist/chunks/{anim-image-D_WUCgp4.cjs → anim-image-Bp-A3hNC.cjs} +2 -2
- package/dist/chunks/{anim-image-KyCg37rY.js → anim-image-DeBvYIDu.js} +2 -2
- package/dist/chunks/{audio-DNNfcWi9.js → audio-BV1YemPb.js} +3 -3
- package/dist/chunks/{audio-BSQmg3MB.cjs → audio-CztPMZ1b.cjs} +3 -3
- package/dist/chunks/{badge-wall-Dg7S7RJn.js → badge-wall-BBAW52s-.js} +2 -2
- package/dist/chunks/{badge-wall-BPbL8OTC.cjs → badge-wall-COxq4-hJ.cjs} +2 -2
- package/dist/chunks/{base-B3me2y0o.cjs → base-BG_mxssu.cjs} +3 -2
- package/dist/chunks/{base-zSGb8ujt.js → base-CBMzOs1k.js} +3 -2
- package/dist/chunks/{bg-generator-U6fomxZX.cjs → bg-generator-Bw0JAZG7.cjs} +2 -2
- package/dist/chunks/{bg-generator-DKX8nt8T.js → bg-generator-CFjnTyP9.js} +2 -2
- package/dist/chunks/bind-B_CTL6Qn.js +1 -1
- package/dist/chunks/bind-Ui43-n2d.cjs +1 -1
- package/dist/chunks/{builtins-Simwbnqg.js → builtins-DINhkShu.js} +3 -3
- package/dist/chunks/{builtins-Cz3iufK6.cjs → builtins-Dk6hr4_C.cjs} +3 -3
- package/dist/chunks/{carousel-BvdFWXZC.cjs → carousel-6UZLhjGL.cjs} +2 -2
- package/dist/chunks/{carousel-C36_TV-w.js → carousel-BQiUPJ6H.js} +2 -2
- package/dist/chunks/{cart-drawer-BRK4G_aL.cjs → cart-drawer-BhHW454c.cjs} +2 -2
- package/dist/chunks/{cart-drawer-BIeW2ITt.js → cart-drawer-DTBLUsXS.js} +2 -2
- package/dist/chunks/{code-export-B6NVzEhx.js → code-export-B_q_hPy8.js} +2 -2
- package/dist/chunks/{code-export-BUcIsaA0.cjs → code-export-CbKPNcnx.cjs} +2 -2
- package/dist/chunks/{color-picker-CZvB7e4m.cjs → color-picker-C17hLqcy.cjs} +3 -3
- package/dist/chunks/{color-picker-6qKpXxrS.js → color-picker-DAAhbpHV.js} +3 -3
- package/dist/chunks/{command-palette-BSTQQK3b.js → command-palette-B-_C5aOb.js} +2 -2
- package/dist/chunks/{command-palette-CNnX1Qlx.cjs → command-palette-CABkONwK.cjs} +2 -2
- package/dist/chunks/{core-BdLFN0RS.cjs → core-Bg5WaRYY.cjs} +2 -2
- package/dist/chunks/core-BjcOCpJt.cjs +1 -1
- package/dist/chunks/{core-BOCM9zD5.js → core-CBU40kLB.js} +2 -2
- package/dist/chunks/{core-BcQb_f91.js → core-D1vhyt2F.js} +2 -2
- package/dist/chunks/{core-KIvPGg0c.cjs → core-DMrg99HN.cjs} +2 -2
- package/dist/chunks/core-Dj6iomdc.js +1 -1
- package/dist/chunks/{countdown-D5fCuduX.cjs → countdown-5kyFj3EA.cjs} +2 -2
- package/dist/chunks/{countdown-CzDT07_X.js → countdown-BWy4-V8Y.js} +2 -2
- package/dist/chunks/{date-picker-DKv1uKYq.js → date-picker-CAreI9C7.js} +2 -2
- package/dist/chunks/{date-picker-DJ5URMsx.cjs → date-picker-V4SjW1_f.cjs} +2 -2
- package/dist/chunks/ease-HwYZnZat.cjs +1 -1
- package/dist/chunks/ease-XN8_0sXu.js +1 -1
- package/dist/chunks/{equalizer-D3iO1wBO.cjs → equalizer-B0fb-kFT.cjs} +2 -2
- package/dist/chunks/{equalizer-C8mel4Mn.js → equalizer-BPS1yV-f.js} +2 -2
- package/dist/chunks/{festival-banner-BYn-HCza.js → festival-banner-CvGwychu.js} +2 -2
- package/dist/chunks/{festival-banner-Dx7QAmxt.cjs → festival-banner-DWCMdZM1.cjs} +2 -2
- package/dist/chunks/{field-CLbSJL_S.cjs → field-D5hYtW6A.cjs} +2 -2
- package/dist/chunks/{field-BlWcKLcW.js → field-iruUHpdy.js} +2 -2
- package/dist/chunks/{fx-BaPAanPW.cjs → fx-aA8nn1zv.cjs} +2 -2
- package/dist/chunks/{fx-DUteojZx.js → fx-tuYvq2Dr.js} +2 -2
- package/dist/chunks/generative-2LhxG5BJ.js +1 -1
- package/dist/chunks/generative-BHIj-NU0.cjs +1 -1
- package/dist/chunks/{gl-scene-BzOKrqVW.cjs → gl-scene-B9QYN-U7.cjs} +3 -3
- package/dist/chunks/{gl-scene-DqFpR0Z7.js → gl-scene-BZnZV6e0.js} +3 -3
- package/dist/chunks/{globe-DDPNdPPD.cjs → globe-BvTRCzBa.cjs} +2 -2
- package/dist/chunks/{globe-6qzMhWwL.js → globe-t8Tz1KrC.js} +2 -2
- package/dist/chunks/{gpu-Dw1udOJW.cjs → gpu-BFYGfLfN.cjs} +2 -2
- package/dist/chunks/{gpu-ML0i9eNv.js → gpu-CxTWIssF.js} +2 -2
- package/dist/chunks/{gpu-particles-Z95SjKpc.cjs → gpu-particles-C4UZX5H4.cjs} +2 -2
- package/dist/chunks/{gpu-particles-Ce1Q_xJk.js → gpu-particles-GxP4a0P6.js} +2 -2
- package/dist/chunks/index-tags-B-JBecYg.js +1 -1
- package/dist/chunks/index-tags-hLIF2Clq.cjs +1 -1
- package/dist/chunks/key-click-BLm3BI8_.js +1 -1
- package/dist/chunks/key-click-v7I4K5Sr.cjs +1 -1
- package/dist/chunks/{keyframes-DbVzmsRL.js → keyframes-B6Ju70i1.js} +2 -2
- package/dist/chunks/{keyframes-cJHH8OjN.cjs → keyframes-DhUhKdn2.cjs} +2 -2
- package/dist/chunks/{leaderboard-ButHN_NI.cjs → leaderboard-D3aXcUrH.cjs} +2 -2
- package/dist/chunks/{leaderboard-PaGjUBdI.js → leaderboard-DqCbNSLV.js} +2 -2
- package/dist/chunks/{location-card-D-jdyQge.js → location-card-BFWhuOvM.js} +2 -2
- package/dist/chunks/{location-card-CLR05EP-.cjs → location-card-D50y0yPP.cjs} +2 -2
- package/dist/chunks/{lottie-icon-1x0omshZ.js → lottie-icon-Cg99YqMK.js} +2 -2
- package/dist/chunks/{lottie-icon-DDKThCMc.cjs → lottie-icon-CiL7TQeN.cjs} +2 -2
- package/dist/chunks/{lottie-player-DGUpDJeC.cjs → lottie-player--_SwVeIS.cjs} +3 -3
- package/dist/chunks/{lottie-player-CHqBhRAB.js → lottie-player-CvGhfdfy.js} +3 -3
- package/dist/chunks/{lyrics-r4Z0TGnm.js → lyrics-BW8Ajj8K.js} +2 -2
- package/dist/chunks/{lyrics-gmFffOvn.cjs → lyrics-CmZKfI0D.cjs} +2 -2
- package/dist/chunks/{manifest-Bcz6rQ20.cjs → manifest-CKtkSVw4.cjs} +2 -2
- package/dist/chunks/{manifest-pFJWahGJ.js → manifest-CQUlazDF.js} +2 -2
- package/dist/chunks/{menu-BTGBkd2U.js → menu-2qfS--b1.js} +2 -2
- package/dist/chunks/{menu-BgO53POm.cjs → menu-BDG5gcER.cjs} +2 -2
- package/dist/chunks/{menu-toggle-BJEK8BJD.cjs → menu-toggle-934mf8c-.cjs} +3 -3
- package/dist/chunks/{menu-toggle-Dch8f2GK.js → menu-toggle-DuXU6-hH.js} +3 -3
- package/dist/chunks/{nav-morph-BlfdTr2-.js → nav-morph-Bc0SfHn9.js} +2 -2
- package/dist/chunks/{nav-morph-DvE3FgWw.cjs → nav-morph-DeVvWJm-.cjs} +2 -2
- package/dist/chunks/{otp-B1_JY5KD.cjs → otp-C0PpgU4T.cjs} +2 -2
- package/dist/chunks/{otp-Dxw6l5CL.js → otp-CwhyPG7i.js} +2 -2
- package/dist/chunks/{pagination-C5bamOI4.cjs → pagination-4NCqUPrX.cjs} +3 -3
- package/dist/chunks/{pagination-CFOc73i-.js → pagination-D7C1zFvF.js} +3 -3
- package/dist/chunks/{physics-playground-C5K776AL.cjs → physics-playground-C8Dp1VZo.cjs} +4 -4
- package/dist/chunks/{physics-playground-DHO_tLsW.js → physics-playground-Dfb6XJrk.js} +4 -4
- package/dist/chunks/{player-B7QRAdUN.cjs → player-BNOKDUw-.cjs} +4 -4
- package/dist/chunks/{player-BA50IpKZ.js → player-DtLIUxwJ.js} +4 -4
- package/dist/chunks/{presence-230b12uw.cjs → presence-CwaD7bup.cjs} +2 -2
- package/dist/chunks/{presence-CPc3nH2E.js → presence-DRGK2bwc.js} +2 -2
- package/dist/chunks/presets-BYBVJVeP.js +1 -1
- package/dist/chunks/presets-CUHys3sK.cjs +1 -1
- package/dist/chunks/{prize-wheel-CYEPyee6.cjs → prize-wheel-Cl48woXn.cjs} +2 -2
- package/dist/chunks/{prize-wheel-ClMtfLVa.js → prize-wheel-DtR0WMqK.js} +2 -2
- package/dist/chunks/{product-gallery-mML9zLXE.cjs → product-gallery-C3q6aoVe.cjs} +2 -2
- package/dist/chunks/{product-gallery-DlVGui98.js → product-gallery-s0Mojkcm.js} +2 -2
- package/dist/chunks/{progress-ring-C8OHcD1x.cjs → progress-ring-B8Ytgw_Q.cjs} +2 -2
- package/dist/chunks/{progress-ring-u5QwkDUc.js → progress-ring-Q1yoAUrU.js} +2 -2
- package/dist/chunks/{prop-panel-CYTkWP9Y.js → prop-panel-BoejVIkT.js} +2 -2
- package/dist/chunks/{prop-panel-B4SaLelu.cjs → prop-panel-CLYoy2fY.cjs} +2 -2
- package/dist/chunks/{radar-BWjX0-2G.cjs → radar-B0f-lKWX.cjs} +2 -2
- package/dist/chunks/{radar-B7ZGs9Ca.js → radar-BAfz6Y20.js} +2 -2
- package/dist/chunks/{reactions-BTTEhsnZ.js → reactions-CAMzdddC.js} +2 -2
- package/dist/chunks/{reactions-D2QL8ezS.cjs → reactions-Dfadd7FC.cjs} +2 -2
- package/dist/chunks/{registry-CYojuxi5.js → registry-4UDF3Dpk.js} +2 -2
- package/dist/chunks/{registry-D3VGJOuX.js → registry-BgdHqx0s.js} +3 -3
- package/dist/chunks/{registry-VKfDCYYI.cjs → registry-D3N8O2Nc.cjs} +3 -3
- package/dist/chunks/{registry-BB1oO-lR.cjs → registry-LE5iyTqw.cjs} +2 -2
- package/dist/chunks/{retro-button-CiVnwK4T.js → retro-button-DPOGCNEB.js} +2 -2
- package/dist/chunks/{retro-button-CqLmeF6H.cjs → retro-button-oiGvtRdV.cjs} +2 -2
- package/dist/chunks/{rive-CtYlVrH0.js → rive-BiqV3D2R.js} +2 -2
- package/dist/chunks/{rive-CfWKBIa5.cjs → rive-D2POjYyT.cjs} +2 -2
- package/dist/chunks/{runtime-link-CyExCzuU.cjs → runtime-link-6mNrr9AF.cjs} +3 -3
- package/dist/chunks/{runtime-link-CvJOTQYQ.js → runtime-link-yprBSd9n.js} +3 -3
- package/dist/chunks/scroll-driven-CQbwzCdn.cjs +1 -1
- package/dist/chunks/scroll-driven-LghshrWq.js +1 -1
- package/dist/chunks/{scroll-scene-CFHW9iRD.cjs → scroll-scene-C34tV2yS.cjs} +4 -4
- package/dist/chunks/{scroll-scene-BuR-Rq0p.js → scroll-scene-DMfol8B-.js} +4 -4
- package/dist/chunks/{segmented-omNqJ1vK.cjs → segmented-Bs0lNncg.cjs} +2 -2
- package/dist/chunks/{segmented-BEuxQKN8.js → segmented-DnGy8Aw_.js} +2 -2
- package/dist/chunks/{shader-backdrop-jJaiqu2T.js → shader-backdrop-CQBsDITY.js} +2 -2
- package/dist/chunks/{shader-backdrop-Tnlj5ag3.cjs → shader-backdrop-Df_2GJFz.cjs} +2 -2
- 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-BfH5vWIW.cjs → sheet-6Vp7Yox1.cjs} +40 -17
- package/dist/chunks/{sheet-BHvZA7rD.js → sheet-CAItJBXn.js} +40 -17
- package/dist/chunks/sign-DvZ1jHxE.js +1 -1
- package/dist/chunks/sign-RAkQIWrM.cjs +1 -1
- package/dist/chunks/{skeleton-reveal-Dwm8Z6Iv.js → skeleton-reveal-CNr6jhZN.js} +2 -2
- package/dist/chunks/{skeleton-reveal-n4L3iur-.cjs → skeleton-reveal-DH7sd6uV.cjs} +2 -2
- package/dist/chunks/{sparkline-BtSW-HY0.js → sparkline-MRwlHeWm.js} +2 -2
- package/dist/chunks/{sparkline-DZiGHCOf.cjs → sparkline-we35dC6w.cjs} +2 -2
- package/dist/chunks/{spring-CznnvQCN.js → spring-2YZXQmr7.js} +2 -2
- package/dist/chunks/{spring-DcM7pQgx.cjs → spring-CibVO2Tk.cjs} +2 -2
- package/dist/chunks/stagger-B9sKPwQB.js +1 -1
- package/dist/chunks/stagger-DFKwqOQG.cjs +1 -1
- package/dist/chunks/{suggestion-chips-BVt6aSMC.cjs → suggestion-chips-DIzEGoUE.cjs} +2 -2
- package/dist/chunks/{suggestion-chips-CtgmWPtH.js → suggestion-chips-DWViXX9m.js} +2 -2
- package/dist/chunks/{switch-BKhvELnx.cjs → switch-DSzo6hVT.cjs} +3 -3
- package/dist/chunks/{switch-CZCdSuCz.js → switch-iQNaYTQB.js} +3 -3
- package/dist/chunks/{tab-bar-B3ucWWMl.cjs → tab-bar-DZtJO0Ge.cjs} +2 -2
- package/dist/chunks/{tab-bar-2d1734DE.js → tab-bar-DzSapgXH.js} +2 -2
- package/dist/chunks/{ticker-Bx4j1lSk.cjs → ticker-D73Bn74b.cjs} +2 -2
- package/dist/chunks/{ticker-vWmxVVge.js → ticker-vHgAp_Uz.js} +2 -2
- package/dist/chunks/{tip-r4VuAjSI.js → tip-Cg4VdOV4.js} +2 -2
- package/dist/chunks/{tip-BQwC2KtE.cjs → tip-CoXfHx5J.cjs} +2 -2
- package/dist/chunks/{toast-stack-DfFjAKGz.cjs → toast-stack-B0YJ93dM.cjs} +4 -4
- package/dist/chunks/{toast-stack-D3zrI7U6.js → toast-stack-DZ5XkmO_.js} +4 -4
- package/dist/chunks/{tween-DhlovBgd.js → tween-BtX9Wj7P.js} +2 -2
- package/dist/chunks/{tween-DjySqWFm.cjs → tween-CO_7OEFf.cjs} +2 -2
- package/dist/chunks/{upload-progress-DmywVhec.cjs → upload-progress-Bv5i3ebk.cjs} +2 -2
- package/dist/chunks/{upload-progress-CkfDSMr-.js → upload-progress-CZbedTLC.js} +2 -2
- package/dist/chunks/{variants-DRi3tBJf.js → variants-B8gnRVha.js} +2 -2
- package/dist/chunks/{variants-cVfgIaXa.cjs → variants-D7gblATl.cjs} +2 -2
- package/dist/chunks/{voice-button-DVovZYBR.js → voice-button-BEibeass.js} +2 -2
- package/dist/chunks/{voice-button-CZ5cpeWN.cjs → voice-button-DfDRNgmG.cjs} +2 -2
- package/dist/chunks/{weather-card-pF9sSKuI.js → weather-card-BO_6E5OV.js} +2 -2
- package/dist/chunks/{weather-card-DCzxr5T4.cjs → weather-card-DodZfOsv.cjs} +2 -2
- package/dist/chunks/{worker-canvas-CDc2aIKC.cjs → worker-canvas-Bqsw_Fym.cjs} +2 -2
- package/dist/chunks/{worker-canvas-Hl3quLAh.js → worker-canvas-D2TU72M8.js} +2 -2
- package/dist/chunks/{xp-bar-D4Yq5Dpv.cjs → xp-bar-CUHPolzJ.cjs} +2 -2
- package/dist/chunks/{xp-bar-j1FsL32r.js → xp-bar-CsASrTkD.js} +2 -2
- package/dist/components/a11y.cjs +2 -2
- package/dist/components/a11y.js +3 -3
- package/dist/components/ai.cjs +1 -1
- package/dist/components/ai.js +1 -1
- package/dist/components/angular.cjs +10 -10
- package/dist/components/angular.d.cts +1 -1
- package/dist/components/angular.d.ts +1 -1
- package/dist/components/angular.js +10 -10
- package/dist/components/background.cjs +3 -3
- package/dist/components/background.js +3 -3
- package/dist/components/bridge.cjs +2 -2
- package/dist/components/bridge.js +2 -2
- package/dist/components/cards.cjs +4 -4
- package/dist/components/cards.js +4 -4
- package/dist/components/click.cjs +4 -4
- package/dist/components/click.js +4 -4
- package/dist/components/core.cjs +1 -1
- package/dist/components/core.js +1 -1
- package/dist/components/depth.cjs +4 -4
- package/dist/components/depth.js +4 -4
- package/dist/components/design.cjs +5 -5
- package/dist/components/design.d.cts +1 -1
- package/dist/components/design.d.ts +1 -1
- package/dist/components/design.js +5 -5
- package/dist/components/dotlottie.cjs +5 -5
- package/dist/components/dotlottie.js +5 -5
- package/dist/components/dsl.cjs +3 -3
- package/dist/components/dsl.js +3 -3
- package/dist/components/effects.cjs +8 -8
- package/dist/components/effects.js +10 -10
- package/dist/components/engine.cjs +3 -3
- package/dist/components/engine.js +4 -4
- package/dist/components/feedback.cjs +2 -2
- package/dist/components/feedback.js +2 -2
- package/dist/components/fx-3d.cjs +3 -3
- package/dist/components/fx-3d.js +3 -3
- package/dist/components/fx-ai.cjs +3 -3
- package/dist/components/fx-ai.js +3 -3
- package/dist/components/fx-chart.cjs +3 -3
- package/dist/components/fx-chart.js +3 -3
- package/dist/components/fx-cinema.cjs +3 -3
- package/dist/components/fx-cinema.js +3 -3
- package/dist/components/fx-cyber.cjs +3 -3
- package/dist/components/fx-cyber.js +3 -3
- package/dist/components/fx-festival.cjs +3 -3
- package/dist/components/fx-festival.js +3 -3
- package/dist/components/fx-focus.cjs +3 -3
- package/dist/components/fx-focus.js +3 -3
- package/dist/components/fx-form.cjs +3 -3
- package/dist/components/fx-form.js +3 -3
- package/dist/components/fx-game.cjs +3 -3
- package/dist/components/fx-game.js +3 -3
- package/dist/components/fx-genart.cjs +3 -3
- package/dist/components/fx-genart.js +3 -3
- package/dist/components/fx-geo.cjs +3 -3
- package/dist/components/fx-geo.js +3 -3
- package/dist/components/fx-gesture.cjs +3 -3
- package/dist/components/fx-gesture.js +3 -3
- package/dist/components/fx-gpu.cjs +4 -4
- package/dist/components/fx-gpu.js +4 -4
- package/dist/components/fx-light.cjs +3 -3
- package/dist/components/fx-light.js +3 -3
- package/dist/components/fx-lottie.cjs +3 -3
- package/dist/components/fx-lottie.js +3 -3
- package/dist/components/fx-morph.cjs +3 -3
- package/dist/components/fx-morph.js +3 -3
- package/dist/components/fx-music.cjs +4 -4
- package/dist/components/fx-music.js +4 -4
- package/dist/components/fx-organic.cjs +3 -3
- package/dist/components/fx-organic.js +3 -3
- package/dist/components/fx-paper.cjs +3 -3
- package/dist/components/fx-paper.js +3 -3
- package/dist/components/fx-perf.cjs +3 -3
- package/dist/components/fx-perf.js +3 -3
- package/dist/components/fx-physics.cjs +3 -3
- package/dist/components/fx-physics.js +3 -3
- package/dist/components/fx-retro.cjs +3 -3
- package/dist/components/fx-retro.js +3 -3
- package/dist/components/fx-safe.cjs +3 -3
- package/dist/components/fx-safe.js +3 -3
- package/dist/components/fx-shop.cjs +3 -3
- package/dist/components/fx-shop.js +3 -3
- package/dist/components/fx-social.cjs +3 -3
- package/dist/components/fx-social.js +3 -3
- package/dist/components/fx-spatial.cjs +3 -3
- package/dist/components/fx-spatial.js +3 -3
- package/dist/components/fx-surface.cjs +3 -3
- package/dist/components/fx-surface.js +3 -3
- package/dist/components/fx-text.cjs +3 -3
- package/dist/components/fx-text.js +3 -3
- package/dist/components/fx-transitions.cjs +4 -4
- package/dist/components/fx-transitions.js +4 -4
- package/dist/components/fx-video.cjs +3 -3
- package/dist/components/fx-video.js +3 -3
- package/dist/components/fx-weather.cjs +3 -3
- package/dist/components/fx-weather.js +3 -3
- package/dist/components/fx.cjs +6 -6
- package/dist/components/fx.js +7 -7
- package/dist/components/fx2.cjs +6 -6
- package/dist/components/fx2.js +7 -7
- package/dist/components/gesture.cjs +4 -4
- package/dist/components/gesture.js +5 -5
- package/dist/components/gl-model.cjs +5 -5
- package/dist/components/gl-model.js +5 -5
- package/dist/components/interaction.cjs +2 -2
- package/dist/components/interaction.js +2 -2
- package/dist/components/jsx.cjs +1 -1
- package/dist/components/jsx.js +1 -1
- package/dist/components/layout.cjs +2 -2
- package/dist/components/layout.js +2 -2
- package/dist/components/lazy.cjs +1 -1
- package/dist/components/lazy.js +1 -1
- package/dist/components/lite.cjs +9 -8
- package/dist/components/lite.js +9 -8
- package/dist/components/marketplace.cjs +4 -4
- package/dist/components/marketplace.js +5 -5
- package/dist/components/native.cjs +4 -4
- package/dist/components/native.js +4 -4
- package/dist/components/packs.cjs +3 -3
- package/dist/components/packs.js +3 -3
- package/dist/components/page.cjs +3 -3
- package/dist/components/page.js +4 -4
- package/dist/components/perf.cjs +2 -2
- package/dist/components/perf.js +3 -3
- package/dist/components/physics.cjs +3 -3
- package/dist/components/physics.js +4 -4
- package/dist/components/plugins.cjs +5 -5
- package/dist/components/plugins.js +5 -5
- package/dist/components/react.cjs +1 -1
- package/dist/components/react.js +1 -1
- package/dist/components/reveal.cjs +2 -2
- package/dist/components/reveal.js +2 -2
- package/dist/components/snap-carousel.cjs +4 -4
- package/dist/components/snap-carousel.js +4 -4
- package/dist/components/solid.cjs +9 -9
- package/dist/components/solid.js +9 -9
- package/dist/components/svelte.cjs +9 -9
- package/dist/components/svelte.js +9 -9
- package/dist/components/svg.cjs +2 -2
- package/dist/components/svg.js +2 -2
- package/dist/components/text.cjs +3 -3
- package/dist/components/text.js +3 -3
- package/dist/components/timeline.cjs +3 -3
- package/dist/components/timeline.js +4 -4
- package/dist/components/tokens.cjs +1 -1
- package/dist/components/tokens.js +1 -1
- package/dist/components/transitions.cjs +2 -2
- package/dist/components/transitions.js +2 -2
- package/dist/components/ui.cjs +8 -8
- package/dist/components/ui.js +9 -9
- package/dist/components/vue.cjs +9 -9
- package/dist/components/vue.js +9 -9
- package/dist/components/webgl.cjs +2 -2
- package/dist/components/webgl.js +2 -2
- package/dist/components/widgets.cjs +62 -62
- package/dist/components/widgets.d.cts +4 -3
- package/dist/components/widgets.d.ts +4 -3
- package/dist/components/widgets.js +111 -111
- package/dist/components.cjs +9 -9
- package/dist/components.js +11 -11
- package/dist/components.umd.js +2 -2
- package/dist/effects/achievement-unlock.cjs +3 -3
- package/dist/effects/achievement-unlock.js +3 -3
- package/dist/effects/aurora-veil.cjs +3 -3
- package/dist/effects/aurora-veil.js +3 -3
- package/dist/effects/badge-pop.cjs +3 -3
- package/dist/effects/badge-pop.js +3 -3
- package/dist/effects/bars-grow.cjs +3 -3
- package/dist/effects/bars-grow.js +3 -3
- package/dist/effects/beat-bounce.cjs +4 -4
- package/dist/effects/beat-bounce.js +4 -4
- package/dist/effects/blob-button.cjs +3 -3
- package/dist/effects/blob-button.js +3 -3
- package/dist/effects/bloom.cjs +3 -3
- package/dist/effects/bloom.js +3 -3
- package/dist/effects/breathe.cjs +3 -3
- package/dist/effects/breathe.js +3 -3
- package/dist/effects/brushed-metal.cjs +3 -3
- package/dist/effects/brushed-metal.js +3 -3
- package/dist/effects/camera-dolly.cjs +3 -3
- package/dist/effects/camera-dolly.js +3 -3
- package/dist/effects/card-flip-3d.cjs +3 -3
- package/dist/effects/card-flip-3d.js +3 -3
- package/dist/effects/chest-open.cjs +3 -3
- package/dist/effects/chest-open.js +3 -3
- package/dist/effects/cloth.cjs +3 -3
- package/dist/effects/cloth.js +3 -3
- package/dist/effects/coin-burst.cjs +3 -3
- package/dist/effects/coin-burst.js +3 -3
- package/dist/effects/color-pulse.cjs +3 -3
- package/dist/effects/color-pulse.js +3 -3
- package/dist/effects/crt-power.cjs +3 -3
- package/dist/effects/crt-power.js +3 -3
- package/dist/effects/crumple.cjs +3 -3
- package/dist/effects/crumple.js +3 -3
- package/dist/effects/data-decode.cjs +3 -3
- package/dist/effects/data-decode.js +3 -3
- package/dist/effects/day-cycle.cjs +3 -3
- package/dist/effects/day-cycle.js +3 -3
- package/dist/effects/depth-in.cjs +3 -3
- package/dist/effects/depth-in.js +3 -3
- package/dist/effects/depth-pop.cjs +3 -3
- package/dist/effects/depth-pop.js +3 -3
- package/dist/effects/depth-stack.cjs +3 -3
- package/dist/effects/depth-stack.js +3 -3
- package/dist/effects/dolly-in.cjs +3 -3
- package/dist/effects/dolly-in.js +3 -3
- package/dist/effects/dots-pop.cjs +3 -3
- package/dist/effects/dots-pop.js +3 -3
- package/dist/effects/field-shake.cjs +3 -3
- package/dist/effects/field-shake.js +3 -3
- package/dist/effects/field-success.cjs +3 -3
- package/dist/effects/field-success.js +3 -3
- package/dist/effects/film-burn.cjs +3 -3
- package/dist/effects/film-burn.js +3 -3
- package/dist/effects/fire.cjs +4 -4
- package/dist/effects/fire.js +4 -4
- package/dist/effects/fireflies.cjs +4 -4
- package/dist/effects/fireflies.js +4 -4
- package/dist/effects/firework-burst.cjs +3 -3
- package/dist/effects/firework-burst.js +3 -3
- package/dist/effects/flip-chars.cjs +3 -3
- package/dist/effects/flip-chars.js +3 -3
- package/dist/effects/fluid.cjs +4 -4
- package/dist/effects/fluid.js +4 -4
- package/dist/effects/fly-to-cart.cjs +3 -3
- package/dist/effects/fly-to-cart.js +3 -3
- package/dist/effects/focus-draw.cjs +3 -3
- package/dist/effects/focus-draw.js +3 -3
- package/dist/effects/focus-glow.cjs +3 -3
- package/dist/effects/focus-glow.js +3 -3
- package/dist/effects/fog.cjs +3 -3
- package/dist/effects/fog.js +3 -3
- package/dist/effects/font-breathe.cjs +3 -3
- package/dist/effects/font-breathe.js +3 -3
- package/dist/effects/form-cascade.cjs +3 -3
- package/dist/effects/form-cascade.js +3 -3
- package/dist/effects/gen-skeleton.cjs +3 -3
- package/dist/effects/gen-skeleton.js +3 -3
- package/dist/effects/glass-frost.cjs +3 -3
- package/dist/effects/glass-frost.js +3 -3
- package/dist/effects/glitch-text.cjs +3 -3
- package/dist/effects/glitch-text.js +3 -3
- package/dist/effects/globe-spin.cjs +3 -3
- package/dist/effects/globe-spin.js +3 -3
- package/dist/effects/god-rays.cjs +3 -3
- package/dist/effects/god-rays.js +3 -3
- package/dist/effects/gpu-lift.cjs +3 -3
- package/dist/effects/gpu-lift.js +3 -3
- package/dist/effects/grain-flicker.cjs +3 -3
- package/dist/effects/grain-flicker.js +3 -3
- package/dist/effects/halftone-in.cjs +3 -3
- package/dist/effects/halftone-in.js +3 -3
- package/dist/effects/highlight-sweep.cjs +3 -3
- package/dist/effects/highlight-sweep.js +3 -3
- package/dist/effects/hologram.cjs +3 -3
- package/dist/effects/hologram.js +3 -3
- package/dist/effects/hud-frame.cjs +3 -3
- package/dist/effects/hud-frame.js +3 -3
- package/dist/effects/icon-pop.cjs +3 -3
- package/dist/effects/icon-pop.js +3 -3
- package/dist/effects/icon-swap.cjs +3 -3
- package/dist/effects/icon-swap.js +3 -3
- package/dist/effects/idle-reveal.cjs +3 -3
- package/dist/effects/idle-reveal.js +3 -3
- package/dist/effects/ink.cjs +4 -4
- package/dist/effects/ink.js +4 -4
- package/dist/effects/jump-cut.cjs +3 -3
- package/dist/effects/jump-cut.js +3 -3
- package/dist/effects/kaleido.cjs +3 -3
- package/dist/effects/kaleido.js +3 -3
- package/dist/effects/label-float.cjs +3 -3
- package/dist/effects/label-float.js +3 -3
- package/dist/effects/lantern-rise.cjs +3 -3
- package/dist/effects/lantern-rise.js +3 -3
- package/dist/effects/leaves.cjs +4 -4
- package/dist/effects/leaves.js +4 -4
- package/dist/effects/letterbox.cjs +3 -3
- package/dist/effects/letterbox.js +3 -3
- package/dist/effects/level-up.cjs +3 -3
- package/dist/effects/level-up.js +3 -3
- package/dist/effects/light-follow.cjs +3 -3
- package/dist/effects/light-follow.js +3 -3
- package/dist/effects/lightning.cjs +3 -3
- package/dist/effects/lightning.js +3 -3
- package/dist/effects/line-draw.cjs +3 -3
- package/dist/effects/line-draw.js +3 -3
- package/dist/effects/liquid-text.cjs +3 -3
- package/dist/effects/liquid-text.js +3 -3
- package/dist/effects/liquid-wipe.cjs +3 -3
- package/dist/effects/liquid-wipe.js +3 -3
- package/dist/effects/lottie-play.cjs +3 -3
- package/dist/effects/lottie-play.js +3 -3
- package/dist/effects/magnet.cjs +3 -3
- package/dist/effects/magnet.js +3 -3
- package/dist/effects/marching-ants.cjs +3 -3
- package/dist/effects/marching-ants.js +3 -3
- package/dist/effects/marker-pulse.cjs +3 -3
- package/dist/effects/marker-pulse.js +3 -3
- package/dist/effects/mention-glow.cjs +3 -3
- package/dist/effects/mention-glow.js +3 -3
- package/dist/effects/mesh-drift.cjs +3 -3
- package/dist/effects/mesh-drift.js +3 -3
- package/dist/effects/message-in.cjs +3 -3
- package/dist/effects/message-in.js +3 -3
- package/dist/effects/mosaic-flip.cjs +3 -3
- package/dist/effects/mosaic-flip.js +3 -3
- package/dist/effects/neon-ignite.cjs +3 -3
- package/dist/effects/neon-ignite.js +3 -3
- package/dist/effects/neon-pulse.cjs +3 -3
- package/dist/effects/neon-pulse.js +3 -3
- package/dist/effects/neon-write.cjs +3 -3
- package/dist/effects/neon-write.js +3 -3
- package/dist/effects/neu-press.cjs +3 -3
- package/dist/effects/neu-press.js +3 -3
- package/dist/effects/noise-reveal.cjs +3 -3
- package/dist/effects/noise-reveal.js +3 -3
- package/dist/effects/number-roll.cjs +3 -3
- package/dist/effects/number-roll.js +3 -3
- package/dist/effects/orbit-camera.cjs +3 -3
- package/dist/effects/orbit-camera.js +3 -3
- package/dist/effects/orbit-in.cjs +3 -3
- package/dist/effects/orbit-in.js +3 -3
- package/dist/effects/origami.cjs +3 -3
- package/dist/effects/origami.js +3 -3
- package/dist/effects/page-curl.cjs +3 -3
- package/dist/effects/page-curl.js +3 -3
- package/dist/effects/pan-reveal.cjs +3 -3
- package/dist/effects/pan-reveal.js +3 -3
- package/dist/effects/paper-unfold.cjs +3 -3
- package/dist/effects/paper-unfold.js +3 -3
- package/dist/effects/particle-text.cjs +3 -3
- package/dist/effects/particle-text.js +3 -3
- package/dist/effects/path-morph.cjs +3 -3
- package/dist/effects/path-morph.js +3 -3
- package/dist/effects/pearlescent.cjs +3 -3
- package/dist/effects/pearlescent.js +3 -3
- package/dist/effects/pencil-sketch.cjs +3 -3
- package/dist/effects/pencil-sketch.js +3 -3
- package/dist/effects/pin-drop.cjs +3 -3
- package/dist/effects/pin-drop.js +3 -3
- package/dist/effects/pinball.cjs +3 -3
- package/dist/effects/pinball.js +3 -3
- package/dist/effects/pinch-hint.cjs +3 -3
- package/dist/effects/pinch-hint.js +3 -3
- package/dist/effects/pixelate-in.cjs +3 -3
- package/dist/effects/pixelate-in.js +3 -3
- package/dist/effects/pointer-shadow.cjs +3 -3
- package/dist/effects/pointer-shadow.js +3 -3
- package/dist/effects/portal-open.cjs +3 -3
- package/dist/effects/portal-open.js +3 -3
- package/dist/effects/price-flip.cjs +3 -3
- package/dist/effects/price-flip.js +3 -3
- package/dist/effects/product-spin.cjs +3 -3
- package/dist/effects/product-spin.js +3 -3
- package/dist/effects/rack-focus.cjs +3 -3
- package/dist/effects/rack-focus.js +3 -3
- package/dist/effects/radial-spectrum.cjs +4 -4
- package/dist/effects/radial-spectrum.js +4 -4
- package/dist/effects/rain-glass.cjs +3 -3
- package/dist/effects/rain-glass.js +3 -3
- package/dist/effects/reaction-burst.cjs +3 -3
- package/dist/effects/reaction-burst.js +3 -3
- package/dist/effects/read-receipt.cjs +3 -3
- package/dist/effects/read-receipt.js +3 -3
- package/dist/effects/refraction.cjs +3 -3
- package/dist/effects/refraction.js +3 -3
- package/dist/effects/ring-sweep.cjs +3 -3
- package/dist/effects/ring-sweep.js +3 -3
- package/dist/effects/ripple-dissolve.cjs +3 -3
- package/dist/effects/ripple-dissolve.js +3 -3
- package/dist/effects/rope.cjs +3 -3
- package/dist/effects/rope.js +3 -3
- package/dist/effects/route-draw.cjs +3 -3
- package/dist/effects/route-draw.js +3 -3
- package/dist/effects/safe-fade.cjs +3 -3
- package/dist/effects/safe-fade.js +3 -3
- package/dist/effects/sakura.cjs +4 -4
- package/dist/effects/sakura.js +4 -4
- package/dist/effects/sale-shine.cjs +3 -3
- package/dist/effects/sale-shine.js +3 -3
- package/dist/effects/sankey-flow.cjs +3 -3
- package/dist/effects/sankey-flow.js +3 -3
- package/dist/effects/scanline-sweep.cjs +3 -3
- package/dist/effects/scanline-sweep.js +3 -3
- package/dist/effects/shatter.cjs +3 -3
- package/dist/effects/shatter.js +3 -3
- package/dist/effects/smoke.cjs +4 -4
- package/dist/effects/smoke.js +4 -4
- package/dist/effects/snowfall.cjs +3 -3
- package/dist/effects/snowfall.js +3 -3
- package/dist/effects/soft-body.cjs +3 -3
- package/dist/effects/soft-body.js +3 -3
- package/dist/effects/sound-particles.cjs +4 -4
- package/dist/effects/sound-particles.js +4 -4
- package/dist/effects/spatial-float.cjs +3 -3
- package/dist/effects/spatial-float.js +3 -3
- package/dist/effects/spectrum-mirror.cjs +4 -4
- package/dist/effects/spectrum-mirror.js +4 -4
- package/dist/effects/splash.cjs +4 -4
- package/dist/effects/splash.js +4 -4
- package/dist/effects/spooky-float.cjs +3 -3
- package/dist/effects/spooky-float.js +3 -3
- package/dist/effects/stock-pulse.cjs +3 -3
- package/dist/effects/stock-pulse.js +3 -3
- package/dist/effects/stream-text.cjs +3 -3
- package/dist/effects/stream-text.js +3 -3
- package/dist/effects/stroke-draw.cjs +3 -3
- package/dist/effects/stroke-draw.js +3 -3
- package/dist/effects/success-check.cjs +3 -3
- package/dist/effects/success-check.js +3 -3
- package/dist/effects/swipe-hint.cjs +3 -3
- package/dist/effects/swipe-hint.js +3 -3
- package/dist/effects/text-trail.cjs +3 -3
- package/dist/effects/text-trail.js +3 -3
- package/dist/effects/thinking-glow.cjs +3 -3
- package/dist/effects/thinking-glow.js +3 -3
- package/dist/effects/tilt-wobble.cjs +3 -3
- package/dist/effects/tilt-wobble.js +3 -3
- package/dist/effects/typing-dots.cjs +3 -3
- package/dist/effects/typing-dots.js +3 -3
- package/dist/effects/underline-sweep.cjs +3 -3
- package/dist/effects/underline-sweep.js +3 -3
- package/dist/effects/vhs-glitch.cjs +3 -3
- package/dist/effects/vhs-glitch.js +3 -3
- package/dist/effects/vine-grow.cjs +3 -3
- package/dist/effects/vine-grow.js +3 -3
- package/dist/effects/vinyl-spin.cjs +4 -4
- package/dist/effects/vinyl-spin.js +4 -4
- package/dist/effects/voice-wave.cjs +3 -3
- package/dist/effects/voice-wave.js +3 -3
- package/dist/effects/water-drop.cjs +3 -3
- package/dist/effects/water-drop.js +3 -3
- package/dist/effects/watercolor.cjs +3 -3
- package/dist/effects/watercolor.js +3 -3
- package/dist/effects/waveform-scope.cjs +4 -4
- package/dist/effects/waveform-scope.js +4 -4
- package/dist/effects/xmas-snow.cjs +3 -3
- package/dist/effects/xmas-snow.js +3 -3
- package/dist/effects/xp-gain.cjs +3 -3
- package/dist/effects/xp-gain.js +3 -3
- package/dist/effects/y2k-shine.cjs +3 -3
- package/dist/effects/y2k-shine.js +3 -3
- package/dist/element.cjs +1 -1
- package/dist/element.js +1 -1
- package/dist/element.umd.js +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.js +3 -3
- package/dist/index.umd.js +1 -1
- package/dist/llms-full.txt +306 -300
- package/dist/llms.txt +2 -2
- package/dist/manifest.json +308 -279
- package/dist/presets/extended.cjs +1 -1
- package/dist/presets/extended.js +1 -1
- package/dist/presets-extended.umd.js +1 -1
- package/dist/react.cjs +1 -1
- package/dist/react.js +1 -1
- package/dist/runtime/drag-snap.cjs +2 -2
- package/dist/runtime/drag-snap.iife.js +1 -1
- package/dist/runtime/drag-snap.js +2 -2
- package/dist/runtime/format-apng.cjs +5 -5
- package/dist/runtime/format-apng.iife.js +1 -1
- package/dist/runtime/format-apng.js +5 -5
- package/dist/runtime/format-css.cjs +5 -5
- package/dist/runtime/format-css.iife.js +1 -1
- package/dist/runtime/format-css.js +5 -5
- package/dist/runtime/format-gif.cjs +5 -5
- package/dist/runtime/format-gif.iife.js +1 -1
- package/dist/runtime/format-gif.js +5 -5
- package/dist/runtime/format-gltf.cjs +2 -2
- package/dist/runtime/format-gltf.iife.js +1 -1
- package/dist/runtime/format-gltf.js +2 -2
- package/dist/runtime/format-motion.cjs +5 -5
- package/dist/runtime/format-motion.iife.js +1 -1
- package/dist/runtime/format-motion.js +5 -5
- package/dist/runtime/format-obj.cjs +2 -2
- package/dist/runtime/format-obj.iife.js +1 -1
- package/dist/runtime/format-obj.js +2 -2
- package/dist/runtime/format-scene.cjs +2 -2
- package/dist/runtime/format-scene.iife.js +1 -1
- package/dist/runtime/format-scene.js +2 -2
- package/dist/runtime/format-sprite.cjs +4 -4
- package/dist/runtime/format-sprite.iife.js +1 -1
- package/dist/runtime/format-sprite.js +4 -4
- package/dist/runtime/format-svg.cjs +4 -4
- package/dist/runtime/format-svg.iife.js +1 -1
- package/dist/runtime/format-svg.js +4 -4
- package/dist/runtime/format-webp.cjs +5 -5
- package/dist/runtime/format-webp.iife.js +1 -1
- package/dist/runtime/format-webp.js +5 -5
- package/dist/runtime/gl.cjs +2 -2
- package/dist/runtime/gl.iife.js +1 -1
- package/dist/runtime/gl.js +2 -2
- package/dist/runtime/gltf-anim.cjs +2 -2
- package/dist/runtime/gltf-anim.iife.js +1 -1
- package/dist/runtime/gltf-anim.js +2 -2
- package/dist/runtime/gltf-decoders.cjs +2 -2
- package/dist/runtime/gltf-decoders.iife.js +1 -1
- package/dist/runtime/gltf-decoders.js +2 -2
- package/dist/runtime/lottie-state.cjs +2 -2
- package/dist/runtime/lottie-state.iife.js +1 -1
- package/dist/runtime/lottie-state.js +2 -2
- package/dist/runtime/physics.cjs +2 -2
- package/dist/runtime/physics.iife.js +1 -1
- package/dist/runtime/physics.js +2 -2
- package/dist/runtime/scroll.cjs +3 -3
- package/dist/runtime/scroll.iife.js +1 -1
- package/dist/runtime/scroll.js +3 -3
- package/dist/runtime/smooth.cjs +2 -2
- package/dist/runtime/smooth.iife.js +1 -1
- package/dist/runtime/smooth.js +2 -2
- package/dist/runtime/text.cjs +2 -2
- package/dist/runtime/text.iife.js +1 -1
- package/dist/runtime/text.js +2 -2
- package/dist/runtime/vector.cjs +4 -4
- package/dist/runtime/vector.iife.js +1 -1
- package/dist/runtime/vector.js +4 -4
- package/dist/runtime.cjs +4 -4
- package/dist/runtime.d.cts +2 -2
- package/dist/runtime.d.ts +2 -2
- package/dist/runtime.iife.js +2 -2
- package/dist/runtime.js +6 -6
- package/dist/solid.cjs +1 -1
- package/dist/solid.js +1 -1
- package/dist/svelte.cjs +1 -1
- package/dist/svelte.js +1 -1
- package/dist/vue.cjs +1 -1
- package/dist/vue.js +1 -1
- package/dist/widgets/add-to-cart.cjs +6 -6
- package/dist/widgets/add-to-cart.js +6 -6
- package/dist/widgets/badge-wall.cjs +3 -3
- package/dist/widgets/badge-wall.js +3 -3
- package/dist/widgets/bar-chart.cjs +2 -2
- package/dist/widgets/bar-chart.js +2 -2
- package/dist/widgets/bg-generator.cjs +4 -4
- package/dist/widgets/bg-generator.js +4 -4
- package/dist/widgets/carousel.cjs +3 -3
- package/dist/widgets/carousel.js +3 -3
- package/dist/widgets/cart-drawer.cjs +3 -3
- package/dist/widgets/cart-drawer.js +3 -3
- package/dist/widgets/chapter-nav.cjs +2 -2
- package/dist/widgets/chapter-nav.js +2 -2
- package/dist/widgets/chat-composer.cjs +2 -2
- package/dist/widgets/chat-composer.js +2 -2
- package/dist/widgets/clock-control.cjs +2 -2
- package/dist/widgets/clock-control.js +2 -2
- package/dist/widgets/code-export.cjs +3 -3
- package/dist/widgets/code-export.js +3 -3
- package/dist/widgets/color-picker.cjs +3 -3
- package/dist/widgets/color-picker.js +3 -3
- package/dist/widgets/command-palette.cjs +3 -3
- package/dist/widgets/command-palette.js +3 -3
- package/dist/widgets/compare.cjs +2 -2
- package/dist/widgets/compare.js +2 -2
- package/dist/widgets/countdown.cjs +3 -3
- package/dist/widgets/countdown.js +3 -3
- package/dist/widgets/cube-gallery.cjs +2 -2
- package/dist/widgets/cube-gallery.js +2 -2
- package/dist/widgets/date-picker.cjs +3 -3
- package/dist/widgets/date-picker.js +3 -3
- package/dist/widgets/disclosure.cjs +3 -3
- package/dist/widgets/disclosure.js +3 -3
- package/dist/widgets/dock.cjs +2 -2
- package/dist/widgets/dock.js +2 -2
- package/dist/widgets/dotlottie.cjs +5 -5
- package/dist/widgets/dotlottie.js +5 -5
- package/dist/widgets/equalizer.cjs +3 -3
- package/dist/widgets/equalizer.js +3 -3
- package/dist/widgets/festival-banner.cjs +3 -3
- package/dist/widgets/festival-banner.js +3 -3
- package/dist/widgets/field.cjs +3 -3
- package/dist/widgets/field.js +3 -3
- package/dist/widgets/file-drop.cjs +2 -2
- package/dist/widgets/file-drop.js +2 -2
- package/dist/widgets/gauge.cjs +2 -2
- package/dist/widgets/gauge.js +2 -2
- package/dist/widgets/gen-art.cjs +3 -3
- package/dist/widgets/gen-art.js +3 -3
- package/dist/widgets/gesture-sticker.cjs +3 -3
- package/dist/widgets/gesture-sticker.js +3 -3
- package/dist/widgets/gl-model.cjs +5 -5
- package/dist/widgets/gl-model.js +5 -5
- package/dist/widgets/gl-scene.cjs +5 -5
- package/dist/widgets/gl-scene.js +5 -5
- package/dist/widgets/globe.cjs +3 -3
- package/dist/widgets/globe.js +3 -3
- package/dist/widgets/gpu-particles.cjs +3 -3
- package/dist/widgets/gpu-particles.js +3 -3
- package/dist/widgets/gyro-card.cjs +3 -3
- package/dist/widgets/gyro-card.js +3 -3
- package/dist/widgets/hero-video.cjs +3 -3
- package/dist/widgets/hero-video.js +3 -3
- package/dist/widgets/hud-panel.cjs +2 -2
- package/dist/widgets/hud-panel.js +2 -2
- package/dist/widgets/hydrate.cjs +2 -2
- package/dist/widgets/hydrate.js +2 -2
- package/dist/widgets/install-button.cjs +2 -2
- package/dist/widgets/install-button.js +2 -2
- package/dist/widgets/kanban.cjs +2 -2
- package/dist/widgets/kanban.js +2 -2
- package/dist/widgets/keyframe-editor.cjs +5 -5
- package/dist/widgets/keyframe-editor.js +5 -5
- package/dist/widgets/kpi.cjs +3 -3
- package/dist/widgets/kpi.js +3 -3
- package/dist/widgets/leaderboard.cjs +3 -3
- package/dist/widgets/leaderboard.js +3 -3
- package/dist/widgets/liquid-nav.cjs +2 -2
- package/dist/widgets/liquid-nav.js +2 -2
- package/dist/widgets/location-card.cjs +3 -3
- package/dist/widgets/location-card.js +3 -3
- package/dist/widgets/lottie-icon.cjs +4 -4
- package/dist/widgets/lottie-icon.js +4 -4
- package/dist/widgets/lottie-player.cjs +5 -5
- package/dist/widgets/lottie-player.js +5 -5
- package/dist/widgets/lottie.cjs +3 -3
- package/dist/widgets/lottie.js +3 -3
- package/dist/widgets/lyrics.cjs +3 -3
- package/dist/widgets/lyrics.js +3 -3
- package/dist/widgets/masonry-flow.cjs +2 -2
- package/dist/widgets/masonry-flow.js +2 -2
- package/dist/widgets/menu-toggle.cjs +3 -3
- package/dist/widgets/menu-toggle.js +3 -3
- package/dist/widgets/menu.cjs +3 -3
- package/dist/widgets/menu.js +3 -3
- package/dist/widgets/message-list.cjs +2 -2
- package/dist/widgets/message-list.js +2 -2
- package/dist/widgets/milestones.cjs +2 -2
- package/dist/widgets/milestones.js +2 -2
- package/dist/widgets/modal.cjs +3 -3
- package/dist/widgets/modal.js +3 -3
- package/dist/widgets/motion-inspector.cjs +3 -3
- package/dist/widgets/motion-inspector.js +3 -3
- package/dist/widgets/motion-prefs.cjs +3 -3
- package/dist/widgets/motion-prefs.js +3 -3
- package/dist/widgets/motion-prompt.cjs +2 -2
- package/dist/widgets/motion-prompt.js +2 -2
- package/dist/widgets/motion-spec.cjs +4 -4
- package/dist/widgets/motion-spec.js +4 -4
- package/dist/widgets/motion.cjs +3 -3
- package/dist/widgets/motion.js +3 -3
- package/dist/widgets/music-player.cjs +2 -2
- package/dist/widgets/music-player.js +2 -2
- package/dist/widgets/native-preview.cjs +4 -4
- package/dist/widgets/native-preview.js +4 -4
- package/dist/widgets/nav-morph.cjs +3 -3
- package/dist/widgets/nav-morph.js +3 -3
- package/dist/widgets/notification-bell.cjs +2 -2
- package/dist/widgets/notification-bell.js +2 -2
- package/dist/widgets/odometer.cjs +3 -3
- package/dist/widgets/odometer.js +3 -3
- package/dist/widgets/organic-card.cjs +3 -3
- package/dist/widgets/organic-card.js +3 -3
- package/dist/widgets/otp.cjs +3 -3
- package/dist/widgets/otp.js +3 -3
- package/dist/widgets/pagination.cjs +3 -3
- package/dist/widgets/pagination.js +3 -3
- package/dist/widgets/panorama.cjs +3 -3
- package/dist/widgets/panorama.js +3 -3
- package/dist/widgets/parallax-layers.cjs +2 -2
- package/dist/widgets/parallax-layers.js +2 -2
- package/dist/widgets/pause-all.cjs +2 -2
- package/dist/widgets/pause-all.js +2 -2
- package/dist/widgets/perf-monitor.cjs +3 -3
- package/dist/widgets/perf-monitor.js +3 -3
- package/dist/widgets/physics-playground.cjs +5 -5
- package/dist/widgets/physics-playground.js +5 -5
- package/dist/widgets/plugin-card.cjs +4 -4
- package/dist/widgets/plugin-card.js +4 -4
- package/dist/widgets/plugin-store.cjs +4 -4
- package/dist/widgets/plugin-store.js +4 -4
- package/dist/widgets/presence.cjs +3 -3
- package/dist/widgets/presence.js +3 -3
- package/dist/widgets/prize-wheel.cjs +3 -3
- package/dist/widgets/prize-wheel.js +3 -3
- package/dist/widgets/product-gallery.cjs +3 -3
- package/dist/widgets/product-gallery.js +3 -3
- package/dist/widgets/progress-ring.cjs +3 -3
- package/dist/widgets/progress-ring.js +3 -3
- package/dist/widgets/prop-panel.cjs +3 -3
- package/dist/widgets/prop-panel.js +3 -3
- package/dist/widgets/pull-cord.cjs +3 -3
- package/dist/widgets/pull-cord.js +3 -3
- package/dist/widgets/radar.cjs +3 -3
- package/dist/widgets/radar.js +3 -3
- package/dist/widgets/reactions.cjs +3 -3
- package/dist/widgets/reactions.js +3 -3
- package/dist/widgets/red-envelope.cjs +2 -2
- package/dist/widgets/red-envelope.js +2 -2
- package/dist/widgets/retro-button.cjs +3 -3
- package/dist/widgets/retro-button.js +3 -3
- package/dist/widgets/rive.cjs +3 -3
- package/dist/widgets/rive.js +3 -3
- package/dist/widgets/route-transition.cjs +2 -2
- package/dist/widgets/route-transition.js +2 -2
- package/dist/widgets/scene.cjs +3 -3
- package/dist/widgets/scene.js +3 -3
- package/dist/widgets/scroll-ring.cjs +2 -2
- package/dist/widgets/scroll-ring.js +2 -2
- package/dist/widgets/scroll-scene.cjs +5 -5
- package/dist/widgets/scroll-scene.js +5 -5
- package/dist/widgets/segmented.cjs +3 -3
- package/dist/widgets/segmented.js +3 -3
- package/dist/widgets/shader-backdrop.cjs +3 -3
- package/dist/widgets/shader-backdrop.js +3 -3
- package/dist/widgets/sheet.cjs +3 -3
- package/dist/widgets/sheet.js +3 -3
- package/dist/widgets/shortcut.cjs +3 -3
- package/dist/widgets/shortcut.js +3 -3
- package/dist/widgets/skeleton-reveal.cjs +3 -3
- package/dist/widgets/skeleton-reveal.js +3 -3
- package/dist/widgets/sketch-chart.cjs +3 -3
- package/dist/widgets/sketch-chart.js +3 -3
- package/dist/widgets/smooth-scroll.cjs +4 -4
- package/dist/widgets/smooth-scroll.js +4 -4
- package/dist/widgets/snap-carousel.cjs +4 -4
- package/dist/widgets/snap-carousel.js +4 -4
- package/dist/widgets/sparkline.cjs +3 -3
- package/dist/widgets/sparkline.js +3 -3
- package/dist/widgets/spatial-card.cjs +2 -2
- package/dist/widgets/spatial-card.js +2 -2
- package/dist/widgets/star-rating.cjs +2 -2
- package/dist/widgets/star-rating.js +2 -2
- package/dist/widgets/stepper.cjs +3 -3
- package/dist/widgets/stepper.js +3 -3
- package/dist/widgets/sticky-wall.cjs +3 -3
- package/dist/widgets/sticky-wall.js +3 -3
- package/dist/widgets/stories.cjs +2 -2
- package/dist/widgets/stories.js +2 -2
- package/dist/widgets/suggestion-chips.cjs +3 -3
- package/dist/widgets/suggestion-chips.js +3 -3
- package/dist/widgets/swipe-deck.cjs +2 -2
- package/dist/widgets/swipe-deck.js +2 -2
- package/dist/widgets/switch.cjs +3 -3
- package/dist/widgets/switch.js +3 -3
- package/dist/widgets/tab-bar.cjs +3 -3
- package/dist/widgets/tab-bar.js +3 -3
- package/dist/widgets/terminal.cjs +2 -2
- package/dist/widgets/terminal.js +2 -2
- package/dist/widgets/text-splitter.cjs +4 -4
- package/dist/widgets/text-splitter.js +4 -4
- package/dist/widgets/theme-surface.cjs +3 -3
- package/dist/widgets/theme-surface.js +3 -3
- package/dist/widgets/theme-switcher.cjs +3 -3
- package/dist/widgets/theme-switcher.js +3 -3
- package/dist/widgets/tip.cjs +3 -3
- package/dist/widgets/tip.js +3 -3
- package/dist/widgets/toast-stack.cjs +4 -4
- package/dist/widgets/toast-stack.js +4 -4
- package/dist/widgets/token-editor.cjs +2 -2
- package/dist/widgets/token-editor.js +2 -2
- package/dist/widgets/upload-progress.cjs +3 -3
- package/dist/widgets/upload-progress.js +3 -3
- package/dist/widgets/video-card.cjs +2 -2
- package/dist/widgets/video-card.js +2 -2
- package/dist/widgets/voice-button.cjs +3 -3
- package/dist/widgets/voice-button.js +3 -3
- package/dist/widgets/volume-knob.cjs +3 -3
- package/dist/widgets/volume-knob.js +3 -3
- package/dist/widgets/weather-card.cjs +3 -3
- package/dist/widgets/weather-card.js +3 -3
- package/dist/widgets/worker-canvas.cjs +4 -4
- package/dist/widgets/worker-canvas.js +4 -4
- package/dist/widgets/xp-bar.cjs +3 -3
- package/dist/widgets/xp-bar.js +3 -3
- package/dist/widgets.umd.js +2 -2
- package/docs/ai-provider.md +1 -1
- package/docs/architecture.md +1 -1
- package/docs/component-contract.md +12 -2
- package/docs/components/README.md +1 -1
- package/docs/components/usa-accordion.md +1 -1
- package/docs/components/usa-acrylic.md +1 -1
- package/docs/components/usa-add-to-cart.md +1 -1
- package/docs/components/usa-ambient.md +1 -1
- package/docs/components/usa-anim-icon.md +1 -1
- package/docs/components/usa-audio.md +1 -1
- package/docs/components/usa-aurora.md +1 -1
- package/docs/components/usa-auto-animate.md +1 -1
- package/docs/components/usa-auto-skeleton.md +1 -1
- package/docs/components/usa-avatar-stack.md +1 -1
- package/docs/components/usa-back-to-top.md +1 -1
- package/docs/components/usa-badge-wall.md +1 -1
- package/docs/components/usa-badge.md +1 -1
- package/docs/components/usa-bar-chart.md +1 -1
- package/docs/components/usa-bg-generator.md +1 -1
- package/docs/components/usa-blobs.md +1 -1
- package/docs/components/usa-bottom-sheet.md +1 -1
- package/docs/components/usa-button.md +1 -1
- package/docs/components/usa-card-stack.md +1 -1
- package/docs/components/usa-card.md +1 -1
- package/docs/components/usa-carousel-3d.md +1 -1
- package/docs/components/usa-carousel.md +1 -1
- package/docs/components/usa-cart-drawer.md +1 -1
- package/docs/components/usa-chapter-nav.md +1 -1
- package/docs/components/usa-chat-composer.md +1 -1
- package/docs/components/usa-check.md +1 -1
- package/docs/components/usa-checkbox.md +1 -1
- package/docs/components/usa-click.md +1 -1
- package/docs/components/usa-clock-control.md +1 -1
- package/docs/components/usa-code-export.md +1 -1
- package/docs/components/usa-color-picker.md +1 -1
- package/docs/components/usa-command-palette.md +1 -1
- package/docs/components/usa-compare.md +1 -1
- package/docs/components/usa-countdown.md +1 -1
- package/docs/components/usa-counter.md +1 -1
- package/docs/components/usa-cube-gallery.md +1 -1
- package/docs/components/usa-cube.md +1 -1
- package/docs/components/usa-cursor.md +1 -1
- package/docs/components/usa-date-picker.md +1 -1
- package/docs/components/usa-depth.md +1 -1
- package/docs/components/usa-dialog.md +2 -2
- package/docs/components/usa-disclosure.md +1 -1
- package/docs/components/usa-distort.md +1 -1
- package/docs/components/usa-dock.md +1 -1
- package/docs/components/usa-dot-network.md +1 -1
- package/docs/components/usa-dotlottie.md +6 -6
- package/docs/components/usa-double-tap.md +1 -1
- package/docs/components/usa-draggable.md +1 -1
- package/docs/components/usa-draw.md +1 -1
- package/docs/components/usa-drawer.md +1 -1
- package/docs/components/usa-equalizer.md +1 -1
- package/docs/components/usa-fab.md +1 -1
- package/docs/components/usa-festival-banner.md +1 -1
- package/docs/components/usa-field.md +1 -1
- package/docs/components/usa-file-drop.md +1 -1
- package/docs/components/usa-fullpage.md +1 -1
- package/docs/components/usa-fx.md +1 -1
- package/docs/components/usa-gauge.md +1 -1
- package/docs/components/usa-gen-art.md +1 -1
- package/docs/components/usa-gesture-fx.md +1 -1
- package/docs/components/usa-gesture-sticker.md +1 -1
- package/docs/components/usa-gl-model.md +7 -7
- package/docs/components/usa-gl-scene.md +8 -8
- package/docs/components/usa-glitch.md +1 -1
- package/docs/components/usa-globe.md +1 -1
- package/docs/components/usa-gpu-particles.md +1 -1
- package/docs/components/usa-gradient-text.md +1 -1
- package/docs/components/usa-grain.md +1 -1
- package/docs/components/usa-grid-glow.md +1 -1
- package/docs/components/usa-gyro-card.md +1 -1
- package/docs/components/usa-handwriting.md +1 -1
- package/docs/components/usa-hero-video.md +1 -1
- package/docs/components/usa-hold.md +1 -1
- package/docs/components/usa-hud-panel.md +1 -1
- package/docs/components/usa-hydrate.md +1 -1
- package/docs/components/usa-icon-morph.md +1 -1
- package/docs/components/usa-install-button.md +3 -3
- package/docs/components/usa-kanban.md +1 -1
- package/docs/components/usa-keyframe-editor.md +1 -1
- package/docs/components/usa-kpi.md +1 -1
- package/docs/components/usa-leaderboard.md +1 -1
- package/docs/components/usa-like.md +1 -1
- package/docs/components/usa-liquid-nav.md +1 -1
- package/docs/components/usa-liquid.md +1 -1
- package/docs/components/usa-loading-bar.md +1 -1
- package/docs/components/usa-location-card.md +1 -1
- package/docs/components/usa-lottie-icon.md +1 -1
- package/docs/components/usa-lottie-player.md +5 -5
- package/docs/components/usa-lottie.md +1 -1
- package/docs/components/usa-lyrics.md +1 -1
- package/docs/components/usa-magnetic.md +1 -1
- package/docs/components/usa-marquee.md +1 -1
- package/docs/components/usa-mask-reveal.md +1 -1
- package/docs/components/usa-masonry-flow.md +1 -1
- package/docs/components/usa-masonry.md +1 -1
- package/docs/components/usa-menu-toggle.md +1 -1
- package/docs/components/usa-menu.md +1 -1
- package/docs/components/usa-message-list.md +1 -1
- package/docs/components/usa-milestones.md +1 -1
- package/docs/components/usa-modal.md +6 -6
- package/docs/components/usa-morph.md +1 -1
- package/docs/components/usa-motion-inspector.md +1 -1
- package/docs/components/usa-motion-prefs.md +1 -1
- package/docs/components/usa-motion-prompt.md +1 -1
- package/docs/components/usa-motion-spec.md +1 -1
- package/docs/components/usa-motion-switch.md +1 -1
- package/docs/components/usa-motion-theme.md +1 -1
- package/docs/components/usa-motion.md +1 -1
- package/docs/components/usa-music-player.md +1 -1
- package/docs/components/usa-native-preview.md +1 -1
- package/docs/components/usa-nav-morph.md +1 -1
- package/docs/components/usa-navbar.md +1 -1
- package/docs/components/usa-notification-bell.md +1 -1
- package/docs/components/usa-odometer.md +1 -1
- package/docs/components/usa-organic-card.md +1 -1
- package/docs/components/usa-otp.md +1 -1
- package/docs/components/usa-overscroll.md +1 -1
- package/docs/components/usa-pack.md +1 -1
- package/docs/components/usa-pagination.md +1 -1
- package/docs/components/usa-panorama.md +1 -1
- package/docs/components/usa-parallax-layers.md +1 -1
- package/docs/components/usa-particles.md +1 -1
- package/docs/components/usa-pause-all.md +1 -1
- package/docs/components/usa-perf-monitor.md +1 -1
- package/docs/components/usa-physics-playground.md +6 -6
- package/docs/components/usa-pinch-zoom.md +1 -1
- package/docs/components/usa-player.md +1 -1
- package/docs/components/usa-plugin-card.md +4 -4
- package/docs/components/usa-plugin-store.md +1 -1
- package/docs/components/usa-popover.md +1 -1
- package/docs/components/usa-post-fx.md +1 -1
- package/docs/components/usa-presence.md +1 -1
- package/docs/components/usa-press.md +1 -1
- package/docs/components/usa-prize-wheel.md +1 -1
- package/docs/components/usa-product-gallery.md +1 -1
- package/docs/components/usa-progress-ring.md +1 -1
- package/docs/components/usa-progress.md +1 -1
- package/docs/components/usa-prop-panel.md +1 -1
- package/docs/components/usa-pull-cord.md +1 -1
- package/docs/components/usa-pull-refresh.md +2 -2
- package/docs/components/usa-radar.md +1 -1
- package/docs/components/usa-reactions.md +1 -1
- package/docs/components/usa-red-envelope.md +1 -1
- package/docs/components/usa-retro-button.md +1 -1
- package/docs/components/usa-reveal.md +1 -1
- package/docs/components/usa-ripple.md +1 -1
- package/docs/components/usa-rive.md +3 -3
- package/docs/components/usa-route-transition.md +1 -1
- package/docs/components/usa-scene.md +1 -1
- package/docs/components/usa-scramble.md +1 -1
- package/docs/components/usa-scroll-highlight.md +1 -1
- package/docs/components/usa-scroll-progress.md +1 -1
- package/docs/components/usa-scroll-ring.md +1 -1
- package/docs/components/usa-scroll-scene.md +5 -5
- package/docs/components/usa-scrolly.md +1 -1
- package/docs/components/usa-segmented.md +1 -1
- package/docs/components/usa-shader-backdrop.md +1 -1
- package/docs/components/usa-shader.md +1 -1
- package/docs/components/usa-sheet.md +6 -6
- package/docs/components/usa-shimmer-text.md +1 -1
- package/docs/components/usa-shortcut.md +1 -1
- package/docs/components/usa-skeleton-reveal.md +1 -1
- package/docs/components/usa-skeleton.md +1 -1
- package/docs/components/usa-sketch-chart.md +1 -1
- package/docs/components/usa-slider.md +1 -1
- package/docs/components/usa-smooth-scroll.md +5 -5
- package/docs/components/usa-snap-carousel.md +5 -5
- package/docs/components/usa-sparkline.md +1 -1
- package/docs/components/usa-spatial-card.md +1 -1
- package/docs/components/usa-spinner.md +1 -1
- package/docs/components/usa-splash.md +1 -1
- package/docs/components/usa-split-text.md +1 -1
- package/docs/components/usa-spotlight.md +1 -1
- package/docs/components/usa-spring.md +1 -1
- package/docs/components/usa-stagger.md +1 -1
- package/docs/components/usa-star-rating.md +1 -1
- package/docs/components/usa-stepper.md +1 -1
- package/docs/components/usa-sticky-stack.md +1 -1
- package/docs/components/usa-sticky-wall.md +1 -1
- package/docs/components/usa-stories.md +1 -1
- package/docs/components/usa-story.md +1 -1
- package/docs/components/usa-suggestion-chips.md +1 -1
- package/docs/components/usa-swipe-deck.md +1 -1
- package/docs/components/usa-swipeable.md +1 -1
- package/docs/components/usa-switch.md +1 -1
- package/docs/components/usa-tab-bar.md +1 -1
- package/docs/components/usa-tabs.md +1 -1
- package/docs/components/usa-terminal.md +1 -1
- package/docs/components/usa-text-rotate.md +1 -1
- package/docs/components/usa-text-splitter.md +5 -5
- package/docs/components/usa-theme-surface.md +1 -1
- package/docs/components/usa-theme-switcher.md +1 -1
- package/docs/components/usa-tilt.md +1 -1
- package/docs/components/usa-timeline.md +1 -1
- package/docs/components/usa-tip.md +1 -1
- package/docs/components/usa-toast-stack.md +1 -1
- package/docs/components/usa-toaster.md +1 -1
- package/docs/components/usa-token-editor.md +1 -1
- package/docs/components/usa-typewriter.md +1 -1
- package/docs/components/usa-upload-progress.md +1 -1
- package/docs/components/usa-video-card.md +1 -1
- package/docs/components/usa-view-switch.md +1 -1
- package/docs/components/usa-voice-button.md +1 -1
- package/docs/components/usa-volume-knob.md +1 -1
- package/docs/components/usa-water-ripple.md +1 -1
- package/docs/components/usa-wave-text.md +1 -1
- package/docs/components/usa-weather-card.md +1 -1
- package/docs/components/usa-worker-canvas.md +1 -1
- package/docs/components/usa-xp-bar.md +1 -1
- package/docs/components.md +53 -53
- package/docs/contract-report.json +1175 -27
- package/docs/contract-report.md +23 -15
- package/docs/mcp.md +2 -2
- package/docs/runtime/core.md +2 -2
- package/docs/runtime/drag-snap.md +3 -3
- package/docs/runtime/format-apng.md +3 -3
- package/docs/runtime/format-css.md +3 -3
- package/docs/runtime/format-gif.md +3 -3
- package/docs/runtime/format-gltf.md +3 -3
- package/docs/runtime/format-motion.md +3 -3
- package/docs/runtime/format-obj.md +3 -3
- package/docs/runtime/format-scene.md +3 -3
- package/docs/runtime/format-sprite.md +3 -3
- package/docs/runtime/format-svg.md +3 -3
- package/docs/runtime/format-webp.md +3 -3
- package/docs/runtime/gl.md +3 -3
- package/docs/runtime/gltf-anim.md +3 -3
- package/docs/runtime/gltf-decoders.md +3 -3
- package/docs/runtime/lottie-state.md +3 -3
- package/docs/runtime/physics.md +3 -3
- package/docs/runtime/scroll.md +3 -3
- package/docs/runtime/smooth.md +3 -3
- package/docs/runtime/text.md +3 -3
- package/docs/runtime/vector.md +3 -3
- package/docs/runtime-tiers.md +1 -1
- package/docs/upgrading-13.md +2 -0
- package/docs/versions.md +43 -0
- package/figma-plugin/README.md +1 -1
- package/figma-plugin/code.js +2 -2
- package/package.json +2 -54
- package/dist/deprecated/components-ai.d.cts +0 -21
- package/dist/deprecated/components-ai.d.ts +0 -21
- package/dist/deprecated/components-angular.d.cts +0 -12
- package/dist/deprecated/components-angular.d.ts +0 -12
- package/dist/deprecated/components-core.d.cts +0 -17
- package/dist/deprecated/components-core.d.ts +0 -17
- package/dist/deprecated/components-design.d.cts +0 -7
- package/dist/deprecated/components-design.d.ts +0 -7
- package/dist/deprecated/design.d.cts +0 -7
- package/dist/deprecated/design.d.ts +0 -7
package/dist/llms-full.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Motionary
|
|
1
|
+
# Motionary 13.0.1 — full component reference
|
|
2
2
|
|
|
3
3
|
Generated from the source. Machine-readable version: https://harrisoncn.github.io/Motionary/components.json (schema https://harrisoncn.github.io/Motionary/components.schema.json).
|
|
4
4
|
|
|
@@ -14,7 +14,7 @@ Shared ticker (one rAF loop), tween + timeline engine with easing, module regist
|
|
|
14
14
|
- CDN:
|
|
15
15
|
|
|
16
16
|
```html
|
|
17
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
17
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
18
18
|
```
|
|
19
19
|
|
|
20
20
|
```js
|
|
@@ -34,8 +34,8 @@ Import CSS @keyframes text or live CSSKeyframesRule objects and Web Animations A
|
|
|
34
34
|
- CDN:
|
|
35
35
|
|
|
36
36
|
```html
|
|
37
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
38
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
37
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
38
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/format-css.iife.js"></script>
|
|
39
39
|
```
|
|
40
40
|
|
|
41
41
|
```js
|
|
@@ -56,8 +56,8 @@ Play Motion / Framer-style { initial, animate, transition } JSON (arrays as keyf
|
|
|
56
56
|
- CDN:
|
|
57
57
|
|
|
58
58
|
```html
|
|
59
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
60
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
59
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
60
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/format-motion.iife.js"></script>
|
|
61
61
|
```
|
|
62
62
|
|
|
63
63
|
```js
|
|
@@ -77,8 +77,8 @@ Scroll-linked scenes: start / end rules, scrub (direct or smoothed), pin, marker
|
|
|
77
77
|
- CDN:
|
|
78
78
|
|
|
79
79
|
```html
|
|
80
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
81
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
80
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
81
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/scroll.iife.js"></script>
|
|
82
82
|
```
|
|
83
83
|
|
|
84
84
|
```js
|
|
@@ -99,8 +99,8 @@ Replay SVG SMIL animations (animate, set, animateTransform, animateMotion) on th
|
|
|
99
99
|
- CDN:
|
|
100
100
|
|
|
101
101
|
```html
|
|
102
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
103
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
102
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
103
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/format-svg.iife.js"></script>
|
|
104
104
|
```
|
|
105
105
|
|
|
106
106
|
```js
|
|
@@ -123,8 +123,8 @@ Split text into characters (grapheme-aware), words and lines for animation while
|
|
|
123
123
|
- CDN:
|
|
124
124
|
|
|
125
125
|
```html
|
|
126
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
127
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
126
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
127
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/text.iife.js"></script>
|
|
128
128
|
```
|
|
129
129
|
|
|
130
130
|
```js
|
|
@@ -145,8 +145,8 @@ Play TexturePacker / Aseprite sprite sheets and numbered image sequences on a ca
|
|
|
145
145
|
- CDN:
|
|
146
146
|
|
|
147
147
|
```html
|
|
148
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
149
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
148
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
149
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/format-sprite.iife.js"></script>
|
|
150
150
|
```
|
|
151
151
|
|
|
152
152
|
```js
|
|
@@ -168,8 +168,8 @@ Smooth, inertial wheel scrolling (lerp or fixed-duration glide) for the window o
|
|
|
168
168
|
- CDN:
|
|
169
169
|
|
|
170
170
|
```html
|
|
171
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
172
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
171
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
172
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/smooth.iife.js"></script>
|
|
173
173
|
```
|
|
174
174
|
|
|
175
175
|
```js
|
|
@@ -190,8 +190,8 @@ Decode animated GIFs (own LZW decoder, no DOM) into composited RGBA frames and p
|
|
|
190
190
|
- CDN:
|
|
191
191
|
|
|
192
192
|
```html
|
|
193
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
194
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
193
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
194
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/format-gif.iife.js"></script>
|
|
195
195
|
```
|
|
196
196
|
|
|
197
197
|
```js
|
|
@@ -213,8 +213,8 @@ Split animated PNGs into standalone frame PNGs (decoded by the browser), composi
|
|
|
213
213
|
- CDN:
|
|
214
214
|
|
|
215
215
|
```html
|
|
216
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
217
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
216
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
217
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/format-apng.iife.js"></script>
|
|
218
218
|
```
|
|
219
219
|
|
|
220
220
|
```js
|
|
@@ -235,8 +235,8 @@ Split animated WebP files (ANIM / ANMF) into standalone frames (decoded by the b
|
|
|
235
235
|
- CDN:
|
|
236
236
|
|
|
237
237
|
```html
|
|
238
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
239
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
238
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
239
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/format-webp.iife.js"></script>
|
|
240
240
|
```
|
|
241
241
|
|
|
242
242
|
```js
|
|
@@ -257,8 +257,8 @@ A small WebGL2 renderer with its own API: scene graph, camera, lights, box / pla
|
|
|
257
257
|
- CDN:
|
|
258
258
|
|
|
259
259
|
```html
|
|
260
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
261
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
260
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
261
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/gl.iife.js"></script>
|
|
262
262
|
```
|
|
263
263
|
|
|
264
264
|
```js
|
|
@@ -281,8 +281,8 @@ Load glTF 2.0 (.gltf with external or data: buffers, .glb) into motionary/runtim
|
|
|
281
281
|
- CDN:
|
|
282
282
|
|
|
283
283
|
```html
|
|
284
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
285
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
284
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
285
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/format-gltf.iife.js"></script>
|
|
286
286
|
```
|
|
287
287
|
|
|
288
288
|
```js
|
|
@@ -306,8 +306,8 @@ Load Wavefront OBJ (+ MTL materials and diffuse textures) into motionary/runtime
|
|
|
306
306
|
- CDN:
|
|
307
307
|
|
|
308
308
|
```html
|
|
309
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
310
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
309
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
310
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/format-obj.iife.js"></script>
|
|
311
311
|
```
|
|
312
312
|
|
|
313
313
|
```js
|
|
@@ -329,8 +329,8 @@ Plays Lottie (bodymovin JSON) and dotLottie (.lottie) files on Canvas 2D with Mo
|
|
|
329
329
|
- CDN:
|
|
330
330
|
|
|
331
331
|
```html
|
|
332
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
333
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
332
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
333
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/vector.iife.js"></script>
|
|
334
334
|
```
|
|
335
335
|
|
|
336
336
|
```js
|
|
@@ -372,8 +372,8 @@ A small 2D rigid-body engine written for Motionary (own implementation and API
|
|
|
372
372
|
- CDN:
|
|
373
373
|
|
|
374
374
|
```html
|
|
375
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
376
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
375
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
376
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/physics.iife.js"></script>
|
|
377
377
|
```
|
|
378
378
|
|
|
379
379
|
```js
|
|
@@ -396,8 +396,8 @@ The versioned motionary-scene@1 format: a JSON description of a 2D physics scene
|
|
|
396
396
|
- CDN:
|
|
397
397
|
|
|
398
398
|
```html
|
|
399
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
400
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
399
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
400
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/format-scene.iife.js"></script>
|
|
401
401
|
```
|
|
402
402
|
|
|
403
403
|
```js
|
|
@@ -419,8 +419,8 @@ Pointer drag along one axis with velocity tracking, inertial throws, rubber-band
|
|
|
419
419
|
- CDN:
|
|
420
420
|
|
|
421
421
|
```html
|
|
422
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
423
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
422
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
423
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/drag-snap.iife.js"></script>
|
|
424
424
|
```
|
|
425
425
|
|
|
426
426
|
```js
|
|
@@ -442,8 +442,8 @@ Plays glTF 2.0 animations on models loaded by motionary/runtime/format-gltf: tra
|
|
|
442
442
|
- CDN:
|
|
443
443
|
|
|
444
444
|
```html
|
|
445
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
446
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
445
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
446
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/gltf-anim.iife.js"></script>
|
|
447
447
|
```
|
|
448
448
|
|
|
449
449
|
```js
|
|
@@ -467,8 +467,8 @@ Resolves Lottie slots with dotLottie themes (Color / Scalar / Vector / Text rule
|
|
|
467
467
|
- CDN:
|
|
468
468
|
|
|
469
469
|
```html
|
|
470
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
471
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
470
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
471
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/lottie-state.iife.js"></script>
|
|
472
472
|
```
|
|
473
473
|
|
|
474
474
|
```js
|
|
@@ -492,8 +492,8 @@ Lets motionary/runtime/format-gltf load KHR_draco_mesh_compression meshes and KH
|
|
|
492
492
|
- CDN:
|
|
493
493
|
|
|
494
494
|
```html
|
|
495
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
496
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
495
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
496
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/gltf-decoders.iife.js"></script>
|
|
497
497
|
```
|
|
498
498
|
|
|
499
499
|
```js
|
|
@@ -549,7 +549,7 @@ provideGltfDecoder('ktx2', () => window.BASIS);
|
|
|
549
549
|
Smooth expand / collapse for native <details> — semantics, keyboard and find-in-page kept; no wrapper elements.
|
|
550
550
|
|
|
551
551
|
- Import: `import { defineAccordion } from 'motionary/components/transitions'; defineAccordion();`
|
|
552
|
-
- CDN: https://unpkg.com/motionary@
|
|
552
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
553
553
|
- Attributes: `multiple`, `duration`
|
|
554
554
|
- Events: `usa:toggle`
|
|
555
555
|
- Methods: `toggleItem()`
|
|
@@ -566,7 +566,7 @@ Smooth expand / collapse for native <details> — semantics, keyboard and find-i
|
|
|
566
566
|
Windows Fluent materials: frosted acrylic (backdrop blur + tint + noise) and mica. Solid fallback when transparency is reduced.
|
|
567
567
|
|
|
568
568
|
- Import: `import { defineAcrylic } from 'motionary/components/background'; defineAcrylic();`
|
|
569
|
-
- CDN: https://unpkg.com/motionary@
|
|
569
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
570
570
|
- Attributes: `tint`, `tint-opacity`, `blur`, `shimmer`
|
|
571
571
|
|
|
572
572
|
```html
|
|
@@ -581,7 +581,7 @@ Windows Fluent materials: frosted acrylic (backdrop blur + tint + noise) and mic
|
|
|
581
581
|
7.3: a buy button — the product photo flies on an arc into the cart, the cart badge bumps and the button morphs into a ✓ “Added” state. Works with <usa-cart-drawer> (calls add(item)) or any [data-cart] icon.
|
|
582
582
|
|
|
583
583
|
- Import: `import { defineAddToCart } from 'motionary/components/widgets'; defineAddToCart();`
|
|
584
|
-
- CDN: https://unpkg.com/motionary@
|
|
584
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
585
585
|
- Attributes: `label`, `added`, `item`, `cart`, `from`, `hold`
|
|
586
586
|
- Events: `usa:add`
|
|
587
587
|
- Methods: `add()`
|
|
@@ -599,7 +599,7 @@ Windows Fluent materials: frosted acrylic (backdrop blur + tint + noise) and mic
|
|
|
599
599
|
A fixed page-wide layer: drifting particles, falling snow, twinkling stars, film grain or a gradient that shifts with scroll.
|
|
600
600
|
|
|
601
601
|
- Import: `import { defineAmbient } from 'motionary/components/page'; defineAmbient();`
|
|
602
|
-
- CDN: https://unpkg.com/motionary@
|
|
602
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
603
603
|
- Attributes: `effect`, `density`, `color`, `opacity`, `speed`
|
|
604
604
|
- Methods: `mount()`, `upd()`, `resize()`, `resize()`, `draw()`, `draw()`, `unmount()`, `caf()`
|
|
605
605
|
|
|
@@ -612,7 +612,7 @@ A fixed page-wide layer: drifting particles, falling snow, twinkling stars, film
|
|
|
612
612
|
Stroke icons that move: the bell rings, the heart beats, the check draws, the gear turns. Hover, click, in view or loop; decorative unless labelled.
|
|
613
613
|
|
|
614
614
|
- Import: `import { defineAnimIcon } from 'motionary/components/svg'; defineAnimIcon();`
|
|
615
|
-
- CDN: https://unpkg.com/motionary@
|
|
615
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
616
616
|
- Attributes: `name`, `size`, `label`, `trigger`
|
|
617
617
|
- Methods: `play()`
|
|
618
618
|
|
|
@@ -626,7 +626,7 @@ Stroke icons that move: the bell rings, the heart beats, the check draws, the ge
|
|
|
626
626
|
5.6: <usa-audio> renders a toggle (a user gesture starts Web Audio), detects beats and plays any registered effect on children with data-usa-beat="effect". JS: bindBeat(el, "pop"). Beats play nothing under reduced motion.
|
|
627
627
|
|
|
628
628
|
- Import: `import { defineAudio } from 'motionary/components/effects'; defineAudio();`
|
|
629
|
-
- CDN: https://unpkg.com/motionary@
|
|
629
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
630
630
|
- Attributes: `source`, `label`, `threshold`, `cooldown`
|
|
631
631
|
- Events: `usa:beat`, `usa:audio-error`
|
|
632
632
|
- Methods: `toggle()`
|
|
@@ -643,7 +643,7 @@ Stroke icons that move: the bell rings, the heart beats, the check draws, the ge
|
|
|
643
643
|
A slow drifting gradient mesh behind its content. Transforms only, paused off-screen, still under reduced motion.
|
|
644
644
|
|
|
645
645
|
- Import: `import { defineAurora } from 'motionary/components/background'; defineAurora();`
|
|
646
|
-
- CDN: https://unpkg.com/motionary@
|
|
646
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
647
647
|
- Attributes: `colors`, `speed`, `intensity`
|
|
648
648
|
|
|
649
649
|
```html
|
|
@@ -657,7 +657,7 @@ A slow drifting gradient mesh behind its content. Transforms only, paused off-sc
|
|
|
657
657
|
Wrap a list or grid: items that are added fade in, removed ones fade out in place, and everything else glides to its new spot — on sort, filter or resize. Zero code at the call site.
|
|
658
658
|
|
|
659
659
|
- Import: `import { defineAutoAnimate } from 'motionary/components/layout'; defineAutoAnimate();`
|
|
660
|
-
- CDN: https://unpkg.com/motionary@
|
|
660
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
661
661
|
- Attributes: `duration`, `no-scale`
|
|
662
662
|
- Methods: `enable()`, `disable()`
|
|
663
663
|
|
|
@@ -678,7 +678,7 @@ Wrap a list or grid: items that are added fade in, removed ones fade out in plac
|
|
|
678
678
|
Set loading and every heading, paragraph, image and button inside becomes a shimmering placeholder of its own size — no extra markup.
|
|
679
679
|
|
|
680
680
|
- Import: `import { defineAutoSkeleton } from 'motionary/components/page'; defineAutoSkeleton();`
|
|
681
|
-
- CDN: https://unpkg.com/motionary@
|
|
681
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
682
682
|
- Attributes: `loading`
|
|
683
683
|
|
|
684
684
|
```html
|
|
@@ -693,7 +693,7 @@ Set loading and every heading, paragraph, image and button inside becomes a shim
|
|
|
693
693
|
Overlapping avatars that spread apart with a spring on hover; extras collapse into “+N”.
|
|
694
694
|
|
|
695
695
|
- Import: `import { defineAvatarStack } from 'motionary/components/ui'; defineAvatarStack();`
|
|
696
|
-
- CDN: https://unpkg.com/motionary@
|
|
696
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
697
697
|
- Attributes: `max`, `size`, `overlap`, `label`
|
|
698
698
|
- Methods: `adoptVariants()`, `mount()`
|
|
699
699
|
|
|
@@ -709,7 +709,7 @@ Overlapping avatars that spread apart with a spring on hover; extras collapse in
|
|
|
709
709
|
Appears after you scroll, shows reading progress as a ring and springs the page back up, then moves focus to the top.
|
|
710
710
|
|
|
711
711
|
- Import: `import { defineBackToTop } from 'motionary/components/page'; defineBackToTop();`
|
|
712
|
-
- CDN: https://unpkg.com/motionary@
|
|
712
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
713
713
|
- Attributes: `label`, `offset`, `focus-target`
|
|
714
714
|
|
|
715
715
|
```html
|
|
@@ -721,7 +721,7 @@ Appears after you scroll, shows reading progress as a ring and springs the page
|
|
|
721
721
|
Count or dot badge that bumps with a spring when its value changes; 99+ capping, optional pulse.
|
|
722
722
|
|
|
723
723
|
- Import: `import { defineBadge } from 'motionary/components/ui'; defineBadge();`
|
|
724
|
-
- CDN: https://unpkg.com/motionary@
|
|
724
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
725
725
|
- Attributes: `value`, `max`, `dot`, `label`, `show-zero`
|
|
726
726
|
|
|
727
727
|
```html
|
|
@@ -735,7 +735,7 @@ Count or dot badge that bumps with a spring when its value changes; 99+ capping,
|
|
|
735
735
|
7.5: an achievement grid — locked badges are grey with a 🔒; unlock(name) flips a badge to its colour side with a shine and the “n / m unlocked” counter updates.
|
|
736
736
|
|
|
737
737
|
- Import: `import { defineBadgeWall } from 'motionary/components/widgets'; defineBadgeWall();`
|
|
738
|
-
- CDN: https://unpkg.com/motionary@
|
|
738
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
739
739
|
- Attributes: `label`
|
|
740
740
|
- Events: `usa:unlock`
|
|
741
741
|
- Methods: `unlock()`
|
|
@@ -753,7 +753,7 @@ Count or dot badge that bumps with a spring when its value changes; 99+ capping,
|
|
|
753
753
|
7.2: bars grow from the baseline in a stagger on first view and new data glides every bar to its new height — bars that appear grow in, bars that leave shrink away. Data from values/labels, <data> children or the data property.
|
|
754
754
|
|
|
755
755
|
- Import: `import { defineBarChart } from 'motionary/components/widgets'; defineBarChart();`
|
|
756
|
-
- CDN: https://unpkg.com/motionary@
|
|
756
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
757
757
|
- Attributes: `horizontal`, `unit`, `max`, `values`, `labels`, `label`
|
|
758
758
|
|
|
759
759
|
```html
|
|
@@ -766,7 +766,7 @@ Count or dot badge that bumps with a spring when its value changes; 99+ capping,
|
|
|
766
766
|
9.3: a background generator — pick a palette and a style (mesh gradient, grain, stripes, dots), shuffle the seed and copy the CSS.
|
|
767
767
|
|
|
768
768
|
- Import: `import { defineBgGenerator } from 'motionary/components/widgets'; defineBgGenerator();`
|
|
769
|
-
- CDN: https://unpkg.com/motionary@
|
|
769
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
770
770
|
- Attributes: `label`, `palette`, `style`, `seed`
|
|
771
771
|
- Events: `usa:change`
|
|
772
772
|
- Methods: `shuffle()`, `copy()`
|
|
@@ -780,7 +780,7 @@ Count or dot badge that bumps with a spring when its value changes; 99+ capping,
|
|
|
780
780
|
Soft colour blobs that slowly morph and drift — a fluid gradient backdrop.
|
|
781
781
|
|
|
782
782
|
- Import: `import { defineBlobs } from 'motionary/components/background'; defineBlobs();`
|
|
783
|
-
- CDN: https://unpkg.com/motionary@
|
|
783
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
784
784
|
- Attributes: `colors`, `speed`, `blur`
|
|
785
785
|
- Methods: `mount()`
|
|
786
786
|
|
|
@@ -793,7 +793,7 @@ Soft colour blobs that slowly morph and drift — a fluid gradient backdrop.
|
|
|
793
793
|
A draggable sheet with snap points, inertia and drag-down-to-dismiss — the iOS / Android pattern for web and Windows web-view apps.
|
|
794
794
|
|
|
795
795
|
- Import: `import { defineBottomSheet } from 'motionary/components/ui'; defineBottomSheet();`
|
|
796
|
-
- CDN: https://unpkg.com/motionary@
|
|
796
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
797
797
|
- Attributes: `open`, `snap`, `start`
|
|
798
798
|
- Methods: `show()`, `close()`
|
|
799
799
|
|
|
@@ -806,7 +806,7 @@ A draggable sheet with snap points, inertia and drag-down-to-dismiss — the iOS
|
|
|
806
806
|
Spring-driven button click deformation: squash & stretch, elastic border-radius wobble, gooey liquid droplets, and a dent toward the pressed point. Combine them with deform="squash wobble".
|
|
807
807
|
|
|
808
808
|
- Import: `import { defineButton } from 'motionary/components/click'; defineButton();`
|
|
809
|
-
- CDN: https://unpkg.com/motionary@
|
|
809
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
810
810
|
- Attributes: `deform`, `state`, `shape`, `disabled`, `morph`, `haptic`, `reset`
|
|
811
811
|
- Events: `usa:submit`, `usa:state`
|
|
812
812
|
- Methods: `morphTo()`
|
|
@@ -824,7 +824,7 @@ Spring-driven button click deformation: squash & stretch, elastic border-radius
|
|
|
824
824
|
Ten card effects you can combine (effect="lift sheen"): flip (hover or click, x/y axis), holo, glass, border-glow, conic-border, lift, spotlight, sheen, parallax-layers and expand (card → detail with FLIP + spring).
|
|
825
825
|
|
|
826
826
|
- Import: `import { defineCard } from 'motionary/components/cards'; defineCard();`
|
|
827
|
-
- CDN: https://unpkg.com/motionary@
|
|
827
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
828
828
|
- Attributes: `effect`, `trigger`, `disabled`, `color`, `depth`
|
|
829
829
|
- Events: `usa:flip`, `usa:expand`, `usa:collapse`
|
|
830
830
|
- Methods: `flip()`, `expand()`, `collapse()`
|
|
@@ -848,7 +848,7 @@ Ten card effects you can combine (effect="lift sheen"): flip (hover or click, x/
|
|
|
848
848
|
A deck where the top card swipes away left or right (pointer, touch, arrow keys) and the next springs forward. loop sends cards to the back.
|
|
849
849
|
|
|
850
850
|
- Import: `import { defineCardStack } from 'motionary/components/cards'; defineCardStack();`
|
|
851
|
-
- CDN: https://unpkg.com/motionary@
|
|
851
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
852
852
|
- Attributes: `visible`, `offset`, `disabled`, `threshold`, `loop`
|
|
853
853
|
- Events: `usa:swipe`, `usa:empty`
|
|
854
854
|
- Methods: `swipe()`
|
|
@@ -866,7 +866,7 @@ A deck where the top card swipes away left or right (pointer, touch, arrow keys)
|
|
|
866
866
|
6.2: swipe, drag, arrow keys, dots and autoplay (pauses on hover, focus, off screen). Four transitions — slide, fade, scale and a 3D "cards" coverflow. Reduced motion: slides switch without movement.
|
|
867
867
|
|
|
868
868
|
- Import: `import { defineCarousel } from 'motionary/components/widgets'; defineCarousel();`
|
|
869
|
-
- CDN: https://unpkg.com/motionary@
|
|
869
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
870
870
|
- Attributes: `effect`, `autoplay`, `loop`, `no-controls`, `no-dots`, `label`, `index`
|
|
871
871
|
- Events: `usa:change`
|
|
872
872
|
- Methods: `next()`, `prev()`, `goTo()`
|
|
@@ -884,7 +884,7 @@ A deck where the top card swipes away left or right (pointer, touch, arrow keys)
|
|
|
884
884
|
Items on a 3D ring, rotated by drag, arrow keys, clicks or autoplay — with spring motion. Reduced motion shows one flat item at a time.
|
|
885
885
|
|
|
886
886
|
- Import: `import { defineCarousel3d } from 'motionary/components/cards'; defineCarousel3d();`
|
|
887
|
-
- CDN: https://unpkg.com/motionary@
|
|
887
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
888
888
|
- Attributes: `radius`, `perspective`, `autoplay`, `index`
|
|
889
889
|
- Events: `usa:change`
|
|
890
890
|
- Methods: `next()`, `prev()`, `goTo()`
|
|
@@ -902,7 +902,7 @@ Items on a 3D ring, rotated by drag, arrow keys, clicks or autoplay — with spr
|
|
|
902
902
|
7.3: a cart button with a count badge and a drawer that slides in from the side — lines slide in (or bump their quantity), removed lines collapse, the badge bumps and the total rolls. Esc / backdrop close; focus is managed.
|
|
903
903
|
|
|
904
904
|
- Import: `import { defineCartDrawer } from 'motionary/components/widgets'; defineCartDrawer();`
|
|
905
|
-
- CDN: https://unpkg.com/motionary@
|
|
905
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
906
906
|
- Attributes: `label`, `items`, `currency`
|
|
907
907
|
- Events: `usa:open`, `usa:close`, `usa:change`
|
|
908
908
|
- Methods: `add()`, `removeItem()`, `toggle()`
|
|
@@ -917,7 +917,7 @@ Items on a 3D ring, rotated by drag, arrow keys, clicks or autoplay — with spr
|
|
|
917
917
|
9.1: chapter navigation for long-form stories — one entry per chapter with a reading-progress bar that fills as you scroll, the current chapter highlighted, click to glide there.
|
|
918
918
|
|
|
919
919
|
- Import: `import { defineChapterNav } from 'motionary/components/widgets'; defineChapterNav();`
|
|
920
|
-
- CDN: https://unpkg.com/motionary@
|
|
920
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
921
921
|
- Attributes: `for`, `orientation`, `label`
|
|
922
922
|
- Events: `usa:chapter`
|
|
923
923
|
- Methods: `goTo()`
|
|
@@ -935,7 +935,7 @@ Items on a 3D ring, rotated by drag, arrow keys, clicks or autoplay — with spr
|
|
|
935
935
|
7.8: an AI chat input that grows with its text; Enter sends, the send button pops when there is text and morphs into Stop while busy, with a thinking glow running round the composer.
|
|
936
936
|
|
|
937
937
|
- Import: `import { defineChatComposer } from 'motionary/components/widgets'; defineChatComposer();`
|
|
938
|
-
- CDN: https://unpkg.com/motionary@
|
|
938
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
939
939
|
- Attributes: `placeholder`, `label`, `rows`, `busy`, `value`
|
|
940
940
|
- Events: `usa:stop`, `usa:send`
|
|
941
941
|
- Methods: `send()`, `clear()`
|
|
@@ -950,7 +950,7 @@ Items on a 3D ring, rotated by drag, arrow keys, clicks or autoplay — with spr
|
|
|
950
950
|
The circle draws itself, then a check, cross or exclamation strokes in with a pop. Great after a payment or upload.
|
|
951
951
|
|
|
952
952
|
- Import: `import { defineCheck } from 'motionary/components/feedback'; defineCheck();`
|
|
953
|
-
- CDN: https://unpkg.com/motionary@
|
|
953
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
954
954
|
- Attributes: `kind`, `size`, `label`, `start`
|
|
955
955
|
- Events: `usa:complete`
|
|
956
956
|
- Methods: `play()`, `reset()`
|
|
@@ -964,7 +964,7 @@ The circle draws itself, then a check, cross or exclamation strokes in with a po
|
|
|
964
964
|
Form-associated checkbox: the box springs and the check draws itself; indeterminate state, circle shape.
|
|
965
965
|
|
|
966
966
|
- Import: `import { defineCheckbox } from 'motionary/components/click'; defineCheckbox();`
|
|
967
|
-
- CDN: https://unpkg.com/motionary@
|
|
967
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
968
968
|
- Attributes: `checked`, `indeterminate`, `disabled`, `label`, `value`
|
|
969
969
|
- Events: `usa:change`
|
|
970
970
|
- Methods: `toggle()`
|
|
@@ -978,7 +978,7 @@ Form-associated checkbox: the box springs and the check draws itself; indetermin
|
|
|
978
978
|
Wrap anything: ripple, burst (circle, star, heart, emoji), confetti, squish, press-spring and error shake — combinable, keyboard-friendly, optional haptics.
|
|
979
979
|
|
|
980
980
|
- Import: `import { defineClick } from 'motionary/components/click'; defineClick();`
|
|
981
|
-
- CDN: https://unpkg.com/motionary@
|
|
981
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
982
982
|
- Attributes: `effect`, `disabled`, `trigger`, `color`, `count`, `shape`, `haptic`
|
|
983
983
|
- Events: `usa:click-effect`
|
|
984
984
|
- Methods: `play()`, `shake()`
|
|
@@ -994,7 +994,7 @@ Wrap anything: ripple, burst (circle, star, heart, emoji), confetti, squish, pre
|
|
|
994
994
|
8.0: a pause / speed bar for the unified motion clock — pause, slow down or speed up every Motionary animation and frame loop on the page at once (motionClock in motionary/engine).
|
|
995
995
|
|
|
996
996
|
- Import: `import { defineClockControl } from 'motionary/components/widgets'; defineClockControl();`
|
|
997
|
-
- CDN: https://unpkg.com/motionary@
|
|
997
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
998
998
|
- Attributes: `speeds`, `label`
|
|
999
999
|
- Events: `usa:change`
|
|
1000
1000
|
|
|
@@ -1012,7 +1012,7 @@ createTimeline().add(a, [{ opacity: 0 }, { opacity: 1 }], 400).add(b, [{ transfo
|
|
|
1012
1012
|
8.9 low-code: shows copy-paste code (HTML, React, Vue or JSON) for a live, configured component next to it, follows its attribute changes and copies with one click.
|
|
1013
1013
|
|
|
1014
1014
|
- Import: `import { defineCodeExport } from 'motionary/components/widgets'; defineCodeExport();`
|
|
1015
|
-
- CDN: https://unpkg.com/motionary@
|
|
1015
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1016
1016
|
- Attributes: `for`, `formats`
|
|
1017
1017
|
- Events: `usa:copy`
|
|
1018
1018
|
- Methods: `copy()`
|
|
@@ -1028,7 +1028,7 @@ createTimeline().add(a, [{ opacity: 0 }, { opacity: 1 }], 400).add(b, [{ transfo
|
|
|
1028
1028
|
6.9: a saturation / brightness square and a hue strip with spring-follow thumbs (both keyboard sliders), a preview chip that morphs to the new colour and swatches that pop.
|
|
1029
1029
|
|
|
1030
1030
|
- Import: `import { defineColorPicker } from 'motionary/components/widgets'; defineColorPicker();`
|
|
1031
|
-
- CDN: https://unpkg.com/motionary@
|
|
1031
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1032
1032
|
- Attributes: `swatches`
|
|
1033
1033
|
- Events: `usa:change`, `usa:input`
|
|
1034
1034
|
|
|
@@ -1041,7 +1041,7 @@ createTimeline().add(a, [{ opacity: 0 }, { opacity: 1 }], 400).add(b, [{ transfo
|
|
|
1041
1041
|
7.9: a ⌘K command palette on the native <dialog> — scales in, filters as you type with fuzzy matching and highlighted letters, results stagger in and a highlight glides between rows (↑ ↓ Enter).
|
|
1042
1042
|
|
|
1043
1043
|
- Import: `import { defineCommandPalette } from 'motionary/components/widgets'; defineCommandPalette();`
|
|
1044
|
-
- CDN: https://unpkg.com/motionary@
|
|
1044
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1045
1045
|
- Attributes: `placeholder`, `label`, `hotkey`, `inline`
|
|
1046
1046
|
- Events: `usa:run`, `usa:open`, `usa:close`
|
|
1047
1047
|
- Methods: `setCommands()`, `show()`, `close()`, `toggle()`
|
|
@@ -1059,7 +1059,7 @@ createTimeline().add(a, [{ opacity: 0 }, { opacity: 1 }], 400).add(b, [{ transfo
|
|
|
1059
1059
|
6.5: drag the handle (or hover with the hover attribute), click to jump, or use the keyboard slider; horizontal or vertical; an intro sweep plays once when it scrolls into view.
|
|
1060
1060
|
|
|
1061
1061
|
- Import: `import { defineCompare } from 'motionary/components/widgets'; defineCompare();`
|
|
1062
|
-
- CDN: https://unpkg.com/motionary@
|
|
1062
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1063
1063
|
- Attributes: `orientation`, `labels`, `label`, `position`, `hover`, `intro`
|
|
1064
1064
|
- Events: `usa:change`
|
|
1065
1065
|
|
|
@@ -1075,7 +1075,7 @@ createTimeline().add(a, [{ opacity: 0 }, { opacity: 1 }], 400).add(b, [{ transfo
|
|
|
1075
1075
|
7.3: a split-flap countdown to a date (to) or for a number of seconds — every digit flips when it changes; fires usa:done at zero. The timer label updates once a minute so screen readers are not flooded.
|
|
1076
1076
|
|
|
1077
1077
|
- Import: `import { defineCountdown } from 'motionary/components/widgets'; defineCountdown();`
|
|
1078
|
-
- CDN: https://unpkg.com/motionary@
|
|
1078
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1079
1079
|
- Attributes: `to`, `seconds`, `units`, `labels`, `label`
|
|
1080
1080
|
- Events: `usa:tick`, `usa:done`
|
|
1081
1081
|
- Methods: `start()`, `stop()`
|
|
@@ -1089,7 +1089,7 @@ createTimeline().add(a, [{ opacity: 0 }, { opacity: 1 }], 400).add(b, [{ transfo
|
|
|
1089
1089
|
Counts up to a number when visible, locale-formatted with tabular digits. Set .value to animate live dashboards.
|
|
1090
1090
|
|
|
1091
1091
|
- Import: `import { defineCounter } from 'motionary/components/text'; defineCounter();`
|
|
1092
|
-
- CDN: https://unpkg.com/motionary@
|
|
1092
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1093
1093
|
- Attributes: `to`, `decimals`, `locale`, `prefix`, `suffix`, `grouping`, `from`, `start`, `duration`
|
|
1094
1094
|
- Events: `usa:complete`
|
|
1095
1095
|
- Methods: `play()`, `format()`
|
|
@@ -1103,7 +1103,7 @@ Counts up to a number when visible, locale-formatted with tabular digits. Set .v
|
|
|
1103
1103
|
Up to six children become the faces of a CSS 3D cube. Drag / swipe, arrow keys, autoplay or show("top"); spring-driven, the front face is the only one exposed to screen readers.
|
|
1104
1104
|
|
|
1105
1105
|
- Import: `import { defineCube } from 'motionary/components/depth'; defineCube();`
|
|
1106
|
-
- CDN: https://unpkg.com/motionary@
|
|
1106
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1107
1107
|
- Attributes: `size`, `autoplay`, `perspective`
|
|
1108
1108
|
- Events: `usa:change`
|
|
1109
1109
|
- Methods: `show()`, `next()`, `prev()`
|
|
@@ -1119,7 +1119,7 @@ Up to six children become the faces of a CSS 3D cube. Drag / swipe, arrow keys,
|
|
|
1119
1119
|
6.5: slides sit on adjacent faces of a 3D cube that turns between them — swipe, arrow keys, buttons or autoplay (pauses on hover / focus / off screen); turn around the Y or X axis.
|
|
1120
1120
|
|
|
1121
1121
|
- Import: `import { defineCubeGallery } from 'motionary/components/widgets'; defineCubeGallery();`
|
|
1122
|
-
- CDN: https://unpkg.com/motionary@
|
|
1122
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1123
1123
|
- Attributes: `axis`, `autoplay`, `label`
|
|
1124
1124
|
- Events: `usa:change`
|
|
1125
1125
|
- Methods: `next()`, `prev()`, `goTo()`
|
|
@@ -1137,7 +1137,7 @@ Up to six children become the faces of a CSS 3D cube. Drag / swipe, arrow keys,
|
|
|
1137
1137
|
A spring-lagged ring, a magnetic ring that wraps buttons and links, or a soft glow following the pointer. Mouse / pen only. (6.0: for a comet tail use the comet-trail effect.)
|
|
1138
1138
|
|
|
1139
1139
|
- Import: `import { defineCursor } from 'motionary/components/page'; defineCursor();`
|
|
1140
|
-
- CDN: https://unpkg.com/motionary@
|
|
1140
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1141
1141
|
- Attributes: `mode`, `size`, `color`, `hide-native`, `targets`
|
|
1142
1142
|
|
|
1143
1143
|
```html
|
|
@@ -1149,7 +1149,7 @@ A spring-lagged ring, a magnetic ring that wraps buttons and links, or a soft gl
|
|
|
1149
1149
|
6.9: months slide in from the direction of travel, the chosen day pops inside a spring circle, today has a ring. A real date grid: arrows, PageUp / PageDown, Home / End, min / max.
|
|
1150
1150
|
|
|
1151
1151
|
- Import: `import { defineDatePicker } from 'motionary/components/widgets'; defineDatePicker();`
|
|
1152
|
-
- CDN: https://unpkg.com/motionary@
|
|
1152
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1153
1153
|
- Attributes: `min`, `max`, `first-day`, `locale`
|
|
1154
1154
|
- Events: `usa:change`
|
|
1155
1155
|
- Methods: `showMonth()`
|
|
@@ -1163,7 +1163,7 @@ A spring-lagged ring, a magnetic ring that wraps buttons and links, or a soft gl
|
|
|
1163
1163
|
Layers with data-depth (-1…1) shift and scale by depth as the pointer moves, the phone tilts (source="orientation") or the page scrolls; optional whole-scene rotation.
|
|
1164
1164
|
|
|
1165
1165
|
- Import: `import { defineDepth } from 'motionary/components/depth'; defineDepth();`
|
|
1166
|
-
- CDN: https://unpkg.com/motionary@
|
|
1166
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1167
1167
|
- Attributes: `source`, `strength`, `rotate`
|
|
1168
1168
|
- Methods: `requestPermission()`
|
|
1169
1169
|
|
|
@@ -1182,7 +1182,7 @@ Layers with data-depth (-1…1) shift and scale by depth as the pointer moves, t
|
|
|
1182
1182
|
Animated modal, side drawers and bottom sheet on the native <dialog>: top layer, focus trap, Esc, backdrop click.
|
|
1183
1183
|
|
|
1184
1184
|
- Import: `import { defineDialog } from 'motionary/components/transitions'; defineDialog();`
|
|
1185
|
-
- CDN: https://unpkg.com/motionary@
|
|
1185
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1186
1186
|
- Attributes: `open`, `kind`, `label`, `no-esc`, `no-backdrop-close`
|
|
1187
1187
|
- Events: `usa:open`, `usa:beforeclose`, `usa:close`
|
|
1188
1188
|
- Slots: default
|
|
@@ -1201,7 +1201,7 @@ Animated modal, side drawers and bottom sheet on the native <dialog>: top layer,
|
|
|
1201
1201
|
6.2: native <details> that spring open and closed (height + fade) with an overshooting chevron; one open at a time unless multiple. Find-in-page and keyboard keep working.
|
|
1202
1202
|
|
|
1203
1203
|
- Import: `import { defineDisclosure } from 'motionary/components/widgets'; defineDisclosure();`
|
|
1204
|
-
- CDN: https://unpkg.com/motionary@
|
|
1204
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1205
1205
|
- Attributes: `multiple`, `spring`
|
|
1206
1206
|
- Events: `usa:toggle`
|
|
1207
1207
|
- Methods: `toggle()`, `openAll()`, `closeAll()`
|
|
@@ -1218,7 +1218,7 @@ Animated modal, side drawers and bottom sheet on the native <dialog>: top layer,
|
|
|
1218
1218
|
The image bulges and splits into RGB around the pointer. Without WebGL (or a cross-origin image without CORS) it falls back to a gentle CSS zoom.
|
|
1219
1219
|
|
|
1220
1220
|
- Import: `import { defineDistort } from 'motionary/components/webgl'; defineDistort();`
|
|
1221
|
-
- CDN: https://unpkg.com/motionary@
|
|
1221
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1222
1222
|
|
|
1223
1223
|
```html
|
|
1224
1224
|
<usa-distort>
|
|
@@ -1231,7 +1231,7 @@ The image bulges and splits into RGB around the pointer. Without WebGL (or a cro
|
|
|
1231
1231
|
6.6: items magnify with a smooth cosine falloff as the pointer moves along the dock, neighbours make room, labels pop above the hovered item and a click bounces it. Keyboard focus magnifies too.
|
|
1232
1232
|
|
|
1233
1233
|
- Import: `import { defineDock } from 'motionary/components/widgets'; defineDock();`
|
|
1234
|
-
- CDN: https://unpkg.com/motionary@
|
|
1234
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1235
1235
|
- Attributes: `orientation`, `magnify`, `range`, `label`, `bounce`
|
|
1236
1236
|
|
|
1237
1237
|
```html
|
|
@@ -1247,7 +1247,7 @@ The image bulges and splits into RGB around the pointer. Without WebGL (or a cro
|
|
|
1247
1247
|
A dot grid that swells and links up with lines around the pointer.
|
|
1248
1248
|
|
|
1249
1249
|
- Import: `import { defineDotNetwork } from 'motionary/components/background'; defineDotNetwork();`
|
|
1250
|
-
- CDN: https://unpkg.com/motionary@
|
|
1250
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1251
1251
|
- Attributes: `gap`, `radius`, `color`
|
|
1252
1252
|
- Methods: `mount()`
|
|
1253
1253
|
|
|
@@ -1260,7 +1260,7 @@ A dot grid that swells and links up with lines around the pointer.
|
|
|
1260
1260
|
10.9: plays .lottie files with their themes (slots recoloured by a theme from the file) and state machines — playback states, event / numeric / boolean guards, pointer and completion interactions, input and theme actions (OpenUrl is refused). Tap the dot: it starts pulsing, three taps switch it to the dark theme. Requires motionary/runtime/vector + motionary/runtime/lottie-state — npm i motionary, then use(vector, lottieState). Its own entry point: motionary/components/dotlottie.
|
|
1261
1261
|
|
|
1262
1262
|
- Import: `import { defineDotLottie } from 'motionary/components/dotlottie'; defineDotLottie();`
|
|
1263
|
-
- CDN: https://unpkg.com/motionary@
|
|
1263
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1264
1264
|
- Attributes: `theme`, `state-machine`
|
|
1265
1265
|
- Events: `usa:error`, `usa:state`, `usa:custom`, `usa:runtime-missing`
|
|
1266
1266
|
- Methods: `fire()`, `setInput()`, `setTheme()`
|
|
@@ -1279,12 +1279,12 @@ defineDotLottie(); // registers <usa-dotlottie> — after the prerequisites
|
|
|
1279
1279
|
```
|
|
1280
1280
|
|
|
1281
1281
|
```html
|
|
1282
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1283
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1284
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1282
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
1283
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/vector.iife.js"></script>
|
|
1284
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/lottie-state.iife.js"></script>
|
|
1285
1285
|
<!-- then the component bundles -->
|
|
1286
|
-
<script src="https://unpkg.com/motionary@
|
|
1287
|
-
<script src="https://unpkg.com/motionary@
|
|
1286
|
+
<script src="https://unpkg.com/motionary@13/dist/components.umd.js"></script>
|
|
1287
|
+
<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>
|
|
1288
1288
|
```
|
|
1289
1289
|
|
|
1290
1290
|
```html
|
|
@@ -1296,7 +1296,7 @@ defineDotLottie(); // registers <usa-dotlottie> — after the prerequisites
|
|
|
1296
1296
|
Double tap or double click a photo to pop a heart (or any emoji) at the tap point. L for keyboard users.
|
|
1297
1297
|
|
|
1298
1298
|
- Import: `import { defineDoubleTap } from 'motionary/components/click'; defineDoubleTap();`
|
|
1299
|
-
- CDN: https://unpkg.com/motionary@
|
|
1299
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1300
1300
|
- Attributes: `disabled`, `delay`, `icon`, `color`
|
|
1301
1301
|
- Events: `usa:double-tap`
|
|
1302
1302
|
- Methods: `pop()`
|
|
@@ -1312,7 +1312,7 @@ Double tap or double click a photo to pop a heart (or any emoji) at the tap poin
|
|
|
1312
1312
|
Drag with mouse, touch, pen or arrow keys. spring-back returns home with a wobble; inertia glides after a flick; snap to a grid or points; rubber-band bounds.
|
|
1313
1313
|
|
|
1314
1314
|
- Import: `import { defineDraggable } from 'motionary/components/physics'; defineDraggable();`
|
|
1315
|
-
- CDN: https://unpkg.com/motionary@
|
|
1315
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1316
1316
|
- Attributes: `axis`, `disabled`, `preset`, `bounds`, `spring-back`, `inertia`, `snap`, `step`
|
|
1317
1317
|
- Events: `usa:settle`, `usa:drag-start`, `usa:drag`, `usa:drag-end`
|
|
1318
1318
|
- Methods: `moveTo()`, `reset()`
|
|
@@ -1329,7 +1329,7 @@ Drag with mouse, touch, pen or arrow keys. spring-back returns home with a wobbl
|
|
|
1329
1329
|
Every stroke of the SVG inside draws itself — on view, hover, click or scrubbed with scroll — staggered between shapes, optional fill afterwards. No getTotalLength() needed.
|
|
1330
1330
|
|
|
1331
1331
|
- Import: `import { defineDraw } from 'motionary/components/svg'; defineDraw();`
|
|
1332
|
-
- CDN: https://unpkg.com/motionary@
|
|
1332
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1333
1333
|
- Attributes: `duration`, `stagger`, `trigger`, `repeat`
|
|
1334
1334
|
- Events: `usa:complete`
|
|
1335
1335
|
- Methods: `play()`
|
|
@@ -1345,7 +1345,7 @@ Every stroke of the SVG inside draws itself — on view, hover, click or scrubbe
|
|
|
1345
1345
|
A side panel that springs in, drags / swipes closed, traps the page behind a backdrop and returns focus on close. Left, right, top or bottom.
|
|
1346
1346
|
|
|
1347
1347
|
- Import: `import { defineDrawer } from 'motionary/components/ui'; defineDrawer();`
|
|
1348
|
-
- CDN: https://unpkg.com/motionary@
|
|
1348
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1349
1349
|
- Methods: `show()`, `close()`
|
|
1350
1350
|
|
|
1351
1351
|
```html
|
|
@@ -1358,7 +1358,7 @@ A side panel that springs in, drags / swipes closed, traps the page behind a bac
|
|
|
1358
1358
|
7.1: one vertical slider per band with springy caps and a smooth response curve drawn through them; presets glide every band to its gain.
|
|
1359
1359
|
|
|
1360
1360
|
- Import: `import { defineEqualizer } from 'motionary/components/widgets'; defineEqualizer();`
|
|
1361
|
-
- CDN: https://unpkg.com/motionary@
|
|
1361
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1362
1362
|
- Attributes: `bands`, `preset`, `label`
|
|
1363
1363
|
- Events: `usa:change`
|
|
1364
1364
|
- Methods: `applyPreset()`
|
|
@@ -1373,7 +1373,7 @@ A side panel that springs in, drags / swipes closed, traps the page behind a bac
|
|
|
1373
1373
|
A floating action button whose actions fan out with a staggered spring: up, down, left, right or radial.
|
|
1374
1374
|
|
|
1375
1375
|
- Import: `import { defineFab } from 'motionary/components/ui'; defineFab();`
|
|
1376
|
-
- CDN: https://unpkg.com/motionary@
|
|
1376
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1377
1377
|
- Attributes: `direction`, `gap`
|
|
1378
1378
|
- Events: `usa:toggle`
|
|
1379
1379
|
- Methods: `toggle()`
|
|
@@ -1391,7 +1391,7 @@ A floating action button whose actions fan out with a staggered spring: up, down
|
|
|
1391
1391
|
8.1: an announcement banner with an ambient festive scene behind the text — lunar lanterns and sparkles, Christmas lights and snow, Halloween bats and moon, or fireworks.
|
|
1392
1392
|
|
|
1393
1393
|
- Import: `import { defineFestivalBanner } from 'motionary/components/widgets'; defineFestivalBanner();`
|
|
1394
|
-
- CDN: https://unpkg.com/motionary@
|
|
1394
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1395
1395
|
- Attributes: `theme`, `label`, `dismissible`
|
|
1396
1396
|
- Events: `usa:dismiss`
|
|
1397
1397
|
- Methods: `dismiss()`
|
|
@@ -1405,7 +1405,7 @@ A floating action button whose actions fan out with a staggered spring: up, down
|
|
|
1405
1405
|
7.7: a text input whose label floats up on focus, with a growing underline; validates on blur — invalid shakes and slides the message in, valid draws a check. strength adds a 4-step password meter.
|
|
1406
1406
|
|
|
1407
1407
|
- Import: `import { defineField } from 'motionary/components/widgets'; defineField();`
|
|
1408
|
-
- CDN: https://unpkg.com/motionary@
|
|
1408
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1409
1409
|
- Attributes: `label`, `hint`, `error`, `strength`
|
|
1410
1410
|
- Events: `usa:invalid`, `usa:valid`
|
|
1411
1411
|
- Methods: `validate()`
|
|
@@ -1420,7 +1420,7 @@ A floating action button whose actions fan out with a staggered spring: up, down
|
|
|
1420
1420
|
6.9: dragging files over it lights marching-ants borders and lifts the icon; dropped (or browsed) files fly into a list with progress bars that end in a drawn check.
|
|
1421
1421
|
|
|
1422
1422
|
- Import: `import { defineFileDrop } from 'motionary/components/widgets'; defineFileDrop();`
|
|
1423
|
-
- CDN: https://unpkg.com/motionary@
|
|
1423
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1424
1424
|
- Attributes: `label`, `accept`, `multiple`, `simulate`
|
|
1425
1425
|
- Events: `usa:files`
|
|
1426
1426
|
- Methods: `setProgress()`, `addFiles()`, `clear()`
|
|
@@ -1437,7 +1437,7 @@ A floating action button whose actions fan out with a staggered spring: up, down
|
|
|
1437
1437
|
Full-screen sections that snap one at a time, with keyboard paging, dot navigation and a usa:section event.
|
|
1438
1438
|
|
|
1439
1439
|
- Import: `import { defineFullpage } from 'motionary/components/page'; defineFullpage();`
|
|
1440
|
-
- CDN: https://unpkg.com/motionary@
|
|
1440
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1441
1441
|
- Attributes: `dots`, `axis`
|
|
1442
1442
|
- Events: `usa:section`
|
|
1443
1443
|
- Methods: `go()`, `next()`, `prev()`
|
|
@@ -1454,7 +1454,7 @@ Full-screen sections that snap one at a time, with keyboard paging, dot navigati
|
|
|
1454
1454
|
<usa-fx> plays any registered effect on its child: pulse, pop, jelly, wiggle, heartbeat, bounce, flash (≤ 2 per second), tada, shake. Click the button.
|
|
1455
1455
|
|
|
1456
1456
|
- Import: `import { defineFx } from 'motionary/components/fx'; defineFx();`
|
|
1457
|
-
- CDN: https://unpkg.com/motionary@
|
|
1457
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1458
1458
|
- Attributes: `effect`, `trigger`, `options`, `self`, `once`
|
|
1459
1459
|
- Methods: `play()`
|
|
1460
1460
|
|
|
@@ -1469,7 +1469,7 @@ Full-screen sections that snap one at a time, with keyboard paging, dot navigati
|
|
|
1469
1469
|
7.2: a semicircular gauge — the needle swings to the value on a damped spring (overshoot, settle), the arc fills in the colour of its zone and the number counts. role="meter".
|
|
1470
1470
|
|
|
1471
1471
|
- Import: `import { defineGauge } from 'motionary/components/widgets'; defineGauge();`
|
|
1472
|
-
- CDN: https://unpkg.com/motionary@
|
|
1472
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1473
1473
|
- Attributes: `min`, `max`, `zones`, `unit`, `label`, `value`
|
|
1474
1474
|
|
|
1475
1475
|
```html
|
|
@@ -1481,7 +1481,7 @@ Full-screen sections that snap one at a time, with keyboard paging, dot navigati
|
|
|
1481
1481
|
9.3: seeded generative art on a canvas — flow fields, circle packing, Truchet tiles or layered waves in curated palettes; it draws itself in on screen and a tap re-seeds it.
|
|
1482
1482
|
|
|
1483
1483
|
- Import: `import { defineGenArt } from 'motionary/components/widgets'; defineGenArt();`
|
|
1484
|
-
- CDN: https://unpkg.com/motionary@
|
|
1484
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1485
1485
|
- Attributes: `art`, `seed`, `palette`, `label`
|
|
1486
1486
|
- Events: `usa:generate`
|
|
1487
1487
|
- Methods: `generate()`, `toDataURL()`
|
|
@@ -1495,7 +1495,7 @@ Full-screen sections that snap one at a time, with keyboard paging, dot navigati
|
|
|
1495
1495
|
5.7: <usa-gesture-fx> plays any registered effect on a fling (fast release), a two-finger twist or a long press that charges --usa-charge 0 → 1. JS: bindGesture(el, "fling", "tada").
|
|
1496
1496
|
|
|
1497
1497
|
- Import: `import { defineGestureFx } from 'motionary/components/effects'; defineGestureFx();`
|
|
1498
|
-
- CDN: https://unpkg.com/motionary@
|
|
1498
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1499
1499
|
- Attributes: `gesture`, `effect`, `options`, `self`, `velocity`, `angle`, `duration`
|
|
1500
1500
|
|
|
1501
1501
|
```html
|
|
@@ -1509,7 +1509,7 @@ Full-screen sections that snap one at a time, with keyboard paging, dot navigati
|
|
|
1509
1509
|
8.7: a multi-touch sticker — drag with one finger, pinch with two to scale and twist to rotate, all at once, with a lifted shadow while held (wheel / Shift + wheel and keyboard on desktop).
|
|
1510
1510
|
|
|
1511
1511
|
- Import: `import { defineGestureSticker } from 'motionary/components/widgets'; defineGestureSticker();`
|
|
1512
|
-
- CDN: https://unpkg.com/motionary@
|
|
1512
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1513
1513
|
- Attributes: `min`, `max`, `label`
|
|
1514
1514
|
- Events: `usa:transform`
|
|
1515
1515
|
- Methods: `transformTo()`, `reset()`
|
|
@@ -1525,7 +1525,7 @@ Full-screen sections that snap one at a time, with keyboard paging, dot navigati
|
|
|
1525
1525
|
10.9: <usa-gl-scene> for compressed glTF — Draco meshes and KTX2 (Basis Universal) textures decoded by the official decoders (Google draco3d, Binomial’s Basis Universal transcoder), lazy-loaded optional peers: only the decoder a file needs is fetched. Requires motionary/runtime/gl + format-gltf + gltf-decoders and draco3d (+ the Basis transcoder for KTX2 textures). Its own entry point: motionary/components/gl-model.
|
|
1526
1526
|
|
|
1527
1527
|
- Import: `import { defineGlModel } from 'motionary/components/gl-model'; defineGlModel();`
|
|
1528
|
-
- CDN: https://unpkg.com/motionary@
|
|
1528
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1529
1529
|
- Events: `usa:runtime-missing`
|
|
1530
1530
|
- Requires: motionary/runtime/gl + motionary/runtime/format-gltf + motionary/runtime/gltf-decoders + draco3d + basis_transcoder.js
|
|
1531
1531
|
- Install: `npm i motionary && npm i draco3d && curl -LO https://cdn.jsdelivr.net/gh/BinomialLLC/basis_universal@1.16.4/webgl/transcoder/build/basis_transcoder.js -LO https://cdn.jsdelivr.net/gh/BinomialLLC/basis_universal@1.16.4/webgl/transcoder/build/basis_transcoder.wasm`
|
|
@@ -1546,15 +1546,15 @@ defineGlModel(); // registers <usa-gl-model> — after the prerequisites
|
|
|
1546
1546
|
```
|
|
1547
1547
|
|
|
1548
1548
|
```html
|
|
1549
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1550
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1551
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1552
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1549
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
1550
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/gl.iife.js"></script>
|
|
1551
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/format-gltf.iife.js"></script>
|
|
1552
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/gltf-decoders.iife.js"></script>
|
|
1553
1553
|
<script src="https://www.gstatic.com/draco/versioned/decoders/1.5.7/draco_decoder.js"></script>
|
|
1554
1554
|
<script src="https://cdn.jsdelivr.net/gh/BinomialLLC/basis_universal@1.16.4/webgl/transcoder/build/basis_transcoder.js"></script>
|
|
1555
1555
|
<!-- then the component bundles -->
|
|
1556
|
-
<script src="https://unpkg.com/motionary@
|
|
1557
|
-
<script src="https://unpkg.com/motionary@
|
|
1556
|
+
<script src="https://unpkg.com/motionary@13/dist/components.umd.js"></script>
|
|
1557
|
+
<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>
|
|
1558
1558
|
```
|
|
1559
1559
|
|
|
1560
1560
|
```html
|
|
@@ -1566,7 +1566,7 @@ defineGlModel(); // registers <usa-gl-model> — after the prerequisites
|
|
|
1566
1566
|
10.5: a WebGL2 3D viewer on Motionary’s own renderer — glTF 2.0 / GLB and OBJ / MTL models or built-in shapes, PBR-style materials, orbit controls (drag, wheel, pinch, arrow keys), auto-rotate and video textures. Requires motionary/runtime/gl (+ format-gltf for .gltf / .glb, format-obj for .obj, gltf-anim for glTF animation — 10.8) — npm i motionary, then use(gl, formatGltf, formatObj, gltfAnim) before it mounts.
|
|
1567
1567
|
|
|
1568
1568
|
- Import: `import { defineGlScene } from 'motionary/components/widgets'; defineGlScene();`
|
|
1569
|
-
- CDN: https://unpkg.com/motionary@
|
|
1569
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1570
1570
|
- Attributes: `src`, `shape`, `color`, `metallic`, `roughness`, `background`, `exposure`, `controls`, `auto-rotate`, `video`, `video-scrub`, `label`, `animation`, `animation-speed`
|
|
1571
1571
|
- Events: `usa:error`, `usa:load`, `usa:runtime-missing`
|
|
1572
1572
|
- Methods: `reload()`
|
|
@@ -1587,14 +1587,14 @@ defineGlScene(); // registers <usa-gl-scene> — after the prerequisites
|
|
|
1587
1587
|
```
|
|
1588
1588
|
|
|
1589
1589
|
```html
|
|
1590
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1591
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1592
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1593
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1594
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1590
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
1591
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/gl.iife.js"></script>
|
|
1592
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/format-gltf.iife.js"></script>
|
|
1593
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/format-obj.iife.js"></script>
|
|
1594
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/gltf-anim.iife.js"></script>
|
|
1595
1595
|
<!-- then the component bundles -->
|
|
1596
|
-
<script src="https://unpkg.com/motionary@
|
|
1597
|
-
<script src="https://unpkg.com/motionary@
|
|
1596
|
+
<script src="https://unpkg.com/motionary@13/dist/components.umd.js"></script>
|
|
1597
|
+
<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>
|
|
1598
1598
|
```
|
|
1599
1599
|
|
|
1600
1600
|
```html
|
|
@@ -1606,7 +1606,7 @@ defineGlScene(); // registers <usa-gl-scene> — after the prerequisites
|
|
|
1606
1606
|
An RGB-split, sliced glitch — always on or on hover.
|
|
1607
1607
|
|
|
1608
1608
|
- Import: `import { defineGlitch } from 'motionary/components/text'; defineGlitch();`
|
|
1609
|
-
- CDN: https://unpkg.com/motionary@
|
|
1609
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1610
1610
|
- Attributes: `text`, `intensity`
|
|
1611
1611
|
- Methods: `mount()`, `splitChars()`
|
|
1612
1612
|
|
|
@@ -1619,7 +1619,7 @@ An RGB-split, sliced glitch — always on or on hover.
|
|
|
1619
1619
|
7.6: an SVG globe in orthographic projection — graticule, pulsing markers, spins while on screen, drag to turn it, flyTo(name) brings a city round to the front. No WebGL, no tiles.
|
|
1620
1620
|
|
|
1621
1621
|
- Import: `import { defineGlobe } from 'motionary/components/widgets'; defineGlobe();`
|
|
1622
|
-
- CDN: https://unpkg.com/motionary@
|
|
1622
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1623
1623
|
- Attributes: `markers`, `speed`, `tilt`, `lon`
|
|
1624
1624
|
- Events: `usa:focus`
|
|
1625
1625
|
- Methods: `flyTo()`
|
|
@@ -1634,7 +1634,7 @@ An RGB-split, sliced glitch — always on or on hover.
|
|
|
1634
1634
|
10.5 (WebGPU effects 2.0): tens of thousands of particles simulated by a WebGPU compute shader and drawn as instanced quads — swirl, galaxy or fountain, pointer repulsion, trails; Canvas 2D fallback where WebGPU is missing.
|
|
1635
1635
|
|
|
1636
1636
|
- Import: `import { defineGpuParticles } from 'motionary/components/widgets'; defineGpuParticles();`
|
|
1637
|
-
- CDN: https://unpkg.com/motionary@
|
|
1637
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1638
1638
|
- Attributes: `count`, `mode`, `colors`, `size`, `speed`, `trail`, `pointer`, `label`
|
|
1639
1639
|
- Events: `usa:backend`
|
|
1640
1640
|
|
|
@@ -1647,7 +1647,7 @@ An RGB-split, sliced glitch — always on or on hover.
|
|
|
1647
1647
|
Text filled with a multi-colour gradient that keeps flowing.
|
|
1648
1648
|
|
|
1649
1649
|
- Import: `import { defineGradientText } from 'motionary/components/text'; defineGradientText();`
|
|
1650
|
-
- CDN: https://unpkg.com/motionary@
|
|
1650
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1651
1651
|
- Attributes: `colors`, `speed`, `angle`
|
|
1652
1652
|
- Methods: `mount()`, `splitChars()`
|
|
1653
1653
|
|
|
@@ -1660,7 +1660,7 @@ Text filled with a multi-colour gradient that keeps flowing.
|
|
|
1660
1660
|
An SVG-noise grain overlay — no image to ship. animated makes it jitter like film.
|
|
1661
1661
|
|
|
1662
1662
|
- Import: `import { defineGrain } from 'motionary/components/background'; defineGrain();`
|
|
1663
|
-
- CDN: https://unpkg.com/motionary@
|
|
1663
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1664
1664
|
- Attributes: `opacity`, `blend`, `scale`
|
|
1665
1665
|
|
|
1666
1666
|
```html
|
|
@@ -1674,7 +1674,7 @@ An SVG-noise grain overlay — no image to ship. animated makes it jitter like f
|
|
|
1674
1674
|
A line grid behind the content that lights up around the pointer.
|
|
1675
1675
|
|
|
1676
1676
|
- Import: `import { defineGridGlow } from 'motionary/components/background'; defineGridGlow();`
|
|
1677
|
-
- CDN: https://unpkg.com/motionary@
|
|
1677
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1678
1678
|
- Attributes: `size`, `radius`, `color`
|
|
1679
1679
|
- Methods: `mount()`
|
|
1680
1680
|
|
|
@@ -1689,7 +1689,7 @@ A line grid behind the content that lights up around the pointer.
|
|
|
1689
1689
|
8.7: a 3D card that tilts with the phone’s gyroscope (and with the pointer on desktop), with a moving glare and layers that float at different depths.
|
|
1690
1690
|
|
|
1691
1691
|
- Import: `import { defineGyroCard } from 'motionary/components/widgets'; defineGyroCard();`
|
|
1692
|
-
- CDN: https://unpkg.com/motionary@
|
|
1692
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1693
1693
|
- Attributes: `max`, `glare`
|
|
1694
1694
|
- Events: `usa:tilt`
|
|
1695
1695
|
- Methods: `tilt()`, `wobble()`
|
|
@@ -1706,7 +1706,7 @@ A line grid behind the content that lights up around the pointer.
|
|
|
1706
1706
|
The text draws itself stroke by stroke, then fills in — signatures, hero words.
|
|
1707
1707
|
|
|
1708
1708
|
- Import: `import { defineHandwriting } from 'motionary/components/text'; defineHandwriting();`
|
|
1709
|
-
- CDN: https://unpkg.com/motionary@
|
|
1709
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1710
1710
|
- Attributes: `text`, `size`, `font`, `stroke`, `duration`
|
|
1711
1711
|
- Events: `usa:complete`
|
|
1712
1712
|
- Methods: `mount()`, `splitChars()`
|
|
@@ -1720,7 +1720,7 @@ The text draws itself stroke by stroke, then fills in — signatures, hero words
|
|
|
1720
1720
|
9.4: a full-bleed hero with a background video — poster first, cross-fade to the video, a readable scrim, an always-there pause button and an optional scroll-scrubbed mode.
|
|
1721
1721
|
|
|
1722
1722
|
- Import: `import { defineHeroVideo } from 'motionary/components/widgets'; defineHeroVideo();`
|
|
1723
|
-
- CDN: https://unpkg.com/motionary@
|
|
1723
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1724
1724
|
- Attributes: `label`, `scrub`, `poster`
|
|
1725
1725
|
- Methods: `toggle()`
|
|
1726
1726
|
|
|
@@ -1736,7 +1736,7 @@ The text draws itself stroke by stroke, then fills in — signatures, hero words
|
|
|
1736
1736
|
Press and hold (pointer, Space or Enter) while a ring fills; releasing early rewinds. For destructive actions.
|
|
1737
1737
|
|
|
1738
1738
|
- Import: `import { defineHold } from 'motionary/components/click'; defineHold();`
|
|
1739
|
-
- CDN: https://unpkg.com/motionary@
|
|
1739
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1740
1740
|
- Attributes: `duration`, `disabled`, `color`, `label`
|
|
1741
1741
|
- Events: `usa:progress`, `usa:confirm`, `usa:cancel`
|
|
1742
1742
|
- Methods: `cancel()`
|
|
@@ -1750,7 +1750,7 @@ Press and hold (pointer, Space or Enter) while a ring fills; releasing early rew
|
|
|
1750
1750
|
8.4: a sci-fi HUD panel — angled corners, a glowing frame that draws itself in when the panel scrolls into view, a header with a blinking status light, and data rows that fill in as animated bar readouts.
|
|
1751
1751
|
|
|
1752
1752
|
- Import: `import { defineHudPanel } from 'motionary/components/widgets'; defineHudPanel();`
|
|
1753
|
-
- CDN: https://unpkg.com/motionary@
|
|
1753
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1754
1754
|
- Attributes: `title`, `status`, `color`
|
|
1755
1755
|
- Events: `usa:boot`
|
|
1756
1756
|
- Methods: `boot()`
|
|
@@ -1767,7 +1767,7 @@ Press and hold (pointer, Space or Enter) while a ring fills; releasing early rew
|
|
|
1767
1767
|
8.0: server-rendered children animate in on hydration — hidden only while JS is on and not yet upgraded (ssrHead() in the head, 3 s CSS fallback), then staggered in on the unified clock.
|
|
1768
1768
|
|
|
1769
1769
|
- Import: `import { defineHydrate } from 'motionary/components/widgets'; defineHydrate();`
|
|
1770
|
-
- CDN: https://unpkg.com/motionary@
|
|
1770
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1771
1771
|
- Attributes: `effect`, `stagger`, `duration`
|
|
1772
1772
|
- Events: `usa:hydrated`
|
|
1773
1773
|
- Methods: `replay()`
|
|
@@ -1786,7 +1786,7 @@ Press and hold (pointer, Space or Enter) while a ring fills; releasing early rew
|
|
|
1786
1786
|
Icons that morph point-by-point with a spring: play ↔ pause, menu ↔ close, plus ↔ minus, check, arrow. toggle makes it a button with per-icon labels.
|
|
1787
1787
|
|
|
1788
1788
|
- Import: `import { defineIconMorph } from 'motionary/components/click'; defineIconMorph();`
|
|
1789
|
-
- CDN: https://unpkg.com/motionary@
|
|
1789
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1790
1790
|
- Attributes: `icons`, `size`, `toggle`, `index`, `preset`, `labels`
|
|
1791
1791
|
- Events: `usa:change`
|
|
1792
1792
|
- Methods: `next()`, `show()`
|
|
@@ -1801,13 +1801,13 @@ Icons that morph point-by-point with a spring: play ↔ pause, menu ↔ close, p
|
|
|
1801
1801
|
10.1: one-click install snippet with npm / pnpm / yarn / bun / CDN tabs and a copy button that confirms with a check; `cdn` sets the URL of the CDN tab.
|
|
1802
1802
|
|
|
1803
1803
|
- Import: `import { defineInstallButton } from 'motionary/components/widgets'; defineInstallButton();`
|
|
1804
|
-
- CDN: https://unpkg.com/motionary@
|
|
1804
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1805
1805
|
- Attributes: `package`, `managers`, `cdn`, `dev`, `manager`
|
|
1806
1806
|
- Events: `usa:copy`
|
|
1807
1807
|
- Methods: `command()`, `copy()`
|
|
1808
1808
|
|
|
1809
1809
|
```html
|
|
1810
|
-
<usa-install-button package="motionary" managers="npm pnpm yarn bun cdn" cdn="https://cdn.jsdelivr.net/npm/motionary@
|
|
1810
|
+
<usa-install-button package="motionary" managers="npm pnpm yarn bun cdn" cdn="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></usa-install-button>
|
|
1811
1811
|
```
|
|
1812
1812
|
|
|
1813
1813
|
### <usa-kanban> — Kanban board (drag-sort)
|
|
@@ -1815,7 +1815,7 @@ Icons that morph point-by-point with a spring: play ↔ pause, menu ↔ close, p
|
|
|
1815
1815
|
6.8: drag cards between columns — the card lifts and tilts toward the drag, a placeholder opens where it will land and the other cards glide aside (FLIP). Full keyboard support: Space picks up, arrows move, Space drops.
|
|
1816
1816
|
|
|
1817
1817
|
- Import: `import { defineKanban } from 'motionary/components/widgets'; defineKanban();`
|
|
1818
|
-
- CDN: https://unpkg.com/motionary@
|
|
1818
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1819
1819
|
- Attributes: `label`
|
|
1820
1820
|
- Events: `usa:move`
|
|
1821
1821
|
- Methods: `cardsOf()`, `move()`
|
|
@@ -1836,7 +1836,7 @@ Icons that morph point-by-point with a spring: play ↔ pause, menu ↔ close, p
|
|
|
1836
1836
|
6.9: a compact timeline for <usa-player> JSON — drag a bar to move a track, drag its edge to resize, scrub the playhead or press play; exports format use-scroll-animate/animation v1.
|
|
1837
1837
|
|
|
1838
1838
|
- Import: `import { defineKeyframeEditor } from 'motionary/components/widgets'; defineKeyframeEditor();`
|
|
1839
|
-
- CDN: https://unpkg.com/motionary@
|
|
1839
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1840
1840
|
- Attributes: `for`
|
|
1841
1841
|
- Events: `usa:change`
|
|
1842
1842
|
- Methods: `toJSON()`, `play()`, `seek()`
|
|
@@ -1854,7 +1854,7 @@ Icons that morph point-by-point with a spring: play ↔ pause, menu ↔ close, p
|
|
|
1854
1854
|
7.2: the value counts up keeping prefix, suffix and decimals ("$12.4k", "98.2%"), the delta chip slides in with an arrow coloured by sign, and an optional trend draws a sparkline. Setting value rolls and flashes the card.
|
|
1855
1855
|
|
|
1856
1856
|
- Import: `import { defineKpi } from 'motionary/components/widgets'; defineKpi();`
|
|
1857
|
-
- CDN: https://unpkg.com/motionary@
|
|
1857
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1858
1858
|
- Attributes: `label`, `delta`, `caption`, `trend`, `invert`, `locale`
|
|
1859
1859
|
|
|
1860
1860
|
```html
|
|
@@ -1866,7 +1866,7 @@ Icons that morph point-by-point with a spring: play ↔ pause, menu ↔ close, p
|
|
|
1866
1866
|
7.5: a ranked list — when scores change, rows glide to their new rank, climbers flash green with ▲n and fallers red with ▼n, scores roll and the top three get medals.
|
|
1867
1867
|
|
|
1868
1868
|
- Import: `import { defineLeaderboard } from 'motionary/components/widgets'; defineLeaderboard();`
|
|
1869
|
-
- CDN: https://unpkg.com/motionary@
|
|
1869
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1870
1870
|
- Attributes: `label`, `limit`, `me`
|
|
1871
1871
|
- Events: `usa:rank`
|
|
1872
1872
|
- Methods: `setScore()`
|
|
@@ -1885,7 +1885,7 @@ Icons that morph point-by-point with a spring: play ↔ pause, menu ↔ close, p
|
|
|
1885
1885
|
A heart that pops with a spring and bursts into particles; aria-pressed, optional count.
|
|
1886
1886
|
|
|
1887
1887
|
- Import: `import { defineLike } from 'motionary/components/click'; defineLike();`
|
|
1888
|
-
- CDN: https://unpkg.com/motionary@
|
|
1888
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1889
1889
|
- Attributes: `liked`, `count`, `label`, `disabled`, `size`, `color`, `haptic`
|
|
1890
1890
|
- Events: `usa:change`
|
|
1891
1891
|
- Methods: `toggle()`
|
|
@@ -1899,7 +1899,7 @@ A heart that pops with a spring and bursts into particles; aria-pressed, optiona
|
|
|
1899
1899
|
Click or tap to send water ripples through the image; hover adds a gentle wobble. The plain image stays when WebGL is unavailable.
|
|
1900
1900
|
|
|
1901
1901
|
- Import: `import { defineLiquid } from 'motionary/components/webgl'; defineLiquid();`
|
|
1902
|
-
- CDN: https://unpkg.com/motionary@
|
|
1902
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1903
1903
|
|
|
1904
1904
|
```html
|
|
1905
1905
|
<usa-liquid strength="1">
|
|
@@ -1912,7 +1912,7 @@ Click or tap to send water ripples through the image; hover adds a gentle wobble
|
|
|
1912
1912
|
8.3: a navigation bar whose active indicator is a drop of liquid — it stretches like a droplet towards the next item and settles with a wobble (gooey SVG filter).
|
|
1913
1913
|
|
|
1914
1914
|
- Import: `import { defineLiquidNav } from 'motionary/components/widgets'; defineLiquidNav();`
|
|
1915
|
-
- CDN: https://unpkg.com/motionary@
|
|
1915
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1916
1916
|
- Attributes: `label`, `value`
|
|
1917
1917
|
- Events: `usa:change`
|
|
1918
1918
|
|
|
@@ -1927,7 +1927,7 @@ Click or tap to send water ripples through the image; hover adds a gentle wobble
|
|
|
1927
1927
|
A slim NProgress-style bar for route changes and fetches: loadingBar.start() trickles, done() completes and fades.
|
|
1928
1928
|
|
|
1929
1929
|
- Import: `import { defineLoadingBar } from 'motionary/components/page'; defineLoadingBar();`
|
|
1930
|
-
- CDN: https://unpkg.com/motionary@
|
|
1930
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1931
1931
|
- Attributes: `label`, `color`, `height`
|
|
1932
1932
|
- Methods: `start()`, `set()`, `done()`
|
|
1933
1933
|
|
|
@@ -1943,7 +1943,7 @@ A slim NProgress-style bar for route changes and fetches: loadingBar.start() tri
|
|
|
1943
1943
|
7.6: a place card with a stylised mini map — the route from the origin draws itself, the pin drops in with a bounce and a ring pulses; distance computed with haversine (km or mi).
|
|
1944
1944
|
|
|
1945
1945
|
- Import: `import { defineLocationCard } from 'motionary/components/widgets'; defineLocationCard();`
|
|
1946
|
-
- CDN: https://unpkg.com/motionary@
|
|
1946
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1947
1947
|
- Attributes: `name`, `address`, `lat`, `lon`, `from-lat`, `from-lon`, `distance`, `href`, `unit`
|
|
1948
1948
|
- Events: `usa:arrive`
|
|
1949
1949
|
- Methods: `replay()`
|
|
@@ -1958,7 +1958,7 @@ A slim NProgress-style bar for route changes and fetches: loadingBar.start() tri
|
|
|
1958
1958
|
9.2: plays Lottie (After Effects / bodymovin) files without lottie-web — vector layers render as SVG and their keyframes run as native animations on Motionary’s clock.
|
|
1959
1959
|
|
|
1960
1960
|
- Import: `import { defineLottie } from 'motionary/components/widgets'; defineLottie();`
|
|
1961
|
-
- CDN: https://unpkg.com/motionary@
|
|
1961
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1962
1962
|
- Attributes: `src`, `loop`, `speed`, `label`
|
|
1963
1963
|
- Events: `usa:error`, `usa:load`, `usa:complete`
|
|
1964
1964
|
- Methods: `play()`, `pause()`, `stop()`
|
|
@@ -1972,7 +1972,7 @@ A slim NProgress-style bar for route changes and fetches: loadingBar.start() tri
|
|
|
1972
1972
|
9.2: an animated icon set shipped as tiny Lottie files — heart beat, bell swing, check draw-in, spinner, star twinkle, bolt zap — on click, hover, enter or loop.
|
|
1973
1973
|
|
|
1974
1974
|
- Import: `import { defineLottieIcon } from 'motionary/components/widgets'; defineLottieIcon();`
|
|
1975
|
-
- CDN: https://unpkg.com/motionary@
|
|
1975
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1976
1976
|
- Attributes: `name`, `size`, `color`, `label`, `trigger`
|
|
1977
1977
|
- Methods: `play()`
|
|
1978
1978
|
|
|
@@ -1986,7 +1986,7 @@ A slim NProgress-style bar for route changes and fetches: loadingBar.start() tri
|
|
|
1986
1986
|
10.6: plays Lottie JSON and dotLottie (.lottie) files with Motionary’s own Canvas 2D renderer — shapes, gradients, trim paths, masks, track mattes, precomps and images; autoplay, loop, bounce, segments / markers, play on hover or scrub with scroll. Requires motionary/runtime/vector — npm i motionary, then use(vector) before it mounts.
|
|
1987
1987
|
|
|
1988
1988
|
- Import: `import { defineLottiePlayer } from 'motionary/components/widgets'; defineLottiePlayer();`
|
|
1989
|
-
- CDN: https://unpkg.com/motionary@
|
|
1989
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1990
1990
|
- Attributes: `src`, `animation`, `autoplay`, `loop`, `speed`, `mode`, `segment`, `hover`, `scrub`, `fit`, `background`, `label`
|
|
1991
1991
|
- Events: `usa:complete`, `usa:load`, `usa:error`, `usa:runtime-missing`
|
|
1992
1992
|
- Methods: `play()`, `pause()`, `stop()`, `seek()`
|
|
@@ -2004,11 +2004,11 @@ defineLottiePlayer(); // registers <usa-lottie-player> — after the prerequisit
|
|
|
2004
2004
|
```
|
|
2005
2005
|
|
|
2006
2006
|
```html
|
|
2007
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
2008
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
2007
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
2008
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/vector.iife.js"></script>
|
|
2009
2009
|
<!-- then the component bundles -->
|
|
2010
|
-
<script src="https://unpkg.com/motionary@
|
|
2011
|
-
<script src="https://unpkg.com/motionary@
|
|
2010
|
+
<script src="https://unpkg.com/motionary@13/dist/components.umd.js"></script>
|
|
2011
|
+
<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>
|
|
2012
2012
|
```
|
|
2013
2013
|
|
|
2014
2014
|
```html
|
|
@@ -2020,7 +2020,7 @@ defineLottiePlayer(); // registers <usa-lottie-player> — after the prerequisit
|
|
|
2020
2020
|
7.1: LRC or [data-t] lines; the active line glows, scrolls to the centre and a highlight sweeps across it while past lines dim. Follows an <audio>, <video> or <usa-music-player> via for.
|
|
2021
2021
|
|
|
2022
2022
|
- Import: `import { defineLyrics } from 'motionary/components/widgets'; defineLyrics();`
|
|
2023
|
-
- CDN: https://unpkg.com/motionary@
|
|
2023
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2024
2024
|
- Attributes: `label`, `for`
|
|
2025
2025
|
- Events: `usa:seek`
|
|
2026
2026
|
|
|
@@ -2038,7 +2038,7 @@ defineLottiePlayer(); // registers <usa-lottie-player> — after the prerequisit
|
|
|
2038
2038
|
Content leans toward the pointer when it comes near and springs back. Fine pointers only; off under reduced motion.
|
|
2039
2039
|
|
|
2040
2040
|
- Import: `import { defineMagnetic } from 'motionary/components/interaction'; defineMagnetic();`
|
|
2041
|
-
- CDN: https://unpkg.com/motionary@
|
|
2041
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
2042
2042
|
- Attributes: `strength`, `radius`, `disabled`
|
|
2043
2043
|
|
|
2044
2044
|
```html
|
|
@@ -2050,7 +2050,7 @@ Content leans toward the pointer when it comes near and springs back. Fine point
|
|
|
2050
2050
|
A seamless infinite ticker with constant speed, pause on hover, soft edges and vertical mode. Clones are hidden from AT.
|
|
2051
2051
|
|
|
2052
2052
|
- Import: `import { defineMarquee } from 'motionary/components/background'; defineMarquee();`
|
|
2053
|
-
- CDN: https://unpkg.com/motionary@
|
|
2053
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
2054
2054
|
- Attributes: `speed`, `direction`, `gap`, `paused`, `pause-on-hover`
|
|
2055
2055
|
- Methods: `pause()`, `resume()`
|
|
2056
2056
|
|
|
@@ -2066,7 +2066,7 @@ A seamless infinite ticker with constant speed, pause on hover, soft edges and v
|
|
|
2066
2066
|
Reveal images or sections through a growing mask: circle, diamond, star, iris or wipes, from any origin.
|
|
2067
2067
|
|
|
2068
2068
|
- Import: `import { defineMaskReveal } from 'motionary/components/svg'; defineMaskReveal();`
|
|
2069
|
-
- CDN: https://unpkg.com/motionary@
|
|
2069
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
2070
2070
|
- Attributes: `shape`, `at`, `duration`, `delay`, `trigger`, `repeat`
|
|
2071
2071
|
- Events: `usa:complete`
|
|
2072
2072
|
- Methods: `reveal()`
|
|
@@ -2082,7 +2082,7 @@ Reveal images or sections through a growing mask: circle, diamond, star, iris or
|
|
|
2082
2082
|
Pinterest-style masonry: items drop into the shortest column and glide when the width, the items or their sizes change. CSS columns before JS runs.
|
|
2083
2083
|
|
|
2084
2084
|
- Import: `import { defineMasonry } from 'motionary/components/layout'; defineMasonry();`
|
|
2085
|
-
- CDN: https://unpkg.com/motionary@
|
|
2085
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
2086
2086
|
- Attributes: `columns`, `min`, `gap`
|
|
2087
2087
|
- Methods: `enable()`, `disable()`
|
|
2088
2088
|
|
|
@@ -2098,7 +2098,7 @@ Pinterest-style masonry: items drop into the shortest column and glide when the
|
|
|
2098
2098
|
6.5: a masonry grid whose items glide to their new places (FLIP) on resize, insert / remove, filter(), shuffle() and sort(); hidden items scale out, new ones scale in.
|
|
2099
2099
|
|
|
2100
2100
|
- Import: `import { defineMasonryFlow } from 'motionary/components/widgets'; defineMasonryFlow();`
|
|
2101
|
-
- CDN: https://unpkg.com/motionary@
|
|
2101
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2102
2102
|
- Attributes: `min`, `gap`
|
|
2103
2103
|
- Events: `usa:layout`
|
|
2104
2104
|
- Methods: `layout()`, `filter()`, `shuffle()`, `sort()`
|
|
@@ -2117,7 +2117,7 @@ Pinterest-style masonry: items drop into the shortest column and glide when the
|
|
|
2117
2117
|
6.3: the list scales (or folds / slides) out of its button and the items cascade in. Full menu keyboard support — arrows, Home / End, Esc, Tab — and outside clicks close it.
|
|
2118
2118
|
|
|
2119
2119
|
- Import: `import { defineMenu } from 'motionary/components/widgets'; defineMenu();`
|
|
2120
|
-
- CDN: https://unpkg.com/motionary@
|
|
2120
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2121
2121
|
- Attributes: `placement`, `effect`
|
|
2122
2122
|
- Events: `usa:select`, `usa:open`, `usa:close`
|
|
2123
2123
|
- Methods: `open()`, `close()`, `toggle()`
|
|
@@ -2137,7 +2137,7 @@ Pinterest-style masonry: items drop into the shortest column and glide when the
|
|
|
2137
2137
|
6.6: the three bars morph into a cross, a back arrow, a minus or a spinning plus-to-cross; a real toggle button with aria-expanded that can open the element it controls (for).
|
|
2138
2138
|
|
|
2139
2139
|
- Import: `import { defineMenuToggle } from 'motionary/components/widgets'; defineMenuToggle();`
|
|
2140
|
-
- CDN: https://unpkg.com/motionary@
|
|
2140
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2141
2141
|
- Attributes: `variant`, `label`, `for`
|
|
2142
2142
|
- Events: `usa:toggle`
|
|
2143
2143
|
- Methods: `toggle()`
|
|
@@ -2152,7 +2152,7 @@ Pinterest-style masonry: items drop into the shortest column and glide when the
|
|
|
2152
2152
|
7.4: a chat thread — new bubbles pop in from their side, consecutive messages group, the list sticks to the bottom (or shows a “↓ New messages” pill when you scrolled up) and typing(name) shows animated typing dots.
|
|
2153
2153
|
|
|
2154
2154
|
- Import: `import { defineMessageList } from 'motionary/components/widgets'; defineMessageList();`
|
|
2155
|
-
- CDN: https://unpkg.com/motionary@
|
|
2155
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2156
2156
|
- Attributes: `label`
|
|
2157
2157
|
- Events: `usa:message`
|
|
2158
2158
|
- Methods: `push()`, `typing()`
|
|
@@ -2170,7 +2170,7 @@ Pinterest-style masonry: items drop into the shortest column and glide when the
|
|
|
2170
2170
|
6.5: a progress line grows down the rail as you scroll; each milestone pops its dot and slides its card in when the line reaches it. Alternating sides on wide screens, one column on phones; data-date labels.
|
|
2171
2171
|
|
|
2172
2172
|
- Import: `import { defineMilestones } from 'motionary/components/widgets'; defineMilestones();`
|
|
2173
|
-
- CDN: https://unpkg.com/motionary@
|
|
2173
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2174
2174
|
- Attributes: `layout`
|
|
2175
2175
|
- Events: `usa:reach`
|
|
2176
2176
|
|
|
@@ -2187,7 +2187,10 @@ Pinterest-style masonry: items drop into the shortest column and glide when the
|
|
|
2187
2187
|
6.3: native <dialog> (top layer, focus trap, Esc) with animated open / close and a blurred backdrop — scale, slide-up, flip, or origin: it grows out of the button that opened it. Focus returns to the opener.
|
|
2188
2188
|
|
|
2189
2189
|
- Import: `import { defineModal } from 'motionary/components/widgets'; defineModal();`
|
|
2190
|
-
- CDN: https://unpkg.com/motionary@
|
|
2190
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2191
|
+
- Attributes: `effect`, `label`, `persistent`
|
|
2192
|
+
- Events: `usa:open`, `usa:close`
|
|
2193
|
+
- Methods: `show()`, `close()`, `toggle()`
|
|
2191
2194
|
|
|
2192
2195
|
```html
|
|
2193
2196
|
<button data-usa-open="welcome">Open</button>
|
|
@@ -2203,7 +2206,7 @@ Pinterest-style masonry: items drop into the shortest column and glide when the
|
|
|
2203
2206
|
Morph an SVG path through a list of shapes (paths="A | B | C") on click, hover, in view or automatically. Same-structure paths morph point by point.
|
|
2204
2207
|
|
|
2205
2208
|
- Import: `import { defineMorph } from 'motionary/components/svg'; defineMorph();`
|
|
2206
|
-
- CDN: https://unpkg.com/motionary@
|
|
2209
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
2207
2210
|
- Attributes: `paths`, `trigger`, `duration`, `interval`
|
|
2208
2211
|
- Events: `usa:change`
|
|
2209
2212
|
- Methods: `next()`
|
|
@@ -2218,7 +2221,7 @@ Morph an SVG path through a list of shapes (paths="A | B | C") on click, hover,
|
|
|
2218
2221
|
9.0: the declarative motion DSL — describe motion as one readable string (“enter: fade-up 600ms stagger 80ms; hover: pop”) on <usa-motion> or any element’s data-motion, no JavaScript per element.
|
|
2219
2222
|
|
|
2220
2223
|
- Import: `import { defineMotion } from 'motionary/components/widgets'; defineMotion();`
|
|
2221
|
-
- CDN: https://unpkg.com/motionary@
|
|
2224
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2222
2225
|
- Attributes: `rules`
|
|
2223
2226
|
- Events: `usa:motion-error`
|
|
2224
2227
|
|
|
@@ -2236,7 +2239,7 @@ Morph an SVG path through a list of shapes (paths="A | B | C") on click, hover,
|
|
|
2236
2239
|
10.2: a live panel listing the running animations in a scope (CSS animations, transitions, element.animate(), components) with state and progress, plus the motionary/runtime ticker when present — pause / play all, 0.25× slow motion and per-row scrub.
|
|
2237
2240
|
|
|
2238
2241
|
- Import: `import { defineMotionInspector } from 'motionary/components/widgets'; defineMotionInspector();`
|
|
2239
|
-
- CDN: https://unpkg.com/motionary@
|
|
2242
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2240
2243
|
- Attributes: `scope`, `interval`
|
|
2241
2244
|
- Events: `usa:change`
|
|
2242
2245
|
- Methods: `refresh()`, `pauseAll()`, `playAll()`, `setRate()`, `animations()`
|
|
@@ -2250,7 +2253,7 @@ Morph an SVG path through a list of shapes (paths="A | B | C") on click, hover,
|
|
|
2250
2253
|
9.5: a motion settings panel for your users — motion level (full, gentle, minimal, none), animation speed, pause autoplaying video, no parallax — applied instantly to every Motionary animation and remembered.
|
|
2251
2254
|
|
|
2252
2255
|
- Import: `import { defineMotionPrefs } from 'motionary/components/widgets'; defineMotionPrefs();`
|
|
2253
|
-
- CDN: https://unpkg.com/motionary@
|
|
2256
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2254
2257
|
- Attributes: `label`
|
|
2255
2258
|
- Events: `usa:change`
|
|
2256
2259
|
- Methods: `reset()`
|
|
@@ -2264,7 +2267,7 @@ Morph an SVG path through a list of shapes (paths="A | B | C") on click, hover,
|
|
|
2264
2267
|
10.7 (AI-assisted motion): describe a motion in English or Chinese and get a live preview plus ready code — Web Animations, CSS (with a reduced-motion guard) or a Motionary component. A small deterministic parser (motionary/components/ai), no model and no network; the same parser powers suggest_motion in motionary-mcp 2.0.
|
|
2265
2268
|
|
|
2266
2269
|
- Import: `import { defineMotionPrompt } from 'motionary/components/widgets'; defineMotionPrompt();`
|
|
2267
|
-
- CDN: https://unpkg.com/motionary@
|
|
2270
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2268
2271
|
- Attributes: `value`, `format`, `placeholder`, `label`
|
|
2269
2272
|
- Events: `usa:suggest`, `usa:copy`
|
|
2270
2273
|
- Methods: `suggest()`
|
|
@@ -2278,7 +2281,7 @@ Morph an SVG path through a list of shapes (paths="A | B | C") on click, hover,
|
|
|
2278
2281
|
9.7: a motion spec sheet for design hand-off — each rule of a motion string with its trigger, a duration bar on a shared timeline and the easing curve, a Play playhead and Copy CSS; pairs with the Figma plugin and Framer export of motionary/design.
|
|
2279
2282
|
|
|
2280
2283
|
- Import: `import { defineMotionSpec } from 'motionary/components/widgets'; defineMotionSpec();`
|
|
2281
|
-
- CDN: https://unpkg.com/motionary@
|
|
2284
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2282
2285
|
- Attributes: `rules`, `label`
|
|
2283
2286
|
- Events: `usa:copy`
|
|
2284
2287
|
- Methods: `play()`
|
|
@@ -2292,7 +2295,7 @@ Morph an SVG path through a list of shapes (paths="A | B | C") on click, hover,
|
|
|
2292
2295
|
Let users pick Off · Low · Normal · High for the whole app; scales every component, persists, and Off equals reduced motion.
|
|
2293
2296
|
|
|
2294
2297
|
- Import: `import { defineMotionSwitch } from 'motionary/components/page'; defineMotionSwitch();`
|
|
2295
|
-
- CDN: https://unpkg.com/motionary@
|
|
2298
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
2296
2299
|
- Attributes: `labels`, `label`
|
|
2297
2300
|
- Events: `usa:change`
|
|
2298
2301
|
|
|
@@ -2306,7 +2309,7 @@ Let users pick Off · Low · Normal · High for the whole app; scales every comp
|
|
|
2306
2309
|
5.8: <usa-motion-theme name> applies a theme pack — design tokens (--usa-theme-*), motion tokens and effect presets per role (enter / hover / click / attention / background). Neon, paper, glass, retro and brutalist; applyMotionTheme() for the whole page.
|
|
2307
2310
|
|
|
2308
2311
|
- Import: `import { defineMotionTheme } from 'motionary/components/effects'; defineMotionTheme();`
|
|
2309
|
-
- CDN: https://unpkg.com/motionary@
|
|
2312
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
2310
2313
|
- Attributes: `name`
|
|
2311
2314
|
|
|
2312
2315
|
```html
|
|
@@ -2322,7 +2325,7 @@ Let users pick Off · Low · Normal · High for the whole app; scales every comp
|
|
|
2322
2325
|
7.1: the cover spins like a record while playing, play morphs to pause, mini equalizer bars dance and the progress bar is a scrubbable slider. Plays a child <audio> or simulates a track.
|
|
2323
2326
|
|
|
2324
2327
|
- Import: `import { defineMusicPlayer } from 'motionary/components/widgets'; defineMusicPlayer();`
|
|
2325
|
-
- CDN: https://unpkg.com/motionary@
|
|
2328
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2326
2329
|
- Attributes: `title`, `artist`, `cover`, `src`, `duration`
|
|
2327
2330
|
- Events: `usa:play`, `usa:pause`, `usa:seek`
|
|
2328
2331
|
- Methods: `play()`, `pause()`, `toggle()`, `seek()`
|
|
@@ -2338,7 +2341,7 @@ Let users pick Off · Low · Normal · High for the whole app; scales every comp
|
|
|
2338
2341
|
9.8: preview web motion as it will feel on a phone — an iOS / Android device frame replays the entrance with the rule’s curve and presses with a spring — and copy the generated React Native and Flutter code.
|
|
2339
2342
|
|
|
2340
2343
|
- Import: `import { defineNativePreview } from 'motionary/components/widgets'; defineNativePreview();`
|
|
2341
|
-
- CDN: https://unpkg.com/motionary@
|
|
2344
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2342
2345
|
- Attributes: `rules`, `platform`, `name`
|
|
2343
2346
|
- Events: `usa:replay`
|
|
2344
2347
|
- Methods: `replay()`, `code()`
|
|
@@ -2354,7 +2357,7 @@ Let users pick Off · Low · Normal · High for the whole app; scales every comp
|
|
|
2354
2357
|
6.6: the indicator follows the hovered or focused link — stretching from the old one, leading edge first — and settles back on the current page. Underline, pill, blob or dot.
|
|
2355
2358
|
|
|
2356
2359
|
- Import: `import { defineNavMorph } from 'motionary/components/widgets'; defineNavMorph();`
|
|
2357
|
-
- CDN: https://unpkg.com/motionary@
|
|
2360
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2358
2361
|
- Attributes: `indicator`, `label`, `active`
|
|
2359
2362
|
- Events: `usa:change`
|
|
2360
2363
|
|
|
@@ -2371,7 +2374,7 @@ Let users pick Off · Low · Normal · High for the whole app; scales every comp
|
|
|
2371
2374
|
Hides while you scroll down, slides back on the first scroll up; shrink makes it compact once scrolled. This page’s demo scrolls an inner box.
|
|
2372
2375
|
|
|
2373
2376
|
- Import: `import { defineNavbar } from 'motionary/components/ui'; defineNavbar();`
|
|
2374
|
-
- CDN: https://unpkg.com/motionary@
|
|
2377
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
2375
2378
|
- Attributes: `target`, `threshold`
|
|
2376
2379
|
- Events: `usa:hide`, `usa:show`
|
|
2377
2380
|
- Methods: `show()`
|
|
@@ -2387,7 +2390,7 @@ Hides while you scroll down, slides back on the first scroll up; shrink makes it
|
|
|
2387
2390
|
7.4: a bell with an unread badge and a dropdown — notify() swings the bell, bumps the badge and slides the notice in; “Mark all read” shrinks the badge away. Esc / outside click close it.
|
|
2388
2391
|
|
|
2389
2392
|
- Import: `import { defineNotificationBell } from 'motionary/components/widgets'; defineNotificationBell();`
|
|
2390
|
-
- CDN: https://unpkg.com/motionary@
|
|
2393
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2391
2394
|
- Attributes: `label`
|
|
2392
2395
|
- Events: `usa:notify`, `usa:read`
|
|
2393
2396
|
- Methods: `notify()`, `markAllRead()`, `ring()`
|
|
@@ -2404,7 +2407,7 @@ Hides while you scroll down, slides back on the first scroll up; shrink makes it
|
|
|
2404
2407
|
6.4: rolling digit wheels — every digit spins forward to its new value, new digits slide in, locale grouping via Intl.NumberFormat, decimals, prefix / suffix. The accessible name is the formatted number.
|
|
2405
2408
|
|
|
2406
2409
|
- Import: `import { defineOdometer } from 'motionary/components/widgets'; defineOdometer();`
|
|
2407
|
-
- CDN: https://unpkg.com/motionary@
|
|
2410
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2408
2411
|
- Attributes: `value`, `locale`, `decimals`, `prefix`, `suffix`, `duration`
|
|
2409
2412
|
|
|
2410
2413
|
```html
|
|
@@ -2417,7 +2420,7 @@ Hides while you scroll down, slides back on the first scroll up; shrink makes it
|
|
|
2417
2420
|
8.3: a card with a soft, living blob shape — its outline slowly breathes on screen, morphs on hover and comes in leaf, ocean, petal and sand tints.
|
|
2418
2421
|
|
|
2419
2422
|
- Import: `import { defineOrganicCard } from 'motionary/components/widgets'; defineOrganicCard();`
|
|
2420
|
-
- CDN: https://unpkg.com/motionary@
|
|
2423
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2421
2424
|
- Attributes: `tint`, `seed`
|
|
2422
2425
|
- Methods: `morph()`
|
|
2423
2426
|
|
|
@@ -2432,7 +2435,7 @@ Hides while you scroll down, slides back on the first scroll up; shrink makes it
|
|
|
2432
2435
|
7.7: one-time-code boxes that auto-advance, step back on Backspace and take a pasted code; digits pop in, error() shakes the row red, success() sends a green wave across it.
|
|
2433
2436
|
|
|
2434
2437
|
- Import: `import { defineOtp } from 'motionary/components/widgets'; defineOtp();`
|
|
2435
|
-
- CDN: https://unpkg.com/motionary@
|
|
2438
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2436
2439
|
- Attributes: `length`, `mode`, `label`, `value`
|
|
2437
2440
|
- Events: `usa:complete`
|
|
2438
2441
|
- Methods: `fillCode()`, `clear()`, `error()`, `success()`
|
|
@@ -2447,7 +2450,7 @@ Hides while you scroll down, slides back on the first scroll up; shrink makes it
|
|
|
2447
2450
|
A scroll container whose edges stretch with iOS-style rubber-band resistance and spring back — touch, trackpad and wheel.
|
|
2448
2451
|
|
|
2449
2452
|
- Import: `import { defineOverscroll } from 'motionary/components/physics'; defineOverscroll();`
|
|
2450
|
-
- CDN: https://unpkg.com/motionary@
|
|
2453
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
2451
2454
|
- Attributes: `axis`, `disabled`, `max`, `preset`
|
|
2452
2455
|
|
|
2453
2456
|
```html
|
|
@@ -2461,7 +2464,7 @@ A scroll container whose edges stretch with iOS-style rubber-band resistance and
|
|
|
2461
2464
|
Product cards reveal and lift, “Add to cart” presses and flies the product into the cart (which bumps), prices count up, badges pulse.
|
|
2462
2465
|
|
|
2463
2466
|
- Import: `import { definePack } from 'motionary/components/packs'; definePack();`
|
|
2464
|
-
- CDN: https://unpkg.com/motionary@
|
|
2467
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
2465
2468
|
- Attributes: `name`
|
|
2466
2469
|
|
|
2467
2470
|
```html
|
|
@@ -2480,7 +2483,7 @@ Product cards reveal and lift, “Add to cart” presses and flies the product i
|
|
|
2480
2483
|
6.7: the highlight springs to the chosen page (squashing on the way) and page numbers slide in from the direction of travel when the window shifts. Prev / next, ellipses, aria-current.
|
|
2481
2484
|
|
|
2482
2485
|
- Import: `import { definePagination } from 'motionary/components/widgets'; definePagination();`
|
|
2483
|
-
- CDN: https://unpkg.com/motionary@
|
|
2486
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2484
2487
|
- Attributes: `total`, `siblings`, `label`
|
|
2485
2488
|
- Events: `usa:change`
|
|
2486
2489
|
|
|
@@ -2493,7 +2496,7 @@ Product cards reveal and lift, “Add to cart” presses and flies the product i
|
|
|
2493
2496
|
8.8: a 360° panorama — drag or swipe to look around with inertia, a slow auto-rotate, a compass for the heading and a “View in XR” badge when the browser offers WebXR.
|
|
2494
2497
|
|
|
2495
2498
|
- Import: `import { definePanorama } from 'motionary/components/widgets'; definePanorama();`
|
|
2496
|
-
- CDN: https://unpkg.com/motionary@
|
|
2499
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2497
2500
|
- Attributes: `src`, `autorotate`, `label`
|
|
2498
2501
|
- Events: `usa:xr`, `usa:xr-request`, `usa:look`
|
|
2499
2502
|
- Methods: `lookAt()`
|
|
@@ -2507,7 +2510,7 @@ Product cards reveal and lift, “Add to cart” presses and flies the product i
|
|
|
2507
2510
|
10.4: a parallax container — children with data-depth move at different speeds while it crosses the viewport (native view() scroll timeline first, JS fallback), optional pointer tilt; static under reduced motion.
|
|
2508
2511
|
|
|
2509
2512
|
- Import: `import { defineParallaxLayers } from 'motionary/components/widgets'; defineParallaxLayers();`
|
|
2510
|
-
- CDN: https://unpkg.com/motionary@
|
|
2513
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2511
2514
|
- Attributes: `range`, `engine`, `horizontal`, `pointer`, `strength`, `preview`
|
|
2512
2515
|
- Events: `usa:progress`
|
|
2513
2516
|
- Methods: `layers()`
|
|
@@ -2524,7 +2527,7 @@ Product cards reveal and lift, “Add to cart” presses and flies the product i
|
|
|
2524
2527
|
A canvas constellation that drifts away from the pointer. Runs only while visible, DPR ≤ 2, a still frame under reduced motion.
|
|
2525
2528
|
|
|
2526
2529
|
- Import: `import { defineParticles } from 'motionary/components/background'; defineParticles();`
|
|
2527
|
-
- CDN: https://unpkg.com/motionary@
|
|
2530
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
2528
2531
|
- Attributes: `count`, `color`, `size`, `speed`, `links`, `interactive`, `paused`
|
|
2529
2532
|
- Methods: `reset()`
|
|
2530
2533
|
|
|
@@ -2537,7 +2540,7 @@ A canvas constellation that drifts away from the pointer. Runs only while visibl
|
|
|
2537
2540
|
9.5: one button that pauses all motion on the page (WCAG 2.2.2) — Motionary’s shared clock, every CSS / Web animation and autoplaying media — and resumes it again; `scope` limits it to one area.
|
|
2538
2541
|
|
|
2539
2542
|
- Import: `import { definePauseAll } from 'motionary/components/widgets'; definePauseAll();`
|
|
2540
|
-
- CDN: https://unpkg.com/motionary@
|
|
2543
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2541
2544
|
- Attributes: `label`, `scope`, `resume-label`
|
|
2542
2545
|
- Events: `usa:pause-all`
|
|
2543
2546
|
- Methods: `toggle()`
|
|
@@ -2551,7 +2554,7 @@ A canvas constellation that drifts away from the pointer. Runs only while visibl
|
|
|
2551
2554
|
9.6: a live performance overlay for motion work — FPS with a sparkline, active Motionary animations, frame-loop callbacks, long tasks and the shared clock — flagging jank.
|
|
2552
2555
|
|
|
2553
2556
|
- Import: `import { definePerfMonitor } from 'motionary/components/widgets'; definePerfMonitor();`
|
|
2554
|
-
- CDN: https://unpkg.com/motionary@
|
|
2557
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2555
2558
|
- Attributes: `corner`, `warn`
|
|
2556
2559
|
- Events: `usa:jank`
|
|
2557
2560
|
|
|
@@ -2564,7 +2567,7 @@ A canvas constellation that drifts away from the pointer. Runs only while visibl
|
|
|
2564
2567
|
10.7: a 2D rigid-body sandbox on Motionary’s own physics engine — circles, boxes and polygons, friction, restitution, constraints, sleeping — loaded from a versioned motionary-scene@1 JSON (or a preset: balls, pyramid, pendulum, dominoes). Drag bodies, tap to spawn, arrow keys nudge. Requires motionary/runtime/physics + motionary/runtime/format-scene — npm i motionary, then use(physics, formatScene) before it mounts.
|
|
2565
2568
|
|
|
2566
2569
|
- Import: `import { definePhysicsPlayground } from 'motionary/components/widgets'; definePhysicsPlayground();`
|
|
2567
|
-
- CDN: https://unpkg.com/motionary@
|
|
2570
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2568
2571
|
- Attributes: `preset`, `src`, `gravity`, `spawn`, `label`
|
|
2569
2572
|
- Events: `usa:collision`, `usa:load`, `usa:error`, `usa:runtime-missing`
|
|
2570
2573
|
- Methods: `reset()`, `play()`, `pause()`, `toScene()`
|
|
@@ -2583,12 +2586,12 @@ definePhysicsPlayground(); // registers <usa-physics-playground> — after the p
|
|
|
2583
2586
|
```
|
|
2584
2587
|
|
|
2585
2588
|
```html
|
|
2586
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
2587
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
2588
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
2589
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
2590
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/physics.iife.js"></script>
|
|
2591
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/format-scene.iife.js"></script>
|
|
2589
2592
|
<!-- then the component bundles -->
|
|
2590
|
-
<script src="https://unpkg.com/motionary@
|
|
2591
|
-
<script src="https://unpkg.com/motionary@
|
|
2593
|
+
<script src="https://unpkg.com/motionary@13/dist/components.umd.js"></script>
|
|
2594
|
+
<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>
|
|
2592
2595
|
```
|
|
2593
2596
|
|
|
2594
2597
|
```html
|
|
@@ -2600,7 +2603,7 @@ definePhysicsPlayground(); // registers <usa-physics-playground> — after the p
|
|
|
2600
2603
|
Pinch with two fingers or Ctrl + wheel / trackpad pinch, pan while zoomed, double-tap to toggle; scale and position spring back inside the bounds.
|
|
2601
2604
|
|
|
2602
2605
|
- Import: `import { definePinchZoom } from 'motionary/components/gesture'; definePinchZoom();`
|
|
2603
|
-
- CDN: https://unpkg.com/motionary@
|
|
2606
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
2604
2607
|
- Attributes: `min`, `max`, `preset`, `double-tap`
|
|
2605
2608
|
- Events: `usa:zoom`
|
|
2606
2609
|
- Methods: `zoomTo()`
|
|
@@ -2616,7 +2619,7 @@ Pinch with two fingers or Ctrl + wheel / trackpad pinch, pan while zoomed, doubl
|
|
|
2616
2619
|
5.9: <usa-player> plays a JSON animation — timeline presets, your own keyframes and any registered effect on a shared clock; play / pause / seek / rate / loop, scroll-scrubbing (trigger="scroll"). Export one from the Playground (<usa-player> JSON tab).
|
|
2617
2620
|
|
|
2618
2621
|
- Import: `import { definePlayer } from 'motionary/components/effects'; definePlayer();`
|
|
2619
|
-
- CDN: https://unpkg.com/motionary@
|
|
2622
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
2620
2623
|
- Attributes: `src`, `trigger`, `loop`, `rate`, `controls`
|
|
2621
2624
|
- Events: `usa:finish`, `usa:ready`
|
|
2622
2625
|
- Methods: `load()`, `play()`, `pause()`, `seek()`
|
|
@@ -2633,7 +2636,7 @@ Pinch with two fingers or Ctrl + wheel / trackpad pinch, pan while zoomed, doubl
|
|
|
2633
2636
|
10.1: a plugin’s name, version and author with a Motionary compatibility badge (semver `engine` range), a signature badge (SHA-256 integrity checked with Web Crypto), an animated download counter and expandable details. Requires motionary/runtime — npm i motionary, then use() before the card mounts.
|
|
2634
2637
|
|
|
2635
2638
|
- Import: `import { definePluginCard } from 'motionary/components/widgets'; definePluginCard();`
|
|
2636
|
-
- CDN: https://unpkg.com/motionary@
|
|
2639
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2637
2640
|
- Attributes: `name`, `title`, `version`, `author`, `engine`, `downloads`, `integrity`, `src`
|
|
2638
2641
|
- Events: `usa:toggle`, `usa:verified`, `usa:runtime-missing`
|
|
2639
2642
|
- Methods: `toggle()`, `verify()`, `compat()`
|
|
@@ -2650,10 +2653,10 @@ definePluginCard(); // registers <usa-plugin-card> — after the prerequisites
|
|
|
2650
2653
|
```
|
|
2651
2654
|
|
|
2652
2655
|
```html
|
|
2653
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
2656
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
2654
2657
|
<!-- then the component bundles -->
|
|
2655
|
-
<script src="https://unpkg.com/motionary@
|
|
2656
|
-
<script src="https://unpkg.com/motionary@
|
|
2658
|
+
<script src="https://unpkg.com/motionary@13/dist/components.umd.js"></script>
|
|
2659
|
+
<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>
|
|
2657
2660
|
```
|
|
2658
2661
|
|
|
2659
2662
|
```html
|
|
@@ -2667,7 +2670,7 @@ definePluginCard(); // registers <usa-plugin-card> — after the prerequisites
|
|
|
2667
2670
|
9.0: the plugin marketplace as a component — search the catalogue of effect packs, see each plugin’s effects and install it with one click (imports and registers the pack).
|
|
2668
2671
|
|
|
2669
2672
|
- Import: `import { definePluginStore } from 'motionary/components/widgets'; definePluginStore();`
|
|
2670
|
-
- CDN: https://unpkg.com/motionary@
|
|
2673
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2671
2674
|
- Attributes: `query`, `label`
|
|
2672
2675
|
- Events: `usa:install`, `usa:install-error`
|
|
2673
2676
|
- Methods: `search()`, `install()`
|
|
@@ -2685,7 +2688,7 @@ definePluginCard(); // registers <usa-plugin-card> — after the prerequisites
|
|
|
2685
2688
|
Click-to-open panel that springs from its trigger; Esc / outside click closes, focus returns.
|
|
2686
2689
|
|
|
2687
2690
|
- Import: `import { definePopover } from 'motionary/components/ui'; definePopover();`
|
|
2688
|
-
- CDN: https://unpkg.com/motionary@
|
|
2691
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
2689
2692
|
- Attributes: `placement`
|
|
2690
2693
|
- Methods: `toggle()`
|
|
2691
2694
|
|
|
@@ -2701,7 +2704,7 @@ Click-to-open panel that springs from its trigger; Esc / outside click closes, f
|
|
|
2701
2704
|
Chainable GPU passes over an image (4.8): vignette, grain, chromatic aberration, scanlines, CRT, bloom, pixelate, duotone and glitch, with one intensity. Without WebGL the image gets an approximate CSS filter.
|
|
2702
2705
|
|
|
2703
2706
|
- Import: `import { definePostFx } from 'motionary/components/webgl'; definePostFx();`
|
|
2704
|
-
- CDN: https://unpkg.com/motionary@
|
|
2707
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
2705
2708
|
|
|
2706
2709
|
```html
|
|
2707
2710
|
<usa-post-fx effects="vignette grain" intensity="0.6">
|
|
@@ -2714,7 +2717,7 @@ Chainable GPU passes over an image (4.8): vignette, grain, chromatic aberration,
|
|
|
2714
2717
|
7.4: an avatar with a live status dot (online, away, busy, offline) — coming online sends a ripple, speaking adds a pulsing ring and story an animated gradient ring. Initials when there is no photo.
|
|
2715
2718
|
|
|
2716
2719
|
- Import: `import { definePresence } from 'motionary/components/widgets'; definePresence();`
|
|
2717
|
-
- CDN: https://unpkg.com/motionary@
|
|
2720
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2718
2721
|
- Attributes: `status`, `speaking`, `name`, `src`
|
|
2719
2722
|
|
|
2720
2723
|
```html
|
|
@@ -2728,7 +2731,7 @@ Chainable GPU passes over an image (4.8): vignette, grain, chromatic aberration,
|
|
|
2728
2731
|
Tactile press: dips while pressed and springs back, or bounces once with bounce. Mouse, touch, pen and keyboard.
|
|
2729
2732
|
|
|
2730
2733
|
- Import: `import { definePress } from 'motionary/components/interaction'; definePress();`
|
|
2731
|
-
- CDN: https://unpkg.com/motionary@
|
|
2734
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
2732
2735
|
- Attributes: `disabled`, `scale`, `bounce`
|
|
2733
2736
|
|
|
2734
2737
|
```html
|
|
@@ -2740,7 +2743,7 @@ Tactile press: dips while pressed and springs back, or bounces once with bounce.
|
|
|
2740
2743
|
7.5: a lottery wheel — Spin whirls it and it eases out on the result (random or spin(index)), the pointer ticks and the wheel glows; usa:result reports the prize.
|
|
2741
2744
|
|
|
2742
2745
|
- Import: `import { definePrizeWheel } from 'motionary/components/widgets'; definePrizeWheel();`
|
|
2743
|
-
- CDN: https://unpkg.com/motionary@
|
|
2746
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2744
2747
|
- Attributes: `segments`, `label`, `turns`, `duration`
|
|
2745
2748
|
- Events: `usa:result`
|
|
2746
2749
|
- Methods: `spin()`
|
|
@@ -2754,7 +2757,7 @@ Tactile press: dips while pressed and springs back, or bounces once with bounce.
|
|
|
2754
2757
|
7.3: product photos with a thumbnail strip — the stage cross-slides in the direction of travel, the selection ring glides between thumbnails, hover zooms under the pointer, swipe and ←/→ work.
|
|
2755
2758
|
|
|
2756
2759
|
- Import: `import { defineProductGallery } from 'motionary/components/widgets'; defineProductGallery();`
|
|
2757
|
-
- CDN: https://unpkg.com/motionary@
|
|
2760
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2758
2761
|
- Attributes: `index`, `nozoom`, `zoom`
|
|
2759
2762
|
- Events: `usa:change`
|
|
2760
2763
|
- Methods: `go()`, `next()`, `prev()`
|
|
@@ -2772,7 +2775,7 @@ Tactile press: dips while pressed and springs back, or bounces once with bounce.
|
|
|
2772
2775
|
Determinate bars glide between values; without a value it shows the Fluent indeterminate animation. Paused / error states.
|
|
2773
2776
|
|
|
2774
2777
|
- Import: `import { defineProgress } from 'motionary/components/feedback'; defineProgress();`
|
|
2775
|
-
- CDN: https://unpkg.com/motionary@
|
|
2778
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
2776
2779
|
- Attributes: `value`, `max`, `indeterminate`, `label`
|
|
2777
2780
|
- Events: `usa:complete`
|
|
2778
2781
|
|
|
@@ -2786,7 +2789,7 @@ Determinate bars glide between values; without a value it shows the Fluent indet
|
|
|
2786
2789
|
6.4: the arc eases to every new value with a little overshoot while the label counts up; ring, bar or semicircle gauge, gradient strokes, indeterminate spinner without a value. role="progressbar", usa:complete at 100%.
|
|
2787
2790
|
|
|
2788
2791
|
- Import: `import { defineProgressRing } from 'motionary/components/widgets'; defineProgressRing();`
|
|
2789
|
-
- CDN: https://unpkg.com/motionary@
|
|
2792
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2790
2793
|
- Attributes: `variant`, `value`, `max`, `gradient`, `no-label`, `duration`
|
|
2791
2794
|
- Events: `usa:complete`
|
|
2792
2795
|
|
|
@@ -2802,7 +2805,7 @@ Determinate bars glide between values; without a value it shows the Fluent indet
|
|
|
2802
2805
|
8.9 low-code: a property editor for a live component — typed fields (number / range, select, color, switch, text) bound to its attributes, so the component re-renders as you edit.
|
|
2803
2806
|
|
|
2804
2807
|
- Import: `import { definePropPanel } from 'motionary/components/widgets'; definePropPanel();`
|
|
2805
|
-
- CDN: https://unpkg.com/motionary@
|
|
2808
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2806
2809
|
- Attributes: `for`, `props`, `label`
|
|
2807
2810
|
- Events: `usa:prop`
|
|
2808
2811
|
- Methods: `reset()`
|
|
@@ -2817,7 +2820,7 @@ Determinate bars glide between values; without a value it shows the Fluent indet
|
|
|
2817
2820
|
6.8: pull the cord down and let go — past the threshold the lamp switches, and the cord swings back on a damped spring. Click, Space or Enter tug it too; role="switch".
|
|
2818
2821
|
|
|
2819
2822
|
- Import: `import { definePullCord } from 'motionary/components/widgets'; definePullCord();`
|
|
2820
|
-
- CDN: https://unpkg.com/motionary@
|
|
2823
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2821
2824
|
- Attributes: `label`, `threshold`
|
|
2822
2825
|
- Events: `usa:change`
|
|
2823
2826
|
- Methods: `toggle()`
|
|
@@ -2831,7 +2834,7 @@ Determinate bars glide between values; without a value it shows the Fluent indet
|
|
|
2831
2834
|
Pull down at the top of a list: the spinner stretches in with rubber-band resistance; release past the threshold to refresh.
|
|
2832
2835
|
|
|
2833
2836
|
- Import: `import { definePullRefresh } from 'motionary/components/ui'; definePullRefresh();`
|
|
2834
|
-
- CDN: https://unpkg.com/motionary@
|
|
2837
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
2835
2838
|
- Attributes: `threshold`, `disabled`, `label`
|
|
2836
2839
|
- Methods: `refresh()`
|
|
2837
2840
|
|
|
@@ -2847,7 +2850,7 @@ Pull down at the top of a list: the spinner stretches in with rubber-band resist
|
|
|
2847
2850
|
8.4: a sci-fi radar scope — a conic beam sweeps round and each target lights up and fades as the beam passes over it.
|
|
2848
2851
|
|
|
2849
2852
|
- Import: `import { defineRadar } from 'motionary/components/widgets'; defineRadar();`
|
|
2850
|
-
- CDN: https://unpkg.com/motionary@
|
|
2853
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2851
2854
|
- Attributes: `targets`, `rings`, `speed`, `label`
|
|
2852
2855
|
- Events: `usa:ping`
|
|
2853
2856
|
- Methods: `setTargets()`
|
|
@@ -2861,7 +2864,7 @@ Pull down at the top of a list: the spinner stretches in with rubber-band resist
|
|
|
2861
2864
|
7.4: a reaction bar — clicking a pill toggles your reaction: the emoji pops, the count rolls and copies float up; + springs open a picker. Each pill is a toggle button with a count label.
|
|
2862
2865
|
|
|
2863
2866
|
- Import: `import { defineReactions } from 'motionary/components/widgets'; defineReactions();`
|
|
2864
|
-
- CDN: https://unpkg.com/motionary@
|
|
2867
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2865
2868
|
- Attributes: `emojis`, `counts`, `picker`
|
|
2866
2869
|
- Events: `usa:react`
|
|
2867
2870
|
- Methods: `toggle()`
|
|
@@ -2875,7 +2878,7 @@ Pull down at the top of a list: the spinner stretches in with rubber-band resist
|
|
|
2875
2878
|
8.1: a Lunar New Year red envelope — tap and the flap swings open, the card slides out with the amount counting up and gold coins pop out.
|
|
2876
2879
|
|
|
2877
2880
|
- Import: `import { defineRedEnvelope } from 'motionary/components/widgets'; defineRedEnvelope();`
|
|
2878
|
-
- CDN: https://unpkg.com/motionary@
|
|
2881
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2879
2882
|
- Attributes: `amount`, `currency`, `message`, `from`, `opened`
|
|
2880
2883
|
- Events: `usa:open`
|
|
2881
2884
|
- Methods: `open()`, `close()`
|
|
@@ -2889,7 +2892,7 @@ Pull down at the top of a list: the spinner stretches in with rubber-band resist
|
|
|
2889
2892
|
8.2: buttons in four eras with matching press motion — 8-bit pixel (stepped press), CRT phosphor (flicker), Y2K chrome pill (bounce) and Windows 95 bevel (sink).
|
|
2890
2893
|
|
|
2891
2894
|
- Import: `import { defineRetroButton } from 'motionary/components/widgets'; defineRetroButton();`
|
|
2892
|
-
- CDN: https://unpkg.com/motionary@
|
|
2895
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2893
2896
|
- Attributes: `variant`, `disabled`, `type`
|
|
2894
2897
|
|
|
2895
2898
|
```html
|
|
@@ -2902,7 +2905,7 @@ Pull down at the top of a list: the spinner stretches in with rubber-band resist
|
|
|
2902
2905
|
Fade, slide, zoom, blur or flip content in as it enters the viewport. 12 effects, replay on re-entry with repeat.
|
|
2903
2906
|
|
|
2904
2907
|
- Import: `import { defineReveal } from 'motionary/components/reveal'; defineReveal();`
|
|
2905
|
-
- CDN: https://unpkg.com/motionary@
|
|
2908
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
2906
2909
|
- Attributes: `effect`, `distance`, `repeat`, `threshold`, `root-margin`, `duration`, `delay`, `easing`
|
|
2907
2910
|
- Events: `usa:enter`, `usa:leave`, `usa:complete`
|
|
2908
2911
|
- Methods: `reveal()`, `reset()`
|
|
@@ -2918,7 +2921,7 @@ Fade, slide, zoom, blur or flip content in as it enters the viewport. 12 effects
|
|
|
2918
2921
|
Ink ripple from the pointer — or from the centre for Space/Enter — on any button, list item or card.
|
|
2919
2922
|
|
|
2920
2923
|
- Import: `import { defineRipple } from 'motionary/components/interaction'; defineRipple();`
|
|
2921
|
-
- CDN: https://unpkg.com/motionary@
|
|
2924
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
2922
2925
|
- Attributes: `disabled`, `centered`, `color`, `opacity`, `duration`
|
|
2923
2926
|
- Methods: `ripple()`
|
|
2924
2927
|
|
|
@@ -2931,7 +2934,7 @@ Ink ripple from the pointer — or from the centre for Space/Enter — on any bu
|
|
|
2931
2934
|
10.6: plays Rive (.riv) files — artboards, animations and state machines with inputs — through the official Rive runtime @rive-app/canvas, an optional peer dependency that is lazy-loaded on first use (Motionary does not reimplement the proprietary .riv format). Requires @rive-app/canvas — npm i @rive-app/canvas, or load its CDN script first; missing → a clear message in place.
|
|
2932
2935
|
|
|
2933
2936
|
- Import: `import { defineRive } from 'motionary/components/widgets'; defineRive();`
|
|
2934
|
-
- CDN: https://unpkg.com/motionary@
|
|
2937
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2935
2938
|
- Attributes: `src`, `artboard`, `animation`, `state-machine`, `autoplay`, `fit`, `label`, `runtime-src`
|
|
2936
2939
|
- Events: `usa:load`, `usa:error`, `usa:runtime-missing`
|
|
2937
2940
|
- Methods: `play()`, `pause()`, `input()`
|
|
@@ -2950,8 +2953,8 @@ defineRive(); // registers <usa-rive> — after the prerequisites
|
|
|
2950
2953
|
```html
|
|
2951
2954
|
<script src="https://unpkg.com/@rive-app/canvas@2.44.1/rive.js"></script>
|
|
2952
2955
|
<!-- then the component bundles -->
|
|
2953
|
-
<script src="https://unpkg.com/motionary@
|
|
2954
|
-
<script src="https://unpkg.com/motionary@
|
|
2956
|
+
<script src="https://unpkg.com/motionary@13/dist/components.umd.js"></script>
|
|
2957
|
+
<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>
|
|
2955
2958
|
```
|
|
2956
2959
|
|
|
2957
2960
|
```html
|
|
@@ -2963,7 +2966,7 @@ defineRive(); // registers <usa-rive> — after the prerequisites
|
|
|
2963
2966
|
10.3: View Transitions 2.0 — link clicks swap the container’s content with the target page (fetched) or an inline <template data-route>, animated with the View Transitions API (Web Animations fallback); data-shared elements morph between routes; cross-document enables native MPA transitions.
|
|
2964
2967
|
|
|
2965
2968
|
- Import: `import { defineRouteTransition } from 'motionary/components/widgets'; defineRouteTransition();`
|
|
2966
|
-
- CDN: https://unpkg.com/motionary@
|
|
2969
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2967
2970
|
- Attributes: `effect`, `engine`, `cross-document`, `current`, `links`, `history`, `selector`
|
|
2968
2971
|
- Events: `usa:navigate`, `usa:navigated`
|
|
2969
2972
|
- Methods: `navigate()`
|
|
@@ -2980,7 +2983,7 @@ defineRive(); // registers <usa-rive> — after the prerequisites
|
|
|
2980
2983
|
9.1: a scroll-scrubbed cinematic shot — while the scene crosses the screen its image follows a camera move (dolly, pan, tilt, zoom, orbit) and captions fade in on cue.
|
|
2981
2984
|
|
|
2982
2985
|
- Import: `import { defineScene } from 'motionary/components/widgets'; defineScene();`
|
|
2983
|
-
- CDN: https://unpkg.com/motionary@
|
|
2986
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2984
2987
|
- Attributes: `camera`, `strength`, `autoplay`
|
|
2985
2988
|
- Events: `usa:shot`
|
|
2986
2989
|
- Methods: `setProgress()`
|
|
@@ -2997,7 +3000,7 @@ defineRive(); // registers <usa-rive> — after the prerequisites
|
|
|
2997
3000
|
Decodes text out of random glyphs, left to right. Trigger on view, hover/focus or manually.
|
|
2998
3001
|
|
|
2999
3002
|
- Import: `import { defineScramble } from 'motionary/components/text'; defineScramble();`
|
|
3000
|
-
- CDN: https://unpkg.com/motionary@
|
|
3003
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3001
3004
|
- Attributes: `text`, `trigger`, `duration`, `chars`
|
|
3002
3005
|
- Events: `usa:complete`
|
|
3003
3006
|
- Methods: `play()`
|
|
@@ -3011,7 +3014,7 @@ Decodes text out of random glyphs, left to right. Trigger on view, hover/focus o
|
|
|
3011
3014
|
Words light up one by one as you read down the page, or a highlighter marker sweeps behind the text.
|
|
3012
3015
|
|
|
3013
3016
|
- Import: `import { defineScrollHighlight } from 'motionary/components/text'; defineScrollHighlight();`
|
|
3014
|
-
- CDN: https://unpkg.com/motionary@
|
|
3017
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3015
3018
|
- Attributes: `mode`, `text`, `color`, `dim`
|
|
3016
3019
|
- Methods: `mount()`
|
|
3017
3020
|
|
|
@@ -3025,7 +3028,7 @@ Words light up one by one as you read down the page, or a highlighter marker swe
|
|
|
3025
3028
|
Reading progress of the page or of one article. Compositor-only scaleX, role="progressbar".
|
|
3026
3029
|
|
|
3027
3030
|
- Import: `import { defineScrollProgress } from 'motionary/components/reveal'; defineScrollProgress();`
|
|
3028
|
-
- CDN: https://unpkg.com/motionary@
|
|
3031
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3029
3032
|
- Attributes: `target`, `label`
|
|
3030
3033
|
- Events: `usa:progress`
|
|
3031
3034
|
- Methods: `update()`
|
|
@@ -3041,7 +3044,7 @@ Reading progress of the page or of one article. Compositor-only scaleX, role="pr
|
|
|
3041
3044
|
10.4: a circular scroll-progress indicator for the page or any scroll container (for=".article"), optional percentage label and back-to-top button. Scroll-driven 3.0: native animation-timeline: scroll() first (no script per frame), a small JS loop where scroll timelines are missing.
|
|
3042
3045
|
|
|
3043
3046
|
- Import: `import { defineScrollRing } from 'motionary/components/widgets'; defineScrollRing();`
|
|
3044
|
-
- CDN: https://unpkg.com/motionary@
|
|
3047
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3045
3048
|
- Attributes: `for`, `engine`, `label`, `back-to-top`, `size`, `thickness`, `horizontal`, `preview`
|
|
3046
3049
|
- Events: `usa:progress`, `usa:top`
|
|
3047
3050
|
|
|
@@ -3054,7 +3057,7 @@ Reading progress of the page or of one article. Compositor-only scaleX, role="pr
|
|
|
3054
3057
|
10.2: a scroll-linked scene — children with data-scrub="opacity: 0 -> 1; x: -80 -> 0" are tweened as you scroll, scrubbed directly or smoothed (scrub="120"), with optional pin, markers and stagger. Requires motionary/runtime/scroll — npm i motionary, then use(scroll) before the scene mounts.
|
|
3055
3058
|
|
|
3056
3059
|
- Import: `import { defineScrollScene } from 'motionary/components/widgets'; defineScrollScene();`
|
|
3057
|
-
- CDN: https://unpkg.com/motionary@
|
|
3060
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3058
3061
|
- Attributes: `start`, `end`, `scrub`, `pin`, `markers`, `stagger`, `toggle-class`, `preview`
|
|
3059
3062
|
- Events: `usa:enter`, `usa:leave`, `usa:progress`, `usa:runtime-missing`
|
|
3060
3063
|
- Methods: `refresh()`, `timeline()`
|
|
@@ -3072,11 +3075,11 @@ defineScrollScene(); // registers <usa-scroll-scene> — after the prerequisites
|
|
|
3072
3075
|
```
|
|
3073
3076
|
|
|
3074
3077
|
```html
|
|
3075
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
3076
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
3078
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
3079
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/scroll.iife.js"></script>
|
|
3077
3080
|
<!-- then the component bundles -->
|
|
3078
|
-
<script src="https://unpkg.com/motionary@
|
|
3079
|
-
<script src="https://unpkg.com/motionary@
|
|
3081
|
+
<script src="https://unpkg.com/motionary@13/dist/components.umd.js"></script>
|
|
3082
|
+
<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>
|
|
3080
3083
|
```
|
|
3081
3084
|
|
|
3082
3085
|
```html
|
|
@@ -3091,7 +3094,7 @@ defineScrollScene(); // registers <usa-scroll-scene> — after the prerequisites
|
|
|
3091
3094
|
A pinned graphic while [data-step] blocks scroll past; the active step drives the graphic via attributes, a CSS variable and events.
|
|
3092
3095
|
|
|
3093
3096
|
- Import: `import { defineScrolly } from 'motionary/components/reveal'; defineScrolly();`
|
|
3094
|
-
- CDN: https://unpkg.com/motionary@
|
|
3097
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3095
3098
|
- Attributes: `offset`
|
|
3096
3099
|
- Events: `usa:step`
|
|
3097
3100
|
|
|
@@ -3108,7 +3111,7 @@ A pinned graphic while [data-step] blocks scroll past; the active step drives th
|
|
|
3108
3111
|
6.7: an iOS-style thumb slides under the chosen segment with a spring and stretches while it travels. A real radio group: arrow keys, Home / End. iOS, pill or outline.
|
|
3109
3112
|
|
|
3110
3113
|
- Import: `import { defineSegmented } from 'motionary/components/widgets'; defineSegmented();`
|
|
3111
|
-
- CDN: https://unpkg.com/motionary@
|
|
3114
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3112
3115
|
- Attributes: `variant`, `label`, `value`
|
|
3113
3116
|
- Events: `usa:change`
|
|
3114
3117
|
|
|
@@ -3125,7 +3128,7 @@ A pinned graphic while [data-step] blocks scroll past; the active step drives th
|
|
|
3125
3128
|
A GPU shader behind your content: gradient, plasma, waves or aurora presets — or your own fragment shader in a <script type="x-shader/x-fragment">. Falls back to the CSS background.
|
|
3126
3129
|
|
|
3127
3130
|
- Import: `import { defineShader } from 'motionary/components/webgl'; defineShader();`
|
|
3128
|
-
- CDN: https://unpkg.com/motionary@
|
|
3131
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3129
3132
|
|
|
3130
3133
|
```html
|
|
3131
3134
|
<usa-shader preset="aurora" speed="1">
|
|
@@ -3144,7 +3147,7 @@ A GPU shader behind your content: gradient, plasma, waves or aurora presets —
|
|
|
3144
3147
|
10.5 (WebGPU effects 2.0): an animated shader background (aurora, plasma, waves, nebula or your own GLSL) run through a post-processing chain — bloom, vignette, grain, chromatic aberration, pixelate, scanlines — in any order; CSS gradient fallback.
|
|
3145
3148
|
|
|
3146
3149
|
- Import: `import { defineShaderBackdrop } from 'motionary/components/widgets'; defineShaderBackdrop();`
|
|
3147
|
-
- CDN: https://unpkg.com/motionary@
|
|
3150
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3148
3151
|
- Attributes: `preset`, `post`, `colors`, `speed`, `intensity`, `label`
|
|
3149
3152
|
- Events: `usa:backend`
|
|
3150
3153
|
|
|
@@ -3159,7 +3162,10 @@ A GPU shader behind your content: gradient, plasma, waves or aurora presets —
|
|
|
3159
3162
|
6.3: a side sheet from the right, left, top or bottom with a blurred backdrop; the bottom sheet can be dragged down to dismiss and springs back otherwise. Native <dialog> underneath.
|
|
3160
3163
|
|
|
3161
3164
|
- Import: `import { defineSheet } from 'motionary/components/widgets'; defineSheet();`
|
|
3162
|
-
- CDN: https://unpkg.com/motionary@
|
|
3165
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3166
|
+
- Attributes: `side`, `label`, `persistent`
|
|
3167
|
+
- Events: `usa:open`, `usa:close`
|
|
3168
|
+
- Methods: `show()`, `close()`, `toggle()`
|
|
3163
3169
|
|
|
3164
3170
|
```html
|
|
3165
3171
|
<button data-usa-open="cart">Cart</button>
|
|
@@ -3175,7 +3181,7 @@ A GPU shader behind your content: gradient, plasma, waves or aurora presets —
|
|
|
3175
3181
|
A light sweep across gradient-filled text. CSS only; colours and speed via attributes or custom properties.
|
|
3176
3182
|
|
|
3177
3183
|
- Import: `import { defineShimmerText } from 'motionary/components/text'; defineShimmerText();`
|
|
3178
|
-
- CDN: https://unpkg.com/motionary@
|
|
3184
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3179
3185
|
- Attributes: `duration`, `color`, `shine`, `angle`
|
|
3180
3186
|
|
|
3181
3187
|
```html
|
|
@@ -3187,7 +3193,7 @@ A light sweep across gradient-filled text. CSS only; colours and speed via attri
|
|
|
3187
3193
|
7.9: keyboard-shortcut hints as keycaps (⌘ on Apple, Ctrl elsewhere); press the combination anywhere and the caps press down one after another and usa:trigger fires.
|
|
3188
3194
|
|
|
3189
3195
|
- Import: `import { defineShortcut } from 'motionary/components/widgets'; defineShortcut();`
|
|
3190
|
-
- CDN: https://unpkg.com/motionary@
|
|
3196
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3191
3197
|
- Attributes: `keys`, `label`, `listen`, `for`
|
|
3192
3198
|
- Events: `usa:trigger`
|
|
3193
3199
|
- Methods: `press()`
|
|
@@ -3202,7 +3208,7 @@ A light sweep across gradient-filled text. CSS only; colours and speed via attri
|
|
|
3202
3208
|
Shimmering placeholders while loading; remove loading and the real content fades in. aria-busy included.
|
|
3203
3209
|
|
|
3204
3210
|
- Import: `import { defineSkeleton } from 'motionary/components/feedback'; defineSkeleton();`
|
|
3205
|
-
- CDN: https://unpkg.com/motionary@
|
|
3211
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3206
3212
|
- Attributes: `loading`, `lines`, `width`, `height`, `circle`, `avatar`, `radius`
|
|
3207
3213
|
- Events: `usa:loaded`
|
|
3208
3214
|
|
|
@@ -3217,7 +3223,7 @@ Shimmering placeholders while loading; remove loading and the real content fades
|
|
|
3217
3223
|
6.4: the skeleton is generated from the real content — one bar per rendered text line, blocks for images and marked elements — with one synchronized shimmer (wave, pulse or glow). Remove loading and the bars dissolve top-to-bottom while the content fades in from a blur.
|
|
3218
3224
|
|
|
3219
3225
|
- Import: `import { defineSkeletonReveal } from 'motionary/components/widgets'; defineSkeletonReveal();`
|
|
3220
|
-
- CDN: https://unpkg.com/motionary@
|
|
3226
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3221
3227
|
- Attributes: `loading`, `variant`
|
|
3222
3228
|
- Events: `usa:reveal`
|
|
3223
3229
|
- Methods: `reveal()`
|
|
@@ -3236,7 +3242,7 @@ Shimmering placeholders while loading; remove loading and the real content fades
|
|
|
3236
3242
|
8.5: a hand-drawn chart — wobbly pencil axes with hatched bars or a sketchy line, sketched in stroke by stroke when it scrolls into view.
|
|
3237
3243
|
|
|
3238
3244
|
- Import: `import { defineSketchChart } from 'motionary/components/widgets'; defineSketchChart();`
|
|
3239
|
-
- CDN: https://unpkg.com/motionary@
|
|
3245
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3240
3246
|
- Attributes: `values`, `labels`, `type`, `color`, `label`
|
|
3241
3247
|
- Events: `usa:drawn`
|
|
3242
3248
|
- Methods: `setValues()`, `redraw()`
|
|
@@ -3250,7 +3256,7 @@ Shimmering placeholders while loading; remove loading and the real content fades
|
|
|
3250
3256
|
A form-associated range slider: spring-following thumb, value bubble, full keyboard support (arrows, Page Up/Down, Home/End).
|
|
3251
3257
|
|
|
3252
3258
|
- Import: `import { defineSlider } from 'motionary/components/ui'; defineSlider();`
|
|
3253
|
-
- CDN: https://unpkg.com/motionary@
|
|
3259
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3254
3260
|
- Attributes: `min`, `max`, `disabled`, `label`, `step`, `value`
|
|
3255
3261
|
- Events: `usa:input`, `usa:change`
|
|
3256
3262
|
|
|
@@ -3263,7 +3269,7 @@ A form-associated range slider: spring-following thumb, value bubble, full keybo
|
|
|
3263
3269
|
10.4: smooth, inertial wheel scrolling for the page or a container (wrapper), anchor links glide (with offset for sticky headers); keyboard / scrollbar / touch stay native and it switches off under reduced motion. Requires motionary/runtime/smooth — npm i motionary, then use(smooth) before it mounts.
|
|
3264
3270
|
|
|
3265
3271
|
- Import: `import { defineSmoothScroll } from 'motionary/components/widgets'; defineSmoothScroll();`
|
|
3266
|
-
- CDN: https://unpkg.com/motionary@
|
|
3272
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3267
3273
|
- Attributes: `lerp`, `duration`, `ease`, `wheel-multiplier`, `horizontal`, `touch`, `anchors`, `offset`, `wrapper`, `preview`
|
|
3268
3274
|
- Events: `usa:scroll`, `usa:ready`, `usa:runtime-missing`
|
|
3269
3275
|
- Methods: `glideTo()`, `stop()`, `resume()`
|
|
@@ -3281,11 +3287,11 @@ defineSmoothScroll(); // registers <usa-smooth-scroll> — after the prerequisit
|
|
|
3281
3287
|
```
|
|
3282
3288
|
|
|
3283
3289
|
```html
|
|
3284
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
3285
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
3290
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
3291
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/smooth.iife.js"></script>
|
|
3286
3292
|
<!-- then the component bundles -->
|
|
3287
|
-
<script src="https://unpkg.com/motionary@
|
|
3288
|
-
<script src="https://unpkg.com/motionary@
|
|
3293
|
+
<script src="https://unpkg.com/motionary@13/dist/components.umd.js"></script>
|
|
3294
|
+
<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>
|
|
3289
3295
|
```
|
|
3290
3296
|
|
|
3291
3297
|
```html
|
|
@@ -3297,7 +3303,7 @@ defineSmoothScroll(); // registers <usa-smooth-scroll> — after the prerequisit
|
|
|
3297
3303
|
10.8: drag or swipe with real inertia — a throw keeps gliding, then springs to the nearest slide (a quick flick always moves one); rubber-band edges, arrows, dots, ←/→ / Home / End, optional autoplay that pauses on hover, focus and off screen. Slides keep their own width so the next one peeks in. Requires motionary/runtime/drag-snap — npm i motionary, then use(dragSnap) before it mounts. Its own entry point: motionary/components/snap-carousel (not in the widgets / lite bundles).
|
|
3298
3304
|
|
|
3299
3305
|
- Import: `import { defineSnapCarousel } from 'motionary/components/snap-carousel'; defineSnapCarousel();`
|
|
3300
|
-
- CDN: https://unpkg.com/motionary@
|
|
3306
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3301
3307
|
- Attributes: `align`, `gap`, `autoplay`, `no-controls`, `no-dots`, `label`, `index`
|
|
3302
3308
|
- Events: `usa:change`, `usa:runtime-missing`
|
|
3303
3309
|
- Methods: `next()`, `prev()`, `goTo()`
|
|
@@ -3315,11 +3321,11 @@ defineSnapCarousel(); // registers <usa-snap-carousel> — after the prerequisit
|
|
|
3315
3321
|
```
|
|
3316
3322
|
|
|
3317
3323
|
```html
|
|
3318
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
3319
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
3324
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
3325
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/drag-snap.iife.js"></script>
|
|
3320
3326
|
<!-- then the component bundles -->
|
|
3321
|
-
<script src="https://unpkg.com/motionary@
|
|
3322
|
-
<script src="https://unpkg.com/motionary@
|
|
3327
|
+
<script src="https://unpkg.com/motionary@13/dist/components.umd.js"></script>
|
|
3328
|
+
<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>
|
|
3323
3329
|
```
|
|
3324
3330
|
|
|
3325
3331
|
```html
|
|
@@ -3335,7 +3341,7 @@ defineSnapCarousel(); // registers <usa-snap-carousel> — after the prerequisit
|
|
|
3335
3341
|
7.2: a tiny inline trend — draws itself on first view, a soft area fades in, the last point pulses and new data morphs the line point by point. line | area | bars; hover shows the value.
|
|
3336
3342
|
|
|
3337
3343
|
- Import: `import { defineSparkline } from 'motionary/components/widgets'; defineSparkline();`
|
|
3338
|
-
- CDN: https://unpkg.com/motionary@
|
|
3344
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3339
3345
|
- Attributes: `variant`, `color`, `values`, `label`
|
|
3340
3346
|
|
|
3341
3347
|
```html
|
|
@@ -3347,7 +3353,7 @@ defineSnapCarousel(); // registers <usa-snap-carousel> — after the prerequisit
|
|
|
3347
3353
|
8.8: a spatial-computing window — frosted glass floating in depth, a soft gaze highlight that follows the pointer, layered content and an ornament bar; it eases towards you on hover and sinks on press.
|
|
3348
3354
|
|
|
3349
3355
|
- Import: `import { defineSpatialCard } from 'motionary/components/widgets'; defineSpatialCard();`
|
|
3350
|
-
- CDN: https://unpkg.com/motionary@
|
|
3356
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3351
3357
|
- Events: `usa:focus-depth`
|
|
3352
3358
|
|
|
3353
3359
|
```html
|
|
@@ -3363,7 +3369,7 @@ defineSnapCarousel(); // registers <usa-snap-carousel> — after the prerequisit
|
|
|
3363
3369
|
Six indeterminate indicators: the WinUI progress ring, the Windows 10 orbiting dots, ring, typing dots, pulse and bars.
|
|
3364
3370
|
|
|
3365
3371
|
- Import: `import { defineSpinner } from 'motionary/components/feedback'; defineSpinner();`
|
|
3366
|
-
- CDN: https://unpkg.com/motionary@
|
|
3372
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3367
3373
|
- Attributes: `kind`, `size`, `label`
|
|
3368
3374
|
|
|
3369
3375
|
```html
|
|
@@ -3376,7 +3382,7 @@ Six indeterminate indicators: the WinUI progress ring, the Windows 10 orbiting d
|
|
|
3376
3382
|
An app launch screen that leaves (fade, scale, slide-up, circle) once the page has loaded — never sooner than min ms.
|
|
3377
3383
|
|
|
3378
3384
|
- Import: `import { defineSplash } from 'motionary/components/page'; defineSplash();`
|
|
3379
|
-
- CDN: https://unpkg.com/motionary@
|
|
3385
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3380
3386
|
- Attributes: `label`, `manual`, `min`, `exit`
|
|
3381
3387
|
- Events: `usa:done`
|
|
3382
3388
|
- Methods: `done()`
|
|
@@ -3392,7 +3398,7 @@ An app launch screen that leaves (fade, scale, slide-up, circle) once the page h
|
|
|
3392
3398
|
Splits a headline into letters or words and cascades them in: rise, fade, blur, flip or pop. Words never break.
|
|
3393
3399
|
|
|
3394
3400
|
- Import: `import { defineSplitText } from 'motionary/components/text'; defineSplitText();`
|
|
3395
|
-
- CDN: https://unpkg.com/motionary@
|
|
3401
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3396
3402
|
- Attributes: `by`, `text`, `from`, `stagger`, `duration`, `delay`, `trigger`, `repeat`
|
|
3397
3403
|
- Events: `usa:complete`
|
|
3398
3404
|
- Methods: `play()`, `reset()`
|
|
@@ -3406,7 +3412,7 @@ Splits a headline into letters or words and cascades them in: rise, fade, blur,
|
|
|
3406
3412
|
The Windows Fluent “Reveal” effect: a light follows the pointer, lighting the borders of nearby items and the hovered one.
|
|
3407
3413
|
|
|
3408
3414
|
- Import: `import { defineSpotlight } from 'motionary/components/interaction'; defineSpotlight();`
|
|
3409
|
-
- CDN: https://unpkg.com/motionary@
|
|
3415
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3410
3416
|
- Attributes: `size`, `color`, `border`
|
|
3411
3417
|
|
|
3412
3418
|
```html
|
|
@@ -3422,7 +3428,7 @@ The Windows Fluent “Reveal” effect: a light follows the pointer, lighting th
|
|
|
3422
3428
|
bounce-in, pop and drop entrances with true spring timing (CSS linear() easing), plus jelly and rubber-band attention effects on view, hover or click.
|
|
3423
3429
|
|
|
3424
3430
|
- Import: `import { defineSpring } from 'motionary/components/physics'; defineSpring();`
|
|
3425
|
-
- CDN: https://unpkg.com/motionary@
|
|
3431
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3426
3432
|
- Attributes: `effect`, `trigger`, `repeat`, `stiffness`, `damping`, `mass`, `preset`, `duration`, `delay`
|
|
3427
3433
|
- Events: `usa:complete`
|
|
3428
3434
|
- Methods: `play()`, `reset()`
|
|
@@ -3441,7 +3447,7 @@ bounce-in, pop and drop entrances with true spring timing (CSS linear() easing),
|
|
|
3441
3447
|
Reveals direct children one after another — lists, grids, feature rows.
|
|
3442
3448
|
|
|
3443
3449
|
- Import: `import { defineStagger } from 'motionary/components/reveal'; defineStagger();`
|
|
3444
|
-
- CDN: https://unpkg.com/motionary@
|
|
3450
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3445
3451
|
- Attributes: `effect`, `repeat`, `threshold`, `distance`, `interval`, `delay`, `duration`, `easing`
|
|
3446
3452
|
- Events: `usa:enter`, `usa:complete`
|
|
3447
3453
|
- Methods: `reveal()`, `reset()`
|
|
@@ -3459,7 +3465,7 @@ Reveals direct children one after another — lists, grids, feature rows.
|
|
|
3459
3465
|
6.4: the fill follows the pointer (half stars with step="0.5"), a click pops the chosen star with a sparkle burst while the others ripple; stars or hearts; a keyboard slider (arrows, Home / End); readonly mode.
|
|
3460
3466
|
|
|
3461
3467
|
- Import: `import { defineStarRating } from 'motionary/components/widgets'; defineStarRating();`
|
|
3462
|
-
- CDN: https://unpkg.com/motionary@
|
|
3468
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3463
3469
|
- Attributes: `max`, `icon`, `readonly`, `step`, `label`, `value`
|
|
3464
3470
|
- Events: `usa:change`
|
|
3465
3471
|
|
|
@@ -3473,7 +3479,7 @@ Reveals direct children one after another — lists, grids, feature rows.
|
|
|
3473
3479
|
6.7: the rail fills toward the current step, finished steps pop a drawn check mark and the current step pulses. Horizontal or vertical; next() / prev() / value.
|
|
3474
3480
|
|
|
3475
3481
|
- Import: `import { defineStepper } from 'motionary/components/widgets'; defineStepper();`
|
|
3476
|
-
- CDN: https://unpkg.com/motionary@
|
|
3482
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3477
3483
|
- Attributes: `orientation`, `label`, `clickable`
|
|
3478
3484
|
- Events: `usa:change`
|
|
3479
3485
|
- Methods: `next()`, `prev()`
|
|
@@ -3492,7 +3498,7 @@ Reveals direct children one after another — lists, grids, feature rows.
|
|
|
3492
3498
|
Cards stick while you scroll and the covered ones shrink and dim as the next slides over them.
|
|
3493
3499
|
|
|
3494
3500
|
- Import: `import { defineStickyStack } from 'motionary/components/cards'; defineStickyStack();`
|
|
3495
|
-
- CDN: https://unpkg.com/motionary@
|
|
3501
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3496
3502
|
- Attributes: `top`, `gap`, `scale`
|
|
3497
3503
|
- Methods: `update()`
|
|
3498
3504
|
|
|
@@ -3509,7 +3515,7 @@ Cards stick while you scroll and the covered ones shrink and dim as the next sli
|
|
|
3509
3515
|
8.5: a wall of sticky notes — each child becomes a pinned paper note with a slight tilt, the notes drop onto the wall one by one, and a tap lifts a note to the front.
|
|
3510
3516
|
|
|
3511
3517
|
- Import: `import { defineStickyWall } from 'motionary/components/widgets'; defineStickyWall();`
|
|
3512
|
-
- CDN: https://unpkg.com/motionary@
|
|
3518
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3513
3519
|
- Attributes: `seed`, `label`
|
|
3514
3520
|
- Events: `usa:pick`
|
|
3515
3521
|
- Methods: `pick()`
|
|
@@ -3527,7 +3533,7 @@ Cards stick while you scroll and the covered ones shrink and dim as the next sli
|
|
|
3527
3533
|
6.2: segmented progress bars, auto-advance, tap left / right to step, press and hold to pause, plus a pause button. Under reduced motion it waits for the user instead of advancing.
|
|
3528
3534
|
|
|
3529
3535
|
- Import: `import { defineStories } from 'motionary/components/widgets'; defineStories();`
|
|
3530
|
-
- CDN: https://unpkg.com/motionary@
|
|
3536
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3531
3537
|
- Attributes: `duration`, `loop`
|
|
3532
3538
|
- Events: `usa:end`, `usa:change`
|
|
3533
3539
|
- Methods: `next()`, `prev()`, `goTo()`, `pause()`, `play()`
|
|
@@ -3544,7 +3550,7 @@ Cards stick while you scroll and the covered ones shrink and dim as the next sli
|
|
|
3544
3550
|
5.4: <usa-story template="compare"> wipes from before to after as you scroll; the handle is draggable and a keyboard slider (←/→, Home/End). Full-page templates (pin, gallery, zoom) live on the Scroll stories page.
|
|
3545
3551
|
|
|
3546
3552
|
- Import: `import { defineStory } from 'motionary/components/effects'; defineStory();`
|
|
3547
|
-
- CDN: https://unpkg.com/motionary@
|
|
3553
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3548
3554
|
- Attributes: `template`, `zoom`, `label`
|
|
3549
3555
|
- Events: `usa:step`
|
|
3550
3556
|
|
|
@@ -3562,7 +3568,7 @@ Cards stick while you scroll and the covered ones shrink and dim as the next sli
|
|
|
3562
3568
|
7.8: follow-up prompt chips that slide in one after another; picking one pulses it and (with dismiss) the others fade away. Real buttons, arrow-key navigation.
|
|
3563
3569
|
|
|
3564
3570
|
- Import: `import { defineSuggestionChips } from 'motionary/components/widgets'; defineSuggestionChips();`
|
|
3565
|
-
- CDN: https://unpkg.com/motionary@
|
|
3571
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3566
3572
|
- Attributes: `items`, `label`, `dismiss`
|
|
3567
3573
|
- Events: `usa:pick`
|
|
3568
3574
|
- Methods: `setItems()`
|
|
@@ -3576,7 +3582,7 @@ Cards stick while you scroll and the covered ones shrink and dim as the next sli
|
|
|
3576
3582
|
6.8: drag the top card — it rotates with the pointer, LIKE / NOPE stamps fade in and past the threshold (or on a fling) it flies off; otherwise it springs back. like(), nope(), undo(), ← / →.
|
|
3577
3583
|
|
|
3578
3584
|
- Import: `import { defineSwipeDeck } from 'motionary/components/widgets'; defineSwipeDeck();`
|
|
3579
|
-
- CDN: https://unpkg.com/motionary@
|
|
3585
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3580
3586
|
- Attributes: `label`, `threshold`
|
|
3581
3587
|
- Events: `usa:swipe`, `usa:empty`
|
|
3582
3588
|
- Methods: `like()`, `nope()`, `undo()`
|
|
@@ -3594,7 +3600,7 @@ Cards stick while you scroll and the covered ones shrink and dim as the next sli
|
|
|
3594
3600
|
Swipe-to-dismiss and swipe actions: content follows the finger, flies out on a fast swipe or past the distance, otherwise springs home with your release velocity. Delete / arrow keys work too.
|
|
3595
3601
|
|
|
3596
3602
|
- Import: `import { defineSwipeable } from 'motionary/components/gesture'; defineSwipeable();`
|
|
3597
|
-
- CDN: https://unpkg.com/motionary@
|
|
3603
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3598
3604
|
- Attributes: `axis`, `disabled`, `distance`, `dismiss`, `preset`
|
|
3599
3605
|
- Events: `usa:swipe`, `usa:dismiss`
|
|
3600
3606
|
- Methods: `swipe()`, `reset()`
|
|
@@ -3610,7 +3616,7 @@ Swipe-to-dismiss and swipe actions: content follows the finger, flies out on a f
|
|
|
3610
3616
|
6.7: four switches — iOS (the thumb stretches while pressed), day / night (sun becomes moon, stars appear), bounce (squash at the end) and liquid (a gooey fill pours in). role="switch", forms, keyboard.
|
|
3611
3617
|
|
|
3612
3618
|
- Import: `import { defineSwitch } from 'motionary/components/widgets'; defineSwitch();`
|
|
3613
|
-
- CDN: https://unpkg.com/motionary@
|
|
3619
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3614
3620
|
- Attributes: `variant`, `label`, `name`, `value`, `disabled`
|
|
3615
3621
|
- Events: `usa:change`
|
|
3616
3622
|
- Methods: `toggle()`
|
|
@@ -3624,7 +3630,7 @@ Swipe-to-dismiss and swipe actions: content follows the finger, flies out on a f
|
|
|
3624
3630
|
6.2: the indicator stretches from the old tab to the new one (leading edge first) and the panel slides in from the side of travel. Pill, underline, glow or gooey; full tablist keyboard support.
|
|
3625
3631
|
|
|
3626
3632
|
- Import: `import { defineTabBar } from 'motionary/components/widgets'; defineTabBar();`
|
|
3627
|
-
- CDN: https://unpkg.com/motionary@
|
|
3633
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3628
3634
|
- Attributes: `indicator`, `label`, `selected`
|
|
3629
3635
|
- Events: `usa:change`
|
|
3630
3636
|
- Methods: `select()`
|
|
@@ -3645,7 +3651,7 @@ Swipe-to-dismiss and swipe actions: content follows the finger, flies out on a f
|
|
|
3645
3651
|
Accessible tabs whose indicator slides between tabs with a spring; panels slide in from the direction you moved. Line or pill indicator.
|
|
3646
3652
|
|
|
3647
3653
|
- Import: `import { defineTabs } from 'motionary/components/ui'; defineTabs();`
|
|
3648
|
-
- CDN: https://unpkg.com/motionary@
|
|
3654
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3649
3655
|
- Attributes: `indicator`
|
|
3650
3656
|
- Events: `usa:change`
|
|
3651
3657
|
- Methods: `select()`
|
|
@@ -3663,7 +3669,7 @@ Accessible tabs whose indicator slides between tabs with a spring; panels slide
|
|
|
3663
3669
|
8.2: a retro terminal window that types its commands after the prompt with a blinking block cursor and prints the output line by line when it scrolls into view — dark, green-phosphor or amber.
|
|
3664
3670
|
|
|
3665
3671
|
- Import: `import { defineTerminal } from 'motionary/components/widgets'; defineTerminal();`
|
|
3666
|
-
- CDN: https://unpkg.com/motionary@
|
|
3672
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3667
3673
|
- Attributes: `title`, `prompt`, `theme`, `speed`, `loop`
|
|
3668
3674
|
- Events: `usa:done`
|
|
3669
3675
|
- Methods: `replay()`, `skip()`
|
|
@@ -3680,7 +3686,7 @@ Accessible tabs whose indicator slides between tabs with a spring; panels slide
|
|
|
3680
3686
|
Cycles words in place — the box keeps the width of the longest word, so nothing around it reflows.
|
|
3681
3687
|
|
|
3682
3688
|
- Import: `import { defineTextRotate } from 'motionary/components/text'; defineTextRotate();`
|
|
3683
|
-
- CDN: https://unpkg.com/motionary@
|
|
3689
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3684
3690
|
- Attributes: `words`, `interval`, `paused`, `effect`
|
|
3685
3691
|
- Events: `usa:change`
|
|
3686
3692
|
- Methods: `next()`
|
|
@@ -3694,7 +3700,7 @@ Build <usa-text-rotate words="fast|tiny|typed"></usa-text-rotate> apps
|
|
|
3694
3700
|
10.3: splits its text into characters, words or lines and animates them in with a stagger (rise, fade, blur, flip, wave) when it scrolls into view — accessible, grapheme-aware. Requires motionary/runtime/text — npm i motionary, then use(text) before it mounts.
|
|
3695
3701
|
|
|
3696
3702
|
- Import: `import { defineTextSplitter } from 'motionary/components/widgets'; defineTextSplitter();`
|
|
3697
|
-
- CDN: https://unpkg.com/motionary@
|
|
3703
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3698
3704
|
- Attributes: `split`, `effect`, `stagger`, `duration`, `loop`, `trigger`
|
|
3699
3705
|
- Events: `usa:split`, `usa:done`, `usa:runtime-missing`
|
|
3700
3706
|
- Methods: `replay()`, `pieces()`
|
|
@@ -3712,11 +3718,11 @@ defineTextSplitter(); // registers <usa-text-splitter> — after the prerequisit
|
|
|
3712
3718
|
```
|
|
3713
3719
|
|
|
3714
3720
|
```html
|
|
3715
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
3716
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
3721
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
3722
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/text.iife.js"></script>
|
|
3717
3723
|
<!-- then the component bundles -->
|
|
3718
|
-
<script src="https://unpkg.com/motionary@
|
|
3719
|
-
<script src="https://unpkg.com/motionary@
|
|
3724
|
+
<script src="https://unpkg.com/motionary@13/dist/components.umd.js"></script>
|
|
3725
|
+
<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>
|
|
3720
3726
|
```
|
|
3721
3727
|
|
|
3722
3728
|
```html
|
|
@@ -3728,7 +3734,7 @@ defineTextSplitter(); // registers <usa-text-splitter> — after the prerequisit
|
|
|
3728
3734
|
8.6: a themeable card that follows the nearest theme — light, dark, neon (pulsing glow edge), glass (frosted backdrop with a sheen) or soft neumorphic relief — and cross-fades when the theme changes.
|
|
3729
3735
|
|
|
3730
3736
|
- Import: `import { defineThemeSurface } from 'motionary/components/widgets'; defineThemeSurface();`
|
|
3731
|
-
- CDN: https://unpkg.com/motionary@
|
|
3737
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3732
3738
|
- Attributes: `theme`
|
|
3733
3739
|
- Events: `usa:theme`
|
|
3734
3740
|
|
|
@@ -3743,7 +3749,7 @@ defineTextSplitter(); // registers <usa-text-splitter> — after the prerequisit
|
|
|
3743
3749
|
8.6: a segmented switcher for the 8.6 theme system — light, dark, neon, glass and soft (neumorphism); a pill slides under the active option and the page change is revealed with a circular wipe from the click point.
|
|
3744
3750
|
|
|
3745
3751
|
- Import: `import { defineThemeSwitcher } from 'motionary/components/widgets'; defineThemeSwitcher();`
|
|
3746
|
-
- CDN: https://unpkg.com/motionary@
|
|
3752
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3747
3753
|
- Attributes: `themes`, `target`, `label`, `persist`, `value`
|
|
3748
3754
|
- Events: `usa:change`
|
|
3749
3755
|
|
|
@@ -3756,7 +3762,7 @@ defineTextSplitter(); // registers <usa-text-splitter> — after the prerequisit
|
|
|
3756
3762
|
Tilts toward the pointer in 3D with an optional glare; exposes --usa-tilt-x/y for parallax layers inside.
|
|
3757
3763
|
|
|
3758
3764
|
- Import: `import { defineTilt } from 'motionary/components/interaction'; defineTilt();`
|
|
3759
|
-
- CDN: https://unpkg.com/motionary@
|
|
3765
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3760
3766
|
- Attributes: `max`, `scale`, `perspective`, `glare`, `reverse`, `disabled`
|
|
3761
3767
|
|
|
3762
3768
|
```html
|
|
@@ -3770,7 +3776,7 @@ Tilts toward the pointer in 3D with an optional glare; exposes --usa-tilt-x/y fo
|
|
|
3770
3776
|
Every data-tl child becomes a step in document order. data-at ('-=200', '<', 'label+=100') overlaps or aligns steps; scrub ties progress to scroll; trigger view / click / manual.
|
|
3771
3777
|
|
|
3772
3778
|
- Import: `import { defineTimeline } from 'motionary/components/timeline'; defineTimeline();`
|
|
3773
|
-
- CDN: https://unpkg.com/motionary@
|
|
3779
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3774
3780
|
- Attributes: `scrub`, `trigger`, `overlap`, `duration`, `stagger`, `smooth`, `repeat`
|
|
3775
3781
|
- Events: `usa:complete`
|
|
3776
3782
|
- Methods: `play()`, `reverse()`, `seek()`
|
|
@@ -3788,7 +3794,7 @@ Every data-tl child becomes a step in document order. data-at ('-=200', '<', 'la
|
|
|
3788
3794
|
6.6: springs out of its trigger with an arrow, flips to stay inside the viewport and shifts along the edge; hover + keyboard focus (Esc closes) or click popovers with rich content.
|
|
3789
3795
|
|
|
3790
3796
|
- Import: `import { defineTip } from 'motionary/components/widgets'; defineTip();`
|
|
3791
|
-
- CDN: https://unpkg.com/motionary@
|
|
3797
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3792
3798
|
- Attributes: `text`, `placement`, `trigger`, `delay`
|
|
3793
3799
|
- Events: `usa:open`, `usa:close`
|
|
3794
3800
|
- Methods: `show()`, `hide()`
|
|
@@ -3808,7 +3814,7 @@ Every data-tl child becomes a step in document order. data-at ('-=200', '<', 'la
|
|
|
3808
3814
|
6.3: toasts pile up into a collapsed stack (newest in front, older ones peeking behind), fan out on hover or focus, auto-dismiss (paused while hovered) and swipe away. Six positions, a polite live region, stackToast() helper and data-usa-toast triggers.
|
|
3809
3815
|
|
|
3810
3816
|
- Import: `import { defineToastStack } from 'motionary/components/widgets'; defineToastStack();`
|
|
3811
|
-
- CDN: https://unpkg.com/motionary@
|
|
3817
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3812
3818
|
- Attributes: `position`, `duration`, `max`
|
|
3813
3819
|
- Events: `usa:show`, `usa:dismiss`
|
|
3814
3820
|
- Methods: `show()`, `dismiss()`, `clear()`
|
|
@@ -3824,7 +3830,7 @@ Every data-tl child becomes a step in document order. data-at ('-=200', '<', 'la
|
|
|
3824
3830
|
toast("Saved") slides a notification in; it pauses on hover, stacks with FLIP and announces politely (errors assertively).
|
|
3825
3831
|
|
|
3826
3832
|
- Import: `import { defineToaster } from 'motionary/components/feedback'; defineToaster();`
|
|
3827
|
-
- CDN: https://unpkg.com/motionary@
|
|
3833
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3828
3834
|
- Attributes: `label`, `position`, `max`
|
|
3829
3835
|
- Events: `usa:toast`
|
|
3830
3836
|
- Methods: `show()`, `clear()`
|
|
@@ -3842,7 +3848,7 @@ toast("Saved") slides a notification in; it pauses on hover, stacks with FLIP an
|
|
|
3842
3848
|
10.6 (motion design tokens 2.0): edit duration and cubic-bézier easing tokens with a live preview per token, then export W3C Design Tokens (DTCG 2025.10 or the earlier draft) or import a DTCG file — aliases resolved, problems listed; apply writes the tokens to :root custom properties as you edit.
|
|
3843
3849
|
|
|
3844
3850
|
- Import: `import { defineTokenEditor } from 'motionary/components/widgets'; defineTokenEditor();`
|
|
3845
|
-
- CDN: https://unpkg.com/motionary@
|
|
3851
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3846
3852
|
- Attributes: `apply`, `format`, `groups`, `label`
|
|
3847
3853
|
- Events: `usa:export`, `usa:import`, `usa:change`
|
|
3848
3854
|
- Methods: `exportJSON()`, `importJSON()`
|
|
@@ -3856,7 +3862,7 @@ toast("Saved") slides a notification in; it pauses on hover, stacks with FLIP an
|
|
|
3856
3862
|
Types text, or cycles through phrases with delete and pause. Full text stays available to screen readers.
|
|
3857
3863
|
|
|
3858
3864
|
- Import: `import { defineTypewriter } from 'motionary/components/text'; defineTypewriter();`
|
|
3859
|
-
- CDN: https://unpkg.com/motionary@
|
|
3865
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3860
3866
|
- Attributes: `text`, `words`, `start`, `speed`, `delete-speed`, `pause`, `loop`, `delay`
|
|
3861
3867
|
- Events: `usa:complete`
|
|
3862
3868
|
- Methods: `start()`, `stop()`, `restart()`
|
|
@@ -3870,7 +3876,7 @@ Types text, or cycles through phrases with delete and pause. Full text stays ava
|
|
|
3870
3876
|
7.7: a file row whose bar eases to value with a running shine; at 100 it turns into a check that draws itself, on error it shakes and offers Retry.
|
|
3871
3877
|
|
|
3872
3878
|
- Import: `import { defineUploadProgress } from 'motionary/components/widgets'; defineUploadProgress();`
|
|
3873
|
-
- CDN: https://unpkg.com/motionary@
|
|
3879
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3874
3880
|
- Attributes: `name`, `size`, `value`, `status`, `message`
|
|
3875
3881
|
- Events: `usa:retry`, `usa:done`, `usa:error`
|
|
3876
3882
|
|
|
@@ -3884,7 +3890,7 @@ Types text, or cycles through phrases with delete and pause. Full text stays ava
|
|
|
3884
3890
|
9.4: a video thumbnail card — hover or focus plays a muted preview with a progress line, a play badge and a duration chip; without a video the poster drifts (Ken Burns).
|
|
3885
3891
|
|
|
3886
3892
|
- Import: `import { defineVideoCard } from 'motionary/components/widgets'; defineVideoCard();`
|
|
3887
|
-
- CDN: https://unpkg.com/motionary@
|
|
3893
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3888
3894
|
- Attributes: `label`, `duration`
|
|
3889
3895
|
- Events: `usa:open`
|
|
3890
3896
|
|
|
@@ -3901,7 +3907,7 @@ Types text, or cycles through phrases with delete and pause. Full text stays ava
|
|
|
3901
3907
|
One view at a time with direction-aware slide, fade, scale or drill transitions — tabs, wizards, app pages.
|
|
3902
3908
|
|
|
3903
3909
|
- Import: `import { defineViewSwitch } from 'motionary/components/transitions'; defineViewSwitch();`
|
|
3904
|
-
- CDN: https://unpkg.com/motionary@
|
|
3910
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3905
3911
|
- Attributes: `active`, `duration`, `effect`
|
|
3906
3912
|
- Events: `usa:change`
|
|
3907
3913
|
- Methods: `show()`
|
|
@@ -3918,7 +3924,7 @@ One view at a time with direction-aware slide, fade, scale or drill transitions
|
|
|
3918
3924
|
7.8: a push-to-talk mic button — while listening a halo breathes and level bars wave; feed it live input levels with level (0–1) and they follow your voice.
|
|
3919
3925
|
|
|
3920
3926
|
- Import: `import { defineVoiceButton } from 'motionary/components/widgets'; defineVoiceButton();`
|
|
3921
|
-
- CDN: https://unpkg.com/motionary@
|
|
3927
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3922
3928
|
- Attributes: `label`, `bars`, `listening`
|
|
3923
3929
|
- Methods: `toggle()`
|
|
3924
3930
|
|
|
@@ -3932,7 +3938,7 @@ One view at a time with direction-aware slide, fade, scale or drill transitions
|
|
|
3932
3938
|
7.1: a rotary knob — drag up / down, scroll or use the keys; the value arc fills, a ring of LED ticks lights up and the pointer springs to the angle. role="slider".
|
|
3933
3939
|
|
|
3934
3940
|
- Import: `import { defineVolumeKnob } from 'motionary/components/widgets'; defineVolumeKnob();`
|
|
3935
|
-
- CDN: https://unpkg.com/motionary@
|
|
3941
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3936
3942
|
- Attributes: `min`, `max`, `label`
|
|
3937
3943
|
- Events: `usa:change`, `usa:input`
|
|
3938
3944
|
|
|
@@ -3945,7 +3951,7 @@ One view at a time with direction-aware slide, fade, scale or drill transitions
|
|
|
3945
3951
|
Interactive water ripples on a canvas over the content: move or tap to disturb the surface.
|
|
3946
3952
|
|
|
3947
3953
|
- Import: `import { defineWaterRipple } from 'motionary/components/background'; defineWaterRipple();`
|
|
3948
|
-
- CDN: https://unpkg.com/motionary@
|
|
3954
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3949
3955
|
- Attributes: `damping`, `color`, `strength`
|
|
3950
3956
|
- Methods: `mount()`
|
|
3951
3957
|
|
|
@@ -3960,7 +3966,7 @@ Interactive water ripples on a canvas over the content: move or tap to disturb t
|
|
|
3960
3966
|
Letters bob in a travelling wave — playful headlines and loading labels.
|
|
3961
3967
|
|
|
3962
3968
|
- Import: `import { defineWaveText } from 'motionary/components/text'; defineWaveText();`
|
|
3963
|
-
- CDN: https://unpkg.com/motionary@
|
|
3969
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3964
3970
|
- Attributes: `text`, `amplitude`, `speed`, `stagger`
|
|
3965
3971
|
- Methods: `mount()`, `splitChars()`
|
|
3966
3972
|
|
|
@@ -3973,7 +3979,7 @@ Letters bob in a travelling wave — playful headlines and loading labels.
|
|
|
3973
3979
|
6.8: sun rays turn, clouds drift, rain and snow fall, a flash-safe bolt glows, fog bands and stars — pick a condition and the scene cross-fades; the temperature counts up.
|
|
3974
3980
|
|
|
3975
3981
|
- Import: `import { defineWeatherCard } from 'motionary/components/widgets'; defineWeatherCard();`
|
|
3976
|
-
- CDN: https://unpkg.com/motionary@
|
|
3982
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3977
3983
|
- Attributes: `condition`, `temp`, `place`, `unit`, `label`
|
|
3978
3984
|
|
|
3979
3985
|
```html
|
|
@@ -3985,7 +3991,7 @@ Letters bob in a travelling wave — playful headlines and loading labels.
|
|
|
3985
3991
|
9.6: a canvas animation rendered in a Web Worker on an OffscreenCanvas — the main thread stays free for input — with a main-thread fallback; particles, orbits, starfield or your own draw program.
|
|
3986
3992
|
|
|
3987
3993
|
- Import: `import { defineWorkerCanvas } from 'motionary/components/widgets'; defineWorkerCanvas();`
|
|
3988
|
-
- CDN: https://unpkg.com/motionary@
|
|
3994
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3989
3995
|
- Attributes: `scene`, `label`
|
|
3990
3996
|
- Events: `usa:backend`
|
|
3991
3997
|
|
|
@@ -3998,7 +4004,7 @@ Letters bob in a travelling wave — playful headlines and loading labels.
|
|
|
3998
4004
|
7.5: an experience bar — add(n) fills it smoothly; overflowing fills to the end, the level badge pops and the bar restarts with the remainder (several levels if needed).
|
|
3999
4005
|
|
|
4000
4006
|
- Import: `import { defineXpBar } from 'motionary/components/widgets'; defineXpBar();`
|
|
4001
|
-
- CDN: https://unpkg.com/motionary@
|
|
4007
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
4002
4008
|
- Attributes: `level`, `xp`, `per`
|
|
4003
4009
|
- Events: `usa:levelup`, `usa:xp`
|
|
4004
4010
|
- Methods: `add()`
|