motionary 10.8.0 → 11.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +1 -1
- package/CHANGELOG.md +54 -0
- package/README.md +184 -62
- package/README_ja.md +4 -4
- package/README_zh.md +4 -4
- package/bin/usa-codemod-11.mjs +59 -0
- package/dist/chunks/{anim-image-iD646Q7i.js → anim-image-Btw3j5Qb.js} +2 -2
- package/dist/chunks/{anim-image-iD646Q7i.js.map → anim-image-Btw3j5Qb.js.map} +1 -1
- package/dist/chunks/{anim-image-BzTQa2k3.cjs → anim-image-DVv_vtbG.cjs} +2 -2
- package/dist/chunks/{anim-image-BzTQa2k3.cjs.map → anim-image-DVv_vtbG.cjs.map} +1 -1
- package/dist/chunks/badge-wall-CF14o2zO.js +74 -0
- package/dist/chunks/badge-wall-CF14o2zO.js.map +1 -0
- package/dist/chunks/badge-wall-CU06ZtRD.cjs +77 -0
- package/dist/chunks/badge-wall-CU06ZtRD.cjs.map +1 -0
- package/dist/chunks/bg-generator-BFYa62Wz.cjs +98 -0
- package/dist/chunks/bg-generator-BFYa62Wz.cjs.map +1 -0
- package/dist/chunks/bg-generator-BhVpJcq0.js +95 -0
- package/dist/chunks/bg-generator-BhVpJcq0.js.map +1 -0
- package/dist/chunks/carousel-2Ng-9W8C.js +197 -0
- package/dist/chunks/carousel-2Ng-9W8C.js.map +1 -0
- package/dist/chunks/carousel-DMn_2Pxg.cjs +200 -0
- package/dist/chunks/carousel-DMn_2Pxg.cjs.map +1 -0
- package/dist/chunks/cart-drawer-C_Iy_DVY.js +172 -0
- package/dist/chunks/cart-drawer-C_Iy_DVY.js.map +1 -0
- package/dist/chunks/cart-drawer-D3op4Egh.cjs +175 -0
- package/dist/chunks/cart-drawer-D3op4Egh.cjs.map +1 -0
- package/dist/chunks/code-export-BwCKdBTi.cjs +177 -0
- package/dist/chunks/code-export-BwCKdBTi.cjs.map +1 -0
- package/dist/chunks/code-export-ocmwKLu4.js +173 -0
- package/dist/chunks/code-export-ocmwKLu4.js.map +1 -0
- package/dist/chunks/color-picker-C9q8d0wn.js +128 -0
- package/dist/chunks/color-picker-C9q8d0wn.js.map +1 -0
- package/dist/chunks/color-picker-D7sWAjxR.cjs +132 -0
- package/dist/chunks/color-picker-D7sWAjxR.cjs.map +1 -0
- package/dist/chunks/command-palette-BYbRvPvv.cjs +271 -0
- package/dist/chunks/command-palette-BYbRvPvv.cjs.map +1 -0
- package/dist/chunks/command-palette-BzD2fATL.js +266 -0
- package/dist/chunks/command-palette-BzD2fATL.js.map +1 -0
- package/dist/chunks/countdown-B45l53Ju.js +95 -0
- package/dist/chunks/countdown-B45l53Ju.js.map +1 -0
- package/dist/chunks/countdown-D77hzPiX.cjs +98 -0
- package/dist/chunks/countdown-D77hzPiX.cjs.map +1 -0
- package/dist/chunks/date-picker-C0wRz8-f.cjs +160 -0
- package/dist/chunks/date-picker-C0wRz8-f.cjs.map +1 -0
- package/dist/chunks/date-picker-j0cYuEhX.js +156 -0
- package/dist/chunks/date-picker-j0cYuEhX.js.map +1 -0
- package/dist/chunks/equalizer-D0EW6WP2.cjs +109 -0
- package/dist/chunks/equalizer-D0EW6WP2.cjs.map +1 -0
- package/dist/chunks/equalizer-ZlyuAjvZ.js +106 -0
- package/dist/chunks/equalizer-ZlyuAjvZ.js.map +1 -0
- package/dist/chunks/festival-banner-CTfkTfVI.cjs +58 -0
- package/dist/chunks/festival-banner-CTfkTfVI.cjs.map +1 -0
- package/dist/chunks/festival-banner-D1KfMWzk.js +55 -0
- package/dist/chunks/festival-banner-D1KfMWzk.js.map +1 -0
- package/dist/chunks/field-DQKLEiXb.cjs +136 -0
- package/dist/chunks/field-DQKLEiXb.cjs.map +1 -0
- package/dist/chunks/field-ISsaGkh-.js +133 -0
- package/dist/chunks/field-ISsaGkh-.js.map +1 -0
- package/dist/chunks/gl-scene-BDA6FlGQ.js +177 -0
- package/dist/chunks/gl-scene-BDA6FlGQ.js.map +1 -0
- package/dist/chunks/gl-scene-SO5UU93S.cjs +180 -0
- package/dist/chunks/gl-scene-SO5UU93S.cjs.map +1 -0
- package/dist/chunks/globe-BJ2rWSV1.cjs +168 -0
- package/dist/chunks/globe-BJ2rWSV1.cjs.map +1 -0
- package/dist/chunks/globe-DoDIrULa.js +164 -0
- package/dist/chunks/globe-DoDIrULa.js.map +1 -0
- package/dist/chunks/gpu-particles-BSdRfZLW.cjs +218 -0
- package/dist/chunks/gpu-particles-BSdRfZLW.cjs.map +1 -0
- package/dist/chunks/gpu-particles-BV4EUv4i.js +214 -0
- package/dist/chunks/gpu-particles-BV4EUv4i.js.map +1 -0
- package/dist/chunks/{keyframes-BlOyB1PP.cjs → keyframes-4rb2WShh.cjs} +2 -2
- package/dist/chunks/{keyframes-BlOyB1PP.cjs.map → keyframes-4rb2WShh.cjs.map} +1 -1
- package/dist/chunks/{keyframes-B4zefz0k.js → keyframes-C9poRyzF.js} +2 -2
- package/dist/chunks/{keyframes-B4zefz0k.js.map → keyframes-C9poRyzF.js.map} +1 -1
- package/dist/chunks/leaderboard-BKn_EaDf.js +116 -0
- package/dist/chunks/leaderboard-BKn_EaDf.js.map +1 -0
- package/dist/chunks/leaderboard-BriQkJqy.cjs +119 -0
- package/dist/chunks/leaderboard-BriQkJqy.cjs.map +1 -0
- package/dist/chunks/location-card-D0eBzqvQ.js +81 -0
- package/dist/chunks/location-card-D0eBzqvQ.js.map +1 -0
- package/dist/chunks/location-card-Dv2CZq6I.cjs +85 -0
- package/dist/chunks/location-card-Dv2CZq6I.cjs.map +1 -0
- package/dist/chunks/lottie-icon-Npc5dVZ-.js +85 -0
- package/dist/chunks/lottie-icon-Npc5dVZ-.js.map +1 -0
- package/dist/chunks/lottie-icon-RYBpSuUE.cjs +88 -0
- package/dist/chunks/lottie-icon-RYBpSuUE.cjs.map +1 -0
- package/dist/chunks/lottie-player-CPdwHhqe.js +127 -0
- package/dist/chunks/lottie-player-CPdwHhqe.js.map +1 -0
- package/dist/chunks/lottie-player-DD1pnLN2.cjs +130 -0
- package/dist/chunks/lottie-player-DD1pnLN2.cjs.map +1 -0
- package/dist/chunks/lyrics-BQV_FErr.cjs +123 -0
- package/dist/chunks/lyrics-BQV_FErr.cjs.map +1 -0
- package/dist/chunks/lyrics-DA2Pg8AN.js +120 -0
- package/dist/chunks/lyrics-DA2Pg8AN.js.map +1 -0
- package/dist/chunks/menu-Bk8wTMy9.cjs +150 -0
- package/dist/chunks/menu-Bk8wTMy9.cjs.map +1 -0
- package/dist/chunks/menu-BleS4e7_.js +147 -0
- package/dist/chunks/menu-BleS4e7_.js.map +1 -0
- package/dist/chunks/menu-toggle-B3LW-5u4.cjs +83 -0
- package/dist/chunks/menu-toggle-B3LW-5u4.cjs.map +1 -0
- package/dist/chunks/menu-toggle-Bc19rQXt.js +80 -0
- package/dist/chunks/menu-toggle-Bc19rQXt.js.map +1 -0
- package/dist/chunks/nav-morph-Bd3URdbR.js +112 -0
- package/dist/chunks/nav-morph-Bd3URdbR.js.map +1 -0
- package/dist/chunks/nav-morph-eS1TRYnR.cjs +115 -0
- package/dist/chunks/nav-morph-eS1TRYnR.cjs.map +1 -0
- package/dist/chunks/otp-Dn1GdHdp.js +138 -0
- package/dist/chunks/otp-Dn1GdHdp.js.map +1 -0
- package/dist/chunks/otp-i3jfNUmt.cjs +141 -0
- package/dist/chunks/otp-i3jfNUmt.cjs.map +1 -0
- package/dist/chunks/pagination-D0JThbPP.cjs +133 -0
- package/dist/chunks/pagination-D0JThbPP.cjs.map +1 -0
- package/dist/chunks/pagination-DJpiF_Zu.js +130 -0
- package/dist/chunks/pagination-DJpiF_Zu.js.map +1 -0
- package/dist/chunks/physics-playground-B00t13Nz.cjs +278 -0
- package/dist/chunks/physics-playground-B00t13Nz.cjs.map +1 -0
- package/dist/chunks/physics-playground-CluT_Nj9.js +275 -0
- package/dist/chunks/physics-playground-CluT_Nj9.js.map +1 -0
- package/dist/chunks/presence-Cms6yMRX.cjs +81 -0
- package/dist/chunks/presence-Cms6yMRX.cjs.map +1 -0
- package/dist/chunks/presence-wjIaBT4S.js +77 -0
- package/dist/chunks/presence-wjIaBT4S.js.map +1 -0
- package/dist/chunks/prize-wheel-B3opfcbO.js +87 -0
- package/dist/chunks/prize-wheel-B3opfcbO.js.map +1 -0
- package/dist/chunks/prize-wheel-Dxpu_k1l.cjs +90 -0
- package/dist/chunks/prize-wheel-Dxpu_k1l.cjs.map +1 -0
- package/dist/chunks/product-gallery-Bg69Z2jZ.js +121 -0
- package/dist/chunks/product-gallery-Bg69Z2jZ.js.map +1 -0
- package/dist/chunks/product-gallery-nSXnskzk.cjs +124 -0
- package/dist/chunks/product-gallery-nSXnskzk.cjs.map +1 -0
- package/dist/chunks/progress-ring-Da6LFA5p.cjs +262 -0
- package/dist/chunks/progress-ring-Da6LFA5p.cjs.map +1 -0
- package/dist/chunks/progress-ring-gWnPi2a2.js +258 -0
- package/dist/chunks/progress-ring-gWnPi2a2.js.map +1 -0
- package/dist/chunks/prop-panel-Ca9NKyGR.cjs +114 -0
- package/dist/chunks/prop-panel-Ca9NKyGR.cjs.map +1 -0
- package/dist/chunks/prop-panel-DlfQlKxj.js +111 -0
- package/dist/chunks/prop-panel-DlfQlKxj.js.map +1 -0
- package/dist/chunks/radar-B5WHwyoF.js +93 -0
- package/dist/chunks/radar-B5WHwyoF.js.map +1 -0
- package/dist/chunks/radar-bqiGfPOA.cjs +96 -0
- package/dist/chunks/radar-bqiGfPOA.cjs.map +1 -0
- package/dist/chunks/reactions-BF_vVHkS.cjs +112 -0
- package/dist/chunks/reactions-BF_vVHkS.cjs.map +1 -0
- package/dist/chunks/reactions-C7v9Adsr.js +109 -0
- package/dist/chunks/reactions-C7v9Adsr.js.map +1 -0
- package/dist/chunks/{registry-Bkt3-3ET.js → registry-W7pXOwju.js} +3 -3
- package/dist/chunks/{registry-Bkt3-3ET.js.map → registry-W7pXOwju.js.map} +1 -1
- package/dist/chunks/{registry-BZxDVL3h.cjs → registry-uaO8pDKn.cjs} +3 -3
- package/dist/chunks/{registry-BZxDVL3h.cjs.map → registry-uaO8pDKn.cjs.map} +1 -1
- package/dist/chunks/retro-button-BnQerY5W.js +61 -0
- package/dist/chunks/retro-button-BnQerY5W.js.map +1 -0
- package/dist/chunks/retro-button-inQeJF9l.cjs +64 -0
- package/dist/chunks/retro-button-inQeJF9l.cjs.map +1 -0
- package/dist/chunks/rive-B_yxYGBn.js +139 -0
- package/dist/chunks/rive-B_yxYGBn.js.map +1 -0
- package/dist/chunks/rive-DplDvYH5.cjs +145 -0
- package/dist/chunks/rive-DplDvYH5.cjs.map +1 -0
- package/dist/chunks/{runtime-link-CUiZ8lbE.cjs → runtime-link-Bz3rGMsh.cjs} +2 -2
- package/dist/chunks/{runtime-link-CUiZ8lbE.cjs.map → runtime-link-Bz3rGMsh.cjs.map} +1 -1
- package/dist/chunks/{runtime-link-c13gskBZ.js → runtime-link-CP3qaRja.js} +2 -2
- package/dist/chunks/{runtime-link-c13gskBZ.js.map → runtime-link-CP3qaRja.js.map} +1 -1
- package/dist/chunks/scroll-driven-CQbwzCdn.cjs +50 -0
- package/dist/chunks/scroll-driven-CQbwzCdn.cjs.map +1 -0
- package/dist/chunks/scroll-driven-LghshrWq.js +44 -0
- package/dist/chunks/scroll-driven-LghshrWq.js.map +1 -0
- package/dist/chunks/scroll-scene-CeIosbEs.cjs +96 -0
- package/dist/chunks/scroll-scene-CeIosbEs.cjs.map +1 -0
- package/dist/chunks/scroll-scene-eHhGcoDQ.js +93 -0
- package/dist/chunks/scroll-scene-eHhGcoDQ.js.map +1 -0
- package/dist/chunks/segmented-BgkHp4yi.js +102 -0
- package/dist/chunks/segmented-BgkHp4yi.js.map +1 -0
- package/dist/chunks/segmented-tmyzKs4A.cjs +105 -0
- package/dist/chunks/segmented-tmyzKs4A.cjs.map +1 -0
- package/dist/chunks/shader-backdrop-C4hYivMV.cjs +163 -0
- package/dist/chunks/shader-backdrop-C4hYivMV.cjs.map +1 -0
- package/dist/chunks/shader-backdrop-Ce8aEeGG.js +159 -0
- package/dist/chunks/shader-backdrop-Ce8aEeGG.js.map +1 -0
- package/dist/chunks/shared-BxK1D7EZ.cjs +44 -0
- package/dist/chunks/shared-BxK1D7EZ.cjs.map +1 -0
- package/dist/chunks/shared-C8Pi6tuh.js +37 -0
- package/dist/chunks/shared-C8Pi6tuh.js.map +1 -0
- package/dist/chunks/sheet-BrHRiGUg.cjs +243 -0
- package/dist/chunks/sheet-BrHRiGUg.cjs.map +1 -0
- package/dist/chunks/sheet-Cv3ofuiZ.js +237 -0
- package/dist/chunks/sheet-Cv3ofuiZ.js.map +1 -0
- package/dist/chunks/sign-DvZ1jHxE.js +102 -0
- package/dist/chunks/sign-DvZ1jHxE.js.map +1 -0
- package/dist/chunks/sign-RAkQIWrM.cjs +107 -0
- package/dist/chunks/sign-RAkQIWrM.cjs.map +1 -0
- package/dist/chunks/skeleton-reveal-BTviZBoF.cjs +126 -0
- package/dist/chunks/skeleton-reveal-BTviZBoF.cjs.map +1 -0
- package/dist/chunks/skeleton-reveal-DgK4Oqbm.js +123 -0
- package/dist/chunks/skeleton-reveal-DgK4Oqbm.js.map +1 -0
- package/dist/chunks/sparkline-CdC8_uLp.cjs +134 -0
- package/dist/chunks/sparkline-CdC8_uLp.cjs.map +1 -0
- package/dist/chunks/sparkline-DRvajcY7.js +130 -0
- package/dist/chunks/sparkline-DRvajcY7.js.map +1 -0
- package/dist/chunks/suggestion-chips-BzVcyOqj.cjs +95 -0
- package/dist/chunks/suggestion-chips-BzVcyOqj.cjs.map +1 -0
- package/dist/chunks/suggestion-chips-CoOG2WH8.js +92 -0
- package/dist/chunks/suggestion-chips-CoOG2WH8.js.map +1 -0
- package/dist/chunks/switch-CeuEDr-j.cjs +98 -0
- package/dist/chunks/switch-CeuEDr-j.cjs.map +1 -0
- package/dist/chunks/switch-Dg-fyrnW.js +95 -0
- package/dist/chunks/switch-Dg-fyrnW.js.map +1 -0
- package/dist/chunks/tab-bar-BawknmJD.js +121 -0
- package/dist/chunks/tab-bar-BawknmJD.js.map +1 -0
- package/dist/chunks/tab-bar-BfIFNrCo.cjs +124 -0
- package/dist/chunks/tab-bar-BfIFNrCo.cjs.map +1 -0
- package/dist/chunks/{ticker-ZtweD3U4.js → ticker-D0qF_rV_.js} +2 -2
- package/dist/chunks/{ticker-ZtweD3U4.js.map → ticker-D0qF_rV_.js.map} +1 -1
- package/dist/chunks/{ticker-BfxAECfO.cjs → ticker-nshSbZ-Q.cjs} +2 -2
- package/dist/chunks/{ticker-BfxAECfO.cjs.map → ticker-nshSbZ-Q.cjs.map} +1 -1
- package/dist/chunks/tip-B_7d0L6E.cjs +143 -0
- package/dist/chunks/tip-B_7d0L6E.cjs.map +1 -0
- package/dist/chunks/tip-Bj3JxaCK.js +140 -0
- package/dist/chunks/tip-Bj3JxaCK.js.map +1 -0
- package/dist/chunks/toast-stack-B5HOn8ZH.js +205 -0
- package/dist/chunks/toast-stack-B5HOn8ZH.js.map +1 -0
- package/dist/chunks/toast-stack-gMSzQL5l.cjs +209 -0
- package/dist/chunks/toast-stack-gMSzQL5l.cjs.map +1 -0
- package/dist/chunks/{tween--MD-39y0.cjs → tween-Df87h-1G.cjs} +2 -2
- package/dist/chunks/{tween--MD-39y0.cjs.map → tween-Df87h-1G.cjs.map} +1 -1
- package/dist/chunks/{tween-DACdkLyO.js → tween-WepVA7id.js} +2 -2
- package/dist/chunks/{tween-DACdkLyO.js.map → tween-WepVA7id.js.map} +1 -1
- package/dist/chunks/upload-progress-C7sTpue3.cjs +93 -0
- package/dist/chunks/upload-progress-C7sTpue3.cjs.map +1 -0
- package/dist/chunks/upload-progress-EAVPHC3K.js +90 -0
- package/dist/chunks/upload-progress-EAVPHC3K.js.map +1 -0
- package/dist/chunks/voice-button-B-rl1zRO.js +79 -0
- package/dist/chunks/voice-button-B-rl1zRO.js.map +1 -0
- package/dist/chunks/voice-button-CwKLfjli.cjs +82 -0
- package/dist/chunks/voice-button-CwKLfjli.cjs.map +1 -0
- package/dist/chunks/weather-card-DslTUZHt.js +88 -0
- package/dist/chunks/weather-card-DslTUZHt.js.map +1 -0
- package/dist/chunks/weather-card-slgERYIJ.cjs +91 -0
- package/dist/chunks/weather-card-slgERYIJ.cjs.map +1 -0
- package/dist/chunks/worker-canvas-BZNHRLcu.js +102 -0
- package/dist/chunks/worker-canvas-BZNHRLcu.js.map +1 -0
- package/dist/chunks/worker-canvas-DW3VgtxO.cjs +106 -0
- package/dist/chunks/worker-canvas-DW3VgtxO.cjs.map +1 -0
- package/dist/chunks/xp-bar-DES6dNqx.cjs +107 -0
- package/dist/chunks/xp-bar-DES6dNqx.cjs.map +1 -0
- package/dist/chunks/xp-bar-sM0Rpp9g.js +104 -0
- package/dist/chunks/xp-bar-sM0Rpp9g.js.map +1 -0
- package/dist/components/dotlottie.cjs +122 -0
- package/dist/components/dotlottie.cjs.map +1 -0
- package/dist/components/dotlottie.d.cts +340 -0
- package/dist/components/dotlottie.d.ts +340 -0
- package/dist/components/dotlottie.js +120 -0
- package/dist/components/dotlottie.js.map +1 -0
- package/dist/components/fx-perf.cjs +10 -3
- package/dist/components/fx-perf.cjs.map +1 -1
- package/dist/components/fx-perf.d.cts +6 -1
- package/dist/components/fx-perf.d.ts +6 -1
- package/dist/components/fx-perf.js +10 -3
- package/dist/components/fx-perf.js.map +1 -1
- package/dist/components/fx2.d.cts +6 -1
- package/dist/components/fx2.d.ts +6 -1
- package/dist/components/gl-model.cjs +28 -0
- package/dist/components/gl-model.cjs.map +1 -0
- package/dist/components/gl-model.d.cts +244 -0
- package/dist/components/gl-model.d.ts +244 -0
- package/dist/components/gl-model.js +26 -0
- package/dist/components/gl-model.js.map +1 -0
- package/dist/components/marketplace.cjs +5 -104
- package/dist/components/marketplace.cjs.map +1 -1
- package/dist/components/marketplace.js +2 -101
- package/dist/components/marketplace.js.map +1 -1
- package/dist/components/snap-carousel.cjs +2 -2
- package/dist/components/snap-carousel.js +2 -2
- package/dist/components/widgets.cjs +366 -12626
- package/dist/components/widgets.cjs.map +1 -1
- package/dist/components/widgets.d.cts +10 -9
- package/dist/components/widgets.d.ts +10 -9
- package/dist/components/widgets.js +193 -12404
- package/dist/components/widgets.js.map +1 -1
- package/dist/effects/achievement-unlock.cjs +19 -0
- package/dist/effects/achievement-unlock.cjs.map +1 -0
- package/dist/effects/achievement-unlock.d.cts +4 -0
- package/dist/effects/achievement-unlock.d.ts +4 -0
- package/dist/effects/achievement-unlock.js +15 -0
- package/dist/effects/achievement-unlock.js.map +1 -0
- package/dist/effects/aurora-veil.cjs +21 -0
- package/dist/effects/aurora-veil.cjs.map +1 -0
- package/dist/effects/aurora-veil.d.cts +4 -0
- package/dist/effects/aurora-veil.d.ts +4 -0
- package/dist/effects/aurora-veil.js +17 -0
- package/dist/effects/aurora-veil.js.map +1 -0
- package/dist/effects/badge-pop.cjs +19 -0
- package/dist/effects/badge-pop.cjs.map +1 -0
- package/dist/effects/badge-pop.d.cts +4 -0
- package/dist/effects/badge-pop.d.ts +4 -0
- package/dist/effects/badge-pop.js +15 -0
- package/dist/effects/badge-pop.js.map +1 -0
- package/dist/effects/bars-grow.cjs +20 -0
- package/dist/effects/bars-grow.cjs.map +1 -0
- package/dist/effects/bars-grow.d.cts +4 -0
- package/dist/effects/bars-grow.d.ts +4 -0
- package/dist/effects/bars-grow.js +16 -0
- package/dist/effects/bars-grow.js.map +1 -0
- package/dist/effects/beat-bounce.cjs +22 -0
- package/dist/effects/beat-bounce.cjs.map +1 -0
- package/dist/effects/beat-bounce.d.cts +4 -0
- package/dist/effects/beat-bounce.d.ts +4 -0
- package/dist/effects/beat-bounce.js +18 -0
- package/dist/effects/beat-bounce.js.map +1 -0
- package/dist/effects/blob-button.cjs +20 -0
- package/dist/effects/blob-button.cjs.map +1 -0
- package/dist/effects/blob-button.d.cts +4 -0
- package/dist/effects/blob-button.d.ts +4 -0
- package/dist/effects/blob-button.js +16 -0
- package/dist/effects/blob-button.js.map +1 -0
- package/dist/effects/bloom.cjs +19 -0
- package/dist/effects/bloom.cjs.map +1 -0
- package/dist/effects/bloom.d.cts +4 -0
- package/dist/effects/bloom.d.ts +4 -0
- package/dist/effects/bloom.js +15 -0
- package/dist/effects/bloom.js.map +1 -0
- package/dist/effects/breathe.cjs +19 -0
- package/dist/effects/breathe.cjs.map +1 -0
- package/dist/effects/breathe.d.cts +4 -0
- package/dist/effects/breathe.d.ts +4 -0
- package/dist/effects/breathe.js +15 -0
- package/dist/effects/breathe.js.map +1 -0
- package/dist/effects/brushed-metal.cjs +21 -0
- package/dist/effects/brushed-metal.cjs.map +1 -0
- package/dist/effects/brushed-metal.d.cts +4 -0
- package/dist/effects/brushed-metal.d.ts +4 -0
- package/dist/effects/brushed-metal.js +17 -0
- package/dist/effects/brushed-metal.js.map +1 -0
- package/dist/effects/camera-dolly.cjs +20 -0
- package/dist/effects/camera-dolly.cjs.map +1 -0
- package/dist/effects/camera-dolly.d.cts +4 -0
- package/dist/effects/camera-dolly.d.ts +4 -0
- package/dist/effects/camera-dolly.js +16 -0
- package/dist/effects/camera-dolly.js.map +1 -0
- package/dist/effects/card-flip-3d.cjs +22 -0
- package/dist/effects/card-flip-3d.cjs.map +1 -0
- package/dist/effects/card-flip-3d.d.cts +4 -0
- package/dist/effects/card-flip-3d.d.ts +4 -0
- package/dist/effects/card-flip-3d.js +18 -0
- package/dist/effects/card-flip-3d.js.map +1 -0
- package/dist/effects/chest-open.cjs +19 -0
- package/dist/effects/chest-open.cjs.map +1 -0
- package/dist/effects/chest-open.d.cts +4 -0
- package/dist/effects/chest-open.d.ts +4 -0
- package/dist/effects/chest-open.js +15 -0
- package/dist/effects/chest-open.js.map +1 -0
- package/dist/effects/cloth.cjs +21 -0
- package/dist/effects/cloth.cjs.map +1 -0
- package/dist/effects/cloth.d.cts +4 -0
- package/dist/effects/cloth.d.ts +4 -0
- package/dist/effects/cloth.js +17 -0
- package/dist/effects/cloth.js.map +1 -0
- package/dist/effects/coin-burst.cjs +19 -0
- package/dist/effects/coin-burst.cjs.map +1 -0
- package/dist/effects/coin-burst.d.cts +4 -0
- package/dist/effects/coin-burst.d.ts +4 -0
- package/dist/effects/coin-burst.js +15 -0
- package/dist/effects/coin-burst.js.map +1 -0
- package/dist/effects/color-pulse.cjs +19 -0
- package/dist/effects/color-pulse.cjs.map +1 -0
- package/dist/effects/color-pulse.d.cts +4 -0
- package/dist/effects/color-pulse.d.ts +4 -0
- package/dist/effects/color-pulse.js +15 -0
- package/dist/effects/color-pulse.js.map +1 -0
- package/dist/effects/crt-power.cjs +19 -0
- package/dist/effects/crt-power.cjs.map +1 -0
- package/dist/effects/crt-power.d.cts +4 -0
- package/dist/effects/crt-power.d.ts +4 -0
- package/dist/effects/crt-power.js +15 -0
- package/dist/effects/crt-power.js.map +1 -0
- package/dist/effects/crumple.cjs +19 -0
- package/dist/effects/crumple.cjs.map +1 -0
- package/dist/effects/crumple.d.cts +4 -0
- package/dist/effects/crumple.d.ts +4 -0
- package/dist/effects/crumple.js +15 -0
- package/dist/effects/crumple.js.map +1 -0
- package/dist/effects/data-decode.cjs +19 -0
- package/dist/effects/data-decode.cjs.map +1 -0
- package/dist/effects/data-decode.d.cts +4 -0
- package/dist/effects/data-decode.d.ts +4 -0
- package/dist/effects/data-decode.js +15 -0
- package/dist/effects/data-decode.js.map +1 -0
- package/dist/effects/day-cycle.cjs +21 -0
- package/dist/effects/day-cycle.cjs.map +1 -0
- package/dist/effects/day-cycle.d.cts +4 -0
- package/dist/effects/day-cycle.d.ts +4 -0
- package/dist/effects/day-cycle.js +17 -0
- package/dist/effects/day-cycle.js.map +1 -0
- package/dist/effects/depth-in.cjs +19 -0
- package/dist/effects/depth-in.cjs.map +1 -0
- package/dist/effects/depth-in.d.cts +4 -0
- package/dist/effects/depth-in.d.ts +4 -0
- package/dist/effects/depth-in.js +15 -0
- package/dist/effects/depth-in.js.map +1 -0
- package/dist/effects/depth-pop.cjs +19 -0
- package/dist/effects/depth-pop.cjs.map +1 -0
- package/dist/effects/depth-pop.d.cts +4 -0
- package/dist/effects/depth-pop.d.ts +4 -0
- package/dist/effects/depth-pop.js +15 -0
- package/dist/effects/depth-pop.js.map +1 -0
- package/dist/effects/depth-stack.cjs +22 -0
- package/dist/effects/depth-stack.cjs.map +1 -0
- package/dist/effects/depth-stack.d.cts +4 -0
- package/dist/effects/depth-stack.d.ts +4 -0
- package/dist/effects/depth-stack.js +18 -0
- package/dist/effects/depth-stack.js.map +1 -0
- package/dist/effects/dolly-in.cjs +19 -0
- package/dist/effects/dolly-in.cjs.map +1 -0
- package/dist/effects/dolly-in.d.cts +4 -0
- package/dist/effects/dolly-in.d.ts +4 -0
- package/dist/effects/dolly-in.js +15 -0
- package/dist/effects/dolly-in.js.map +1 -0
- package/dist/effects/dots-pop.cjs +20 -0
- package/dist/effects/dots-pop.cjs.map +1 -0
- package/dist/effects/dots-pop.d.cts +4 -0
- package/dist/effects/dots-pop.d.ts +4 -0
- package/dist/effects/dots-pop.js +16 -0
- package/dist/effects/dots-pop.js.map +1 -0
- package/dist/effects/field-shake.cjs +19 -0
- package/dist/effects/field-shake.cjs.map +1 -0
- package/dist/effects/field-shake.d.cts +4 -0
- package/dist/effects/field-shake.d.ts +4 -0
- package/dist/effects/field-shake.js +15 -0
- package/dist/effects/field-shake.js.map +1 -0
- package/dist/effects/field-success.cjs +19 -0
- package/dist/effects/field-success.cjs.map +1 -0
- package/dist/effects/field-success.d.cts +4 -0
- package/dist/effects/field-success.d.ts +4 -0
- package/dist/effects/field-success.js +15 -0
- package/dist/effects/field-success.js.map +1 -0
- package/dist/effects/film-burn.cjs +19 -0
- package/dist/effects/film-burn.cjs.map +1 -0
- package/dist/effects/film-burn.d.cts +4 -0
- package/dist/effects/film-burn.d.ts +4 -0
- package/dist/effects/film-burn.js +15 -0
- package/dist/effects/film-burn.js.map +1 -0
- package/dist/effects/fire.cjs +21 -0
- package/dist/effects/fire.cjs.map +1 -0
- package/dist/effects/fire.d.cts +4 -0
- package/dist/effects/fire.d.ts +4 -0
- package/dist/effects/fire.js +17 -0
- package/dist/effects/fire.js.map +1 -0
- package/dist/effects/fireflies.cjs +21 -0
- package/dist/effects/fireflies.cjs.map +1 -0
- package/dist/effects/fireflies.d.cts +4 -0
- package/dist/effects/fireflies.d.ts +4 -0
- package/dist/effects/fireflies.js +17 -0
- package/dist/effects/fireflies.js.map +1 -0
- package/dist/effects/firework-burst.cjs +19 -0
- package/dist/effects/firework-burst.cjs.map +1 -0
- package/dist/effects/firework-burst.d.cts +4 -0
- package/dist/effects/firework-burst.d.ts +4 -0
- package/dist/effects/firework-burst.js +15 -0
- package/dist/effects/firework-burst.js.map +1 -0
- package/dist/effects/flip-chars.cjs +20 -0
- package/dist/effects/flip-chars.cjs.map +1 -0
- package/dist/effects/flip-chars.d.cts +4 -0
- package/dist/effects/flip-chars.d.ts +4 -0
- package/dist/effects/flip-chars.js +16 -0
- package/dist/effects/flip-chars.js.map +1 -0
- package/dist/effects/fluid.cjs +21 -0
- package/dist/effects/fluid.cjs.map +1 -0
- package/dist/effects/fluid.d.cts +4 -0
- package/dist/effects/fluid.d.ts +4 -0
- package/dist/effects/fluid.js +17 -0
- package/dist/effects/fluid.js.map +1 -0
- package/dist/effects/fly-to-cart.cjs +19 -0
- package/dist/effects/fly-to-cart.cjs.map +1 -0
- package/dist/effects/fly-to-cart.d.cts +4 -0
- package/dist/effects/fly-to-cart.d.ts +4 -0
- package/dist/effects/fly-to-cart.js +15 -0
- package/dist/effects/fly-to-cart.js.map +1 -0
- package/dist/effects/focus-draw.cjs +19 -0
- package/dist/effects/focus-draw.cjs.map +1 -0
- package/dist/effects/focus-draw.d.cts +4 -0
- package/dist/effects/focus-draw.d.ts +4 -0
- package/dist/effects/focus-draw.js +15 -0
- package/dist/effects/focus-draw.js.map +1 -0
- package/dist/effects/focus-glow.cjs +19 -0
- package/dist/effects/focus-glow.cjs.map +1 -0
- package/dist/effects/focus-glow.d.cts +4 -0
- package/dist/effects/focus-glow.d.ts +4 -0
- package/dist/effects/focus-glow.js +15 -0
- package/dist/effects/focus-glow.js.map +1 -0
- package/dist/effects/fog.cjs +21 -0
- package/dist/effects/fog.cjs.map +1 -0
- package/dist/effects/fog.d.cts +4 -0
- package/dist/effects/fog.d.ts +4 -0
- package/dist/effects/fog.js +17 -0
- package/dist/effects/fog.js.map +1 -0
- package/dist/effects/font-breathe.cjs +20 -0
- package/dist/effects/font-breathe.cjs.map +1 -0
- package/dist/effects/font-breathe.d.cts +4 -0
- package/dist/effects/font-breathe.d.ts +4 -0
- package/dist/effects/font-breathe.js +16 -0
- package/dist/effects/font-breathe.js.map +1 -0
- package/dist/effects/form-cascade.cjs +19 -0
- package/dist/effects/form-cascade.cjs.map +1 -0
- package/dist/effects/form-cascade.d.cts +4 -0
- package/dist/effects/form-cascade.d.ts +4 -0
- package/dist/effects/form-cascade.js +15 -0
- package/dist/effects/form-cascade.js.map +1 -0
- package/dist/effects/gen-skeleton.cjs +19 -0
- package/dist/effects/gen-skeleton.cjs.map +1 -0
- package/dist/effects/gen-skeleton.d.cts +4 -0
- package/dist/effects/gen-skeleton.d.ts +4 -0
- package/dist/effects/gen-skeleton.js +15 -0
- package/dist/effects/gen-skeleton.js.map +1 -0
- package/dist/effects/glass-frost.cjs +19 -0
- package/dist/effects/glass-frost.cjs.map +1 -0
- package/dist/effects/glass-frost.d.cts +4 -0
- package/dist/effects/glass-frost.d.ts +4 -0
- package/dist/effects/glass-frost.js +15 -0
- package/dist/effects/glass-frost.js.map +1 -0
- package/dist/effects/glitch-text.cjs +20 -0
- package/dist/effects/glitch-text.cjs.map +1 -0
- package/dist/effects/glitch-text.d.cts +4 -0
- package/dist/effects/glitch-text.d.ts +4 -0
- package/dist/effects/glitch-text.js +16 -0
- package/dist/effects/glitch-text.js.map +1 -0
- package/dist/effects/globe-spin.cjs +19 -0
- package/dist/effects/globe-spin.cjs.map +1 -0
- package/dist/effects/globe-spin.d.cts +4 -0
- package/dist/effects/globe-spin.d.ts +4 -0
- package/dist/effects/globe-spin.js +15 -0
- package/dist/effects/globe-spin.js.map +1 -0
- package/dist/effects/god-rays.cjs +21 -0
- package/dist/effects/god-rays.cjs.map +1 -0
- package/dist/effects/god-rays.d.cts +4 -0
- package/dist/effects/god-rays.d.ts +4 -0
- package/dist/effects/god-rays.js +17 -0
- package/dist/effects/god-rays.js.map +1 -0
- package/dist/effects/gpu-lift.cjs +19 -0
- package/dist/effects/gpu-lift.cjs.map +1 -0
- package/dist/effects/gpu-lift.d.cts +4 -0
- package/dist/effects/gpu-lift.d.ts +4 -0
- package/dist/effects/gpu-lift.js +15 -0
- package/dist/effects/gpu-lift.js.map +1 -0
- package/dist/effects/grain-flicker.cjs +19 -0
- package/dist/effects/grain-flicker.cjs.map +1 -0
- package/dist/effects/grain-flicker.d.cts +4 -0
- package/dist/effects/grain-flicker.d.ts +4 -0
- package/dist/effects/grain-flicker.js +15 -0
- package/dist/effects/grain-flicker.js.map +1 -0
- package/dist/effects/halftone-in.cjs +19 -0
- package/dist/effects/halftone-in.cjs.map +1 -0
- package/dist/effects/halftone-in.d.cts +4 -0
- package/dist/effects/halftone-in.d.ts +4 -0
- package/dist/effects/halftone-in.js +15 -0
- package/dist/effects/halftone-in.js.map +1 -0
- package/dist/effects/highlight-sweep.cjs +19 -0
- package/dist/effects/highlight-sweep.cjs.map +1 -0
- package/dist/effects/highlight-sweep.d.cts +4 -0
- package/dist/effects/highlight-sweep.d.ts +4 -0
- package/dist/effects/highlight-sweep.js +15 -0
- package/dist/effects/highlight-sweep.js.map +1 -0
- package/dist/effects/hologram.cjs +19 -0
- package/dist/effects/hologram.cjs.map +1 -0
- package/dist/effects/hologram.d.cts +4 -0
- package/dist/effects/hologram.d.ts +4 -0
- package/dist/effects/hologram.js +15 -0
- package/dist/effects/hologram.js.map +1 -0
- package/dist/effects/hud-frame.cjs +19 -0
- package/dist/effects/hud-frame.cjs.map +1 -0
- package/dist/effects/hud-frame.d.cts +4 -0
- package/dist/effects/hud-frame.d.ts +4 -0
- package/dist/effects/hud-frame.js +15 -0
- package/dist/effects/hud-frame.js.map +1 -0
- package/dist/effects/icon-pop.cjs +19 -0
- package/dist/effects/icon-pop.cjs.map +1 -0
- package/dist/effects/icon-pop.d.cts +4 -0
- package/dist/effects/icon-pop.d.ts +4 -0
- package/dist/effects/icon-pop.js +15 -0
- package/dist/effects/icon-pop.js.map +1 -0
- package/dist/effects/icon-swap.cjs +20 -0
- package/dist/effects/icon-swap.cjs.map +1 -0
- package/dist/effects/icon-swap.d.cts +4 -0
- package/dist/effects/icon-swap.d.ts +4 -0
- package/dist/effects/icon-swap.js +16 -0
- package/dist/effects/icon-swap.js.map +1 -0
- package/dist/effects/idle-reveal.cjs +19 -0
- package/dist/effects/idle-reveal.cjs.map +1 -0
- package/dist/effects/idle-reveal.d.cts +4 -0
- package/dist/effects/idle-reveal.d.ts +4 -0
- package/dist/effects/idle-reveal.js +15 -0
- package/dist/effects/idle-reveal.js.map +1 -0
- package/dist/effects/ink.cjs +21 -0
- package/dist/effects/ink.cjs.map +1 -0
- package/dist/effects/ink.d.cts +4 -0
- package/dist/effects/ink.d.ts +4 -0
- package/dist/effects/ink.js +17 -0
- package/dist/effects/ink.js.map +1 -0
- package/dist/effects/jump-cut.cjs +19 -0
- package/dist/effects/jump-cut.cjs.map +1 -0
- package/dist/effects/jump-cut.d.cts +4 -0
- package/dist/effects/jump-cut.d.ts +4 -0
- package/dist/effects/jump-cut.js +15 -0
- package/dist/effects/jump-cut.js.map +1 -0
- package/dist/effects/kaleido.cjs +19 -0
- package/dist/effects/kaleido.cjs.map +1 -0
- package/dist/effects/kaleido.d.cts +4 -0
- package/dist/effects/kaleido.d.ts +4 -0
- package/dist/effects/kaleido.js +15 -0
- package/dist/effects/kaleido.js.map +1 -0
- package/dist/effects/label-float.cjs +19 -0
- package/dist/effects/label-float.cjs.map +1 -0
- package/dist/effects/label-float.d.cts +4 -0
- package/dist/effects/label-float.d.ts +4 -0
- package/dist/effects/label-float.js +15 -0
- package/dist/effects/label-float.js.map +1 -0
- package/dist/effects/lantern-rise.cjs +19 -0
- package/dist/effects/lantern-rise.cjs.map +1 -0
- package/dist/effects/lantern-rise.d.cts +4 -0
- package/dist/effects/lantern-rise.d.ts +4 -0
- package/dist/effects/lantern-rise.js +15 -0
- package/dist/effects/lantern-rise.js.map +1 -0
- package/dist/effects/leaves.cjs +21 -0
- package/dist/effects/leaves.cjs.map +1 -0
- package/dist/effects/leaves.d.cts +4 -0
- package/dist/effects/leaves.d.ts +4 -0
- package/dist/effects/leaves.js +17 -0
- package/dist/effects/leaves.js.map +1 -0
- package/dist/effects/letterbox.cjs +19 -0
- package/dist/effects/letterbox.cjs.map +1 -0
- package/dist/effects/letterbox.d.cts +4 -0
- package/dist/effects/letterbox.d.ts +4 -0
- package/dist/effects/letterbox.js +15 -0
- package/dist/effects/letterbox.js.map +1 -0
- package/dist/effects/level-up.cjs +19 -0
- package/dist/effects/level-up.cjs.map +1 -0
- package/dist/effects/level-up.d.cts +4 -0
- package/dist/effects/level-up.d.ts +4 -0
- package/dist/effects/level-up.js +15 -0
- package/dist/effects/level-up.js.map +1 -0
- package/dist/effects/light-follow.cjs +21 -0
- package/dist/effects/light-follow.cjs.map +1 -0
- package/dist/effects/light-follow.d.cts +4 -0
- package/dist/effects/light-follow.d.ts +4 -0
- package/dist/effects/light-follow.js +17 -0
- package/dist/effects/light-follow.js.map +1 -0
- package/dist/effects/lightning.cjs +21 -0
- package/dist/effects/lightning.cjs.map +1 -0
- package/dist/effects/lightning.d.cts +4 -0
- package/dist/effects/lightning.d.ts +4 -0
- package/dist/effects/lightning.js +17 -0
- package/dist/effects/lightning.js.map +1 -0
- package/dist/effects/line-draw.cjs +20 -0
- package/dist/effects/line-draw.cjs.map +1 -0
- package/dist/effects/line-draw.d.cts +4 -0
- package/dist/effects/line-draw.d.ts +4 -0
- package/dist/effects/line-draw.js +16 -0
- package/dist/effects/line-draw.js.map +1 -0
- package/dist/effects/liquid-text.cjs +20 -0
- package/dist/effects/liquid-text.cjs.map +1 -0
- package/dist/effects/liquid-text.d.cts +4 -0
- package/dist/effects/liquid-text.d.ts +4 -0
- package/dist/effects/liquid-text.js +16 -0
- package/dist/effects/liquid-text.js.map +1 -0
- package/dist/effects/liquid-wipe.cjs +20 -0
- package/dist/effects/liquid-wipe.cjs.map +1 -0
- package/dist/effects/liquid-wipe.d.cts +4 -0
- package/dist/effects/liquid-wipe.d.ts +4 -0
- package/dist/effects/liquid-wipe.js +16 -0
- package/dist/effects/liquid-wipe.js.map +1 -0
- package/dist/effects/lottie-play.cjs +19 -0
- package/dist/effects/lottie-play.cjs.map +1 -0
- package/dist/effects/lottie-play.d.cts +4 -0
- package/dist/effects/lottie-play.d.ts +4 -0
- package/dist/effects/lottie-play.js +15 -0
- package/dist/effects/lottie-play.js.map +1 -0
- package/dist/effects/magnet.cjs +21 -0
- package/dist/effects/magnet.cjs.map +1 -0
- package/dist/effects/magnet.d.cts +4 -0
- package/dist/effects/magnet.d.ts +4 -0
- package/dist/effects/magnet.js +17 -0
- package/dist/effects/magnet.js.map +1 -0
- package/dist/effects/marching-ants.cjs +19 -0
- package/dist/effects/marching-ants.cjs.map +1 -0
- package/dist/effects/marching-ants.d.cts +4 -0
- package/dist/effects/marching-ants.d.ts +4 -0
- package/dist/effects/marching-ants.js +15 -0
- package/dist/effects/marching-ants.js.map +1 -0
- package/dist/effects/marker-pulse.cjs +19 -0
- package/dist/effects/marker-pulse.cjs.map +1 -0
- package/dist/effects/marker-pulse.d.cts +4 -0
- package/dist/effects/marker-pulse.d.ts +4 -0
- package/dist/effects/marker-pulse.js +15 -0
- package/dist/effects/marker-pulse.js.map +1 -0
- package/dist/effects/mention-glow.cjs +19 -0
- package/dist/effects/mention-glow.cjs.map +1 -0
- package/dist/effects/mention-glow.d.cts +4 -0
- package/dist/effects/mention-glow.d.ts +4 -0
- package/dist/effects/mention-glow.js +15 -0
- package/dist/effects/mention-glow.js.map +1 -0
- package/dist/effects/mesh-drift.cjs +19 -0
- package/dist/effects/mesh-drift.cjs.map +1 -0
- package/dist/effects/mesh-drift.d.cts +4 -0
- package/dist/effects/mesh-drift.d.ts +4 -0
- package/dist/effects/mesh-drift.js +15 -0
- package/dist/effects/mesh-drift.js.map +1 -0
- package/dist/effects/message-in.cjs +19 -0
- package/dist/effects/message-in.cjs.map +1 -0
- package/dist/effects/message-in.d.cts +4 -0
- package/dist/effects/message-in.d.ts +4 -0
- package/dist/effects/message-in.js +15 -0
- package/dist/effects/message-in.js.map +1 -0
- package/dist/effects/mosaic-flip.cjs +20 -0
- package/dist/effects/mosaic-flip.cjs.map +1 -0
- package/dist/effects/mosaic-flip.d.cts +4 -0
- package/dist/effects/mosaic-flip.d.ts +4 -0
- package/dist/effects/mosaic-flip.js +16 -0
- package/dist/effects/mosaic-flip.js.map +1 -0
- package/dist/effects/neon-ignite.cjs +19 -0
- package/dist/effects/neon-ignite.cjs.map +1 -0
- package/dist/effects/neon-ignite.d.cts +4 -0
- package/dist/effects/neon-ignite.d.ts +4 -0
- package/dist/effects/neon-ignite.js +15 -0
- package/dist/effects/neon-ignite.js.map +1 -0
- package/dist/effects/neon-pulse.cjs +19 -0
- package/dist/effects/neon-pulse.cjs.map +1 -0
- package/dist/effects/neon-pulse.d.cts +4 -0
- package/dist/effects/neon-pulse.d.ts +4 -0
- package/dist/effects/neon-pulse.js +15 -0
- package/dist/effects/neon-pulse.js.map +1 -0
- package/dist/effects/neon-write.cjs +20 -0
- package/dist/effects/neon-write.cjs.map +1 -0
- package/dist/effects/neon-write.d.cts +4 -0
- package/dist/effects/neon-write.d.ts +4 -0
- package/dist/effects/neon-write.js +16 -0
- package/dist/effects/neon-write.js.map +1 -0
- package/dist/effects/neu-press.cjs +19 -0
- package/dist/effects/neu-press.cjs.map +1 -0
- package/dist/effects/neu-press.d.cts +4 -0
- package/dist/effects/neu-press.d.ts +4 -0
- package/dist/effects/neu-press.js +15 -0
- package/dist/effects/neu-press.js.map +1 -0
- package/dist/effects/noise-reveal.cjs +20 -0
- package/dist/effects/noise-reveal.cjs.map +1 -0
- package/dist/effects/noise-reveal.d.cts +4 -0
- package/dist/effects/noise-reveal.d.ts +4 -0
- package/dist/effects/noise-reveal.js +16 -0
- package/dist/effects/noise-reveal.js.map +1 -0
- package/dist/effects/number-roll.cjs +20 -0
- package/dist/effects/number-roll.cjs.map +1 -0
- package/dist/effects/number-roll.d.cts +4 -0
- package/dist/effects/number-roll.d.ts +4 -0
- package/dist/effects/number-roll.js +16 -0
- package/dist/effects/number-roll.js.map +1 -0
- package/dist/effects/orbit-camera.cjs +22 -0
- package/dist/effects/orbit-camera.cjs.map +1 -0
- package/dist/effects/orbit-camera.d.cts +4 -0
- package/dist/effects/orbit-camera.d.ts +4 -0
- package/dist/effects/orbit-camera.js +18 -0
- package/dist/effects/orbit-camera.js.map +1 -0
- package/dist/effects/orbit-in.cjs +19 -0
- package/dist/effects/orbit-in.cjs.map +1 -0
- package/dist/effects/orbit-in.d.cts +4 -0
- package/dist/effects/orbit-in.d.ts +4 -0
- package/dist/effects/orbit-in.js +15 -0
- package/dist/effects/orbit-in.js.map +1 -0
- package/dist/effects/origami.cjs +22 -0
- package/dist/effects/origami.cjs.map +1 -0
- package/dist/effects/origami.d.cts +4 -0
- package/dist/effects/origami.d.ts +4 -0
- package/dist/effects/origami.js +18 -0
- package/dist/effects/origami.js.map +1 -0
- package/dist/effects/page-curl.cjs +20 -0
- package/dist/effects/page-curl.cjs.map +1 -0
- package/dist/effects/page-curl.d.cts +4 -0
- package/dist/effects/page-curl.d.ts +4 -0
- package/dist/effects/page-curl.js +16 -0
- package/dist/effects/page-curl.js.map +1 -0
- package/dist/effects/pan-reveal.cjs +19 -0
- package/dist/effects/pan-reveal.cjs.map +1 -0
- package/dist/effects/pan-reveal.d.cts +4 -0
- package/dist/effects/pan-reveal.d.ts +4 -0
- package/dist/effects/pan-reveal.js +15 -0
- package/dist/effects/pan-reveal.js.map +1 -0
- package/dist/effects/paper-unfold.cjs +19 -0
- package/dist/effects/paper-unfold.cjs.map +1 -0
- package/dist/effects/paper-unfold.d.cts +4 -0
- package/dist/effects/paper-unfold.d.ts +4 -0
- package/dist/effects/paper-unfold.js +15 -0
- package/dist/effects/paper-unfold.js.map +1 -0
- package/dist/effects/particle-text.cjs +20 -0
- package/dist/effects/particle-text.cjs.map +1 -0
- package/dist/effects/particle-text.d.cts +4 -0
- package/dist/effects/particle-text.d.ts +4 -0
- package/dist/effects/particle-text.js +16 -0
- package/dist/effects/particle-text.js.map +1 -0
- package/dist/effects/path-morph.cjs +20 -0
- package/dist/effects/path-morph.cjs.map +1 -0
- package/dist/effects/path-morph.d.cts +4 -0
- package/dist/effects/path-morph.d.ts +4 -0
- package/dist/effects/path-morph.js +16 -0
- package/dist/effects/path-morph.js.map +1 -0
- package/dist/effects/pearlescent.cjs +21 -0
- package/dist/effects/pearlescent.cjs.map +1 -0
- package/dist/effects/pearlescent.d.cts +4 -0
- package/dist/effects/pearlescent.d.ts +4 -0
- package/dist/effects/pearlescent.js +17 -0
- package/dist/effects/pearlescent.js.map +1 -0
- package/dist/effects/pencil-sketch.cjs +19 -0
- package/dist/effects/pencil-sketch.cjs.map +1 -0
- package/dist/effects/pencil-sketch.d.cts +4 -0
- package/dist/effects/pencil-sketch.d.ts +4 -0
- package/dist/effects/pencil-sketch.js +15 -0
- package/dist/effects/pencil-sketch.js.map +1 -0
- package/dist/effects/pin-drop.cjs +19 -0
- package/dist/effects/pin-drop.cjs.map +1 -0
- package/dist/effects/pin-drop.d.cts +4 -0
- package/dist/effects/pin-drop.d.ts +4 -0
- package/dist/effects/pin-drop.js +15 -0
- package/dist/effects/pin-drop.js.map +1 -0
- package/dist/effects/pinball.cjs +21 -0
- package/dist/effects/pinball.cjs.map +1 -0
- package/dist/effects/pinball.d.cts +4 -0
- package/dist/effects/pinball.d.ts +4 -0
- package/dist/effects/pinball.js +17 -0
- package/dist/effects/pinball.js.map +1 -0
- package/dist/effects/pinch-hint.cjs +19 -0
- package/dist/effects/pinch-hint.cjs.map +1 -0
- package/dist/effects/pinch-hint.d.cts +4 -0
- package/dist/effects/pinch-hint.d.ts +4 -0
- package/dist/effects/pinch-hint.js +15 -0
- package/dist/effects/pinch-hint.js.map +1 -0
- package/dist/effects/pixelate-in.cjs +19 -0
- package/dist/effects/pixelate-in.cjs.map +1 -0
- package/dist/effects/pixelate-in.d.cts +4 -0
- package/dist/effects/pixelate-in.d.ts +4 -0
- package/dist/effects/pixelate-in.js +15 -0
- package/dist/effects/pixelate-in.js.map +1 -0
- package/dist/effects/pointer-shadow.cjs +21 -0
- package/dist/effects/pointer-shadow.cjs.map +1 -0
- package/dist/effects/pointer-shadow.d.cts +4 -0
- package/dist/effects/pointer-shadow.d.ts +4 -0
- package/dist/effects/pointer-shadow.js +17 -0
- package/dist/effects/pointer-shadow.js.map +1 -0
- package/dist/effects/portal-open.cjs +19 -0
- package/dist/effects/portal-open.cjs.map +1 -0
- package/dist/effects/portal-open.d.cts +4 -0
- package/dist/effects/portal-open.d.ts +4 -0
- package/dist/effects/portal-open.js +15 -0
- package/dist/effects/portal-open.js.map +1 -0
- package/dist/effects/price-flip.cjs +19 -0
- package/dist/effects/price-flip.cjs.map +1 -0
- package/dist/effects/price-flip.d.cts +4 -0
- package/dist/effects/price-flip.d.ts +4 -0
- package/dist/effects/price-flip.js +15 -0
- package/dist/effects/price-flip.js.map +1 -0
- package/dist/effects/product-spin.cjs +22 -0
- package/dist/effects/product-spin.cjs.map +1 -0
- package/dist/effects/product-spin.d.cts +4 -0
- package/dist/effects/product-spin.d.ts +4 -0
- package/dist/effects/product-spin.js +18 -0
- package/dist/effects/product-spin.js.map +1 -0
- package/dist/effects/rack-focus.cjs +19 -0
- package/dist/effects/rack-focus.cjs.map +1 -0
- package/dist/effects/rack-focus.d.cts +4 -0
- package/dist/effects/rack-focus.d.ts +4 -0
- package/dist/effects/rack-focus.js +15 -0
- package/dist/effects/rack-focus.js.map +1 -0
- package/dist/effects/radial-spectrum.cjs +22 -0
- package/dist/effects/radial-spectrum.cjs.map +1 -0
- package/dist/effects/radial-spectrum.d.cts +4 -0
- package/dist/effects/radial-spectrum.d.ts +4 -0
- package/dist/effects/radial-spectrum.js +18 -0
- package/dist/effects/radial-spectrum.js.map +1 -0
- package/dist/effects/rain-glass.cjs +21 -0
- package/dist/effects/rain-glass.cjs.map +1 -0
- package/dist/effects/rain-glass.d.cts +4 -0
- package/dist/effects/rain-glass.d.ts +4 -0
- package/dist/effects/rain-glass.js +17 -0
- package/dist/effects/rain-glass.js.map +1 -0
- package/dist/effects/reaction-burst.cjs +19 -0
- package/dist/effects/reaction-burst.cjs.map +1 -0
- package/dist/effects/reaction-burst.d.cts +4 -0
- package/dist/effects/reaction-burst.d.ts +4 -0
- package/dist/effects/reaction-burst.js +15 -0
- package/dist/effects/reaction-burst.js.map +1 -0
- package/dist/effects/read-receipt.cjs +19 -0
- package/dist/effects/read-receipt.cjs.map +1 -0
- package/dist/effects/read-receipt.d.cts +4 -0
- package/dist/effects/read-receipt.d.ts +4 -0
- package/dist/effects/read-receipt.js +15 -0
- package/dist/effects/read-receipt.js.map +1 -0
- package/dist/effects/refraction.cjs +21 -0
- package/dist/effects/refraction.cjs.map +1 -0
- package/dist/effects/refraction.d.cts +4 -0
- package/dist/effects/refraction.d.ts +4 -0
- package/dist/effects/refraction.js +17 -0
- package/dist/effects/refraction.js.map +1 -0
- package/dist/effects/ring-sweep.cjs +20 -0
- package/dist/effects/ring-sweep.cjs.map +1 -0
- package/dist/effects/ring-sweep.d.cts +4 -0
- package/dist/effects/ring-sweep.d.ts +4 -0
- package/dist/effects/ring-sweep.js +16 -0
- package/dist/effects/ring-sweep.js.map +1 -0
- package/dist/effects/ripple-dissolve.cjs +20 -0
- package/dist/effects/ripple-dissolve.cjs.map +1 -0
- package/dist/effects/ripple-dissolve.d.cts +4 -0
- package/dist/effects/ripple-dissolve.d.ts +4 -0
- package/dist/effects/ripple-dissolve.js +16 -0
- package/dist/effects/ripple-dissolve.js.map +1 -0
- package/dist/effects/rope.cjs +21 -0
- package/dist/effects/rope.cjs.map +1 -0
- package/dist/effects/rope.d.cts +4 -0
- package/dist/effects/rope.d.ts +4 -0
- package/dist/effects/rope.js +17 -0
- package/dist/effects/rope.js.map +1 -0
- package/dist/effects/route-draw.cjs +19 -0
- package/dist/effects/route-draw.cjs.map +1 -0
- package/dist/effects/route-draw.d.cts +4 -0
- package/dist/effects/route-draw.d.ts +4 -0
- package/dist/effects/route-draw.js +15 -0
- package/dist/effects/route-draw.js.map +1 -0
- package/dist/effects/safe-fade.cjs +19 -0
- package/dist/effects/safe-fade.cjs.map +1 -0
- package/dist/effects/safe-fade.d.cts +4 -0
- package/dist/effects/safe-fade.d.ts +4 -0
- package/dist/effects/safe-fade.js +15 -0
- package/dist/effects/safe-fade.js.map +1 -0
- package/dist/effects/sakura.cjs +21 -0
- package/dist/effects/sakura.cjs.map +1 -0
- package/dist/effects/sakura.d.cts +4 -0
- package/dist/effects/sakura.d.ts +4 -0
- package/dist/effects/sakura.js +17 -0
- package/dist/effects/sakura.js.map +1 -0
- package/dist/effects/sale-shine.cjs +19 -0
- package/dist/effects/sale-shine.cjs.map +1 -0
- package/dist/effects/sale-shine.d.cts +4 -0
- package/dist/effects/sale-shine.d.ts +4 -0
- package/dist/effects/sale-shine.js +15 -0
- package/dist/effects/sale-shine.js.map +1 -0
- package/dist/effects/sankey-flow.cjs +20 -0
- package/dist/effects/sankey-flow.cjs.map +1 -0
- package/dist/effects/sankey-flow.d.cts +4 -0
- package/dist/effects/sankey-flow.d.ts +4 -0
- package/dist/effects/sankey-flow.js +16 -0
- package/dist/effects/sankey-flow.js.map +1 -0
- package/dist/effects/scanline-sweep.cjs +19 -0
- package/dist/effects/scanline-sweep.cjs.map +1 -0
- package/dist/effects/scanline-sweep.d.cts +4 -0
- package/dist/effects/scanline-sweep.d.ts +4 -0
- package/dist/effects/scanline-sweep.js +15 -0
- package/dist/effects/scanline-sweep.js.map +1 -0
- package/dist/effects/shatter.cjs +20 -0
- package/dist/effects/shatter.cjs.map +1 -0
- package/dist/effects/shatter.d.cts +4 -0
- package/dist/effects/shatter.d.ts +4 -0
- package/dist/effects/shatter.js +16 -0
- package/dist/effects/shatter.js.map +1 -0
- package/dist/effects/smoke.cjs +21 -0
- package/dist/effects/smoke.cjs.map +1 -0
- package/dist/effects/smoke.d.cts +4 -0
- package/dist/effects/smoke.d.ts +4 -0
- package/dist/effects/smoke.js +17 -0
- package/dist/effects/smoke.js.map +1 -0
- package/dist/effects/snowfall.cjs +21 -0
- package/dist/effects/snowfall.cjs.map +1 -0
- package/dist/effects/snowfall.d.cts +4 -0
- package/dist/effects/snowfall.d.ts +4 -0
- package/dist/effects/snowfall.js +17 -0
- package/dist/effects/snowfall.js.map +1 -0
- package/dist/effects/soft-body.cjs +21 -0
- package/dist/effects/soft-body.cjs.map +1 -0
- package/dist/effects/soft-body.d.cts +4 -0
- package/dist/effects/soft-body.d.ts +4 -0
- package/dist/effects/soft-body.js +17 -0
- package/dist/effects/soft-body.js.map +1 -0
- package/dist/effects/sound-particles.cjs +22 -0
- package/dist/effects/sound-particles.cjs.map +1 -0
- package/dist/effects/sound-particles.d.cts +4 -0
- package/dist/effects/sound-particles.d.ts +4 -0
- package/dist/effects/sound-particles.js +18 -0
- package/dist/effects/sound-particles.js.map +1 -0
- package/dist/effects/spatial-float.cjs +19 -0
- package/dist/effects/spatial-float.cjs.map +1 -0
- package/dist/effects/spatial-float.d.cts +4 -0
- package/dist/effects/spatial-float.d.ts +4 -0
- package/dist/effects/spatial-float.js +15 -0
- package/dist/effects/spatial-float.js.map +1 -0
- package/dist/effects/spectrum-mirror.cjs +22 -0
- package/dist/effects/spectrum-mirror.cjs.map +1 -0
- package/dist/effects/spectrum-mirror.d.cts +4 -0
- package/dist/effects/spectrum-mirror.d.ts +4 -0
- package/dist/effects/spectrum-mirror.js +18 -0
- package/dist/effects/spectrum-mirror.js.map +1 -0
- package/dist/effects/splash.cjs +21 -0
- package/dist/effects/splash.cjs.map +1 -0
- package/dist/effects/splash.d.cts +4 -0
- package/dist/effects/splash.d.ts +4 -0
- package/dist/effects/splash.js +17 -0
- package/dist/effects/splash.js.map +1 -0
- package/dist/effects/spooky-float.cjs +19 -0
- package/dist/effects/spooky-float.cjs.map +1 -0
- package/dist/effects/spooky-float.d.cts +4 -0
- package/dist/effects/spooky-float.d.ts +4 -0
- package/dist/effects/spooky-float.js +15 -0
- package/dist/effects/spooky-float.js.map +1 -0
- package/dist/effects/stock-pulse.cjs +19 -0
- package/dist/effects/stock-pulse.cjs.map +1 -0
- package/dist/effects/stock-pulse.d.cts +4 -0
- package/dist/effects/stock-pulse.d.ts +4 -0
- package/dist/effects/stock-pulse.js +15 -0
- package/dist/effects/stock-pulse.js.map +1 -0
- package/dist/effects/stream-text.cjs +19 -0
- package/dist/effects/stream-text.cjs.map +1 -0
- package/dist/effects/stream-text.d.cts +4 -0
- package/dist/effects/stream-text.d.ts +4 -0
- package/dist/effects/stream-text.js +15 -0
- package/dist/effects/stream-text.js.map +1 -0
- package/dist/effects/stroke-draw.cjs +20 -0
- package/dist/effects/stroke-draw.cjs.map +1 -0
- package/dist/effects/stroke-draw.d.cts +4 -0
- package/dist/effects/stroke-draw.d.ts +4 -0
- package/dist/effects/stroke-draw.js +16 -0
- package/dist/effects/stroke-draw.js.map +1 -0
- package/dist/effects/success-check.cjs +19 -0
- package/dist/effects/success-check.cjs.map +1 -0
- package/dist/effects/success-check.d.cts +4 -0
- package/dist/effects/success-check.d.ts +4 -0
- package/dist/effects/success-check.js +15 -0
- package/dist/effects/success-check.js.map +1 -0
- package/dist/effects/swipe-hint.cjs +19 -0
- package/dist/effects/swipe-hint.cjs.map +1 -0
- package/dist/effects/swipe-hint.d.cts +4 -0
- package/dist/effects/swipe-hint.d.ts +4 -0
- package/dist/effects/swipe-hint.js +15 -0
- package/dist/effects/swipe-hint.js.map +1 -0
- package/dist/effects/text-trail.cjs +20 -0
- package/dist/effects/text-trail.cjs.map +1 -0
- package/dist/effects/text-trail.d.cts +4 -0
- package/dist/effects/text-trail.d.ts +4 -0
- package/dist/effects/text-trail.js +16 -0
- package/dist/effects/text-trail.js.map +1 -0
- package/dist/effects/thinking-glow.cjs +19 -0
- package/dist/effects/thinking-glow.cjs.map +1 -0
- package/dist/effects/thinking-glow.d.cts +4 -0
- package/dist/effects/thinking-glow.d.ts +4 -0
- package/dist/effects/thinking-glow.js +15 -0
- package/dist/effects/thinking-glow.js.map +1 -0
- package/dist/effects/tilt-wobble.cjs +19 -0
- package/dist/effects/tilt-wobble.cjs.map +1 -0
- package/dist/effects/tilt-wobble.d.cts +4 -0
- package/dist/effects/tilt-wobble.d.ts +4 -0
- package/dist/effects/tilt-wobble.js +15 -0
- package/dist/effects/tilt-wobble.js.map +1 -0
- package/dist/effects/typing-dots.cjs +19 -0
- package/dist/effects/typing-dots.cjs.map +1 -0
- package/dist/effects/typing-dots.d.cts +4 -0
- package/dist/effects/typing-dots.d.ts +4 -0
- package/dist/effects/typing-dots.js +15 -0
- package/dist/effects/typing-dots.js.map +1 -0
- package/dist/effects/underline-sweep.cjs +19 -0
- package/dist/effects/underline-sweep.cjs.map +1 -0
- package/dist/effects/underline-sweep.d.cts +4 -0
- package/dist/effects/underline-sweep.d.ts +4 -0
- package/dist/effects/underline-sweep.js +15 -0
- package/dist/effects/underline-sweep.js.map +1 -0
- package/dist/effects/vhs-glitch.cjs +19 -0
- package/dist/effects/vhs-glitch.cjs.map +1 -0
- package/dist/effects/vhs-glitch.d.cts +4 -0
- package/dist/effects/vhs-glitch.d.ts +4 -0
- package/dist/effects/vhs-glitch.js +15 -0
- package/dist/effects/vhs-glitch.js.map +1 -0
- package/dist/effects/vine-grow.cjs +19 -0
- package/dist/effects/vine-grow.cjs.map +1 -0
- package/dist/effects/vine-grow.d.cts +4 -0
- package/dist/effects/vine-grow.d.ts +4 -0
- package/dist/effects/vine-grow.js +15 -0
- package/dist/effects/vine-grow.js.map +1 -0
- package/dist/effects/vinyl-spin.cjs +22 -0
- package/dist/effects/vinyl-spin.cjs.map +1 -0
- package/dist/effects/vinyl-spin.d.cts +4 -0
- package/dist/effects/vinyl-spin.d.ts +4 -0
- package/dist/effects/vinyl-spin.js +18 -0
- package/dist/effects/vinyl-spin.js.map +1 -0
- package/dist/effects/voice-wave.cjs +19 -0
- package/dist/effects/voice-wave.cjs.map +1 -0
- package/dist/effects/voice-wave.d.cts +4 -0
- package/dist/effects/voice-wave.d.ts +4 -0
- package/dist/effects/voice-wave.js +15 -0
- package/dist/effects/voice-wave.js.map +1 -0
- package/dist/effects/water-drop.cjs +19 -0
- package/dist/effects/water-drop.cjs.map +1 -0
- package/dist/effects/water-drop.d.cts +4 -0
- package/dist/effects/water-drop.d.ts +4 -0
- package/dist/effects/water-drop.js +15 -0
- package/dist/effects/water-drop.js.map +1 -0
- package/dist/effects/watercolor.cjs +19 -0
- package/dist/effects/watercolor.cjs.map +1 -0
- package/dist/effects/watercolor.d.cts +4 -0
- package/dist/effects/watercolor.d.ts +4 -0
- package/dist/effects/watercolor.js +15 -0
- package/dist/effects/watercolor.js.map +1 -0
- package/dist/effects/waveform-scope.cjs +22 -0
- package/dist/effects/waveform-scope.cjs.map +1 -0
- package/dist/effects/waveform-scope.d.cts +4 -0
- package/dist/effects/waveform-scope.d.ts +4 -0
- package/dist/effects/waveform-scope.js +18 -0
- package/dist/effects/waveform-scope.js.map +1 -0
- package/dist/effects/xmas-snow.cjs +19 -0
- package/dist/effects/xmas-snow.cjs.map +1 -0
- package/dist/effects/xmas-snow.d.cts +4 -0
- package/dist/effects/xmas-snow.d.ts +4 -0
- package/dist/effects/xmas-snow.js +15 -0
- package/dist/effects/xmas-snow.js.map +1 -0
- package/dist/effects/xp-gain.cjs +19 -0
- package/dist/effects/xp-gain.cjs.map +1 -0
- package/dist/effects/xp-gain.d.cts +4 -0
- package/dist/effects/xp-gain.d.ts +4 -0
- package/dist/effects/xp-gain.js +15 -0
- package/dist/effects/xp-gain.js.map +1 -0
- package/dist/effects/y2k-shine.cjs +19 -0
- package/dist/effects/y2k-shine.cjs.map +1 -0
- package/dist/effects/y2k-shine.d.cts +4 -0
- package/dist/effects/y2k-shine.d.ts +4 -0
- package/dist/effects/y2k-shine.js +15 -0
- package/dist/effects/y2k-shine.js.map +1 -0
- package/dist/llms-full.txt +446 -295
- package/dist/llms.txt +9 -4
- package/dist/manifest.json +2134 -308
- package/dist/manifest.schema.json +337 -55
- package/dist/runtime/drag-snap.cjs +1 -1
- package/dist/runtime/drag-snap.js +1 -1
- package/dist/runtime/format-apng.cjs +4 -4
- package/dist/runtime/format-apng.js +4 -4
- package/dist/runtime/format-css.cjs +4 -4
- package/dist/runtime/format-css.js +4 -4
- package/dist/runtime/format-gif.cjs +4 -4
- package/dist/runtime/format-gif.js +4 -4
- package/dist/runtime/format-gltf.cjs +8 -4
- package/dist/runtime/format-gltf.cjs.map +1 -1
- package/dist/runtime/format-gltf.d.cts +5 -0
- package/dist/runtime/format-gltf.d.ts +5 -0
- package/dist/runtime/format-gltf.iife.js +1 -1
- package/dist/runtime/format-gltf.iife.js.map +1 -1
- package/dist/runtime/format-gltf.js +8 -4
- package/dist/runtime/format-gltf.js.map +1 -1
- package/dist/runtime/format-motion.cjs +4 -4
- package/dist/runtime/format-motion.js +4 -4
- package/dist/runtime/format-obj.cjs +1 -1
- package/dist/runtime/format-obj.js +1 -1
- package/dist/runtime/format-scene.cjs +1 -1
- package/dist/runtime/format-scene.js +1 -1
- package/dist/runtime/format-sprite.cjs +3 -3
- package/dist/runtime/format-sprite.js +3 -3
- package/dist/runtime/format-svg.cjs +3 -3
- package/dist/runtime/format-svg.js +3 -3
- package/dist/runtime/format-webp.cjs +4 -4
- package/dist/runtime/format-webp.js +4 -4
- package/dist/runtime/gl.cjs +1 -1
- package/dist/runtime/gl.js +1 -1
- package/dist/runtime/gltf-anim.cjs +1 -1
- package/dist/runtime/gltf-anim.js +1 -1
- package/dist/runtime/gltf-decoders.cjs +159 -0
- package/dist/runtime/gltf-decoders.cjs.map +1 -0
- package/dist/runtime/gltf-decoders.d.cts +83 -0
- package/dist/runtime/gltf-decoders.d.ts +83 -0
- package/dist/runtime/gltf-decoders.iife.js +2 -0
- package/dist/runtime/gltf-decoders.iife.js.map +1 -0
- package/dist/runtime/gltf-decoders.js +150 -0
- package/dist/runtime/gltf-decoders.js.map +1 -0
- package/dist/runtime/lottie-state.cjs +246 -0
- package/dist/runtime/lottie-state.cjs.map +1 -0
- package/dist/runtime/lottie-state.d.cts +152 -0
- package/dist/runtime/lottie-state.d.ts +152 -0
- package/dist/runtime/lottie-state.iife.js +2 -0
- package/dist/runtime/lottie-state.iife.js.map +1 -0
- package/dist/runtime/lottie-state.js +239 -0
- package/dist/runtime/lottie-state.js.map +1 -0
- package/dist/runtime/physics.cjs +1 -1
- package/dist/runtime/physics.js +1 -1
- package/dist/runtime/scroll.cjs +2 -2
- package/dist/runtime/scroll.js +2 -2
- package/dist/runtime/smooth.cjs +1 -1
- package/dist/runtime/smooth.js +1 -1
- package/dist/runtime/text.cjs +1 -1
- package/dist/runtime/text.js +1 -1
- package/dist/runtime/vector.cjs +66 -17
- package/dist/runtime/vector.cjs.map +1 -1
- package/dist/runtime/vector.d.cts +30 -6
- package/dist/runtime/vector.d.ts +30 -6
- package/dist/runtime/vector.iife.js +1 -1
- package/dist/runtime/vector.iife.js.map +1 -1
- package/dist/runtime/vector.js +65 -18
- package/dist/runtime/vector.js.map +1 -1
- package/dist/runtime.cjs +3 -3
- package/dist/runtime.d.cts +2 -2
- package/dist/runtime.d.ts +2 -2
- package/dist/runtime.iife.js +1 -1
- package/dist/runtime.iife.js.map +1 -1
- package/dist/runtime.js +5 -5
- package/dist/widgets/add-to-cart.cjs +60 -0
- package/dist/widgets/add-to-cart.cjs.map +1 -0
- package/dist/widgets/add-to-cart.d.cts +2 -0
- package/dist/widgets/add-to-cart.d.ts +2 -0
- package/dist/widgets/add-to-cart.js +58 -0
- package/dist/widgets/add-to-cart.js.map +1 -0
- package/dist/widgets/badge-wall.cjs +9 -0
- package/dist/widgets/badge-wall.cjs.map +1 -0
- package/dist/widgets/badge-wall.d.cts +2 -0
- package/dist/widgets/badge-wall.d.ts +2 -0
- package/dist/widgets/badge-wall.js +3 -0
- package/dist/widgets/badge-wall.js.map +1 -0
- package/dist/widgets/bar-chart.cjs +103 -0
- package/dist/widgets/bar-chart.cjs.map +1 -0
- package/dist/widgets/bar-chart.d.cts +2 -0
- package/dist/widgets/bar-chart.d.ts +2 -0
- package/dist/widgets/bar-chart.js +101 -0
- package/dist/widgets/bar-chart.js.map +1 -0
- package/dist/widgets/bg-generator.cjs +11 -0
- package/dist/widgets/bg-generator.cjs.map +1 -0
- package/dist/widgets/bg-generator.d.cts +2 -0
- package/dist/widgets/bg-generator.d.ts +2 -0
- package/dist/widgets/bg-generator.js +5 -0
- package/dist/widgets/bg-generator.js.map +1 -0
- package/dist/widgets/carousel.cjs +10 -0
- package/dist/widgets/carousel.cjs.map +1 -0
- package/dist/widgets/carousel.d.cts +2 -0
- package/dist/widgets/carousel.d.ts +2 -0
- package/dist/widgets/carousel.js +4 -0
- package/dist/widgets/carousel.js.map +1 -0
- package/dist/widgets/cart-drawer.cjs +9 -0
- package/dist/widgets/cart-drawer.cjs.map +1 -0
- package/dist/widgets/cart-drawer.d.cts +2 -0
- package/dist/widgets/cart-drawer.d.ts +2 -0
- package/dist/widgets/cart-drawer.js +3 -0
- package/dist/widgets/cart-drawer.js.map +1 -0
- package/dist/widgets/chapter-nav.cjs +83 -0
- package/dist/widgets/chapter-nav.cjs.map +1 -0
- package/dist/widgets/chapter-nav.d.cts +2 -0
- package/dist/widgets/chapter-nav.d.ts +2 -0
- package/dist/widgets/chapter-nav.js +81 -0
- package/dist/widgets/chapter-nav.js.map +1 -0
- package/dist/widgets/chat-composer.cjs +107 -0
- package/dist/widgets/chat-composer.cjs.map +1 -0
- package/dist/widgets/chat-composer.d.cts +2 -0
- package/dist/widgets/chat-composer.d.ts +2 -0
- package/dist/widgets/chat-composer.js +105 -0
- package/dist/widgets/chat-composer.js.map +1 -0
- package/dist/widgets/clock-control.cjs +68 -0
- package/dist/widgets/clock-control.cjs.map +1 -0
- package/dist/widgets/clock-control.d.cts +2 -0
- package/dist/widgets/clock-control.d.ts +2 -0
- package/dist/widgets/clock-control.js +66 -0
- package/dist/widgets/clock-control.js.map +1 -0
- package/dist/widgets/code-export.cjs +9 -0
- package/dist/widgets/code-export.cjs.map +1 -0
- package/dist/widgets/code-export.d.cts +2 -0
- package/dist/widgets/code-export.d.ts +2 -0
- package/dist/widgets/code-export.js +3 -0
- package/dist/widgets/code-export.js.map +1 -0
- package/dist/widgets/color-picker.cjs +10 -0
- package/dist/widgets/color-picker.cjs.map +1 -0
- package/dist/widgets/color-picker.d.cts +2 -0
- package/dist/widgets/color-picker.d.ts +2 -0
- package/dist/widgets/color-picker.js +4 -0
- package/dist/widgets/color-picker.js.map +1 -0
- package/dist/widgets/command-palette.cjs +9 -0
- package/dist/widgets/command-palette.cjs.map +1 -0
- package/dist/widgets/command-palette.d.cts +2 -0
- package/dist/widgets/command-palette.d.ts +2 -0
- package/dist/widgets/command-palette.js +3 -0
- package/dist/widgets/command-palette.js.map +1 -0
- package/dist/widgets/compare.cjs +134 -0
- package/dist/widgets/compare.cjs.map +1 -0
- package/dist/widgets/compare.d.cts +2 -0
- package/dist/widgets/compare.d.ts +2 -0
- package/dist/widgets/compare.js +132 -0
- package/dist/widgets/compare.js.map +1 -0
- package/dist/widgets/countdown.cjs +9 -0
- package/dist/widgets/countdown.cjs.map +1 -0
- package/dist/widgets/countdown.d.cts +2 -0
- package/dist/widgets/countdown.d.ts +2 -0
- package/dist/widgets/countdown.js +3 -0
- package/dist/widgets/countdown.js.map +1 -0
- package/dist/widgets/cube-gallery.cjs +143 -0
- package/dist/widgets/cube-gallery.cjs.map +1 -0
- package/dist/widgets/cube-gallery.d.cts +2 -0
- package/dist/widgets/cube-gallery.d.ts +2 -0
- package/dist/widgets/cube-gallery.js +141 -0
- package/dist/widgets/cube-gallery.js.map +1 -0
- package/dist/widgets/date-picker.cjs +9 -0
- package/dist/widgets/date-picker.cjs.map +1 -0
- package/dist/widgets/date-picker.d.cts +2 -0
- package/dist/widgets/date-picker.d.ts +2 -0
- package/dist/widgets/date-picker.js +3 -0
- package/dist/widgets/date-picker.js.map +1 -0
- package/dist/widgets/disclosure.cjs +78 -0
- package/dist/widgets/disclosure.cjs.map +1 -0
- package/dist/widgets/disclosure.d.cts +2 -0
- package/dist/widgets/disclosure.d.ts +2 -0
- package/dist/widgets/disclosure.js +76 -0
- package/dist/widgets/disclosure.js.map +1 -0
- package/dist/widgets/dock.cjs +78 -0
- package/dist/widgets/dock.cjs.map +1 -0
- package/dist/widgets/dock.d.cts +2 -0
- package/dist/widgets/dock.d.ts +2 -0
- package/dist/widgets/dock.js +76 -0
- package/dist/widgets/dock.js.map +1 -0
- package/dist/widgets/dotlottie.cjs +12 -0
- package/dist/widgets/dotlottie.cjs.map +1 -0
- package/dist/widgets/dotlottie.d.cts +1 -0
- package/dist/widgets/dotlottie.d.ts +1 -0
- package/dist/widgets/dotlottie.js +6 -0
- package/dist/widgets/dotlottie.js.map +1 -0
- package/dist/widgets/equalizer.cjs +10 -0
- package/dist/widgets/equalizer.cjs.map +1 -0
- package/dist/widgets/equalizer.d.cts +2 -0
- package/dist/widgets/equalizer.d.ts +2 -0
- package/dist/widgets/equalizer.js +4 -0
- package/dist/widgets/equalizer.js.map +1 -0
- package/dist/widgets/festival-banner.cjs +9 -0
- package/dist/widgets/festival-banner.cjs.map +1 -0
- package/dist/widgets/festival-banner.d.cts +2 -0
- package/dist/widgets/festival-banner.d.ts +2 -0
- package/dist/widgets/festival-banner.js +3 -0
- package/dist/widgets/festival-banner.js.map +1 -0
- package/dist/widgets/field.cjs +9 -0
- package/dist/widgets/field.cjs.map +1 -0
- package/dist/widgets/field.d.cts +2 -0
- package/dist/widgets/field.d.ts +2 -0
- package/dist/widgets/field.js +3 -0
- package/dist/widgets/field.js.map +1 -0
- package/dist/widgets/file-drop.cjs +110 -0
- package/dist/widgets/file-drop.cjs.map +1 -0
- package/dist/widgets/file-drop.d.cts +2 -0
- package/dist/widgets/file-drop.d.ts +2 -0
- package/dist/widgets/file-drop.js +108 -0
- package/dist/widgets/file-drop.js.map +1 -0
- package/dist/widgets/gauge.cjs +95 -0
- package/dist/widgets/gauge.cjs.map +1 -0
- package/dist/widgets/gauge.d.cts +2 -0
- package/dist/widgets/gauge.d.ts +2 -0
- package/dist/widgets/gauge.js +93 -0
- package/dist/widgets/gauge.js.map +1 -0
- package/dist/widgets/gen-art.cjs +191 -0
- package/dist/widgets/gen-art.cjs.map +1 -0
- package/dist/widgets/gen-art.d.cts +2 -0
- package/dist/widgets/gen-art.d.ts +2 -0
- package/dist/widgets/gen-art.js +189 -0
- package/dist/widgets/gen-art.js.map +1 -0
- package/dist/widgets/gesture-sticker.cjs +138 -0
- package/dist/widgets/gesture-sticker.cjs.map +1 -0
- package/dist/widgets/gesture-sticker.d.cts +2 -0
- package/dist/widgets/gesture-sticker.d.ts +2 -0
- package/dist/widgets/gesture-sticker.js +136 -0
- package/dist/widgets/gesture-sticker.js.map +1 -0
- package/dist/widgets/gl-model.cjs +12 -0
- package/dist/widgets/gl-model.cjs.map +1 -0
- package/dist/widgets/gl-model.d.cts +1 -0
- package/dist/widgets/gl-model.d.ts +1 -0
- package/dist/widgets/gl-model.js +6 -0
- package/dist/widgets/gl-model.js.map +1 -0
- package/dist/widgets/gl-scene.cjs +11 -0
- package/dist/widgets/gl-scene.cjs.map +1 -0
- package/dist/widgets/gl-scene.d.cts +2 -0
- package/dist/widgets/gl-scene.d.ts +2 -0
- package/dist/widgets/gl-scene.js +5 -0
- package/dist/widgets/gl-scene.js.map +1 -0
- package/dist/widgets/globe.cjs +9 -0
- package/dist/widgets/globe.cjs.map +1 -0
- package/dist/widgets/globe.d.cts +2 -0
- package/dist/widgets/globe.d.ts +2 -0
- package/dist/widgets/globe.js +3 -0
- package/dist/widgets/globe.js.map +1 -0
- package/dist/widgets/gpu-particles.cjs +9 -0
- package/dist/widgets/gpu-particles.cjs.map +1 -0
- package/dist/widgets/gpu-particles.d.cts +2 -0
- package/dist/widgets/gpu-particles.d.ts +2 -0
- package/dist/widgets/gpu-particles.js +3 -0
- package/dist/widgets/gpu-particles.js.map +1 -0
- package/dist/widgets/gyro-card.cjs +92 -0
- package/dist/widgets/gyro-card.cjs.map +1 -0
- package/dist/widgets/gyro-card.d.cts +2 -0
- package/dist/widgets/gyro-card.d.ts +2 -0
- package/dist/widgets/gyro-card.js +90 -0
- package/dist/widgets/gyro-card.js.map +1 -0
- package/dist/widgets/hero-video.cjs +83 -0
- package/dist/widgets/hero-video.cjs.map +1 -0
- package/dist/widgets/hero-video.d.cts +2 -0
- package/dist/widgets/hero-video.d.ts +2 -0
- package/dist/widgets/hero-video.js +81 -0
- package/dist/widgets/hero-video.js.map +1 -0
- package/dist/widgets/hud-panel.cjs +58 -0
- package/dist/widgets/hud-panel.cjs.map +1 -0
- package/dist/widgets/hud-panel.d.cts +2 -0
- package/dist/widgets/hud-panel.d.ts +2 -0
- package/dist/widgets/hud-panel.js +56 -0
- package/dist/widgets/hud-panel.js.map +1 -0
- package/dist/widgets/hydrate.cjs +46 -0
- package/dist/widgets/hydrate.cjs.map +1 -0
- package/dist/widgets/hydrate.d.cts +2 -0
- package/dist/widgets/hydrate.d.ts +2 -0
- package/dist/widgets/hydrate.js +44 -0
- package/dist/widgets/hydrate.js.map +1 -0
- package/dist/widgets/install-button.cjs +88 -0
- package/dist/widgets/install-button.cjs.map +1 -0
- package/dist/widgets/install-button.d.cts +2 -0
- package/dist/widgets/install-button.d.ts +2 -0
- package/dist/widgets/install-button.js +86 -0
- package/dist/widgets/install-button.js.map +1 -0
- package/dist/widgets/kanban.cjs +215 -0
- package/dist/widgets/kanban.cjs.map +1 -0
- package/dist/widgets/kanban.d.cts +2 -0
- package/dist/widgets/kanban.d.ts +2 -0
- package/dist/widgets/kanban.js +213 -0
- package/dist/widgets/kanban.js.map +1 -0
- package/dist/widgets/keyframe-editor.cjs +187 -0
- package/dist/widgets/keyframe-editor.cjs.map +1 -0
- package/dist/widgets/keyframe-editor.d.cts +2 -0
- package/dist/widgets/keyframe-editor.d.ts +2 -0
- package/dist/widgets/keyframe-editor.js +185 -0
- package/dist/widgets/keyframe-editor.js.map +1 -0
- package/dist/widgets/kpi.cjs +99 -0
- package/dist/widgets/kpi.cjs.map +1 -0
- package/dist/widgets/kpi.d.cts +2 -0
- package/dist/widgets/kpi.d.ts +2 -0
- package/dist/widgets/kpi.js +97 -0
- package/dist/widgets/kpi.js.map +1 -0
- package/dist/widgets/leaderboard.cjs +9 -0
- package/dist/widgets/leaderboard.cjs.map +1 -0
- package/dist/widgets/leaderboard.d.cts +2 -0
- package/dist/widgets/leaderboard.d.ts +2 -0
- package/dist/widgets/leaderboard.js +3 -0
- package/dist/widgets/leaderboard.js.map +1 -0
- package/dist/widgets/liquid-nav.cjs +90 -0
- package/dist/widgets/liquid-nav.cjs.map +1 -0
- package/dist/widgets/liquid-nav.d.cts +2 -0
- package/dist/widgets/liquid-nav.d.ts +2 -0
- package/dist/widgets/liquid-nav.js +88 -0
- package/dist/widgets/liquid-nav.js.map +1 -0
- package/dist/widgets/location-card.cjs +9 -0
- package/dist/widgets/location-card.cjs.map +1 -0
- package/dist/widgets/location-card.d.cts +2 -0
- package/dist/widgets/location-card.d.ts +2 -0
- package/dist/widgets/location-card.js +3 -0
- package/dist/widgets/location-card.js.map +1 -0
- package/dist/widgets/lottie-icon.cjs +12 -0
- package/dist/widgets/lottie-icon.cjs.map +1 -0
- package/dist/widgets/lottie-icon.d.cts +2 -0
- package/dist/widgets/lottie-icon.d.ts +2 -0
- package/dist/widgets/lottie-icon.js +6 -0
- package/dist/widgets/lottie-icon.js.map +1 -0
- package/dist/widgets/lottie-player.cjs +11 -0
- package/dist/widgets/lottie-player.cjs.map +1 -0
- package/dist/widgets/lottie-player.d.cts +2 -0
- package/dist/widgets/lottie-player.d.ts +2 -0
- package/dist/widgets/lottie-player.js +5 -0
- package/dist/widgets/lottie-player.js.map +1 -0
- package/dist/widgets/lottie.cjs +103 -0
- package/dist/widgets/lottie.cjs.map +1 -0
- package/dist/widgets/lottie.d.cts +2 -0
- package/dist/widgets/lottie.d.ts +2 -0
- package/dist/widgets/lottie.js +101 -0
- package/dist/widgets/lottie.js.map +1 -0
- package/dist/widgets/lyrics.cjs +10 -0
- package/dist/widgets/lyrics.cjs.map +1 -0
- package/dist/widgets/lyrics.d.cts +2 -0
- package/dist/widgets/lyrics.d.ts +2 -0
- package/dist/widgets/lyrics.js +4 -0
- package/dist/widgets/lyrics.js.map +1 -0
- package/dist/widgets/masonry-flow.cjs +131 -0
- package/dist/widgets/masonry-flow.cjs.map +1 -0
- package/dist/widgets/masonry-flow.d.cts +2 -0
- package/dist/widgets/masonry-flow.d.ts +2 -0
- package/dist/widgets/masonry-flow.js +129 -0
- package/dist/widgets/masonry-flow.js.map +1 -0
- package/dist/widgets/menu-toggle.cjs +9 -0
- package/dist/widgets/menu-toggle.cjs.map +1 -0
- package/dist/widgets/menu-toggle.d.cts +2 -0
- package/dist/widgets/menu-toggle.d.ts +2 -0
- package/dist/widgets/menu-toggle.js +3 -0
- package/dist/widgets/menu-toggle.js.map +1 -0
- package/dist/widgets/menu.cjs +10 -0
- package/dist/widgets/menu.cjs.map +1 -0
- package/dist/widgets/menu.d.cts +2 -0
- package/dist/widgets/menu.d.ts +2 -0
- package/dist/widgets/menu.js +4 -0
- package/dist/widgets/menu.js.map +1 -0
- package/dist/widgets/message-list.cjs +96 -0
- package/dist/widgets/message-list.cjs.map +1 -0
- package/dist/widgets/message-list.d.cts +2 -0
- package/dist/widgets/message-list.d.ts +2 -0
- package/dist/widgets/message-list.js +94 -0
- package/dist/widgets/message-list.js.map +1 -0
- package/dist/widgets/milestones.cjs +98 -0
- package/dist/widgets/milestones.cjs.map +1 -0
- package/dist/widgets/milestones.d.cts +2 -0
- package/dist/widgets/milestones.d.ts +2 -0
- package/dist/widgets/milestones.js +96 -0
- package/dist/widgets/milestones.js.map +1 -0
- package/dist/widgets/modal.cjs +10 -0
- package/dist/widgets/modal.cjs.map +1 -0
- package/dist/widgets/modal.d.cts +2 -0
- package/dist/widgets/modal.d.ts +2 -0
- package/dist/widgets/modal.js +4 -0
- package/dist/widgets/modal.js.map +1 -0
- package/dist/widgets/motion-inspector.cjs +119 -0
- package/dist/widgets/motion-inspector.cjs.map +1 -0
- package/dist/widgets/motion-inspector.d.cts +2 -0
- package/dist/widgets/motion-inspector.d.ts +2 -0
- package/dist/widgets/motion-inspector.js +117 -0
- package/dist/widgets/motion-inspector.js.map +1 -0
- package/dist/widgets/motion-prefs.cjs +74 -0
- package/dist/widgets/motion-prefs.cjs.map +1 -0
- package/dist/widgets/motion-prefs.d.cts +2 -0
- package/dist/widgets/motion-prefs.d.ts +2 -0
- package/dist/widgets/motion-prefs.js +72 -0
- package/dist/widgets/motion-prefs.js.map +1 -0
- package/dist/widgets/motion-prompt.cjs +104 -0
- package/dist/widgets/motion-prompt.cjs.map +1 -0
- package/dist/widgets/motion-prompt.d.cts +2 -0
- package/dist/widgets/motion-prompt.d.ts +2 -0
- package/dist/widgets/motion-prompt.js +102 -0
- package/dist/widgets/motion-prompt.js.map +1 -0
- package/dist/widgets/motion-spec.cjs +73 -0
- package/dist/widgets/motion-spec.cjs.map +1 -0
- package/dist/widgets/motion-spec.d.cts +2 -0
- package/dist/widgets/motion-spec.d.ts +2 -0
- package/dist/widgets/motion-spec.js +71 -0
- package/dist/widgets/motion-spec.js.map +1 -0
- package/dist/widgets/motion.cjs +38 -0
- package/dist/widgets/motion.cjs.map +1 -0
- package/dist/widgets/motion.d.cts +2 -0
- package/dist/widgets/motion.d.ts +2 -0
- package/dist/widgets/motion.js +36 -0
- package/dist/widgets/motion.js.map +1 -0
- package/dist/widgets/music-player.cjs +171 -0
- package/dist/widgets/music-player.cjs.map +1 -0
- package/dist/widgets/music-player.d.cts +2 -0
- package/dist/widgets/music-player.d.ts +2 -0
- package/dist/widgets/music-player.js +169 -0
- package/dist/widgets/music-player.js.map +1 -0
- package/dist/widgets/native-preview.cjs +80 -0
- package/dist/widgets/native-preview.cjs.map +1 -0
- package/dist/widgets/native-preview.d.cts +2 -0
- package/dist/widgets/native-preview.d.ts +2 -0
- package/dist/widgets/native-preview.js +78 -0
- package/dist/widgets/native-preview.js.map +1 -0
- package/dist/widgets/nav-morph.cjs +10 -0
- package/dist/widgets/nav-morph.cjs.map +1 -0
- package/dist/widgets/nav-morph.d.cts +2 -0
- package/dist/widgets/nav-morph.d.ts +2 -0
- package/dist/widgets/nav-morph.js +4 -0
- package/dist/widgets/nav-morph.js.map +1 -0
- package/dist/widgets/notification-bell.cjs +104 -0
- package/dist/widgets/notification-bell.cjs.map +1 -0
- package/dist/widgets/notification-bell.d.cts +2 -0
- package/dist/widgets/notification-bell.d.ts +2 -0
- package/dist/widgets/notification-bell.js +102 -0
- package/dist/widgets/notification-bell.js.map +1 -0
- package/dist/widgets/odometer.cjs +10 -0
- package/dist/widgets/odometer.cjs.map +1 -0
- package/dist/widgets/odometer.d.cts +2 -0
- package/dist/widgets/odometer.d.ts +2 -0
- package/dist/widgets/odometer.js +4 -0
- package/dist/widgets/odometer.js.map +1 -0
- package/dist/widgets/organic-card.cjs +50 -0
- package/dist/widgets/organic-card.cjs.map +1 -0
- package/dist/widgets/organic-card.d.cts +2 -0
- package/dist/widgets/organic-card.d.ts +2 -0
- package/dist/widgets/organic-card.js +48 -0
- package/dist/widgets/organic-card.js.map +1 -0
- package/dist/widgets/otp.cjs +9 -0
- package/dist/widgets/otp.cjs.map +1 -0
- package/dist/widgets/otp.d.cts +2 -0
- package/dist/widgets/otp.d.ts +2 -0
- package/dist/widgets/otp.js +3 -0
- package/dist/widgets/otp.js.map +1 -0
- package/dist/widgets/pagination.cjs +10 -0
- package/dist/widgets/pagination.cjs.map +1 -0
- package/dist/widgets/pagination.d.cts +2 -0
- package/dist/widgets/pagination.d.ts +2 -0
- package/dist/widgets/pagination.js +4 -0
- package/dist/widgets/pagination.js.map +1 -0
- package/dist/widgets/panorama.cjs +133 -0
- package/dist/widgets/panorama.cjs.map +1 -0
- package/dist/widgets/panorama.d.cts +2 -0
- package/dist/widgets/panorama.d.ts +2 -0
- package/dist/widgets/panorama.js +131 -0
- package/dist/widgets/panorama.js.map +1 -0
- package/dist/widgets/parallax-layers.cjs +107 -0
- package/dist/widgets/parallax-layers.cjs.map +1 -0
- package/dist/widgets/parallax-layers.d.cts +2 -0
- package/dist/widgets/parallax-layers.d.ts +2 -0
- package/dist/widgets/parallax-layers.js +105 -0
- package/dist/widgets/parallax-layers.js.map +1 -0
- package/dist/widgets/pause-all.cjs +74 -0
- package/dist/widgets/pause-all.cjs.map +1 -0
- package/dist/widgets/pause-all.d.cts +2 -0
- package/dist/widgets/pause-all.d.ts +2 -0
- package/dist/widgets/pause-all.js +72 -0
- package/dist/widgets/pause-all.js.map +1 -0
- package/dist/widgets/perf-monitor.cjs +79 -0
- package/dist/widgets/perf-monitor.cjs.map +1 -0
- package/dist/widgets/perf-monitor.d.cts +2 -0
- package/dist/widgets/perf-monitor.d.ts +2 -0
- package/dist/widgets/perf-monitor.js +77 -0
- package/dist/widgets/perf-monitor.js.map +1 -0
- package/dist/widgets/physics-playground.cjs +11 -0
- package/dist/widgets/physics-playground.cjs.map +1 -0
- package/dist/widgets/physics-playground.d.cts +2 -0
- package/dist/widgets/physics-playground.d.ts +2 -0
- package/dist/widgets/physics-playground.js +5 -0
- package/dist/widgets/physics-playground.js.map +1 -0
- package/dist/widgets/plugin-card.cjs +112 -0
- package/dist/widgets/plugin-card.cjs.map +1 -0
- package/dist/widgets/plugin-card.d.cts +2 -0
- package/dist/widgets/plugin-card.d.ts +2 -0
- package/dist/widgets/plugin-card.js +110 -0
- package/dist/widgets/plugin-card.js.map +1 -0
- package/dist/widgets/plugin-store.cjs +99 -0
- package/dist/widgets/plugin-store.cjs.map +1 -0
- package/dist/widgets/plugin-store.d.cts +2 -0
- package/dist/widgets/plugin-store.d.ts +2 -0
- package/dist/widgets/plugin-store.js +97 -0
- package/dist/widgets/plugin-store.js.map +1 -0
- package/dist/widgets/presence.cjs +9 -0
- package/dist/widgets/presence.cjs.map +1 -0
- package/dist/widgets/presence.d.cts +2 -0
- package/dist/widgets/presence.d.ts +2 -0
- package/dist/widgets/presence.js +3 -0
- package/dist/widgets/presence.js.map +1 -0
- package/dist/widgets/prize-wheel.cjs +9 -0
- package/dist/widgets/prize-wheel.cjs.map +1 -0
- package/dist/widgets/prize-wheel.d.cts +2 -0
- package/dist/widgets/prize-wheel.d.ts +2 -0
- package/dist/widgets/prize-wheel.js +3 -0
- package/dist/widgets/prize-wheel.js.map +1 -0
- package/dist/widgets/product-gallery.cjs +9 -0
- package/dist/widgets/product-gallery.cjs.map +1 -0
- package/dist/widgets/product-gallery.d.cts +2 -0
- package/dist/widgets/product-gallery.d.ts +2 -0
- package/dist/widgets/product-gallery.js +3 -0
- package/dist/widgets/product-gallery.js.map +1 -0
- package/dist/widgets/progress-ring.cjs +10 -0
- package/dist/widgets/progress-ring.cjs.map +1 -0
- package/dist/widgets/progress-ring.d.cts +2 -0
- package/dist/widgets/progress-ring.d.ts +2 -0
- package/dist/widgets/progress-ring.js +4 -0
- package/dist/widgets/progress-ring.js.map +1 -0
- package/dist/widgets/prop-panel.cjs +9 -0
- package/dist/widgets/prop-panel.cjs.map +1 -0
- package/dist/widgets/prop-panel.d.cts +2 -0
- package/dist/widgets/prop-panel.d.ts +2 -0
- package/dist/widgets/prop-panel.js +3 -0
- package/dist/widgets/prop-panel.js.map +1 -0
- package/dist/widgets/pull-cord.cjs +138 -0
- package/dist/widgets/pull-cord.cjs.map +1 -0
- package/dist/widgets/pull-cord.d.cts +2 -0
- package/dist/widgets/pull-cord.d.ts +2 -0
- package/dist/widgets/pull-cord.js +136 -0
- package/dist/widgets/pull-cord.js.map +1 -0
- package/dist/widgets/radar.cjs +9 -0
- package/dist/widgets/radar.cjs.map +1 -0
- package/dist/widgets/radar.d.cts +2 -0
- package/dist/widgets/radar.d.ts +2 -0
- package/dist/widgets/radar.js +3 -0
- package/dist/widgets/radar.js.map +1 -0
- package/dist/widgets/reactions.cjs +9 -0
- package/dist/widgets/reactions.cjs.map +1 -0
- package/dist/widgets/reactions.d.cts +2 -0
- package/dist/widgets/reactions.d.ts +2 -0
- package/dist/widgets/reactions.js +3 -0
- package/dist/widgets/reactions.js.map +1 -0
- package/dist/widgets/red-envelope.cjs +73 -0
- package/dist/widgets/red-envelope.cjs.map +1 -0
- package/dist/widgets/red-envelope.d.cts +2 -0
- package/dist/widgets/red-envelope.d.ts +2 -0
- package/dist/widgets/red-envelope.js +71 -0
- package/dist/widgets/red-envelope.js.map +1 -0
- package/dist/widgets/retro-button.cjs +9 -0
- package/dist/widgets/retro-button.cjs.map +1 -0
- package/dist/widgets/retro-button.d.cts +2 -0
- package/dist/widgets/retro-button.d.ts +2 -0
- package/dist/widgets/retro-button.js +3 -0
- package/dist/widgets/retro-button.js.map +1 -0
- package/dist/widgets/rive.cjs +9 -0
- package/dist/widgets/rive.cjs.map +1 -0
- package/dist/widgets/rive.d.cts +2 -0
- package/dist/widgets/rive.d.ts +2 -0
- package/dist/widgets/rive.js +3 -0
- package/dist/widgets/rive.js.map +1 -0
- package/dist/widgets/route-transition.cjs +125 -0
- package/dist/widgets/route-transition.cjs.map +1 -0
- package/dist/widgets/route-transition.d.cts +2 -0
- package/dist/widgets/route-transition.d.ts +2 -0
- package/dist/widgets/route-transition.js +123 -0
- package/dist/widgets/route-transition.js.map +1 -0
- package/dist/widgets/scene.cjs +85 -0
- package/dist/widgets/scene.cjs.map +1 -0
- package/dist/widgets/scene.d.cts +2 -0
- package/dist/widgets/scene.d.ts +2 -0
- package/dist/widgets/scene.js +83 -0
- package/dist/widgets/scene.js.map +1 -0
- package/dist/widgets/scroll-ring.cjs +138 -0
- package/dist/widgets/scroll-ring.cjs.map +1 -0
- package/dist/widgets/scroll-ring.d.cts +2 -0
- package/dist/widgets/scroll-ring.d.ts +2 -0
- package/dist/widgets/scroll-ring.js +136 -0
- package/dist/widgets/scroll-ring.js.map +1 -0
- package/dist/widgets/scroll-scene.cjs +11 -0
- package/dist/widgets/scroll-scene.cjs.map +1 -0
- package/dist/widgets/scroll-scene.d.cts +2 -0
- package/dist/widgets/scroll-scene.d.ts +2 -0
- package/dist/widgets/scroll-scene.js +5 -0
- package/dist/widgets/scroll-scene.js.map +1 -0
- package/dist/widgets/segmented.cjs +10 -0
- package/dist/widgets/segmented.cjs.map +1 -0
- package/dist/widgets/segmented.d.cts +2 -0
- package/dist/widgets/segmented.d.ts +2 -0
- package/dist/widgets/segmented.js +4 -0
- package/dist/widgets/segmented.js.map +1 -0
- package/dist/widgets/shader-backdrop.cjs +9 -0
- package/dist/widgets/shader-backdrop.cjs.map +1 -0
- package/dist/widgets/shader-backdrop.d.cts +2 -0
- package/dist/widgets/shader-backdrop.d.ts +2 -0
- package/dist/widgets/shader-backdrop.js +3 -0
- package/dist/widgets/shader-backdrop.js.map +1 -0
- package/dist/widgets/sheet.cjs +10 -0
- package/dist/widgets/sheet.cjs.map +1 -0
- package/dist/widgets/sheet.d.cts +2 -0
- package/dist/widgets/sheet.d.ts +2 -0
- package/dist/widgets/sheet.js +4 -0
- package/dist/widgets/sheet.js.map +1 -0
- package/dist/widgets/shortcut.cjs +61 -0
- package/dist/widgets/shortcut.cjs.map +1 -0
- package/dist/widgets/shortcut.d.cts +2 -0
- package/dist/widgets/shortcut.d.ts +2 -0
- package/dist/widgets/shortcut.js +59 -0
- package/dist/widgets/shortcut.js.map +1 -0
- package/dist/widgets/skeleton-reveal.cjs +10 -0
- package/dist/widgets/skeleton-reveal.cjs.map +1 -0
- package/dist/widgets/skeleton-reveal.d.cts +2 -0
- package/dist/widgets/skeleton-reveal.d.ts +2 -0
- package/dist/widgets/skeleton-reveal.js +4 -0
- package/dist/widgets/skeleton-reveal.js.map +1 -0
- package/dist/widgets/sketch-chart.cjs +108 -0
- package/dist/widgets/sketch-chart.cjs.map +1 -0
- package/dist/widgets/sketch-chart.d.cts +2 -0
- package/dist/widgets/sketch-chart.d.ts +2 -0
- package/dist/widgets/sketch-chart.js +106 -0
- package/dist/widgets/sketch-chart.js.map +1 -0
- package/dist/widgets/smooth-scroll.cjs +84 -0
- package/dist/widgets/smooth-scroll.cjs.map +1 -0
- package/dist/widgets/smooth-scroll.d.cts +2 -0
- package/dist/widgets/smooth-scroll.d.ts +2 -0
- package/dist/widgets/smooth-scroll.js +82 -0
- package/dist/widgets/smooth-scroll.js.map +1 -0
- package/dist/widgets/snap-carousel.cjs +11 -0
- package/dist/widgets/snap-carousel.cjs.map +1 -0
- package/dist/widgets/snap-carousel.d.cts +1 -0
- package/dist/widgets/snap-carousel.d.ts +1 -0
- package/dist/widgets/snap-carousel.js +5 -0
- package/dist/widgets/snap-carousel.js.map +1 -0
- package/dist/widgets/sparkline.cjs +9 -0
- package/dist/widgets/sparkline.cjs.map +1 -0
- package/dist/widgets/sparkline.d.cts +2 -0
- package/dist/widgets/sparkline.d.ts +2 -0
- package/dist/widgets/sparkline.js +3 -0
- package/dist/widgets/sparkline.js.map +1 -0
- package/dist/widgets/spatial-card.cjs +55 -0
- package/dist/widgets/spatial-card.cjs.map +1 -0
- package/dist/widgets/spatial-card.d.cts +2 -0
- package/dist/widgets/spatial-card.d.ts +2 -0
- package/dist/widgets/spatial-card.js +53 -0
- package/dist/widgets/spatial-card.js.map +1 -0
- package/dist/widgets/star-rating.cjs +147 -0
- package/dist/widgets/star-rating.cjs.map +1 -0
- package/dist/widgets/star-rating.d.cts +2 -0
- package/dist/widgets/star-rating.d.ts +2 -0
- package/dist/widgets/star-rating.js +145 -0
- package/dist/widgets/star-rating.js.map +1 -0
- package/dist/widgets/stepper.cjs +107 -0
- package/dist/widgets/stepper.cjs.map +1 -0
- package/dist/widgets/stepper.d.cts +2 -0
- package/dist/widgets/stepper.d.ts +2 -0
- package/dist/widgets/stepper.js +105 -0
- package/dist/widgets/stepper.js.map +1 -0
- package/dist/widgets/sticky-wall.cjs +75 -0
- package/dist/widgets/sticky-wall.cjs.map +1 -0
- package/dist/widgets/sticky-wall.d.cts +2 -0
- package/dist/widgets/sticky-wall.d.ts +2 -0
- package/dist/widgets/sticky-wall.js +73 -0
- package/dist/widgets/sticky-wall.js.map +1 -0
- package/dist/widgets/stories.cjs +143 -0
- package/dist/widgets/stories.cjs.map +1 -0
- package/dist/widgets/stories.d.cts +2 -0
- package/dist/widgets/stories.d.ts +2 -0
- package/dist/widgets/stories.js +141 -0
- package/dist/widgets/stories.js.map +1 -0
- package/dist/widgets/suggestion-chips.cjs +9 -0
- package/dist/widgets/suggestion-chips.cjs.map +1 -0
- package/dist/widgets/suggestion-chips.d.cts +2 -0
- package/dist/widgets/suggestion-chips.d.ts +2 -0
- package/dist/widgets/suggestion-chips.js +3 -0
- package/dist/widgets/suggestion-chips.js.map +1 -0
- package/dist/widgets/swipe-deck.cjs +152 -0
- package/dist/widgets/swipe-deck.cjs.map +1 -0
- package/dist/widgets/swipe-deck.d.cts +2 -0
- package/dist/widgets/swipe-deck.d.ts +2 -0
- package/dist/widgets/swipe-deck.js +150 -0
- package/dist/widgets/swipe-deck.js.map +1 -0
- package/dist/widgets/switch.cjs +9 -0
- package/dist/widgets/switch.cjs.map +1 -0
- package/dist/widgets/switch.d.cts +2 -0
- package/dist/widgets/switch.d.ts +2 -0
- package/dist/widgets/switch.js +3 -0
- package/dist/widgets/switch.js.map +1 -0
- package/dist/widgets/tab-bar.cjs +10 -0
- package/dist/widgets/tab-bar.cjs.map +1 -0
- package/dist/widgets/tab-bar.d.cts +2 -0
- package/dist/widgets/tab-bar.d.ts +2 -0
- package/dist/widgets/tab-bar.js +4 -0
- package/dist/widgets/tab-bar.js.map +1 -0
- package/dist/widgets/terminal.cjs +120 -0
- package/dist/widgets/terminal.cjs.map +1 -0
- package/dist/widgets/terminal.d.cts +2 -0
- package/dist/widgets/terminal.d.ts +2 -0
- package/dist/widgets/terminal.js +118 -0
- package/dist/widgets/terminal.js.map +1 -0
- package/dist/widgets/text-splitter.cjs +87 -0
- package/dist/widgets/text-splitter.cjs.map +1 -0
- package/dist/widgets/text-splitter.d.cts +2 -0
- package/dist/widgets/text-splitter.d.ts +2 -0
- package/dist/widgets/text-splitter.js +85 -0
- package/dist/widgets/text-splitter.js.map +1 -0
- package/dist/widgets/theme-surface.cjs +64 -0
- package/dist/widgets/theme-surface.cjs.map +1 -0
- package/dist/widgets/theme-surface.d.cts +2 -0
- package/dist/widgets/theme-surface.d.ts +2 -0
- package/dist/widgets/theme-surface.js +62 -0
- package/dist/widgets/theme-surface.js.map +1 -0
- package/dist/widgets/theme-switcher.cjs +113 -0
- package/dist/widgets/theme-switcher.cjs.map +1 -0
- package/dist/widgets/theme-switcher.d.cts +2 -0
- package/dist/widgets/theme-switcher.d.ts +2 -0
- package/dist/widgets/theme-switcher.js +111 -0
- package/dist/widgets/theme-switcher.js.map +1 -0
- package/dist/widgets/tip.cjs +10 -0
- package/dist/widgets/tip.cjs.map +1 -0
- package/dist/widgets/tip.d.cts +2 -0
- package/dist/widgets/tip.d.ts +2 -0
- package/dist/widgets/tip.js +4 -0
- package/dist/widgets/tip.js.map +1 -0
- package/dist/widgets/toast-stack.cjs +11 -0
- package/dist/widgets/toast-stack.cjs.map +1 -0
- package/dist/widgets/toast-stack.d.cts +2 -0
- package/dist/widgets/toast-stack.d.ts +2 -0
- package/dist/widgets/toast-stack.js +5 -0
- package/dist/widgets/toast-stack.js.map +1 -0
- package/dist/widgets/token-editor.cjs +149 -0
- package/dist/widgets/token-editor.cjs.map +1 -0
- package/dist/widgets/token-editor.d.cts +2 -0
- package/dist/widgets/token-editor.d.ts +2 -0
- package/dist/widgets/token-editor.js +147 -0
- package/dist/widgets/token-editor.js.map +1 -0
- package/dist/widgets/upload-progress.cjs +9 -0
- package/dist/widgets/upload-progress.cjs.map +1 -0
- package/dist/widgets/upload-progress.d.cts +2 -0
- package/dist/widgets/upload-progress.d.ts +2 -0
- package/dist/widgets/upload-progress.js +3 -0
- package/dist/widgets/upload-progress.js.map +1 -0
- package/dist/widgets/video-card.cjs +91 -0
- package/dist/widgets/video-card.cjs.map +1 -0
- package/dist/widgets/video-card.d.cts +2 -0
- package/dist/widgets/video-card.d.ts +2 -0
- package/dist/widgets/video-card.js +89 -0
- package/dist/widgets/video-card.js.map +1 -0
- package/dist/widgets/voice-button.cjs +9 -0
- package/dist/widgets/voice-button.cjs.map +1 -0
- package/dist/widgets/voice-button.d.cts +2 -0
- package/dist/widgets/voice-button.d.ts +2 -0
- package/dist/widgets/voice-button.js +3 -0
- package/dist/widgets/voice-button.js.map +1 -0
- package/dist/widgets/volume-knob.cjs +101 -0
- package/dist/widgets/volume-knob.cjs.map +1 -0
- package/dist/widgets/volume-knob.d.cts +2 -0
- package/dist/widgets/volume-knob.d.ts +2 -0
- package/dist/widgets/volume-knob.js +99 -0
- package/dist/widgets/volume-knob.js.map +1 -0
- package/dist/widgets/weather-card.cjs +9 -0
- package/dist/widgets/weather-card.cjs.map +1 -0
- package/dist/widgets/weather-card.d.cts +2 -0
- package/dist/widgets/weather-card.d.ts +2 -0
- package/dist/widgets/weather-card.js +3 -0
- package/dist/widgets/weather-card.js.map +1 -0
- package/dist/widgets/worker-canvas.cjs +11 -0
- package/dist/widgets/worker-canvas.cjs.map +1 -0
- package/dist/widgets/worker-canvas.d.cts +2 -0
- package/dist/widgets/worker-canvas.d.ts +2 -0
- package/dist/widgets/worker-canvas.js +5 -0
- package/dist/widgets/worker-canvas.js.map +1 -0
- package/dist/widgets/xp-bar.cjs +9 -0
- package/dist/widgets/xp-bar.cjs.map +1 -0
- package/dist/widgets/xp-bar.d.cts +2 -0
- package/dist/widgets/xp-bar.d.ts +2 -0
- package/dist/widgets/xp-bar.js +3 -0
- package/dist/widgets/xp-bar.js.map +1 -0
- package/dist/widgets.umd.js +1 -1
- package/dist/widgets.umd.js.map +1 -1
- package/docs/ROADMAP.md +45 -5
- package/docs/architecture.md +78 -0
- package/docs/audit-10.9.md +53 -0
- package/docs/compat-matrix.md +340 -0
- package/docs/components/README.md +3 -5
- package/docs/components/usa-accordion.md +1 -1
- package/docs/components/usa-acrylic.md +1 -1
- package/docs/components/usa-add-to-cart.md +1 -1
- package/docs/components/usa-ambient.md +1 -1
- package/docs/components/usa-anim-icon.md +1 -1
- package/docs/components/usa-audio.md +1 -1
- package/docs/components/usa-aurora.md +1 -1
- package/docs/components/usa-auto-animate.md +1 -1
- package/docs/components/usa-auto-skeleton.md +1 -1
- package/docs/components/usa-avatar-stack.md +1 -1
- package/docs/components/usa-back-to-top.md +1 -1
- package/docs/components/usa-badge-wall.md +1 -1
- package/docs/components/usa-badge.md +1 -1
- package/docs/components/usa-bar-chart.md +1 -1
- package/docs/components/usa-bg-generator.md +1 -1
- package/docs/components/usa-blobs.md +1 -1
- package/docs/components/usa-bottom-sheet.md +1 -1
- package/docs/components/usa-button.md +1 -1
- package/docs/components/usa-card-stack.md +1 -1
- package/docs/components/usa-card.md +1 -1
- package/docs/components/usa-carousel-3d.md +1 -1
- package/docs/components/usa-carousel.md +1 -1
- package/docs/components/usa-cart-drawer.md +1 -1
- package/docs/components/usa-chapter-nav.md +1 -1
- package/docs/components/usa-chat-composer.md +1 -1
- package/docs/components/usa-check.md +1 -1
- package/docs/components/usa-checkbox.md +1 -1
- package/docs/components/usa-click.md +1 -1
- package/docs/components/usa-clock-control.md +1 -1
- package/docs/components/usa-code-export.md +1 -1
- package/docs/components/usa-color-picker.md +1 -1
- package/docs/components/usa-command-palette.md +1 -1
- package/docs/components/usa-compare.md +1 -1
- package/docs/components/usa-countdown.md +1 -1
- package/docs/components/usa-counter.md +1 -1
- package/docs/components/usa-cube-gallery.md +1 -1
- package/docs/components/usa-cube.md +1 -1
- package/docs/components/usa-cursor.md +1 -1
- package/docs/components/usa-date-picker.md +1 -1
- package/docs/components/usa-depth.md +1 -1
- package/docs/components/usa-dialog.md +1 -1
- package/docs/components/usa-disclosure.md +1 -1
- package/docs/components/usa-distort.md +1 -1
- package/docs/components/usa-dock.md +1 -1
- package/docs/components/usa-dot-network.md +1 -1
- package/docs/components/usa-dotlottie.md +63 -0
- 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 +74 -0
- package/docs/components/usa-gl-scene.md +10 -10
- package/docs/components/usa-glitch.md +1 -1
- package/docs/components/usa-globe.md +1 -1
- package/docs/components/usa-gpu-particles.md +1 -1
- package/docs/components/usa-gradient-text.md +1 -1
- package/docs/components/usa-grain.md +1 -1
- package/docs/components/usa-grid-glow.md +1 -1
- package/docs/components/usa-gyro-card.md +1 -1
- package/docs/components/usa-handwriting.md +1 -1
- package/docs/components/usa-hero-video.md +1 -1
- package/docs/components/usa-hold.md +1 -1
- package/docs/components/usa-hud-panel.md +1 -1
- package/docs/components/usa-hydrate.md +1 -1
- package/docs/components/usa-icon-morph.md +1 -1
- package/docs/components/usa-install-button.md +3 -3
- package/docs/components/usa-kanban.md +1 -1
- package/docs/components/usa-keyframe-editor.md +1 -1
- package/docs/components/usa-kpi.md +1 -1
- package/docs/components/usa-leaderboard.md +1 -1
- package/docs/components/usa-like.md +1 -1
- package/docs/components/usa-liquid-nav.md +1 -1
- package/docs/components/usa-liquid.md +1 -1
- package/docs/components/usa-loading-bar.md +1 -1
- package/docs/components/usa-location-card.md +1 -1
- package/docs/components/usa-lottie-icon.md +1 -1
- package/docs/components/usa-lottie-player.md +5 -5
- package/docs/components/usa-lottie.md +1 -1
- package/docs/components/usa-lyrics.md +1 -1
- package/docs/components/usa-magnetic.md +1 -1
- package/docs/components/usa-marquee.md +1 -1
- package/docs/components/usa-mask-reveal.md +1 -1
- package/docs/components/usa-masonry-flow.md +1 -1
- package/docs/components/usa-masonry.md +1 -1
- package/docs/components/usa-menu-toggle.md +1 -1
- package/docs/components/usa-menu.md +1 -1
- package/docs/components/usa-message-list.md +1 -1
- package/docs/components/usa-milestones.md +1 -1
- package/docs/components/usa-modal.md +1 -1
- package/docs/components/usa-morph.md +1 -1
- package/docs/components/usa-motion-inspector.md +1 -1
- package/docs/components/usa-motion-prefs.md +1 -1
- package/docs/components/usa-motion-prompt.md +1 -1
- package/docs/components/usa-motion-spec.md +1 -1
- package/docs/components/usa-motion-switch.md +1 -1
- package/docs/components/usa-motion-theme.md +1 -1
- package/docs/components/usa-motion.md +1 -1
- package/docs/components/usa-music-player.md +1 -1
- package/docs/components/usa-native-preview.md +1 -1
- package/docs/components/usa-nav-morph.md +1 -1
- package/docs/components/usa-navbar.md +1 -1
- package/docs/components/usa-notification-bell.md +1 -1
- package/docs/components/usa-odometer.md +1 -1
- package/docs/components/usa-organic-card.md +1 -1
- package/docs/components/usa-otp.md +1 -1
- package/docs/components/usa-overscroll.md +1 -1
- package/docs/components/usa-pack.md +1 -1
- package/docs/components/usa-pagination.md +1 -1
- package/docs/components/usa-panorama.md +1 -1
- package/docs/components/usa-parallax-layers.md +1 -1
- package/docs/components/usa-particles.md +1 -1
- package/docs/components/usa-pause-all.md +1 -1
- package/docs/components/usa-perf-monitor.md +1 -1
- package/docs/components/usa-physics-playground.md +6 -6
- package/docs/components/usa-pinch-zoom.md +1 -1
- package/docs/components/usa-player.md +1 -1
- package/docs/components/usa-plugin-card.md +4 -4
- package/docs/components/usa-plugin-store.md +1 -1
- package/docs/components/usa-popover.md +1 -1
- package/docs/components/usa-post-fx.md +1 -1
- package/docs/components/usa-presence.md +1 -1
- package/docs/components/usa-press.md +1 -1
- package/docs/components/usa-prize-wheel.md +1 -1
- package/docs/components/usa-product-gallery.md +1 -1
- package/docs/components/usa-progress-ring.md +1 -1
- package/docs/components/usa-progress.md +1 -1
- package/docs/components/usa-prop-panel.md +1 -1
- package/docs/components/usa-pull-cord.md +1 -1
- package/docs/components/usa-pull-refresh.md +1 -1
- package/docs/components/usa-radar.md +1 -1
- package/docs/components/usa-reactions.md +1 -1
- package/docs/components/usa-red-envelope.md +1 -1
- package/docs/components/usa-retro-button.md +1 -1
- package/docs/components/usa-reveal.md +1 -1
- package/docs/components/usa-ripple.md +1 -1
- package/docs/components/usa-rive.md +3 -3
- package/docs/components/usa-route-transition.md +1 -1
- package/docs/components/usa-scene.md +1 -1
- package/docs/components/usa-scramble.md +1 -1
- package/docs/components/usa-scroll-highlight.md +1 -1
- package/docs/components/usa-scroll-progress.md +1 -1
- package/docs/components/usa-scroll-ring.md +1 -1
- package/docs/components/usa-scroll-scene.md +5 -5
- package/docs/components/usa-scrolly.md +1 -1
- package/docs/components/usa-segmented.md +1 -1
- package/docs/components/usa-shader-backdrop.md +1 -1
- package/docs/components/usa-shader.md +1 -1
- package/docs/components/usa-sheet.md +1 -1
- package/docs/components/usa-shimmer-text.md +1 -1
- package/docs/components/usa-shortcut.md +1 -1
- package/docs/components/usa-skeleton-reveal.md +1 -1
- package/docs/components/usa-skeleton.md +1 -1
- package/docs/components/usa-sketch-chart.md +1 -1
- package/docs/components/usa-slider.md +1 -1
- package/docs/components/usa-smooth-scroll.md +5 -5
- package/docs/components/usa-snap-carousel.md +5 -5
- package/docs/components/usa-sparkline.md +1 -1
- package/docs/components/usa-spatial-card.md +1 -1
- package/docs/components/usa-spinner.md +1 -1
- package/docs/components/usa-splash.md +1 -1
- package/docs/components/usa-split-text.md +1 -1
- package/docs/components/usa-spotlight.md +1 -1
- package/docs/components/usa-spring.md +1 -1
- package/docs/components/usa-stagger.md +1 -1
- package/docs/components/usa-star-rating.md +1 -1
- package/docs/components/usa-stepper.md +1 -1
- package/docs/components/usa-sticky-stack.md +1 -1
- package/docs/components/usa-sticky-wall.md +1 -1
- package/docs/components/usa-stories.md +1 -1
- package/docs/components/usa-story.md +1 -1
- package/docs/components/usa-suggestion-chips.md +1 -1
- package/docs/components/usa-swipe-deck.md +1 -1
- package/docs/components/usa-swipeable.md +1 -1
- package/docs/components/usa-switch.md +1 -1
- package/docs/components/usa-tab-bar.md +1 -1
- package/docs/components/usa-tabs.md +1 -1
- package/docs/components/usa-terminal.md +1 -1
- package/docs/components/usa-text-rotate.md +1 -1
- package/docs/components/usa-text-splitter.md +5 -5
- package/docs/components/usa-theme-surface.md +1 -1
- package/docs/components/usa-theme-switcher.md +1 -1
- package/docs/components/usa-tilt.md +1 -1
- package/docs/components/usa-timeline.md +1 -1
- package/docs/components/usa-tip.md +1 -1
- package/docs/components/usa-toast-stack.md +1 -1
- package/docs/components/usa-toaster.md +1 -1
- package/docs/components/usa-token-editor.md +1 -1
- package/docs/components/usa-typewriter.md +1 -1
- package/docs/components/usa-upload-progress.md +1 -1
- package/docs/components/usa-video-card.md +1 -1
- package/docs/components/usa-view-switch.md +1 -1
- package/docs/components/usa-voice-button.md +1 -1
- package/docs/components/usa-volume-knob.md +1 -1
- package/docs/components/usa-water-ripple.md +1 -1
- package/docs/components/usa-wave-text.md +1 -1
- package/docs/components/usa-weather-card.md +1 -1
- package/docs/components/usa-worker-canvas.md +1 -1
- package/docs/components/usa-xp-bar.md +1 -1
- package/docs/components.md +121 -38
- package/docs/deprecations.md +6 -0
- package/docs/entry-points.md +282 -0
- package/docs/runtime/basis-transcoder.md +48 -0
- package/docs/runtime/core.md +2 -2
- package/docs/runtime/draco3d.md +48 -0
- 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 +6 -4
- 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 +4 -3
- package/docs/runtime/gltf-anim.md +3 -3
- package/docs/runtime/gltf-decoders.md +59 -0
- package/docs/runtime/lottie-state.md +62 -0
- 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 +5 -3
- package/docs/schemas/motionary-scene-1.schema.json +194 -0
- package/docs/upgrading-11.md +22 -0
- package/package.json +2739 -103
- package/docs/components/usa-three-scene.md +0 -20
package/dist/llms-full.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Motionary
|
|
1
|
+
# Motionary 11.0.0 — 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@11/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@11/dist/runtime.iife.js"></script>
|
|
38
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/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@11/dist/runtime.iife.js"></script>
|
|
60
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/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@11/dist/runtime.iife.js"></script>
|
|
81
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/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@11/dist/runtime.iife.js"></script>
|
|
103
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/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@11/dist/runtime.iife.js"></script>
|
|
127
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/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@11/dist/runtime.iife.js"></script>
|
|
149
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/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@11/dist/runtime.iife.js"></script>
|
|
172
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/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@11/dist/runtime.iife.js"></script>
|
|
194
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/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@11/dist/runtime.iife.js"></script>
|
|
217
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/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@11/dist/runtime.iife.js"></script>
|
|
239
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/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@11/dist/runtime.iife.js"></script>
|
|
261
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/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@11/dist/runtime.iife.js"></script>
|
|
285
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/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@11/dist/runtime.iife.js"></script>
|
|
310
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/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@11/dist/runtime.iife.js"></script>
|
|
333
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/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@11/dist/runtime.iife.js"></script>
|
|
376
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/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@11/dist/runtime.iife.js"></script>
|
|
400
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/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@11/dist/runtime.iife.js"></script>
|
|
423
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/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@11/dist/runtime.iife.js"></script>
|
|
446
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/gltf-anim.iife.js"></script>
|
|
447
447
|
```
|
|
448
448
|
|
|
449
449
|
```js
|
|
@@ -457,6 +457,91 @@ const anim = gltfAnimator(model, { clip: 'walk' });
|
|
|
457
457
|
anim.play(); // or anim.update(dt) in your own loop
|
|
458
458
|
```
|
|
459
459
|
|
|
460
|
+
### motionary/runtime/lottie-state — dotLottie themes + state machines
|
|
461
|
+
|
|
462
|
+
Resolves Lottie slots with dotLottie themes (Color / Scalar / Vector / Text rules, static or keyframed) and runs a subset of dotLottie state machines (playback states, Event / Numeric / String / Boolean guards, pointer + completion interactions, input / theme / frame actions) for motionary/runtime/vector — own implementation, used by <usa-dotlottie>.
|
|
463
|
+
|
|
464
|
+
- Install: `npm i motionary`
|
|
465
|
+
- Import: `motionary/runtime/lottie-state`
|
|
466
|
+
- Register: `use(lottieState);` — Register the core first, then the module: use(lottieState) also registers the core. CDN: load runtime.iife.js, then runtime/lottie-state.iife.js (it registers itself).
|
|
467
|
+
- CDN:
|
|
468
|
+
|
|
469
|
+
```html
|
|
470
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></script>
|
|
471
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/lottie-state.iife.js"></script>
|
|
472
|
+
```
|
|
473
|
+
|
|
474
|
+
```js
|
|
475
|
+
import { use } from 'motionary/runtime';
|
|
476
|
+
import { vector, loadLottie } from 'motionary/runtime/vector';
|
|
477
|
+
import { lottieState, applyTheme, createStateMachine } from 'motionary/runtime/lottie-state';
|
|
478
|
+
use(vector, lottieState);
|
|
479
|
+
const { animation, dotLottie } = await loadLottie('/anim/button.lottie');
|
|
480
|
+
const themed = applyTheme(animation, dotLottie.themes.dark);
|
|
481
|
+
const sm = createStateMachine(dotLottie.stateMachines.toggle, { onState: (s) => console.log(s.name) });
|
|
482
|
+
sm.fire('tap');
|
|
483
|
+
```
|
|
484
|
+
|
|
485
|
+
### motionary/runtime/gltf-decoders — glTF decoder hooks (Draco, KTX2)
|
|
486
|
+
|
|
487
|
+
Lets motionary/runtime/format-gltf load KHR_draco_mesh_compression meshes and KHR_texture_basisu (KTX2) textures through the official decoders — Google draco3d and the Basis Universal transcoder — registered as lazy loaders; Motionary does not reimplement them.
|
|
488
|
+
|
|
489
|
+
- Install: `npm i motionary`
|
|
490
|
+
- Import: `motionary/runtime/gltf-decoders`
|
|
491
|
+
- Register: `use(gltfDecoders);` — Register the core first, then the module: use(gltfDecoders) also registers the core. CDN: load runtime.iife.js, then runtime/gltf-decoders.iife.js (it registers itself).
|
|
492
|
+
- CDN:
|
|
493
|
+
|
|
494
|
+
```html
|
|
495
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></script>
|
|
496
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/gltf-decoders.iife.js"></script>
|
|
497
|
+
```
|
|
498
|
+
|
|
499
|
+
```js
|
|
500
|
+
import { use } from 'motionary/runtime';
|
|
501
|
+
import { gl } from 'motionary/runtime/gl';
|
|
502
|
+
import { formatGltf, loadGltf } from 'motionary/runtime/format-gltf';
|
|
503
|
+
import { gltfDecoders, provideGltfDecoder, prepareGltf } from 'motionary/runtime/gltf-decoders';
|
|
504
|
+
use(gl, formatGltf, gltfDecoders);
|
|
505
|
+
provideGltfDecoder('draco', () => import('draco3d'));
|
|
506
|
+
const model = await loadGltf('/models/robot-draco.glb', { prepare: prepareGltf });
|
|
507
|
+
```
|
|
508
|
+
|
|
509
|
+
### draco3d — Official Draco decoder (Google)
|
|
510
|
+
|
|
511
|
+
Google’s official Draco geometry decoder (Apache-2.0, WASM / JS), used by motionary/runtime/gltf-decoders for KHR_draco_mesh_compression meshes. Optional peer dependency: lazy-loaded when the first Draco file is opened, never bundled into Motionary.
|
|
512
|
+
|
|
513
|
+
- Install: `npm i draco3d`
|
|
514
|
+
- Import: `draco3d`
|
|
515
|
+
- Register: `provideGltfDecoder('draco', () => import('draco3d')); // lazy: fetched when the first Draco-compressed model loads` — Install draco3d next to motionary, then register the lazy loader with provideGltfDecoder('draco', () => import('draco3d')) before a compressed model loads. Without a bundler: load Google’s draco_decoder.js from gstatic (window.DracoDecoderModule) and provideGltfDecoder('draco', () => window.DracoDecoderModule). Missing → a clear error naming the extension and this line.
|
|
516
|
+
- CDN:
|
|
517
|
+
|
|
518
|
+
```html
|
|
519
|
+
<script src="https://www.gstatic.com/draco/versioned/decoders/1.5.7/draco_decoder.js"></script>
|
|
520
|
+
```
|
|
521
|
+
|
|
522
|
+
```js
|
|
523
|
+
import { provideGltfDecoder } from 'motionary/runtime/gltf-decoders';
|
|
524
|
+
provideGltfDecoder('draco', () => import('draco3d'));
|
|
525
|
+
```
|
|
526
|
+
|
|
527
|
+
### basis_transcoder.js — Official Basis Universal transcoder (Binomial)
|
|
528
|
+
|
|
529
|
+
Binomial’s official Basis Universal transcoder (Apache-2.0, basis_transcoder.js + .wasm from the basis_universal repository), used by motionary/runtime/gltf-decoders for KHR_texture_basisu (KTX2) textures. Optional: lazy-loaded when the first KTX2 texture is decoded, never bundled into Motionary.
|
|
530
|
+
|
|
531
|
+
- Install: `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`
|
|
532
|
+
- Import: `basis_transcoder.js`
|
|
533
|
+
- Register: `provideGltfDecoder('ktx2', () => import('/vendor/basis_transcoder.js').then((m) => m.default || window.BASIS)); // lazy: fetched with the first KTX2 texture` — The transcoder is not published on npm by Binomial: copy basis_transcoder.js + basis_transcoder.wasm (same folder) into your static files, then provideGltfDecoder('ktx2', …) before a KTX2 model loads; or load it from the CDN (window.BASIS) and provideGltfDecoder('ktx2', () => window.BASIS). Missing → a clear error naming the extension and this line.
|
|
534
|
+
- CDN:
|
|
535
|
+
|
|
536
|
+
```html
|
|
537
|
+
<script src="https://cdn.jsdelivr.net/gh/BinomialLLC/basis_universal@1.16.4/webgl/transcoder/build/basis_transcoder.js"></script>
|
|
538
|
+
```
|
|
539
|
+
|
|
540
|
+
```js
|
|
541
|
+
import { provideGltfDecoder } from 'motionary/runtime/gltf-decoders';
|
|
542
|
+
provideGltfDecoder('ktx2', () => window.BASIS);
|
|
543
|
+
```
|
|
544
|
+
|
|
460
545
|
## Components
|
|
461
546
|
|
|
462
547
|
### <usa-accordion> — Accordion
|
|
@@ -464,7 +549,7 @@ anim.play(); // or anim.update(dt) in your own loop
|
|
|
464
549
|
Smooth expand / collapse for native <details> — semantics, keyboard and find-in-page kept; no wrapper elements.
|
|
465
550
|
|
|
466
551
|
- Import: `import { defineAccordion } from 'motionary/components/transitions'; defineAccordion();`
|
|
467
|
-
- CDN: https://unpkg.com/motionary@
|
|
552
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
468
553
|
- Events: `usa:toggle`
|
|
469
554
|
- Methods: `toggleItem()`
|
|
470
555
|
|
|
@@ -480,7 +565,7 @@ Smooth expand / collapse for native <details> — semantics, keyboard and find-i
|
|
|
480
565
|
Windows Fluent materials: frosted acrylic (backdrop blur + tint + noise) and mica. Solid fallback when transparency is reduced.
|
|
481
566
|
|
|
482
567
|
- Import: `import { defineAcrylic } from 'motionary/components/background'; defineAcrylic();`
|
|
483
|
-
- CDN: https://unpkg.com/motionary@
|
|
568
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
484
569
|
- Attributes: `tint`, `tint-opacity`, `blur`, `shimmer`
|
|
485
570
|
|
|
486
571
|
```html
|
|
@@ -495,7 +580,7 @@ Windows Fluent materials: frosted acrylic (backdrop blur + tint + noise) and mic
|
|
|
495
580
|
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.
|
|
496
581
|
|
|
497
582
|
- Import: `import { defineAddToCart } from 'motionary/components/widgets'; defineAddToCart();`
|
|
498
|
-
- CDN: https://unpkg.com/motionary@
|
|
583
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
499
584
|
- Events: `usa:add`
|
|
500
585
|
- Methods: `add()`
|
|
501
586
|
|
|
@@ -512,7 +597,7 @@ Windows Fluent materials: frosted acrylic (backdrop blur + tint + noise) and mic
|
|
|
512
597
|
A fixed page-wide layer: drifting particles, falling snow, twinkling stars, film grain or a gradient that shifts with scroll.
|
|
513
598
|
|
|
514
599
|
- Import: `import { defineAmbient } from 'motionary/components/page'; defineAmbient();`
|
|
515
|
-
- CDN: https://unpkg.com/motionary@
|
|
600
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
516
601
|
- Attributes: `effect`, `density`, `color`
|
|
517
602
|
- Methods: `mount()`, `upd()`, `resize()`, `resize()`, `draw()`, `draw()`, `unmount()`, `caf()`
|
|
518
603
|
|
|
@@ -525,7 +610,7 @@ A fixed page-wide layer: drifting particles, falling snow, twinkling stars, film
|
|
|
525
610
|
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.
|
|
526
611
|
|
|
527
612
|
- Import: `import { defineAnimIcon } from 'motionary/components/svg'; defineAnimIcon();`
|
|
528
|
-
- CDN: https://unpkg.com/motionary@
|
|
613
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
529
614
|
- Attributes: `name`, `size`, `label`
|
|
530
615
|
- Methods: `play()`
|
|
531
616
|
|
|
@@ -539,7 +624,7 @@ Stroke icons that move: the bell rings, the heart beats, the check draws, the ge
|
|
|
539
624
|
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.
|
|
540
625
|
|
|
541
626
|
- Import: `import { defineAudio } from 'motionary/components/effects'; defineAudio();`
|
|
542
|
-
- CDN: https://unpkg.com/motionary@
|
|
627
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
543
628
|
- Attributes: `source`
|
|
544
629
|
- Methods: `toggle()`
|
|
545
630
|
|
|
@@ -555,7 +640,7 @@ Stroke icons that move: the bell rings, the heart beats, the check draws, the ge
|
|
|
555
640
|
A slow drifting gradient mesh behind its content. Transforms only, paused off-screen, still under reduced motion.
|
|
556
641
|
|
|
557
642
|
- Import: `import { defineAurora } from 'motionary/components/background'; defineAurora();`
|
|
558
|
-
- CDN: https://unpkg.com/motionary@
|
|
643
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
559
644
|
- Attributes: `colors`, `speed`, `intensity`
|
|
560
645
|
|
|
561
646
|
```html
|
|
@@ -569,7 +654,7 @@ A slow drifting gradient mesh behind its content. Transforms only, paused off-sc
|
|
|
569
654
|
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.
|
|
570
655
|
|
|
571
656
|
- Import: `import { defineAutoAnimate } from 'motionary/components/layout'; defineAutoAnimate();`
|
|
572
|
-
- CDN: https://unpkg.com/motionary@
|
|
657
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
573
658
|
- Methods: `enable()`, `disable()`
|
|
574
659
|
|
|
575
660
|
```html
|
|
@@ -589,7 +674,7 @@ Wrap a list or grid: items that are added fade in, removed ones fade out in plac
|
|
|
589
674
|
Set loading and every heading, paragraph, image and button inside becomes a shimmering placeholder of its own size — no extra markup.
|
|
590
675
|
|
|
591
676
|
- Import: `import { defineAutoSkeleton } from 'motionary/components/page'; defineAutoSkeleton();`
|
|
592
|
-
- CDN: https://unpkg.com/motionary@
|
|
677
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
593
678
|
- Attributes: `loading`
|
|
594
679
|
|
|
595
680
|
```html
|
|
@@ -604,7 +689,7 @@ Set loading and every heading, paragraph, image and button inside becomes a shim
|
|
|
604
689
|
Overlapping avatars that spread apart with a spring on hover; extras collapse into “+N”.
|
|
605
690
|
|
|
606
691
|
- Import: `import { defineAvatarStack } from 'motionary/components/ui'; defineAvatarStack();`
|
|
607
|
-
- CDN: https://unpkg.com/motionary@
|
|
692
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
608
693
|
- Attributes: `max`, `size`, `overlap`
|
|
609
694
|
- Methods: `adoptVariants()`, `mount()`
|
|
610
695
|
|
|
@@ -620,7 +705,7 @@ Overlapping avatars that spread apart with a spring on hover; extras collapse in
|
|
|
620
705
|
Appears after you scroll, shows reading progress as a ring and springs the page back up, then moves focus to the top.
|
|
621
706
|
|
|
622
707
|
- Import: `import { defineBackToTop } from 'motionary/components/page'; defineBackToTop();`
|
|
623
|
-
- CDN: https://unpkg.com/motionary@
|
|
708
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
624
709
|
|
|
625
710
|
```html
|
|
626
711
|
<usa-back-to-top offset="400"></usa-back-to-top>
|
|
@@ -631,7 +716,7 @@ Appears after you scroll, shows reading progress as a ring and springs the page
|
|
|
631
716
|
Count or dot badge that bumps with a spring when its value changes; 99+ capping, optional pulse.
|
|
632
717
|
|
|
633
718
|
- Import: `import { defineBadge } from 'motionary/components/ui'; defineBadge();`
|
|
634
|
-
- CDN: https://unpkg.com/motionary@
|
|
719
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
635
720
|
- Attributes: `value`, `max`, `dot`, `label`
|
|
636
721
|
|
|
637
722
|
```html
|
|
@@ -645,7 +730,7 @@ Count or dot badge that bumps with a spring when its value changes; 99+ capping,
|
|
|
645
730
|
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.
|
|
646
731
|
|
|
647
732
|
- Import: `import { defineBadgeWall } from 'motionary/components/widgets'; defineBadgeWall();`
|
|
648
|
-
- CDN: https://unpkg.com/motionary@
|
|
733
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
649
734
|
- Events: `usa:unlock`
|
|
650
735
|
- Methods: `unlock()`
|
|
651
736
|
|
|
@@ -662,7 +747,7 @@ Count or dot badge that bumps with a spring when its value changes; 99+ capping,
|
|
|
662
747
|
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.
|
|
663
748
|
|
|
664
749
|
- Import: `import { defineBarChart } from 'motionary/components/widgets'; defineBarChart();`
|
|
665
|
-
- CDN: https://unpkg.com/motionary@
|
|
750
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
666
751
|
- Attributes: `horizontal`, `unit`, `max`
|
|
667
752
|
|
|
668
753
|
```html
|
|
@@ -675,7 +760,7 @@ Count or dot badge that bumps with a spring when its value changes; 99+ capping,
|
|
|
675
760
|
9.3: a background generator — pick a palette and a style (mesh gradient, grain, stripes, dots), shuffle the seed and copy the CSS.
|
|
676
761
|
|
|
677
762
|
- Import: `import { defineBgGenerator } from 'motionary/components/widgets'; defineBgGenerator();`
|
|
678
|
-
- CDN: https://unpkg.com/motionary@
|
|
763
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
679
764
|
- Attributes: `label`
|
|
680
765
|
- Events: `usa:change`
|
|
681
766
|
- Methods: `shuffle()`, `copy()`
|
|
@@ -689,7 +774,7 @@ Count or dot badge that bumps with a spring when its value changes; 99+ capping,
|
|
|
689
774
|
Soft colour blobs that slowly morph and drift — a fluid gradient backdrop.
|
|
690
775
|
|
|
691
776
|
- Import: `import { defineBlobs } from 'motionary/components/background'; defineBlobs();`
|
|
692
|
-
- CDN: https://unpkg.com/motionary@
|
|
777
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
693
778
|
- Methods: `mount()`
|
|
694
779
|
|
|
695
780
|
```html
|
|
@@ -701,7 +786,7 @@ Soft colour blobs that slowly morph and drift — a fluid gradient backdrop.
|
|
|
701
786
|
A draggable sheet with snap points, inertia and drag-down-to-dismiss — the iOS / Android pattern for web and Windows web-view apps.
|
|
702
787
|
|
|
703
788
|
- Import: `import { defineBottomSheet } from 'motionary/components/ui'; defineBottomSheet();`
|
|
704
|
-
- CDN: https://unpkg.com/motionary@
|
|
789
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
705
790
|
- Attributes: `open`, `snap`
|
|
706
791
|
- Methods: `show()`, `close()`
|
|
707
792
|
|
|
@@ -714,7 +799,7 @@ A draggable sheet with snap points, inertia and drag-down-to-dismiss — the iOS
|
|
|
714
799
|
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".
|
|
715
800
|
|
|
716
801
|
- Import: `import { defineButton } from 'motionary/components/click'; defineButton();`
|
|
717
|
-
- CDN: https://unpkg.com/motionary@
|
|
802
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
718
803
|
- Attributes: `deform`, `state`, `shape`, `disabled`
|
|
719
804
|
- Events: `usa:submit`, `usa:state`
|
|
720
805
|
- Methods: `morphTo()`
|
|
@@ -732,7 +817,7 @@ Spring-driven button click deformation: squash & stretch, elastic border-radius
|
|
|
732
817
|
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).
|
|
733
818
|
|
|
734
819
|
- Import: `import { defineCard } from 'motionary/components/cards'; defineCard();`
|
|
735
|
-
- CDN: https://unpkg.com/motionary@
|
|
820
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
736
821
|
- Attributes: `effect`, `trigger`, `disabled`
|
|
737
822
|
- Events: `usa:flip`, `usa:expand`, `usa:collapse`
|
|
738
823
|
- Methods: `flip()`, `expand()`, `collapse()`
|
|
@@ -756,7 +841,7 @@ Ten card effects you can combine (effect="lift sheen"): flip (hover or click, x/
|
|
|
756
841
|
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.
|
|
757
842
|
|
|
758
843
|
- Import: `import { defineCardStack } from 'motionary/components/cards'; defineCardStack();`
|
|
759
|
-
- CDN: https://unpkg.com/motionary@
|
|
844
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
760
845
|
- Attributes: `visible`, `offset`, `disabled`
|
|
761
846
|
- Events: `usa:swipe`, `usa:empty`
|
|
762
847
|
- Methods: `swipe()`
|
|
@@ -774,7 +859,7 @@ A deck where the top card swipes away left or right (pointer, touch, arrow keys)
|
|
|
774
859
|
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.
|
|
775
860
|
|
|
776
861
|
- Import: `import { defineCarousel } from 'motionary/components/widgets'; defineCarousel();`
|
|
777
|
-
- CDN: https://unpkg.com/motionary@
|
|
862
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
778
863
|
- Attributes: `effect`, `autoplay`, `loop`, `no-controls`, `no-dots`
|
|
779
864
|
- Events: `usa:change`
|
|
780
865
|
- Methods: `next()`, `prev()`, `goTo()`
|
|
@@ -792,7 +877,7 @@ A deck where the top card swipes away left or right (pointer, touch, arrow keys)
|
|
|
792
877
|
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.
|
|
793
878
|
|
|
794
879
|
- Import: `import { defineCarousel3d } from 'motionary/components/cards'; defineCarousel3d();`
|
|
795
|
-
- CDN: https://unpkg.com/motionary@
|
|
880
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
796
881
|
- Attributes: `radius`, `perspective`, `autoplay`
|
|
797
882
|
- Events: `usa:change`
|
|
798
883
|
- Methods: `next()`, `prev()`, `goTo()`
|
|
@@ -810,7 +895,7 @@ Items on a 3D ring, rotated by drag, arrow keys, clicks or autoplay — with spr
|
|
|
810
895
|
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.
|
|
811
896
|
|
|
812
897
|
- Import: `import { defineCartDrawer } from 'motionary/components/widgets'; defineCartDrawer();`
|
|
813
|
-
- CDN: https://unpkg.com/motionary@
|
|
898
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
814
899
|
- Events: `usa:open`, `usa:close`, `usa:change`
|
|
815
900
|
- Methods: `add()`, `removeItem()`, `toggle()`
|
|
816
901
|
|
|
@@ -824,7 +909,7 @@ Items on a 3D ring, rotated by drag, arrow keys, clicks or autoplay — with spr
|
|
|
824
909
|
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.
|
|
825
910
|
|
|
826
911
|
- Import: `import { defineChapterNav } from 'motionary/components/widgets'; defineChapterNav();`
|
|
827
|
-
- CDN: https://unpkg.com/motionary@
|
|
912
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
828
913
|
- Attributes: `for`, `orientation`, `label`
|
|
829
914
|
- Events: `usa:chapter`
|
|
830
915
|
- Methods: `goTo()`
|
|
@@ -842,7 +927,7 @@ Items on a 3D ring, rotated by drag, arrow keys, clicks or autoplay — with spr
|
|
|
842
927
|
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.
|
|
843
928
|
|
|
844
929
|
- Import: `import { defineChatComposer } from 'motionary/components/widgets'; defineChatComposer();`
|
|
845
|
-
- CDN: https://unpkg.com/motionary@
|
|
930
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
846
931
|
- Attributes: `placeholder`, `label`, `rows`, `busy`
|
|
847
932
|
- Events: `usa:stop`, `usa:send`
|
|
848
933
|
- Methods: `send()`, `clear()`
|
|
@@ -857,7 +942,7 @@ Items on a 3D ring, rotated by drag, arrow keys, clicks or autoplay — with spr
|
|
|
857
942
|
The circle draws itself, then a check, cross or exclamation strokes in with a pop. Great after a payment or upload.
|
|
858
943
|
|
|
859
944
|
- Import: `import { defineCheck } from 'motionary/components/feedback'; defineCheck();`
|
|
860
|
-
- CDN: https://unpkg.com/motionary@
|
|
945
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
861
946
|
- Attributes: `kind`, `size`, `label`
|
|
862
947
|
- Events: `usa:complete`
|
|
863
948
|
- Methods: `play()`, `reset()`
|
|
@@ -871,7 +956,7 @@ The circle draws itself, then a check, cross or exclamation strokes in with a po
|
|
|
871
956
|
Form-associated checkbox: the box springs and the check draws itself; indeterminate state, circle shape.
|
|
872
957
|
|
|
873
958
|
- Import: `import { defineCheckbox } from 'motionary/components/click'; defineCheckbox();`
|
|
874
|
-
- CDN: https://unpkg.com/motionary@
|
|
959
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
875
960
|
- Attributes: `checked`, `indeterminate`, `disabled`, `label`
|
|
876
961
|
- Events: `usa:change`
|
|
877
962
|
- Methods: `toggle()`
|
|
@@ -885,7 +970,7 @@ Form-associated checkbox: the box springs and the check draws itself; indetermin
|
|
|
885
970
|
Wrap anything: ripple, burst (circle, star, heart, emoji), confetti, squish, press-spring and error shake — combinable, keyboard-friendly, optional haptics.
|
|
886
971
|
|
|
887
972
|
- Import: `import { defineClick } from 'motionary/components/click'; defineClick();`
|
|
888
|
-
- CDN: https://unpkg.com/motionary@
|
|
973
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
889
974
|
- Attributes: `effect`, `disabled`
|
|
890
975
|
- Events: `usa:click-effect`
|
|
891
976
|
- Methods: `play()`, `shake()`
|
|
@@ -901,7 +986,7 @@ Wrap anything: ripple, burst (circle, star, heart, emoji), confetti, squish, pre
|
|
|
901
986
|
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).
|
|
902
987
|
|
|
903
988
|
- Import: `import { defineClockControl } from 'motionary/components/widgets'; defineClockControl();`
|
|
904
|
-
- CDN: https://unpkg.com/motionary@
|
|
989
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
905
990
|
- Attributes: `speeds`, `label`
|
|
906
991
|
- Events: `usa:change`
|
|
907
992
|
|
|
@@ -919,7 +1004,7 @@ createTimeline().add(a, [{ opacity: 0 }, { opacity: 1 }], 400).add(b, [{ transfo
|
|
|
919
1004
|
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.
|
|
920
1005
|
|
|
921
1006
|
- Import: `import { defineCodeExport } from 'motionary/components/widgets'; defineCodeExport();`
|
|
922
|
-
- CDN: https://unpkg.com/motionary@
|
|
1007
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
923
1008
|
- Attributes: `for`, `formats`
|
|
924
1009
|
- Events: `usa:copy`
|
|
925
1010
|
- Methods: `copy()`
|
|
@@ -935,7 +1020,7 @@ createTimeline().add(a, [{ opacity: 0 }, { opacity: 1 }], 400).add(b, [{ transfo
|
|
|
935
1020
|
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.
|
|
936
1021
|
|
|
937
1022
|
- Import: `import { defineColorPicker } from 'motionary/components/widgets'; defineColorPicker();`
|
|
938
|
-
- CDN: https://unpkg.com/motionary@
|
|
1023
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
939
1024
|
- Attributes: `swatches`
|
|
940
1025
|
- Events: `usa:change`, `usa:input`
|
|
941
1026
|
|
|
@@ -948,7 +1033,7 @@ createTimeline().add(a, [{ opacity: 0 }, { opacity: 1 }], 400).add(b, [{ transfo
|
|
|
948
1033
|
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).
|
|
949
1034
|
|
|
950
1035
|
- Import: `import { defineCommandPalette } from 'motionary/components/widgets'; defineCommandPalette();`
|
|
951
|
-
- CDN: https://unpkg.com/motionary@
|
|
1036
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
952
1037
|
- Attributes: `placeholder`, `label`, `hotkey`, `inline`
|
|
953
1038
|
- Events: `usa:run`, `usa:open`, `usa:close`
|
|
954
1039
|
- Methods: `setCommands()`, `show()`, `close()`, `toggle()`
|
|
@@ -966,7 +1051,7 @@ createTimeline().add(a, [{ opacity: 0 }, { opacity: 1 }], 400).add(b, [{ transfo
|
|
|
966
1051
|
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.
|
|
967
1052
|
|
|
968
1053
|
- Import: `import { defineCompare } from 'motionary/components/widgets'; defineCompare();`
|
|
969
|
-
- CDN: https://unpkg.com/motionary@
|
|
1054
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
970
1055
|
- Attributes: `orientation`, `labels`
|
|
971
1056
|
- Events: `usa:change`
|
|
972
1057
|
|
|
@@ -982,7 +1067,7 @@ createTimeline().add(a, [{ opacity: 0 }, { opacity: 1 }], 400).add(b, [{ transfo
|
|
|
982
1067
|
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.
|
|
983
1068
|
|
|
984
1069
|
- Import: `import { defineCountdown } from 'motionary/components/widgets'; defineCountdown();`
|
|
985
|
-
- CDN: https://unpkg.com/motionary@
|
|
1070
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
986
1071
|
- Attributes: `to`, `seconds`
|
|
987
1072
|
- Events: `usa:tick`, `usa:done`
|
|
988
1073
|
- Methods: `start()`, `stop()`
|
|
@@ -996,7 +1081,7 @@ createTimeline().add(a, [{ opacity: 0 }, { opacity: 1 }], 400).add(b, [{ transfo
|
|
|
996
1081
|
Counts up to a number when visible, locale-formatted with tabular digits. Set .value to animate live dashboards.
|
|
997
1082
|
|
|
998
1083
|
- Import: `import { defineCounter } from 'motionary/components/text'; defineCounter();`
|
|
999
|
-
- CDN: https://unpkg.com/motionary@
|
|
1084
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
1000
1085
|
- Attributes: `to`, `decimals`, `locale`, `prefix`, `suffix`, `grouping`
|
|
1001
1086
|
- Events: `usa:complete`
|
|
1002
1087
|
- Methods: `play()`, `format()`
|
|
@@ -1010,7 +1095,7 @@ Counts up to a number when visible, locale-formatted with tabular digits. Set .v
|
|
|
1010
1095
|
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.
|
|
1011
1096
|
|
|
1012
1097
|
- Import: `import { defineCube } from 'motionary/components/depth'; defineCube();`
|
|
1013
|
-
- CDN: https://unpkg.com/motionary@
|
|
1098
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
1014
1099
|
- Attributes: `size`, `autoplay`
|
|
1015
1100
|
- Events: `usa:change`
|
|
1016
1101
|
- Methods: `show()`, `next()`, `prev()`
|
|
@@ -1026,7 +1111,7 @@ Up to six children become the faces of a CSS 3D cube. Drag / swipe, arrow keys,
|
|
|
1026
1111
|
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.
|
|
1027
1112
|
|
|
1028
1113
|
- Import: `import { defineCubeGallery } from 'motionary/components/widgets'; defineCubeGallery();`
|
|
1029
|
-
- CDN: https://unpkg.com/motionary@
|
|
1114
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
1030
1115
|
- Attributes: `axis`, `autoplay`
|
|
1031
1116
|
- Events: `usa:change`
|
|
1032
1117
|
- Methods: `next()`, `prev()`, `goTo()`
|
|
@@ -1044,7 +1129,7 @@ Up to six children become the faces of a CSS 3D cube. Drag / swipe, arrow keys,
|
|
|
1044
1129
|
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.)
|
|
1045
1130
|
|
|
1046
1131
|
- Import: `import { defineCursor } from 'motionary/components/page'; defineCursor();`
|
|
1047
|
-
- CDN: https://unpkg.com/motionary@
|
|
1132
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
1048
1133
|
- Attributes: `mode`, `size`, `color`, `hide-native`
|
|
1049
1134
|
|
|
1050
1135
|
```html
|
|
@@ -1056,7 +1141,7 @@ A spring-lagged ring, a magnetic ring that wraps buttons and links, or a soft gl
|
|
|
1056
1141
|
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.
|
|
1057
1142
|
|
|
1058
1143
|
- Import: `import { defineDatePicker } from 'motionary/components/widgets'; defineDatePicker();`
|
|
1059
|
-
- CDN: https://unpkg.com/motionary@
|
|
1144
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
1060
1145
|
- Attributes: `min`, `max`, `first-day`, `locale`
|
|
1061
1146
|
- Events: `usa:change`
|
|
1062
1147
|
- Methods: `showMonth()`
|
|
@@ -1070,7 +1155,7 @@ A spring-lagged ring, a magnetic ring that wraps buttons and links, or a soft gl
|
|
|
1070
1155
|
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.
|
|
1071
1156
|
|
|
1072
1157
|
- Import: `import { defineDepth } from 'motionary/components/depth'; defineDepth();`
|
|
1073
|
-
- CDN: https://unpkg.com/motionary@
|
|
1158
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
1074
1159
|
- Attributes: `source`, `strength`, `rotate`
|
|
1075
1160
|
- Methods: `requestPermission()`
|
|
1076
1161
|
|
|
@@ -1089,7 +1174,7 @@ Layers with data-depth (-1…1) shift and scale by depth as the pointer moves, t
|
|
|
1089
1174
|
Animated modal, side drawers and bottom sheet on the native <dialog>: top layer, focus trap, Esc, backdrop click.
|
|
1090
1175
|
|
|
1091
1176
|
- Import: `import { defineDialog } from 'motionary/components/transitions'; defineDialog();`
|
|
1092
|
-
- CDN: https://unpkg.com/motionary@
|
|
1177
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
1093
1178
|
- Attributes: `open`, `kind`, `label`
|
|
1094
1179
|
- Events: `usa:open`, `usa:beforeclose`, `usa:close`
|
|
1095
1180
|
- Slots: default
|
|
@@ -1108,7 +1193,7 @@ Animated modal, side drawers and bottom sheet on the native <dialog>: top layer,
|
|
|
1108
1193
|
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.
|
|
1109
1194
|
|
|
1110
1195
|
- Import: `import { defineDisclosure } from 'motionary/components/widgets'; defineDisclosure();`
|
|
1111
|
-
- CDN: https://unpkg.com/motionary@
|
|
1196
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
1112
1197
|
- Events: `usa:toggle`
|
|
1113
1198
|
- Methods: `toggle()`, `openAll()`, `closeAll()`
|
|
1114
1199
|
|
|
@@ -1124,7 +1209,7 @@ Animated modal, side drawers and bottom sheet on the native <dialog>: top layer,
|
|
|
1124
1209
|
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.
|
|
1125
1210
|
|
|
1126
1211
|
- Import: `import { defineDistort } from 'motionary/components/webgl'; defineDistort();`
|
|
1127
|
-
- CDN: https://unpkg.com/motionary@
|
|
1212
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
1128
1213
|
|
|
1129
1214
|
```html
|
|
1130
1215
|
<usa-distort>
|
|
@@ -1137,7 +1222,7 @@ The image bulges and splits into RGB around the pointer. Without WebGL (or a cro
|
|
|
1137
1222
|
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.
|
|
1138
1223
|
|
|
1139
1224
|
- Import: `import { defineDock } from 'motionary/components/widgets'; defineDock();`
|
|
1140
|
-
- CDN: https://unpkg.com/motionary@
|
|
1225
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
1141
1226
|
- Attributes: `orientation`, `magnify`, `range`
|
|
1142
1227
|
|
|
1143
1228
|
```html
|
|
@@ -1153,19 +1238,55 @@ The image bulges and splits into RGB around the pointer. Without WebGL (or a cro
|
|
|
1153
1238
|
A dot grid that swells and links up with lines around the pointer.
|
|
1154
1239
|
|
|
1155
1240
|
- Import: `import { defineDotNetwork } from 'motionary/components/background'; defineDotNetwork();`
|
|
1156
|
-
- CDN: https://unpkg.com/motionary@
|
|
1241
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
1157
1242
|
- Methods: `mount()`
|
|
1158
1243
|
|
|
1159
1244
|
```html
|
|
1160
1245
|
<usa-dot-network gap="28">…</usa-dot-network>
|
|
1161
1246
|
```
|
|
1162
1247
|
|
|
1248
|
+
### <usa-dotlottie> — Interactive dotLottie (themes + state machine)
|
|
1249
|
+
|
|
1250
|
+
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.
|
|
1251
|
+
|
|
1252
|
+
- Import: `import { defineDotLottie } from 'motionary/components/dotlottie'; defineDotLottie();`
|
|
1253
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
1254
|
+
- Attributes: `theme`, `state-machine`
|
|
1255
|
+
- Events: `usa:error`, `usa:state`, `usa:custom`, `usa:runtime-missing`
|
|
1256
|
+
- Methods: `fire()`, `setInput()`, `setTheme()`
|
|
1257
|
+
- Requires: motionary/runtime/vector + motionary/runtime/lottie-state
|
|
1258
|
+
- Install: `npm i motionary`
|
|
1259
|
+
- Order: Register the core first, then the module: use(vector) also registers the core. CDN: load runtime.iife.js, then runtime/vector.iife.js (it registers itself). Register the core first, then the module: use(lottieState) also registers the core. CDN: load runtime.iife.js, then runtime/lottie-state.iife.js (it registers itself).
|
|
1260
|
+
|
|
1261
|
+
```js
|
|
1262
|
+
import { use } from 'motionary/runtime';
|
|
1263
|
+
import { vector } from 'motionary/runtime/vector';
|
|
1264
|
+
import { lottieState } from 'motionary/runtime/lottie-state';
|
|
1265
|
+
import { defineDotLottie } from 'motionary/components/dotlottie';
|
|
1266
|
+
|
|
1267
|
+
use(vector, lottieState);
|
|
1268
|
+
defineDotLottie(); // registers <usa-dotlottie> — after the prerequisites
|
|
1269
|
+
```
|
|
1270
|
+
|
|
1271
|
+
```html
|
|
1272
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></script>
|
|
1273
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/vector.iife.js"></script>
|
|
1274
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/lottie-state.iife.js"></script>
|
|
1275
|
+
<!-- then the component bundles -->
|
|
1276
|
+
<script src="https://unpkg.com/motionary@11/dist/components.umd.js"></script>
|
|
1277
|
+
<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>
|
|
1278
|
+
```
|
|
1279
|
+
|
|
1280
|
+
```html
|
|
1281
|
+
<usa-dotlottie src="/anim/button.lottie" state-machine="toggle" theme="dark" label="Like button"></usa-dotlottie>
|
|
1282
|
+
```
|
|
1283
|
+
|
|
1163
1284
|
### <usa-double-tap> — Double tap
|
|
1164
1285
|
|
|
1165
1286
|
Double tap or double click a photo to pop a heart (or any emoji) at the tap point. L for keyboard users.
|
|
1166
1287
|
|
|
1167
1288
|
- Import: `import { defineDoubleTap } from 'motionary/components/click'; defineDoubleTap();`
|
|
1168
|
-
- CDN: https://unpkg.com/motionary@
|
|
1289
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
1169
1290
|
- Events: `usa:double-tap`
|
|
1170
1291
|
- Methods: `pop()`
|
|
1171
1292
|
|
|
@@ -1180,7 +1301,7 @@ Double tap or double click a photo to pop a heart (or any emoji) at the tap poin
|
|
|
1180
1301
|
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.
|
|
1181
1302
|
|
|
1182
1303
|
- Import: `import { defineDraggable } from 'motionary/components/physics'; defineDraggable();`
|
|
1183
|
-
- CDN: https://unpkg.com/motionary@
|
|
1304
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
1184
1305
|
- Attributes: `axis`, `disabled`, `preset`
|
|
1185
1306
|
- Events: `usa:settle`, `usa:drag-start`, `usa:drag`, `usa:drag-end`
|
|
1186
1307
|
- Methods: `moveTo()`, `reset()`
|
|
@@ -1197,7 +1318,7 @@ Drag with mouse, touch, pen or arrow keys. spring-back returns home with a wobbl
|
|
|
1197
1318
|
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.
|
|
1198
1319
|
|
|
1199
1320
|
- Import: `import { defineDraw } from 'motionary/components/svg'; defineDraw();`
|
|
1200
|
-
- CDN: https://unpkg.com/motionary@
|
|
1321
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
1201
1322
|
- Events: `usa:complete`
|
|
1202
1323
|
- Methods: `play()`
|
|
1203
1324
|
|
|
@@ -1212,7 +1333,7 @@ Every stroke of the SVG inside draws itself — on view, hover, click or scrubbe
|
|
|
1212
1333
|
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.
|
|
1213
1334
|
|
|
1214
1335
|
- Import: `import { defineDrawer } from 'motionary/components/ui'; defineDrawer();`
|
|
1215
|
-
- CDN: https://unpkg.com/motionary@
|
|
1336
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
1216
1337
|
- Methods: `show()`, `close()`
|
|
1217
1338
|
|
|
1218
1339
|
```html
|
|
@@ -1225,7 +1346,7 @@ A side panel that springs in, drags / swipes closed, traps the page behind a bac
|
|
|
1225
1346
|
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.
|
|
1226
1347
|
|
|
1227
1348
|
- Import: `import { defineEqualizer } from 'motionary/components/widgets'; defineEqualizer();`
|
|
1228
|
-
- CDN: https://unpkg.com/motionary@
|
|
1349
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
1229
1350
|
- Attributes: `bands`
|
|
1230
1351
|
- Events: `usa:change`
|
|
1231
1352
|
- Methods: `applyPreset()`
|
|
@@ -1240,7 +1361,7 @@ A side panel that springs in, drags / swipes closed, traps the page behind a bac
|
|
|
1240
1361
|
A floating action button whose actions fan out with a staggered spring: up, down, left, right or radial.
|
|
1241
1362
|
|
|
1242
1363
|
- Import: `import { defineFab } from 'motionary/components/ui'; defineFab();`
|
|
1243
|
-
- CDN: https://unpkg.com/motionary@
|
|
1364
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
1244
1365
|
- Attributes: `direction`, `gap`
|
|
1245
1366
|
- Events: `usa:toggle`
|
|
1246
1367
|
- Methods: `toggle()`
|
|
@@ -1258,7 +1379,7 @@ A floating action button whose actions fan out with a staggered spring: up, down
|
|
|
1258
1379
|
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.
|
|
1259
1380
|
|
|
1260
1381
|
- Import: `import { defineFestivalBanner } from 'motionary/components/widgets'; defineFestivalBanner();`
|
|
1261
|
-
- CDN: https://unpkg.com/motionary@
|
|
1382
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
1262
1383
|
- Attributes: `theme`, `label`, `dismissible`
|
|
1263
1384
|
- Events: `usa:dismiss`
|
|
1264
1385
|
- Methods: `dismiss()`
|
|
@@ -1272,7 +1393,7 @@ A floating action button whose actions fan out with a staggered spring: up, down
|
|
|
1272
1393
|
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.
|
|
1273
1394
|
|
|
1274
1395
|
- Import: `import { defineField } from 'motionary/components/widgets'; defineField();`
|
|
1275
|
-
- CDN: https://unpkg.com/motionary@
|
|
1396
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
1276
1397
|
- Attributes: `label`, `hint`, `error`, `strength`
|
|
1277
1398
|
- Events: `usa:invalid`, `usa:valid`
|
|
1278
1399
|
- Methods: `validate()`
|
|
@@ -1287,7 +1408,7 @@ A floating action button whose actions fan out with a staggered spring: up, down
|
|
|
1287
1408
|
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.
|
|
1288
1409
|
|
|
1289
1410
|
- Import: `import { defineFileDrop } from 'motionary/components/widgets'; defineFileDrop();`
|
|
1290
|
-
- CDN: https://unpkg.com/motionary@
|
|
1411
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
1291
1412
|
- Events: `usa:files`
|
|
1292
1413
|
- Methods: `setProgress()`, `addFiles()`, `clear()`
|
|
1293
1414
|
|
|
@@ -1303,7 +1424,7 @@ A floating action button whose actions fan out with a staggered spring: up, down
|
|
|
1303
1424
|
Full-screen sections that snap one at a time, with keyboard paging, dot navigation and a usa:section event.
|
|
1304
1425
|
|
|
1305
1426
|
- Import: `import { defineFullpage } from 'motionary/components/page'; defineFullpage();`
|
|
1306
|
-
- CDN: https://unpkg.com/motionary@
|
|
1427
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
1307
1428
|
- Events: `usa:section`
|
|
1308
1429
|
- Methods: `go()`, `next()`, `prev()`
|
|
1309
1430
|
|
|
@@ -1319,7 +1440,7 @@ Full-screen sections that snap one at a time, with keyboard paging, dot navigati
|
|
|
1319
1440
|
<usa-fx> plays any registered effect on its child: pulse, pop, jelly, wiggle, heartbeat, bounce, flash (≤ 2 per second), tada, shake. Click the button.
|
|
1320
1441
|
|
|
1321
1442
|
- Import: `import { defineFx } from 'motionary/components/fx'; defineFx();`
|
|
1322
|
-
- CDN: https://unpkg.com/motionary@
|
|
1443
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
1323
1444
|
- Attributes: `effect`, `trigger`, `options`
|
|
1324
1445
|
- Methods: `play()`
|
|
1325
1446
|
|
|
@@ -1334,7 +1455,7 @@ Full-screen sections that snap one at a time, with keyboard paging, dot navigati
|
|
|
1334
1455
|
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".
|
|
1335
1456
|
|
|
1336
1457
|
- Import: `import { defineGauge } from 'motionary/components/widgets'; defineGauge();`
|
|
1337
|
-
- CDN: https://unpkg.com/motionary@
|
|
1458
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
1338
1459
|
- Attributes: `min`, `max`, `zones`, `unit`, `label`
|
|
1339
1460
|
|
|
1340
1461
|
```html
|
|
@@ -1346,7 +1467,7 @@ Full-screen sections that snap one at a time, with keyboard paging, dot navigati
|
|
|
1346
1467
|
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.
|
|
1347
1468
|
|
|
1348
1469
|
- Import: `import { defineGenArt } from 'motionary/components/widgets'; defineGenArt();`
|
|
1349
|
-
- CDN: https://unpkg.com/motionary@
|
|
1470
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
1350
1471
|
- Attributes: `art`, `seed`, `palette`, `label`
|
|
1351
1472
|
- Events: `usa:generate`
|
|
1352
1473
|
- Methods: `generate()`, `toDataURL()`
|
|
@@ -1360,7 +1481,7 @@ Full-screen sections that snap one at a time, with keyboard paging, dot navigati
|
|
|
1360
1481
|
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").
|
|
1361
1482
|
|
|
1362
1483
|
- Import: `import { defineGestureFx } from 'motionary/components/effects'; defineGestureFx();`
|
|
1363
|
-
- CDN: https://unpkg.com/motionary@
|
|
1484
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
1364
1485
|
- Attributes: `gesture`, `effect`, `options`
|
|
1365
1486
|
|
|
1366
1487
|
```html
|
|
@@ -1374,7 +1495,7 @@ Full-screen sections that snap one at a time, with keyboard paging, dot navigati
|
|
|
1374
1495
|
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).
|
|
1375
1496
|
|
|
1376
1497
|
- Import: `import { defineGestureSticker } from 'motionary/components/widgets'; defineGestureSticker();`
|
|
1377
|
-
- CDN: https://unpkg.com/motionary@
|
|
1498
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
1378
1499
|
- Attributes: `min`, `max`, `label`
|
|
1379
1500
|
- Events: `usa:transform`
|
|
1380
1501
|
- Methods: `transformTo()`, `reset()`
|
|
@@ -1385,12 +1506,53 @@ Full-screen sections that snap one at a time, with keyboard paging, dot navigati
|
|
|
1385
1506
|
</usa-gesture-sticker>
|
|
1386
1507
|
```
|
|
1387
1508
|
|
|
1509
|
+
### <usa-gl-model> — Compressed 3D model (Draco / KTX2)
|
|
1510
|
+
|
|
1511
|
+
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.
|
|
1512
|
+
|
|
1513
|
+
- Import: `import { defineGlModel } from 'motionary/components/gl-model'; defineGlModel();`
|
|
1514
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
1515
|
+
- Events: `usa:runtime-missing`
|
|
1516
|
+
- Requires: motionary/runtime/gl + motionary/runtime/format-gltf + motionary/runtime/gltf-decoders + draco3d + basis_transcoder.js
|
|
1517
|
+
- 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`
|
|
1518
|
+
- Order: Register the core first, then the module: use(gl) also registers the core. CDN: load runtime.iife.js, then runtime/gl.iife.js (it registers itself). Register the core first, then the module: use(formatGltf) also registers the core. CDN: load runtime.iife.js, then runtime/format-gltf.iife.js (it registers itself). Register the core first, then the module: use(gltfDecoders) also registers the core. CDN: load runtime.iife.js, then runtime/gltf-decoders.iife.js (it registers itself). Install draco3d next to motionary, then register the lazy loader with provideGltfDecoder('draco', () => import('draco3d')) before a compressed model loads. Without a bundler: load Google’s draco_decoder.js from gstatic (window.DracoDecoderModule) and provideGltfDecoder('draco', () => window.DracoDecoderModule). Missing → a clear error naming the extension and this line. The transcoder is not published on npm by Binomial: copy basis_transcoder.js + basis_transcoder.wasm (same folder) into your static files, then provideGltfDecoder('ktx2', …) before a KTX2 model loads; or load it from the CDN (window.BASIS) and provideGltfDecoder('ktx2', () => window.BASIS). Missing → a clear error naming the extension and this line.
|
|
1519
|
+
|
|
1520
|
+
```js
|
|
1521
|
+
import { use } from 'motionary/runtime';
|
|
1522
|
+
import { gl } from 'motionary/runtime/gl';
|
|
1523
|
+
import { formatGltf } from 'motionary/runtime/format-gltf';
|
|
1524
|
+
import { gltfDecoders } from 'motionary/runtime/gltf-decoders';
|
|
1525
|
+
import { provideGltfDecoder } from 'motionary/runtime/gltf-decoders';
|
|
1526
|
+
import { defineGlModel } from 'motionary/components/gl-model';
|
|
1527
|
+
|
|
1528
|
+
use(gl, formatGltf, gltfDecoders);
|
|
1529
|
+
provideGltfDecoder('draco', () => import('draco3d')); // lazy: fetched when the first Draco-compressed model loads
|
|
1530
|
+
provideGltfDecoder('ktx2', () => import('/vendor/basis_transcoder.js').then((m) => m.default || window.BASIS)); // lazy: fetched with the first KTX2 texture
|
|
1531
|
+
defineGlModel(); // registers <usa-gl-model> — after the prerequisites
|
|
1532
|
+
```
|
|
1533
|
+
|
|
1534
|
+
```html
|
|
1535
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></script>
|
|
1536
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/gl.iife.js"></script>
|
|
1537
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/format-gltf.iife.js"></script>
|
|
1538
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/gltf-decoders.iife.js"></script>
|
|
1539
|
+
<script src="https://www.gstatic.com/draco/versioned/decoders/1.5.7/draco_decoder.js"></script>
|
|
1540
|
+
<script src="https://cdn.jsdelivr.net/gh/BinomialLLC/basis_universal@1.16.4/webgl/transcoder/build/basis_transcoder.js"></script>
|
|
1541
|
+
<!-- then the component bundles -->
|
|
1542
|
+
<script src="https://unpkg.com/motionary@11/dist/components.umd.js"></script>
|
|
1543
|
+
<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>
|
|
1544
|
+
```
|
|
1545
|
+
|
|
1546
|
+
```html
|
|
1547
|
+
<usa-gl-model src="/models/robot-draco.glb" controls label="Robot"></usa-gl-model>
|
|
1548
|
+
```
|
|
1549
|
+
|
|
1388
1550
|
### <usa-gl-scene> — 3D scene (glTF / OBJ)
|
|
1389
1551
|
|
|
1390
|
-
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.
|
|
1552
|
+
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.
|
|
1391
1553
|
|
|
1392
1554
|
- Import: `import { defineGlScene } from 'motionary/components/widgets'; defineGlScene();`
|
|
1393
|
-
- CDN: https://unpkg.com/motionary@
|
|
1555
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
1394
1556
|
- Attributes: `src`, `shape`, `color`, `metallic`, `roughness`, `background`, `exposure`, `controls`, `auto-rotate`, `video`, `video-scrub`, `label`, `animation`, `animation-speed`
|
|
1395
1557
|
- Events: `usa:error`, `usa:load`, `usa:runtime-missing`
|
|
1396
1558
|
- Methods: `reload()`
|
|
@@ -1411,14 +1573,14 @@ defineGlScene(); // registers <usa-gl-scene> — after the prerequisites
|
|
|
1411
1573
|
```
|
|
1412
1574
|
|
|
1413
1575
|
```html
|
|
1414
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1415
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1416
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1417
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1418
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1576
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></script>
|
|
1577
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/gl.iife.js"></script>
|
|
1578
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/format-gltf.iife.js"></script>
|
|
1579
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/format-obj.iife.js"></script>
|
|
1580
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/gltf-anim.iife.js"></script>
|
|
1419
1581
|
<!-- then the component bundles -->
|
|
1420
|
-
<script src="https://unpkg.com/motionary@
|
|
1421
|
-
<script src="https://unpkg.com/motionary@
|
|
1582
|
+
<script src="https://unpkg.com/motionary@11/dist/components.umd.js"></script>
|
|
1583
|
+
<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>
|
|
1422
1584
|
```
|
|
1423
1585
|
|
|
1424
1586
|
```html
|
|
@@ -1430,7 +1592,7 @@ defineGlScene(); // registers <usa-gl-scene> — after the prerequisites
|
|
|
1430
1592
|
An RGB-split, sliced glitch — always on or on hover.
|
|
1431
1593
|
|
|
1432
1594
|
- Import: `import { defineGlitch } from 'motionary/components/text'; defineGlitch();`
|
|
1433
|
-
- CDN: https://unpkg.com/motionary@
|
|
1595
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
1434
1596
|
- Attributes: `text`, `intensity`
|
|
1435
1597
|
- Methods: `mount()`, `splitChars()`
|
|
1436
1598
|
|
|
@@ -1443,7 +1605,7 @@ An RGB-split, sliced glitch — always on or on hover.
|
|
|
1443
1605
|
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.
|
|
1444
1606
|
|
|
1445
1607
|
- Import: `import { defineGlobe } from 'motionary/components/widgets'; defineGlobe();`
|
|
1446
|
-
- CDN: https://unpkg.com/motionary@
|
|
1608
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
1447
1609
|
- Attributes: `markers`, `speed`, `tilt`
|
|
1448
1610
|
- Events: `usa:focus`
|
|
1449
1611
|
- Methods: `flyTo()`
|
|
@@ -1458,7 +1620,7 @@ An RGB-split, sliced glitch — always on or on hover.
|
|
|
1458
1620
|
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.
|
|
1459
1621
|
|
|
1460
1622
|
- Import: `import { defineGpuParticles } from 'motionary/components/widgets'; defineGpuParticles();`
|
|
1461
|
-
- CDN: https://unpkg.com/motionary@
|
|
1623
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
1462
1624
|
- Attributes: `count`, `mode`, `colors`, `size`, `speed`, `trail`, `pointer`, `label`
|
|
1463
1625
|
- Events: `usa:backend`
|
|
1464
1626
|
|
|
@@ -1471,7 +1633,7 @@ An RGB-split, sliced glitch — always on or on hover.
|
|
|
1471
1633
|
Text filled with a multi-colour gradient that keeps flowing.
|
|
1472
1634
|
|
|
1473
1635
|
- Import: `import { defineGradientText } from 'motionary/components/text'; defineGradientText();`
|
|
1474
|
-
- CDN: https://unpkg.com/motionary@
|
|
1636
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
1475
1637
|
- Attributes: `colors`, `speed`, `angle`
|
|
1476
1638
|
- Methods: `mount()`, `splitChars()`
|
|
1477
1639
|
|
|
@@ -1484,7 +1646,7 @@ Text filled with a multi-colour gradient that keeps flowing.
|
|
|
1484
1646
|
An SVG-noise grain overlay — no image to ship. animated makes it jitter like film.
|
|
1485
1647
|
|
|
1486
1648
|
- Import: `import { defineGrain } from 'motionary/components/background'; defineGrain();`
|
|
1487
|
-
- CDN: https://unpkg.com/motionary@
|
|
1649
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
1488
1650
|
- Attributes: `opacity`, `blend`, `scale`
|
|
1489
1651
|
|
|
1490
1652
|
```html
|
|
@@ -1498,7 +1660,7 @@ An SVG-noise grain overlay — no image to ship. animated makes it jitter like f
|
|
|
1498
1660
|
A line grid behind the content that lights up around the pointer.
|
|
1499
1661
|
|
|
1500
1662
|
- Import: `import { defineGridGlow } from 'motionary/components/background'; defineGridGlow();`
|
|
1501
|
-
- CDN: https://unpkg.com/motionary@
|
|
1663
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
1502
1664
|
- Methods: `mount()`
|
|
1503
1665
|
|
|
1504
1666
|
```html
|
|
@@ -1512,7 +1674,7 @@ A line grid behind the content that lights up around the pointer.
|
|
|
1512
1674
|
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.
|
|
1513
1675
|
|
|
1514
1676
|
- Import: `import { defineGyroCard } from 'motionary/components/widgets'; defineGyroCard();`
|
|
1515
|
-
- CDN: https://unpkg.com/motionary@
|
|
1677
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
1516
1678
|
- Attributes: `max`, `glare`
|
|
1517
1679
|
- Events: `usa:tilt`
|
|
1518
1680
|
- Methods: `tilt()`, `wobble()`
|
|
@@ -1529,7 +1691,7 @@ A line grid behind the content that lights up around the pointer.
|
|
|
1529
1691
|
The text draws itself stroke by stroke, then fills in — signatures, hero words.
|
|
1530
1692
|
|
|
1531
1693
|
- Import: `import { defineHandwriting } from 'motionary/components/text'; defineHandwriting();`
|
|
1532
|
-
- CDN: https://unpkg.com/motionary@
|
|
1694
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
1533
1695
|
- Attributes: `text`, `size`, `font`
|
|
1534
1696
|
- Events: `usa:complete`
|
|
1535
1697
|
- Methods: `mount()`, `splitChars()`
|
|
@@ -1543,7 +1705,7 @@ The text draws itself stroke by stroke, then fills in — signatures, hero words
|
|
|
1543
1705
|
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.
|
|
1544
1706
|
|
|
1545
1707
|
- Import: `import { defineHeroVideo } from 'motionary/components/widgets'; defineHeroVideo();`
|
|
1546
|
-
- CDN: https://unpkg.com/motionary@
|
|
1708
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
1547
1709
|
- Attributes: `label`, `scrub`, `poster`
|
|
1548
1710
|
- Methods: `toggle()`
|
|
1549
1711
|
|
|
@@ -1559,7 +1721,7 @@ The text draws itself stroke by stroke, then fills in — signatures, hero words
|
|
|
1559
1721
|
Press and hold (pointer, Space or Enter) while a ring fills; releasing early rewinds. For destructive actions.
|
|
1560
1722
|
|
|
1561
1723
|
- Import: `import { defineHold } from 'motionary/components/click'; defineHold();`
|
|
1562
|
-
- CDN: https://unpkg.com/motionary@
|
|
1724
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
1563
1725
|
- Attributes: `duration`, `disabled`
|
|
1564
1726
|
- Events: `usa:progress`, `usa:confirm`, `usa:cancel`
|
|
1565
1727
|
- Methods: `cancel()`
|
|
@@ -1573,7 +1735,7 @@ Press and hold (pointer, Space or Enter) while a ring fills; releasing early rew
|
|
|
1573
1735
|
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.
|
|
1574
1736
|
|
|
1575
1737
|
- Import: `import { defineHudPanel } from 'motionary/components/widgets'; defineHudPanel();`
|
|
1576
|
-
- CDN: https://unpkg.com/motionary@
|
|
1738
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
1577
1739
|
- Attributes: `title`, `status`, `color`
|
|
1578
1740
|
- Events: `usa:boot`
|
|
1579
1741
|
- Methods: `boot()`
|
|
@@ -1590,7 +1752,7 @@ Press and hold (pointer, Space or Enter) while a ring fills; releasing early rew
|
|
|
1590
1752
|
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.
|
|
1591
1753
|
|
|
1592
1754
|
- Import: `import { defineHydrate } from 'motionary/components/widgets'; defineHydrate();`
|
|
1593
|
-
- CDN: https://unpkg.com/motionary@
|
|
1755
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
1594
1756
|
- Attributes: `effect`, `stagger`, `duration`
|
|
1595
1757
|
- Events: `usa:hydrated`
|
|
1596
1758
|
- Methods: `replay()`
|
|
@@ -1609,7 +1771,7 @@ Press and hold (pointer, Space or Enter) while a ring fills; releasing early rew
|
|
|
1609
1771
|
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.
|
|
1610
1772
|
|
|
1611
1773
|
- Import: `import { defineIconMorph } from 'motionary/components/click'; defineIconMorph();`
|
|
1612
|
-
- CDN: https://unpkg.com/motionary@
|
|
1774
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
1613
1775
|
- Attributes: `icons`, `size`, `toggle`
|
|
1614
1776
|
- Events: `usa:change`
|
|
1615
1777
|
- Methods: `next()`, `show()`
|
|
@@ -1624,13 +1786,13 @@ Icons that morph point-by-point with a spring: play ↔ pause, menu ↔ close, p
|
|
|
1624
1786
|
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.
|
|
1625
1787
|
|
|
1626
1788
|
- Import: `import { defineInstallButton } from 'motionary/components/widgets'; defineInstallButton();`
|
|
1627
|
-
- CDN: https://unpkg.com/motionary@
|
|
1789
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
1628
1790
|
- Attributes: `package`, `managers`, `cdn`, `dev`, `manager`
|
|
1629
1791
|
- Events: `usa:copy`
|
|
1630
1792
|
- Methods: `command()`, `copy()`
|
|
1631
1793
|
|
|
1632
1794
|
```html
|
|
1633
|
-
<usa-install-button package="motionary" managers="npm pnpm yarn bun cdn" cdn="https://cdn.jsdelivr.net/npm/motionary@
|
|
1795
|
+
<usa-install-button package="motionary" managers="npm pnpm yarn bun cdn" cdn="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></usa-install-button>
|
|
1634
1796
|
```
|
|
1635
1797
|
|
|
1636
1798
|
### <usa-kanban> — Kanban board (drag-sort)
|
|
@@ -1638,7 +1800,7 @@ Icons that morph point-by-point with a spring: play ↔ pause, menu ↔ close, p
|
|
|
1638
1800
|
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.
|
|
1639
1801
|
|
|
1640
1802
|
- Import: `import { defineKanban } from 'motionary/components/widgets'; defineKanban();`
|
|
1641
|
-
- CDN: https://unpkg.com/motionary@
|
|
1803
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
1642
1804
|
- Events: `usa:move`
|
|
1643
1805
|
- Methods: `cardsOf()`, `move()`
|
|
1644
1806
|
|
|
@@ -1658,7 +1820,7 @@ Icons that morph point-by-point with a spring: play ↔ pause, menu ↔ close, p
|
|
|
1658
1820
|
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.
|
|
1659
1821
|
|
|
1660
1822
|
- Import: `import { defineKeyframeEditor } from 'motionary/components/widgets'; defineKeyframeEditor();`
|
|
1661
|
-
- CDN: https://unpkg.com/motionary@
|
|
1823
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
1662
1824
|
- Events: `usa:change`
|
|
1663
1825
|
- Methods: `toJSON()`, `play()`, `seek()`
|
|
1664
1826
|
|
|
@@ -1675,7 +1837,7 @@ Icons that morph point-by-point with a spring: play ↔ pause, menu ↔ close, p
|
|
|
1675
1837
|
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.
|
|
1676
1838
|
|
|
1677
1839
|
- Import: `import { defineKpi } from 'motionary/components/widgets'; defineKpi();`
|
|
1678
|
-
- CDN: https://unpkg.com/motionary@
|
|
1840
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
1679
1841
|
- Attributes: `label`, `delta`, `caption`, `trend`, `invert`
|
|
1680
1842
|
|
|
1681
1843
|
```html
|
|
@@ -1687,7 +1849,7 @@ Icons that morph point-by-point with a spring: play ↔ pause, menu ↔ close, p
|
|
|
1687
1849
|
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.
|
|
1688
1850
|
|
|
1689
1851
|
- Import: `import { defineLeaderboard } from 'motionary/components/widgets'; defineLeaderboard();`
|
|
1690
|
-
- CDN: https://unpkg.com/motionary@
|
|
1852
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
1691
1853
|
- Events: `usa:rank`
|
|
1692
1854
|
- Methods: `setScore()`
|
|
1693
1855
|
|
|
@@ -1705,7 +1867,7 @@ Icons that morph point-by-point with a spring: play ↔ pause, menu ↔ close, p
|
|
|
1705
1867
|
A heart that pops with a spring and bursts into particles; aria-pressed, optional count.
|
|
1706
1868
|
|
|
1707
1869
|
- Import: `import { defineLike } from 'motionary/components/click'; defineLike();`
|
|
1708
|
-
- CDN: https://unpkg.com/motionary@
|
|
1870
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
1709
1871
|
- Attributes: `liked`, `count`, `label`, `disabled`
|
|
1710
1872
|
- Events: `usa:change`
|
|
1711
1873
|
- Methods: `toggle()`
|
|
@@ -1719,7 +1881,7 @@ A heart that pops with a spring and bursts into particles; aria-pressed, optiona
|
|
|
1719
1881
|
Click or tap to send water ripples through the image; hover adds a gentle wobble. The plain image stays when WebGL is unavailable.
|
|
1720
1882
|
|
|
1721
1883
|
- Import: `import { defineLiquid } from 'motionary/components/webgl'; defineLiquid();`
|
|
1722
|
-
- CDN: https://unpkg.com/motionary@
|
|
1884
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
1723
1885
|
|
|
1724
1886
|
```html
|
|
1725
1887
|
<usa-liquid strength="1">
|
|
@@ -1732,7 +1894,7 @@ Click or tap to send water ripples through the image; hover adds a gentle wobble
|
|
|
1732
1894
|
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).
|
|
1733
1895
|
|
|
1734
1896
|
- Import: `import { defineLiquidNav } from 'motionary/components/widgets'; defineLiquidNav();`
|
|
1735
|
-
- CDN: https://unpkg.com/motionary@
|
|
1897
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
1736
1898
|
- Attributes: `label`
|
|
1737
1899
|
- Events: `usa:change`
|
|
1738
1900
|
|
|
@@ -1747,7 +1909,7 @@ Click or tap to send water ripples through the image; hover adds a gentle wobble
|
|
|
1747
1909
|
A slim NProgress-style bar for route changes and fetches: loadingBar.start() trickles, done() completes and fades.
|
|
1748
1910
|
|
|
1749
1911
|
- Import: `import { defineLoadingBar } from 'motionary/components/page'; defineLoadingBar();`
|
|
1750
|
-
- CDN: https://unpkg.com/motionary@
|
|
1912
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
1751
1913
|
- Methods: `start()`, `set()`, `done()`
|
|
1752
1914
|
|
|
1753
1915
|
```html
|
|
@@ -1762,7 +1924,7 @@ A slim NProgress-style bar for route changes and fetches: loadingBar.start() tri
|
|
|
1762
1924
|
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).
|
|
1763
1925
|
|
|
1764
1926
|
- Import: `import { defineLocationCard } from 'motionary/components/widgets'; defineLocationCard();`
|
|
1765
|
-
- CDN: https://unpkg.com/motionary@
|
|
1927
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
1766
1928
|
- Attributes: `name`, `address`, `lat`, `lon`, `from-lat`, `from-lon`, `distance`, `href`, `unit`
|
|
1767
1929
|
- Events: `usa:arrive`
|
|
1768
1930
|
- Methods: `replay()`
|
|
@@ -1777,7 +1939,7 @@ A slim NProgress-style bar for route changes and fetches: loadingBar.start() tri
|
|
|
1777
1939
|
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.
|
|
1778
1940
|
|
|
1779
1941
|
- Import: `import { defineLottie } from 'motionary/components/widgets'; defineLottie();`
|
|
1780
|
-
- CDN: https://unpkg.com/motionary@
|
|
1942
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
1781
1943
|
- Attributes: `src`, `loop`, `speed`, `label`
|
|
1782
1944
|
- Events: `usa:error`, `usa:load`, `usa:complete`
|
|
1783
1945
|
- Methods: `play()`, `pause()`, `stop()`
|
|
@@ -1791,7 +1953,7 @@ A slim NProgress-style bar for route changes and fetches: loadingBar.start() tri
|
|
|
1791
1953
|
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.
|
|
1792
1954
|
|
|
1793
1955
|
- Import: `import { defineLottieIcon } from 'motionary/components/widgets'; defineLottieIcon();`
|
|
1794
|
-
- CDN: https://unpkg.com/motionary@
|
|
1956
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
1795
1957
|
- Attributes: `name`, `size`, `color`, `label`, `trigger`
|
|
1796
1958
|
- Methods: `play()`
|
|
1797
1959
|
|
|
@@ -1805,7 +1967,7 @@ A slim NProgress-style bar for route changes and fetches: loadingBar.start() tri
|
|
|
1805
1967
|
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.
|
|
1806
1968
|
|
|
1807
1969
|
- Import: `import { defineLottiePlayer } from 'motionary/components/widgets'; defineLottiePlayer();`
|
|
1808
|
-
- CDN: https://unpkg.com/motionary@
|
|
1970
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
1809
1971
|
- Attributes: `src`, `animation`, `autoplay`, `loop`, `speed`, `mode`, `segment`, `hover`, `scrub`, `fit`, `background`, `label`
|
|
1810
1972
|
- Events: `usa:complete`, `usa:load`, `usa:error`, `usa:runtime-missing`
|
|
1811
1973
|
- Methods: `play()`, `pause()`, `stop()`, `seek()`
|
|
@@ -1823,11 +1985,11 @@ defineLottiePlayer(); // registers <usa-lottie-player> — after the prerequisit
|
|
|
1823
1985
|
```
|
|
1824
1986
|
|
|
1825
1987
|
```html
|
|
1826
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1827
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1988
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></script>
|
|
1989
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/vector.iife.js"></script>
|
|
1828
1990
|
<!-- then the component bundles -->
|
|
1829
|
-
<script src="https://unpkg.com/motionary@
|
|
1830
|
-
<script src="https://unpkg.com/motionary@
|
|
1991
|
+
<script src="https://unpkg.com/motionary@11/dist/components.umd.js"></script>
|
|
1992
|
+
<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>
|
|
1831
1993
|
```
|
|
1832
1994
|
|
|
1833
1995
|
```html
|
|
@@ -1839,7 +2001,7 @@ defineLottiePlayer(); // registers <usa-lottie-player> — after the prerequisit
|
|
|
1839
2001
|
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.
|
|
1840
2002
|
|
|
1841
2003
|
- Import: `import { defineLyrics } from 'motionary/components/widgets'; defineLyrics();`
|
|
1842
|
-
- CDN: https://unpkg.com/motionary@
|
|
2004
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
1843
2005
|
- Events: `usa:seek`
|
|
1844
2006
|
|
|
1845
2007
|
```html
|
|
@@ -1856,7 +2018,7 @@ defineLottiePlayer(); // registers <usa-lottie-player> — after the prerequisit
|
|
|
1856
2018
|
Content leans toward the pointer when it comes near and springs back. Fine pointers only; off under reduced motion.
|
|
1857
2019
|
|
|
1858
2020
|
- Import: `import { defineMagnetic } from 'motionary/components/interaction'; defineMagnetic();`
|
|
1859
|
-
- CDN: https://unpkg.com/motionary@
|
|
2021
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
1860
2022
|
- Attributes: `strength`, `radius`, `disabled`
|
|
1861
2023
|
|
|
1862
2024
|
```html
|
|
@@ -1868,7 +2030,7 @@ Content leans toward the pointer when it comes near and springs back. Fine point
|
|
|
1868
2030
|
A seamless infinite ticker with constant speed, pause on hover, soft edges and vertical mode. Clones are hidden from AT.
|
|
1869
2031
|
|
|
1870
2032
|
- Import: `import { defineMarquee } from 'motionary/components/background'; defineMarquee();`
|
|
1871
|
-
- CDN: https://unpkg.com/motionary@
|
|
2033
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
1872
2034
|
- Attributes: `speed`, `direction`, `gap`, `paused`
|
|
1873
2035
|
- Methods: `pause()`, `resume()`
|
|
1874
2036
|
|
|
@@ -1884,7 +2046,7 @@ A seamless infinite ticker with constant speed, pause on hover, soft edges and v
|
|
|
1884
2046
|
Reveal images or sections through a growing mask: circle, diamond, star, iris or wipes, from any origin.
|
|
1885
2047
|
|
|
1886
2048
|
- Import: `import { defineMaskReveal } from 'motionary/components/svg'; defineMaskReveal();`
|
|
1887
|
-
- CDN: https://unpkg.com/motionary@
|
|
2049
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
1888
2050
|
- Events: `usa:complete`
|
|
1889
2051
|
- Methods: `reveal()`
|
|
1890
2052
|
|
|
@@ -1899,7 +2061,7 @@ Reveal images or sections through a growing mask: circle, diamond, star, iris or
|
|
|
1899
2061
|
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.
|
|
1900
2062
|
|
|
1901
2063
|
- Import: `import { defineMasonry } from 'motionary/components/layout'; defineMasonry();`
|
|
1902
|
-
- CDN: https://unpkg.com/motionary@
|
|
2064
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
1903
2065
|
- Attributes: `columns`, `min`, `gap`
|
|
1904
2066
|
- Methods: `enable()`, `disable()`
|
|
1905
2067
|
|
|
@@ -1915,7 +2077,7 @@ Pinterest-style masonry: items drop into the shortest column and glide when the
|
|
|
1915
2077
|
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.
|
|
1916
2078
|
|
|
1917
2079
|
- Import: `import { defineMasonryFlow } from 'motionary/components/widgets'; defineMasonryFlow();`
|
|
1918
|
-
- CDN: https://unpkg.com/motionary@
|
|
2080
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
1919
2081
|
- Attributes: `min`, `gap`
|
|
1920
2082
|
- Events: `usa:layout`
|
|
1921
2083
|
- Methods: `layout()`, `filter()`, `shuffle()`, `sort()`
|
|
@@ -1934,7 +2096,7 @@ Pinterest-style masonry: items drop into the shortest column and glide when the
|
|
|
1934
2096
|
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.
|
|
1935
2097
|
|
|
1936
2098
|
- Import: `import { defineMenu } from 'motionary/components/widgets'; defineMenu();`
|
|
1937
|
-
- CDN: https://unpkg.com/motionary@
|
|
2099
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
1938
2100
|
- Attributes: `placement`, `effect`
|
|
1939
2101
|
- Events: `usa:select`, `usa:open`, `usa:close`
|
|
1940
2102
|
- Methods: `open()`, `close()`, `toggle()`
|
|
@@ -1954,7 +2116,7 @@ Pinterest-style masonry: items drop into the shortest column and glide when the
|
|
|
1954
2116
|
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).
|
|
1955
2117
|
|
|
1956
2118
|
- Import: `import { defineMenuToggle } from 'motionary/components/widgets'; defineMenuToggle();`
|
|
1957
|
-
- CDN: https://unpkg.com/motionary@
|
|
2119
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
1958
2120
|
- Attributes: `variant`
|
|
1959
2121
|
- Events: `usa:toggle`
|
|
1960
2122
|
- Methods: `toggle()`
|
|
@@ -1969,7 +2131,7 @@ Pinterest-style masonry: items drop into the shortest column and glide when the
|
|
|
1969
2131
|
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.
|
|
1970
2132
|
|
|
1971
2133
|
- Import: `import { defineMessageList } from 'motionary/components/widgets'; defineMessageList();`
|
|
1972
|
-
- CDN: https://unpkg.com/motionary@
|
|
2134
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
1973
2135
|
- Events: `usa:message`
|
|
1974
2136
|
- Methods: `push()`, `typing()`
|
|
1975
2137
|
|
|
@@ -1986,7 +2148,7 @@ Pinterest-style masonry: items drop into the shortest column and glide when the
|
|
|
1986
2148
|
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.
|
|
1987
2149
|
|
|
1988
2150
|
- Import: `import { defineMilestones } from 'motionary/components/widgets'; defineMilestones();`
|
|
1989
|
-
- CDN: https://unpkg.com/motionary@
|
|
2151
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
1990
2152
|
- Attributes: `layout`
|
|
1991
2153
|
- Events: `usa:reach`
|
|
1992
2154
|
|
|
@@ -2003,7 +2165,7 @@ Pinterest-style masonry: items drop into the shortest column and glide when the
|
|
|
2003
2165
|
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.
|
|
2004
2166
|
|
|
2005
2167
|
- Import: `import { defineModal } from 'motionary/components/widgets'; defineModal();`
|
|
2006
|
-
- CDN: https://unpkg.com/motionary@
|
|
2168
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
2007
2169
|
|
|
2008
2170
|
```html
|
|
2009
2171
|
<button data-usa-open="welcome">Open</button>
|
|
@@ -2019,7 +2181,7 @@ Pinterest-style masonry: items drop into the shortest column and glide when the
|
|
|
2019
2181
|
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.
|
|
2020
2182
|
|
|
2021
2183
|
- Import: `import { defineMorph } from 'motionary/components/svg'; defineMorph();`
|
|
2022
|
-
- CDN: https://unpkg.com/motionary@
|
|
2184
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
2023
2185
|
- Attributes: `paths`, `trigger`
|
|
2024
2186
|
- Events: `usa:change`
|
|
2025
2187
|
- Methods: `next()`
|
|
@@ -2034,7 +2196,7 @@ Morph an SVG path through a list of shapes (paths="A | B | C") on click, hover,
|
|
|
2034
2196
|
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.
|
|
2035
2197
|
|
|
2036
2198
|
- Import: `import { defineMotion } from 'motionary/components/widgets'; defineMotion();`
|
|
2037
|
-
- CDN: https://unpkg.com/motionary@
|
|
2199
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
2038
2200
|
- Attributes: `rules`
|
|
2039
2201
|
- Events: `usa:motion-error`
|
|
2040
2202
|
|
|
@@ -2052,7 +2214,7 @@ Morph an SVG path through a list of shapes (paths="A | B | C") on click, hover,
|
|
|
2052
2214
|
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.
|
|
2053
2215
|
|
|
2054
2216
|
- Import: `import { defineMotionInspector } from 'motionary/components/widgets'; defineMotionInspector();`
|
|
2055
|
-
- CDN: https://unpkg.com/motionary@
|
|
2217
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
2056
2218
|
- Attributes: `scope`, `interval`
|
|
2057
2219
|
- Events: `usa:change`
|
|
2058
2220
|
- Methods: `refresh()`, `pauseAll()`, `playAll()`, `setRate()`, `animations()`
|
|
@@ -2066,7 +2228,7 @@ Morph an SVG path through a list of shapes (paths="A | B | C") on click, hover,
|
|
|
2066
2228
|
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.
|
|
2067
2229
|
|
|
2068
2230
|
- Import: `import { defineMotionPrefs } from 'motionary/components/widgets'; defineMotionPrefs();`
|
|
2069
|
-
- CDN: https://unpkg.com/motionary@
|
|
2231
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
2070
2232
|
- Attributes: `label`
|
|
2071
2233
|
- Events: `usa:change`
|
|
2072
2234
|
- Methods: `reset()`
|
|
@@ -2080,7 +2242,7 @@ Morph an SVG path through a list of shapes (paths="A | B | C") on click, hover,
|
|
|
2080
2242
|
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.
|
|
2081
2243
|
|
|
2082
2244
|
- Import: `import { defineMotionPrompt } from 'motionary/components/widgets'; defineMotionPrompt();`
|
|
2083
|
-
- CDN: https://unpkg.com/motionary@
|
|
2245
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
2084
2246
|
- Attributes: `value`, `format`, `placeholder`, `label`
|
|
2085
2247
|
- Events: `usa:suggest`, `usa:copy`
|
|
2086
2248
|
- Methods: `suggest()`
|
|
@@ -2094,7 +2256,7 @@ Morph an SVG path through a list of shapes (paths="A | B | C") on click, hover,
|
|
|
2094
2256
|
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.
|
|
2095
2257
|
|
|
2096
2258
|
- Import: `import { defineMotionSpec } from 'motionary/components/widgets'; defineMotionSpec();`
|
|
2097
|
-
- CDN: https://unpkg.com/motionary@
|
|
2259
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
2098
2260
|
- Attributes: `rules`, `label`
|
|
2099
2261
|
- Events: `usa:copy`
|
|
2100
2262
|
- Methods: `play()`
|
|
@@ -2108,7 +2270,7 @@ Morph an SVG path through a list of shapes (paths="A | B | C") on click, hover,
|
|
|
2108
2270
|
Let users pick Off · Low · Normal · High for the whole app; scales every component, persists, and Off equals reduced motion.
|
|
2109
2271
|
|
|
2110
2272
|
- Import: `import { defineMotionSwitch } from 'motionary/components/page'; defineMotionSwitch();`
|
|
2111
|
-
- CDN: https://unpkg.com/motionary@
|
|
2273
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
2112
2274
|
- Events: `usa:change`
|
|
2113
2275
|
|
|
2114
2276
|
```html
|
|
@@ -2121,7 +2283,7 @@ Let users pick Off · Low · Normal · High for the whole app; scales every comp
|
|
|
2121
2283
|
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.
|
|
2122
2284
|
|
|
2123
2285
|
- Import: `import { defineMotionTheme } from 'motionary/components/effects'; defineMotionTheme();`
|
|
2124
|
-
- CDN: https://unpkg.com/motionary@
|
|
2286
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
2125
2287
|
- Attributes: `name`
|
|
2126
2288
|
|
|
2127
2289
|
```html
|
|
@@ -2137,7 +2299,7 @@ Let users pick Off · Low · Normal · High for the whole app; scales every comp
|
|
|
2137
2299
|
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.
|
|
2138
2300
|
|
|
2139
2301
|
- Import: `import { defineMusicPlayer } from 'motionary/components/widgets'; defineMusicPlayer();`
|
|
2140
|
-
- CDN: https://unpkg.com/motionary@
|
|
2302
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
2141
2303
|
- Attributes: `title`, `artist`, `cover`, `src`
|
|
2142
2304
|
- Events: `usa:play`, `usa:pause`, `usa:seek`
|
|
2143
2305
|
- Methods: `play()`, `pause()`, `toggle()`, `seek()`
|
|
@@ -2153,7 +2315,7 @@ Let users pick Off · Low · Normal · High for the whole app; scales every comp
|
|
|
2153
2315
|
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.
|
|
2154
2316
|
|
|
2155
2317
|
- Import: `import { defineNativePreview } from 'motionary/components/widgets'; defineNativePreview();`
|
|
2156
|
-
- CDN: https://unpkg.com/motionary@
|
|
2318
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
2157
2319
|
- Attributes: `rules`, `platform`, `name`
|
|
2158
2320
|
- Events: `usa:replay`
|
|
2159
2321
|
- Methods: `replay()`, `code()`
|
|
@@ -2169,7 +2331,7 @@ Let users pick Off · Low · Normal · High for the whole app; scales every comp
|
|
|
2169
2331
|
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.
|
|
2170
2332
|
|
|
2171
2333
|
- Import: `import { defineNavMorph } from 'motionary/components/widgets'; defineNavMorph();`
|
|
2172
|
-
- CDN: https://unpkg.com/motionary@
|
|
2334
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
2173
2335
|
- Attributes: `indicator`
|
|
2174
2336
|
- Events: `usa:change`
|
|
2175
2337
|
|
|
@@ -2186,7 +2348,7 @@ Let users pick Off · Low · Normal · High for the whole app; scales every comp
|
|
|
2186
2348
|
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.
|
|
2187
2349
|
|
|
2188
2350
|
- Import: `import { defineNavbar } from 'motionary/components/ui'; defineNavbar();`
|
|
2189
|
-
- CDN: https://unpkg.com/motionary@
|
|
2351
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
2190
2352
|
- Events: `usa:hide`, `usa:show`
|
|
2191
2353
|
- Methods: `show()`
|
|
2192
2354
|
|
|
@@ -2201,7 +2363,7 @@ Hides while you scroll down, slides back on the first scroll up; shrink makes it
|
|
|
2201
2363
|
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.
|
|
2202
2364
|
|
|
2203
2365
|
- Import: `import { defineNotificationBell } from 'motionary/components/widgets'; defineNotificationBell();`
|
|
2204
|
-
- CDN: https://unpkg.com/motionary@
|
|
2366
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
2205
2367
|
- Events: `usa:notify`, `usa:read`
|
|
2206
2368
|
- Methods: `notify()`, `markAllRead()`, `ring()`
|
|
2207
2369
|
|
|
@@ -2217,7 +2379,7 @@ Hides while you scroll down, slides back on the first scroll up; shrink makes it
|
|
|
2217
2379
|
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.
|
|
2218
2380
|
|
|
2219
2381
|
- Import: `import { defineOdometer } from 'motionary/components/widgets'; defineOdometer();`
|
|
2220
|
-
- CDN: https://unpkg.com/motionary@
|
|
2382
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
2221
2383
|
- Attributes: `value`, `locale`, `decimals`, `prefix`, `suffix`
|
|
2222
2384
|
|
|
2223
2385
|
```html
|
|
@@ -2230,7 +2392,7 @@ Hides while you scroll down, slides back on the first scroll up; shrink makes it
|
|
|
2230
2392
|
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.
|
|
2231
2393
|
|
|
2232
2394
|
- Import: `import { defineOrganicCard } from 'motionary/components/widgets'; defineOrganicCard();`
|
|
2233
|
-
- CDN: https://unpkg.com/motionary@
|
|
2395
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
2234
2396
|
- Attributes: `tint`, `seed`
|
|
2235
2397
|
- Methods: `morph()`
|
|
2236
2398
|
|
|
@@ -2245,7 +2407,7 @@ Hides while you scroll down, slides back on the first scroll up; shrink makes it
|
|
|
2245
2407
|
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.
|
|
2246
2408
|
|
|
2247
2409
|
- Import: `import { defineOtp } from 'motionary/components/widgets'; defineOtp();`
|
|
2248
|
-
- CDN: https://unpkg.com/motionary@
|
|
2410
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
2249
2411
|
- Attributes: `length`, `mode`, `label`
|
|
2250
2412
|
- Events: `usa:complete`
|
|
2251
2413
|
- Methods: `fillCode()`, `clear()`, `error()`, `success()`
|
|
@@ -2260,7 +2422,7 @@ Hides while you scroll down, slides back on the first scroll up; shrink makes it
|
|
|
2260
2422
|
A scroll container whose edges stretch with iOS-style rubber-band resistance and spring back — touch, trackpad and wheel.
|
|
2261
2423
|
|
|
2262
2424
|
- Import: `import { defineOverscroll } from 'motionary/components/physics'; defineOverscroll();`
|
|
2263
|
-
- CDN: https://unpkg.com/motionary@
|
|
2425
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
2264
2426
|
- Attributes: `axis`, `disabled`
|
|
2265
2427
|
|
|
2266
2428
|
```html
|
|
@@ -2274,7 +2436,7 @@ A scroll container whose edges stretch with iOS-style rubber-band resistance and
|
|
|
2274
2436
|
Product cards reveal and lift, “Add to cart” presses and flies the product into the cart (which bumps), prices count up, badges pulse.
|
|
2275
2437
|
|
|
2276
2438
|
- Import: `import { definePack } from 'motionary/components/packs'; definePack();`
|
|
2277
|
-
- CDN: https://unpkg.com/motionary@
|
|
2439
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
2278
2440
|
- Attributes: `name`
|
|
2279
2441
|
|
|
2280
2442
|
```html
|
|
@@ -2293,7 +2455,7 @@ Product cards reveal and lift, “Add to cart” presses and flies the product i
|
|
|
2293
2455
|
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.
|
|
2294
2456
|
|
|
2295
2457
|
- Import: `import { definePagination } from 'motionary/components/widgets'; definePagination();`
|
|
2296
|
-
- CDN: https://unpkg.com/motionary@
|
|
2458
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
2297
2459
|
- Attributes: `total`, `siblings`
|
|
2298
2460
|
- Events: `usa:change`
|
|
2299
2461
|
|
|
@@ -2306,7 +2468,7 @@ Product cards reveal and lift, “Add to cart” presses and flies the product i
|
|
|
2306
2468
|
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.
|
|
2307
2469
|
|
|
2308
2470
|
- Import: `import { definePanorama } from 'motionary/components/widgets'; definePanorama();`
|
|
2309
|
-
- CDN: https://unpkg.com/motionary@
|
|
2471
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
2310
2472
|
- Attributes: `src`, `autorotate`, `label`
|
|
2311
2473
|
- Events: `usa:xr`, `usa:xr-request`, `usa:look`
|
|
2312
2474
|
- Methods: `lookAt()`
|
|
@@ -2320,7 +2482,7 @@ Product cards reveal and lift, “Add to cart” presses and flies the product i
|
|
|
2320
2482
|
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.
|
|
2321
2483
|
|
|
2322
2484
|
- Import: `import { defineParallaxLayers } from 'motionary/components/widgets'; defineParallaxLayers();`
|
|
2323
|
-
- CDN: https://unpkg.com/motionary@
|
|
2485
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
2324
2486
|
- Attributes: `range`, `engine`, `horizontal`, `pointer`, `strength`, `preview`
|
|
2325
2487
|
- Events: `usa:progress`
|
|
2326
2488
|
- Methods: `layers()`
|
|
@@ -2337,7 +2499,7 @@ Product cards reveal and lift, “Add to cart” presses and flies the product i
|
|
|
2337
2499
|
A canvas constellation that drifts away from the pointer. Runs only while visible, DPR ≤ 2, a still frame under reduced motion.
|
|
2338
2500
|
|
|
2339
2501
|
- Import: `import { defineParticles } from 'motionary/components/background'; defineParticles();`
|
|
2340
|
-
- CDN: https://unpkg.com/motionary@
|
|
2502
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
2341
2503
|
- Attributes: `count`, `color`, `size`, `speed`, `links`, `interactive`, `paused`
|
|
2342
2504
|
- Methods: `reset()`
|
|
2343
2505
|
|
|
@@ -2350,7 +2512,7 @@ A canvas constellation that drifts away from the pointer. Runs only while visibl
|
|
|
2350
2512
|
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.
|
|
2351
2513
|
|
|
2352
2514
|
- Import: `import { definePauseAll } from 'motionary/components/widgets'; definePauseAll();`
|
|
2353
|
-
- CDN: https://unpkg.com/motionary@
|
|
2515
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
2354
2516
|
- Attributes: `label`, `scope`, `resume-label`
|
|
2355
2517
|
- Events: `usa:pause-all`
|
|
2356
2518
|
- Methods: `toggle()`
|
|
@@ -2364,7 +2526,7 @@ A canvas constellation that drifts away from the pointer. Runs only while visibl
|
|
|
2364
2526
|
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.
|
|
2365
2527
|
|
|
2366
2528
|
- Import: `import { definePerfMonitor } from 'motionary/components/widgets'; definePerfMonitor();`
|
|
2367
|
-
- CDN: https://unpkg.com/motionary@
|
|
2529
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
2368
2530
|
- Attributes: `corner`, `warn`
|
|
2369
2531
|
- Events: `usa:jank`
|
|
2370
2532
|
|
|
@@ -2377,7 +2539,7 @@ A canvas constellation that drifts away from the pointer. Runs only while visibl
|
|
|
2377
2539
|
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.
|
|
2378
2540
|
|
|
2379
2541
|
- Import: `import { definePhysicsPlayground } from 'motionary/components/widgets'; definePhysicsPlayground();`
|
|
2380
|
-
- CDN: https://unpkg.com/motionary@
|
|
2542
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
2381
2543
|
- Attributes: `preset`, `src`, `gravity`, `spawn`, `label`
|
|
2382
2544
|
- Events: `usa:collision`, `usa:load`, `usa:error`, `usa:runtime-missing`
|
|
2383
2545
|
- Methods: `reset()`, `play()`, `pause()`, `toScene()`
|
|
@@ -2396,12 +2558,12 @@ definePhysicsPlayground(); // registers <usa-physics-playground> — after the p
|
|
|
2396
2558
|
```
|
|
2397
2559
|
|
|
2398
2560
|
```html
|
|
2399
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
2400
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
2401
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
2561
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></script>
|
|
2562
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/physics.iife.js"></script>
|
|
2563
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/format-scene.iife.js"></script>
|
|
2402
2564
|
<!-- then the component bundles -->
|
|
2403
|
-
<script src="https://unpkg.com/motionary@
|
|
2404
|
-
<script src="https://unpkg.com/motionary@
|
|
2565
|
+
<script src="https://unpkg.com/motionary@11/dist/components.umd.js"></script>
|
|
2566
|
+
<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>
|
|
2405
2567
|
```
|
|
2406
2568
|
|
|
2407
2569
|
```html
|
|
@@ -2413,7 +2575,7 @@ definePhysicsPlayground(); // registers <usa-physics-playground> — after the p
|
|
|
2413
2575
|
Pinch with two fingers or Ctrl + wheel / trackpad pinch, pan while zoomed, double-tap to toggle; scale and position spring back inside the bounds.
|
|
2414
2576
|
|
|
2415
2577
|
- Import: `import { definePinchZoom } from 'motionary/components/gesture'; definePinchZoom();`
|
|
2416
|
-
- CDN: https://unpkg.com/motionary@
|
|
2578
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
2417
2579
|
- Events: `usa:zoom`
|
|
2418
2580
|
- Methods: `zoomTo()`
|
|
2419
2581
|
|
|
@@ -2428,7 +2590,7 @@ Pinch with two fingers or Ctrl + wheel / trackpad pinch, pan while zoomed, doubl
|
|
|
2428
2590
|
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).
|
|
2429
2591
|
|
|
2430
2592
|
- Import: `import { definePlayer } from 'motionary/components/effects'; definePlayer();`
|
|
2431
|
-
- CDN: https://unpkg.com/motionary@
|
|
2593
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
2432
2594
|
- Attributes: `src`, `trigger`, `loop`, `rate`
|
|
2433
2595
|
- Methods: `load()`, `play()`, `pause()`, `seek()`
|
|
2434
2596
|
|
|
@@ -2444,7 +2606,7 @@ Pinch with two fingers or Ctrl + wheel / trackpad pinch, pan while zoomed, doubl
|
|
|
2444
2606
|
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.
|
|
2445
2607
|
|
|
2446
2608
|
- Import: `import { definePluginCard } from 'motionary/components/widgets'; definePluginCard();`
|
|
2447
|
-
- CDN: https://unpkg.com/motionary@
|
|
2609
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
2448
2610
|
- Attributes: `name`, `title`, `version`, `author`, `engine`, `downloads`, `integrity`, `src`
|
|
2449
2611
|
- Events: `usa:toggle`, `usa:verified`, `usa:runtime-missing`
|
|
2450
2612
|
- Methods: `toggle()`, `verify()`, `compat()`
|
|
@@ -2461,10 +2623,10 @@ definePluginCard(); // registers <usa-plugin-card> — after the prerequisites
|
|
|
2461
2623
|
```
|
|
2462
2624
|
|
|
2463
2625
|
```html
|
|
2464
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
2626
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></script>
|
|
2465
2627
|
<!-- then the component bundles -->
|
|
2466
|
-
<script src="https://unpkg.com/motionary@
|
|
2467
|
-
<script src="https://unpkg.com/motionary@
|
|
2628
|
+
<script src="https://unpkg.com/motionary@11/dist/components.umd.js"></script>
|
|
2629
|
+
<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>
|
|
2468
2630
|
```
|
|
2469
2631
|
|
|
2470
2632
|
```html
|
|
@@ -2478,7 +2640,7 @@ definePluginCard(); // registers <usa-plugin-card> — after the prerequisites
|
|
|
2478
2640
|
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).
|
|
2479
2641
|
|
|
2480
2642
|
- Import: `import { definePluginStore } from 'motionary/components/widgets'; definePluginStore();`
|
|
2481
|
-
- CDN: https://unpkg.com/motionary@
|
|
2643
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
2482
2644
|
- Attributes: `query`, `label`
|
|
2483
2645
|
- Events: `usa:install`, `usa:install-error`
|
|
2484
2646
|
- Methods: `search()`, `install()`
|
|
@@ -2496,7 +2658,7 @@ definePluginCard(); // registers <usa-plugin-card> — after the prerequisites
|
|
|
2496
2658
|
Click-to-open panel that springs from its trigger; Esc / outside click closes, focus returns.
|
|
2497
2659
|
|
|
2498
2660
|
- Import: `import { definePopover } from 'motionary/components/ui'; definePopover();`
|
|
2499
|
-
- CDN: https://unpkg.com/motionary@
|
|
2661
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
2500
2662
|
- Methods: `toggle()`
|
|
2501
2663
|
|
|
2502
2664
|
```html
|
|
@@ -2511,7 +2673,7 @@ Click-to-open panel that springs from its trigger; Esc / outside click closes, f
|
|
|
2511
2673
|
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.
|
|
2512
2674
|
|
|
2513
2675
|
- Import: `import { definePostFx } from 'motionary/components/webgl'; definePostFx();`
|
|
2514
|
-
- CDN: https://unpkg.com/motionary@
|
|
2676
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
2515
2677
|
|
|
2516
2678
|
```html
|
|
2517
2679
|
<usa-post-fx effects="vignette grain" intensity="0.6">
|
|
@@ -2524,7 +2686,7 @@ Chainable GPU passes over an image (4.8): vignette, grain, chromatic aberration,
|
|
|
2524
2686
|
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.
|
|
2525
2687
|
|
|
2526
2688
|
- Import: `import { definePresence } from 'motionary/components/widgets'; definePresence();`
|
|
2527
|
-
- CDN: https://unpkg.com/motionary@
|
|
2689
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
2528
2690
|
- Attributes: `status`, `speaking`, `name`, `src`
|
|
2529
2691
|
|
|
2530
2692
|
```html
|
|
@@ -2538,7 +2700,7 @@ Chainable GPU passes over an image (4.8): vignette, grain, chromatic aberration,
|
|
|
2538
2700
|
Tactile press: dips while pressed and springs back, or bounces once with bounce. Mouse, touch, pen and keyboard.
|
|
2539
2701
|
|
|
2540
2702
|
- Import: `import { definePress } from 'motionary/components/interaction'; definePress();`
|
|
2541
|
-
- CDN: https://unpkg.com/motionary@
|
|
2703
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
2542
2704
|
- Attributes: `disabled`
|
|
2543
2705
|
|
|
2544
2706
|
```html
|
|
@@ -2550,7 +2712,7 @@ Tactile press: dips while pressed and springs back, or bounces once with bounce.
|
|
|
2550
2712
|
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.
|
|
2551
2713
|
|
|
2552
2714
|
- Import: `import { definePrizeWheel } from 'motionary/components/widgets'; definePrizeWheel();`
|
|
2553
|
-
- CDN: https://unpkg.com/motionary@
|
|
2715
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
2554
2716
|
- Events: `usa:result`
|
|
2555
2717
|
- Methods: `spin()`
|
|
2556
2718
|
|
|
@@ -2563,7 +2725,7 @@ Tactile press: dips while pressed and springs back, or bounces once with bounce.
|
|
|
2563
2725
|
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.
|
|
2564
2726
|
|
|
2565
2727
|
- Import: `import { defineProductGallery } from 'motionary/components/widgets'; defineProductGallery();`
|
|
2566
|
-
- CDN: https://unpkg.com/motionary@
|
|
2728
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
2567
2729
|
- Attributes: `index`
|
|
2568
2730
|
- Events: `usa:change`
|
|
2569
2731
|
- Methods: `go()`, `next()`, `prev()`
|
|
@@ -2581,7 +2743,7 @@ Tactile press: dips while pressed and springs back, or bounces once with bounce.
|
|
|
2581
2743
|
Determinate bars glide between values; without a value it shows the Fluent indeterminate animation. Paused / error states.
|
|
2582
2744
|
|
|
2583
2745
|
- Import: `import { defineProgress } from 'motionary/components/feedback'; defineProgress();`
|
|
2584
|
-
- CDN: https://unpkg.com/motionary@
|
|
2746
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
2585
2747
|
- Attributes: `value`, `max`, `indeterminate`, `label`
|
|
2586
2748
|
- Events: `usa:complete`
|
|
2587
2749
|
|
|
@@ -2595,7 +2757,7 @@ Determinate bars glide between values; without a value it shows the Fluent indet
|
|
|
2595
2757
|
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%.
|
|
2596
2758
|
|
|
2597
2759
|
- Import: `import { defineProgressRing } from 'motionary/components/widgets'; defineProgressRing();`
|
|
2598
|
-
- CDN: https://unpkg.com/motionary@
|
|
2760
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
2599
2761
|
- Attributes: `variant`, `value`, `max`, `gradient`
|
|
2600
2762
|
- Events: `usa:complete`
|
|
2601
2763
|
|
|
@@ -2611,7 +2773,7 @@ Determinate bars glide between values; without a value it shows the Fluent indet
|
|
|
2611
2773
|
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.
|
|
2612
2774
|
|
|
2613
2775
|
- Import: `import { definePropPanel } from 'motionary/components/widgets'; definePropPanel();`
|
|
2614
|
-
- CDN: https://unpkg.com/motionary@
|
|
2776
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
2615
2777
|
- Attributes: `for`, `props`, `label`
|
|
2616
2778
|
- Events: `usa:prop`
|
|
2617
2779
|
- Methods: `reset()`
|
|
@@ -2626,7 +2788,7 @@ Determinate bars glide between values; without a value it shows the Fluent indet
|
|
|
2626
2788
|
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".
|
|
2627
2789
|
|
|
2628
2790
|
- Import: `import { definePullCord } from 'motionary/components/widgets'; definePullCord();`
|
|
2629
|
-
- CDN: https://unpkg.com/motionary@
|
|
2791
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
2630
2792
|
- Events: `usa:change`
|
|
2631
2793
|
- Methods: `toggle()`
|
|
2632
2794
|
|
|
@@ -2639,7 +2801,7 @@ Determinate bars glide between values; without a value it shows the Fluent indet
|
|
|
2639
2801
|
Pull down at the top of a list: the spinner stretches in with rubber-band resistance; release past the threshold to refresh.
|
|
2640
2802
|
|
|
2641
2803
|
- Import: `import { definePullRefresh } from 'motionary/components/ui'; definePullRefresh();`
|
|
2642
|
-
- CDN: https://unpkg.com/motionary@
|
|
2804
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
2643
2805
|
- Methods: `refresh()`
|
|
2644
2806
|
|
|
2645
2807
|
```html
|
|
@@ -2654,7 +2816,7 @@ Pull down at the top of a list: the spinner stretches in with rubber-band resist
|
|
|
2654
2816
|
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.
|
|
2655
2817
|
|
|
2656
2818
|
- Import: `import { defineRadar } from 'motionary/components/widgets'; defineRadar();`
|
|
2657
|
-
- CDN: https://unpkg.com/motionary@
|
|
2819
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
2658
2820
|
- Attributes: `targets`, `rings`, `speed`, `label`
|
|
2659
2821
|
- Events: `usa:ping`
|
|
2660
2822
|
- Methods: `setTargets()`
|
|
@@ -2668,7 +2830,7 @@ Pull down at the top of a list: the spinner stretches in with rubber-band resist
|
|
|
2668
2830
|
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.
|
|
2669
2831
|
|
|
2670
2832
|
- Import: `import { defineReactions } from 'motionary/components/widgets'; defineReactions();`
|
|
2671
|
-
- CDN: https://unpkg.com/motionary@
|
|
2833
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
2672
2834
|
- Events: `usa:react`
|
|
2673
2835
|
- Methods: `toggle()`
|
|
2674
2836
|
|
|
@@ -2681,7 +2843,7 @@ Pull down at the top of a list: the spinner stretches in with rubber-band resist
|
|
|
2681
2843
|
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.
|
|
2682
2844
|
|
|
2683
2845
|
- Import: `import { defineRedEnvelope } from 'motionary/components/widgets'; defineRedEnvelope();`
|
|
2684
|
-
- CDN: https://unpkg.com/motionary@
|
|
2846
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
2685
2847
|
- Attributes: `amount`, `currency`, `message`, `from`
|
|
2686
2848
|
- Events: `usa:open`
|
|
2687
2849
|
- Methods: `open()`, `close()`
|
|
@@ -2695,7 +2857,7 @@ Pull down at the top of a list: the spinner stretches in with rubber-band resist
|
|
|
2695
2857
|
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).
|
|
2696
2858
|
|
|
2697
2859
|
- Import: `import { defineRetroButton } from 'motionary/components/widgets'; defineRetroButton();`
|
|
2698
|
-
- CDN: https://unpkg.com/motionary@
|
|
2860
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
2699
2861
|
- Attributes: `variant`, `disabled`
|
|
2700
2862
|
|
|
2701
2863
|
```html
|
|
@@ -2708,7 +2870,7 @@ Pull down at the top of a list: the spinner stretches in with rubber-band resist
|
|
|
2708
2870
|
Fade, slide, zoom, blur or flip content in as it enters the viewport. 12 effects, replay on re-entry with repeat.
|
|
2709
2871
|
|
|
2710
2872
|
- Import: `import { defineReveal } from 'motionary/components/reveal'; defineReveal();`
|
|
2711
|
-
- CDN: https://unpkg.com/motionary@
|
|
2873
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
2712
2874
|
- Attributes: `effect`, `distance`, `repeat`, `threshold`, `root-margin`
|
|
2713
2875
|
- Events: `usa:enter`, `usa:leave`, `usa:complete`
|
|
2714
2876
|
- Methods: `reveal()`, `reset()`
|
|
@@ -2724,7 +2886,7 @@ Fade, slide, zoom, blur or flip content in as it enters the viewport. 12 effects
|
|
|
2724
2886
|
Ink ripple from the pointer — or from the centre for Space/Enter — on any button, list item or card.
|
|
2725
2887
|
|
|
2726
2888
|
- Import: `import { defineRipple } from 'motionary/components/interaction'; defineRipple();`
|
|
2727
|
-
- CDN: https://unpkg.com/motionary@
|
|
2889
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
2728
2890
|
- Methods: `ripple()`
|
|
2729
2891
|
|
|
2730
2892
|
```html
|
|
@@ -2736,7 +2898,7 @@ Ink ripple from the pointer — or from the centre for Space/Enter — on any bu
|
|
|
2736
2898
|
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.
|
|
2737
2899
|
|
|
2738
2900
|
- Import: `import { defineRive } from 'motionary/components/widgets'; defineRive();`
|
|
2739
|
-
- CDN: https://unpkg.com/motionary@
|
|
2901
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
2740
2902
|
- Attributes: `src`, `artboard`, `animation`, `state-machine`, `autoplay`, `fit`, `label`, `runtime-src`
|
|
2741
2903
|
- Events: `usa:load`, `usa:error`, `usa:runtime-missing`
|
|
2742
2904
|
- Methods: `play()`, `pause()`, `input()`
|
|
@@ -2755,8 +2917,8 @@ defineRive(); // registers <usa-rive> — after the prerequisites
|
|
|
2755
2917
|
```html
|
|
2756
2918
|
<script src="https://unpkg.com/@rive-app/canvas@2.44.1/rive.js"></script>
|
|
2757
2919
|
<!-- then the component bundles -->
|
|
2758
|
-
<script src="https://unpkg.com/motionary@
|
|
2759
|
-
<script src="https://unpkg.com/motionary@
|
|
2920
|
+
<script src="https://unpkg.com/motionary@11/dist/components.umd.js"></script>
|
|
2921
|
+
<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>
|
|
2760
2922
|
```
|
|
2761
2923
|
|
|
2762
2924
|
```html
|
|
@@ -2768,7 +2930,7 @@ defineRive(); // registers <usa-rive> — after the prerequisites
|
|
|
2768
2930
|
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.
|
|
2769
2931
|
|
|
2770
2932
|
- Import: `import { defineRouteTransition } from 'motionary/components/widgets'; defineRouteTransition();`
|
|
2771
|
-
- CDN: https://unpkg.com/motionary@
|
|
2933
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
2772
2934
|
- Attributes: `effect`, `engine`, `cross-document`
|
|
2773
2935
|
- Events: `usa:navigate`, `usa:navigated`
|
|
2774
2936
|
- Methods: `navigate()`
|
|
@@ -2785,7 +2947,7 @@ defineRive(); // registers <usa-rive> — after the prerequisites
|
|
|
2785
2947
|
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.
|
|
2786
2948
|
|
|
2787
2949
|
- Import: `import { defineScene } from 'motionary/components/widgets'; defineScene();`
|
|
2788
|
-
- CDN: https://unpkg.com/motionary@
|
|
2950
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
2789
2951
|
- Attributes: `camera`, `strength`, `autoplay`
|
|
2790
2952
|
- Events: `usa:shot`
|
|
2791
2953
|
- Methods: `setProgress()`
|
|
@@ -2802,7 +2964,7 @@ defineRive(); // registers <usa-rive> — after the prerequisites
|
|
|
2802
2964
|
Decodes text out of random glyphs, left to right. Trigger on view, hover/focus or manually.
|
|
2803
2965
|
|
|
2804
2966
|
- Import: `import { defineScramble } from 'motionary/components/text'; defineScramble();`
|
|
2805
|
-
- CDN: https://unpkg.com/motionary@
|
|
2967
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
2806
2968
|
- Attributes: `text`
|
|
2807
2969
|
- Events: `usa:complete`
|
|
2808
2970
|
- Methods: `play()`
|
|
@@ -2816,7 +2978,7 @@ Decodes text out of random glyphs, left to right. Trigger on view, hover/focus o
|
|
|
2816
2978
|
Words light up one by one as you read down the page, or a highlighter marker sweeps behind the text.
|
|
2817
2979
|
|
|
2818
2980
|
- Import: `import { defineScrollHighlight } from 'motionary/components/text'; defineScrollHighlight();`
|
|
2819
|
-
- CDN: https://unpkg.com/motionary@
|
|
2981
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
2820
2982
|
- Attributes: `mode`, `text`
|
|
2821
2983
|
- Methods: `mount()`
|
|
2822
2984
|
|
|
@@ -2830,7 +2992,7 @@ Words light up one by one as you read down the page, or a highlighter marker swe
|
|
|
2830
2992
|
Reading progress of the page or of one article. Compositor-only scaleX, role="progressbar".
|
|
2831
2993
|
|
|
2832
2994
|
- Import: `import { defineScrollProgress } from 'motionary/components/reveal'; defineScrollProgress();`
|
|
2833
|
-
- CDN: https://unpkg.com/motionary@
|
|
2995
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
2834
2996
|
- Attributes: `target`, `label`
|
|
2835
2997
|
- Events: `usa:progress`
|
|
2836
2998
|
- Methods: `update()`
|
|
@@ -2846,7 +3008,7 @@ Reading progress of the page or of one article. Compositor-only scaleX, role="pr
|
|
|
2846
3008
|
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.
|
|
2847
3009
|
|
|
2848
3010
|
- Import: `import { defineScrollRing } from 'motionary/components/widgets'; defineScrollRing();`
|
|
2849
|
-
- CDN: https://unpkg.com/motionary@
|
|
3011
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
2850
3012
|
- Attributes: `for`, `engine`, `label`, `back-to-top`, `size`, `thickness`, `horizontal`, `preview`
|
|
2851
3013
|
- Events: `usa:progress`, `usa:top`
|
|
2852
3014
|
|
|
@@ -2859,7 +3021,7 @@ Reading progress of the page or of one article. Compositor-only scaleX, role="pr
|
|
|
2859
3021
|
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.
|
|
2860
3022
|
|
|
2861
3023
|
- Import: `import { defineScrollScene } from 'motionary/components/widgets'; defineScrollScene();`
|
|
2862
|
-
- CDN: https://unpkg.com/motionary@
|
|
3024
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
2863
3025
|
- Attributes: `start`, `end`, `scrub`, `pin`, `markers`, `stagger`, `toggle-class`, `preview`
|
|
2864
3026
|
- Events: `usa:enter`, `usa:leave`, `usa:progress`, `usa:runtime-missing`
|
|
2865
3027
|
- Methods: `refresh()`, `timeline()`
|
|
@@ -2877,11 +3039,11 @@ defineScrollScene(); // registers <usa-scroll-scene> — after the prerequisites
|
|
|
2877
3039
|
```
|
|
2878
3040
|
|
|
2879
3041
|
```html
|
|
2880
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
2881
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
3042
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></script>
|
|
3043
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/scroll.iife.js"></script>
|
|
2882
3044
|
<!-- then the component bundles -->
|
|
2883
|
-
<script src="https://unpkg.com/motionary@
|
|
2884
|
-
<script src="https://unpkg.com/motionary@
|
|
3045
|
+
<script src="https://unpkg.com/motionary@11/dist/components.umd.js"></script>
|
|
3046
|
+
<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>
|
|
2885
3047
|
```
|
|
2886
3048
|
|
|
2887
3049
|
```html
|
|
@@ -2896,7 +3058,7 @@ defineScrollScene(); // registers <usa-scroll-scene> — after the prerequisites
|
|
|
2896
3058
|
A pinned graphic while [data-step] blocks scroll past; the active step drives the graphic via attributes, a CSS variable and events.
|
|
2897
3059
|
|
|
2898
3060
|
- Import: `import { defineScrolly } from 'motionary/components/reveal'; defineScrolly();`
|
|
2899
|
-
- CDN: https://unpkg.com/motionary@
|
|
3061
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
2900
3062
|
- Attributes: `offset`
|
|
2901
3063
|
- Events: `usa:step`
|
|
2902
3064
|
|
|
@@ -2913,7 +3075,7 @@ A pinned graphic while [data-step] blocks scroll past; the active step drives th
|
|
|
2913
3075
|
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.
|
|
2914
3076
|
|
|
2915
3077
|
- Import: `import { defineSegmented } from 'motionary/components/widgets'; defineSegmented();`
|
|
2916
|
-
- CDN: https://unpkg.com/motionary@
|
|
3078
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
2917
3079
|
- Attributes: `variant`
|
|
2918
3080
|
- Events: `usa:change`
|
|
2919
3081
|
|
|
@@ -2930,7 +3092,7 @@ A pinned graphic while [data-step] blocks scroll past; the active step drives th
|
|
|
2930
3092
|
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.
|
|
2931
3093
|
|
|
2932
3094
|
- Import: `import { defineShader } from 'motionary/components/webgl'; defineShader();`
|
|
2933
|
-
- CDN: https://unpkg.com/motionary@
|
|
3095
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
2934
3096
|
|
|
2935
3097
|
```html
|
|
2936
3098
|
<usa-shader preset="aurora" speed="1">
|
|
@@ -2949,7 +3111,7 @@ A GPU shader behind your content: gradient, plasma, waves or aurora presets —
|
|
|
2949
3111
|
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.
|
|
2950
3112
|
|
|
2951
3113
|
- Import: `import { defineShaderBackdrop } from 'motionary/components/widgets'; defineShaderBackdrop();`
|
|
2952
|
-
- CDN: https://unpkg.com/motionary@
|
|
3114
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
2953
3115
|
- Attributes: `preset`, `post`, `colors`, `speed`, `intensity`, `label`
|
|
2954
3116
|
- Events: `usa:backend`
|
|
2955
3117
|
|
|
@@ -2964,7 +3126,7 @@ A GPU shader behind your content: gradient, plasma, waves or aurora presets —
|
|
|
2964
3126
|
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.
|
|
2965
3127
|
|
|
2966
3128
|
- Import: `import { defineSheet } from 'motionary/components/widgets'; defineSheet();`
|
|
2967
|
-
- CDN: https://unpkg.com/motionary@
|
|
3129
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
2968
3130
|
|
|
2969
3131
|
```html
|
|
2970
3132
|
<button data-usa-open="cart">Cart</button>
|
|
@@ -2980,7 +3142,7 @@ A GPU shader behind your content: gradient, plasma, waves or aurora presets —
|
|
|
2980
3142
|
A light sweep across gradient-filled text. CSS only; colours and speed via attributes or custom properties.
|
|
2981
3143
|
|
|
2982
3144
|
- Import: `import { defineShimmerText } from 'motionary/components/text'; defineShimmerText();`
|
|
2983
|
-
- CDN: https://unpkg.com/motionary@
|
|
3145
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
2984
3146
|
- Attributes: `duration`, `color`, `shine`, `angle`
|
|
2985
3147
|
|
|
2986
3148
|
```html
|
|
@@ -2992,7 +3154,7 @@ A light sweep across gradient-filled text. CSS only; colours and speed via attri
|
|
|
2992
3154
|
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.
|
|
2993
3155
|
|
|
2994
3156
|
- Import: `import { defineShortcut } from 'motionary/components/widgets'; defineShortcut();`
|
|
2995
|
-
- CDN: https://unpkg.com/motionary@
|
|
3157
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
2996
3158
|
- Attributes: `keys`, `label`, `listen`, `for`
|
|
2997
3159
|
- Events: `usa:trigger`
|
|
2998
3160
|
- Methods: `press()`
|
|
@@ -3007,7 +3169,7 @@ A light sweep across gradient-filled text. CSS only; colours and speed via attri
|
|
|
3007
3169
|
Shimmering placeholders while loading; remove loading and the real content fades in. aria-busy included.
|
|
3008
3170
|
|
|
3009
3171
|
- Import: `import { defineSkeleton } from 'motionary/components/feedback'; defineSkeleton();`
|
|
3010
|
-
- CDN: https://unpkg.com/motionary@
|
|
3172
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
3011
3173
|
- Attributes: `loading`, `lines`, `width`, `height`, `circle`, `avatar`, `radius`
|
|
3012
3174
|
- Events: `usa:loaded`
|
|
3013
3175
|
|
|
@@ -3022,7 +3184,7 @@ Shimmering placeholders while loading; remove loading and the real content fades
|
|
|
3022
3184
|
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.
|
|
3023
3185
|
|
|
3024
3186
|
- Import: `import { defineSkeletonReveal } from 'motionary/components/widgets'; defineSkeletonReveal();`
|
|
3025
|
-
- CDN: https://unpkg.com/motionary@
|
|
3187
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
3026
3188
|
- Attributes: `loading`, `variant`
|
|
3027
3189
|
- Events: `usa:reveal`
|
|
3028
3190
|
- Methods: `reveal()`
|
|
@@ -3041,7 +3203,7 @@ Shimmering placeholders while loading; remove loading and the real content fades
|
|
|
3041
3203
|
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.
|
|
3042
3204
|
|
|
3043
3205
|
- Import: `import { defineSketchChart } from 'motionary/components/widgets'; defineSketchChart();`
|
|
3044
|
-
- CDN: https://unpkg.com/motionary@
|
|
3206
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
3045
3207
|
- Attributes: `values`, `labels`, `type`, `color`, `label`
|
|
3046
3208
|
- Events: `usa:drawn`
|
|
3047
3209
|
- Methods: `setValues()`, `redraw()`
|
|
@@ -3055,7 +3217,7 @@ Shimmering placeholders while loading; remove loading and the real content fades
|
|
|
3055
3217
|
A form-associated range slider: spring-following thumb, value bubble, full keyboard support (arrows, Page Up/Down, Home/End).
|
|
3056
3218
|
|
|
3057
3219
|
- Import: `import { defineSlider } from 'motionary/components/ui'; defineSlider();`
|
|
3058
|
-
- CDN: https://unpkg.com/motionary@
|
|
3220
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
3059
3221
|
- Attributes: `min`, `max`, `disabled`, `label`
|
|
3060
3222
|
- Events: `usa:input`, `usa:change`
|
|
3061
3223
|
|
|
@@ -3068,7 +3230,7 @@ A form-associated range slider: spring-following thumb, value bubble, full keybo
|
|
|
3068
3230
|
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.
|
|
3069
3231
|
|
|
3070
3232
|
- Import: `import { defineSmoothScroll } from 'motionary/components/widgets'; defineSmoothScroll();`
|
|
3071
|
-
- CDN: https://unpkg.com/motionary@
|
|
3233
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
3072
3234
|
- Attributes: `lerp`, `duration`, `ease`, `wheel-multiplier`, `horizontal`, `touch`, `anchors`, `offset`, `wrapper`, `preview`
|
|
3073
3235
|
- Events: `usa:scroll`, `usa:ready`, `usa:runtime-missing`
|
|
3074
3236
|
- Methods: `glideTo()`, `stop()`, `resume()`
|
|
@@ -3086,11 +3248,11 @@ defineSmoothScroll(); // registers <usa-smooth-scroll> — after the prerequisit
|
|
|
3086
3248
|
```
|
|
3087
3249
|
|
|
3088
3250
|
```html
|
|
3089
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
3090
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
3251
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></script>
|
|
3252
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/smooth.iife.js"></script>
|
|
3091
3253
|
<!-- then the component bundles -->
|
|
3092
|
-
<script src="https://unpkg.com/motionary@
|
|
3093
|
-
<script src="https://unpkg.com/motionary@
|
|
3254
|
+
<script src="https://unpkg.com/motionary@11/dist/components.umd.js"></script>
|
|
3255
|
+
<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>
|
|
3094
3256
|
```
|
|
3095
3257
|
|
|
3096
3258
|
```html
|
|
@@ -3102,7 +3264,7 @@ defineSmoothScroll(); // registers <usa-smooth-scroll> — after the prerequisit
|
|
|
3102
3264
|
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).
|
|
3103
3265
|
|
|
3104
3266
|
- Import: `import { defineSnapCarousel } from 'motionary/components/snap-carousel'; defineSnapCarousel();`
|
|
3105
|
-
- CDN: https://unpkg.com/motionary@
|
|
3267
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
3106
3268
|
- Attributes: `align`, `gap`, `autoplay`, `no-controls`, `no-dots`, `label`
|
|
3107
3269
|
- Events: `usa:change`, `usa:runtime-missing`
|
|
3108
3270
|
- Methods: `next()`, `prev()`, `goTo()`
|
|
@@ -3120,11 +3282,11 @@ defineSnapCarousel(); // registers <usa-snap-carousel> — after the prerequisit
|
|
|
3120
3282
|
```
|
|
3121
3283
|
|
|
3122
3284
|
```html
|
|
3123
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
3124
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
3285
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></script>
|
|
3286
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/drag-snap.iife.js"></script>
|
|
3125
3287
|
<!-- then the component bundles -->
|
|
3126
|
-
<script src="https://unpkg.com/motionary@
|
|
3127
|
-
<script src="https://unpkg.com/motionary@
|
|
3288
|
+
<script src="https://unpkg.com/motionary@11/dist/components.umd.js"></script>
|
|
3289
|
+
<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>
|
|
3128
3290
|
```
|
|
3129
3291
|
|
|
3130
3292
|
```html
|
|
@@ -3140,7 +3302,7 @@ defineSnapCarousel(); // registers <usa-snap-carousel> — after the prerequisit
|
|
|
3140
3302
|
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.
|
|
3141
3303
|
|
|
3142
3304
|
- Import: `import { defineSparkline } from 'motionary/components/widgets'; defineSparkline();`
|
|
3143
|
-
- CDN: https://unpkg.com/motionary@
|
|
3305
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
3144
3306
|
- Attributes: `variant`, `color`
|
|
3145
3307
|
|
|
3146
3308
|
```html
|
|
@@ -3152,7 +3314,7 @@ defineSnapCarousel(); // registers <usa-snap-carousel> — after the prerequisit
|
|
|
3152
3314
|
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.
|
|
3153
3315
|
|
|
3154
3316
|
- Import: `import { defineSpatialCard } from 'motionary/components/widgets'; defineSpatialCard();`
|
|
3155
|
-
- CDN: https://unpkg.com/motionary@
|
|
3317
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
3156
3318
|
- Events: `usa:focus-depth`
|
|
3157
3319
|
|
|
3158
3320
|
```html
|
|
@@ -3168,7 +3330,7 @@ defineSnapCarousel(); // registers <usa-snap-carousel> — after the prerequisit
|
|
|
3168
3330
|
Six indeterminate indicators: the WinUI progress ring, the Windows 10 orbiting dots, ring, typing dots, pulse and bars.
|
|
3169
3331
|
|
|
3170
3332
|
- Import: `import { defineSpinner } from 'motionary/components/feedback'; defineSpinner();`
|
|
3171
|
-
- CDN: https://unpkg.com/motionary@
|
|
3333
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
3172
3334
|
- Attributes: `kind`, `size`, `label`
|
|
3173
3335
|
|
|
3174
3336
|
```html
|
|
@@ -3181,7 +3343,7 @@ Six indeterminate indicators: the WinUI progress ring, the Windows 10 orbiting d
|
|
|
3181
3343
|
An app launch screen that leaves (fade, scale, slide-up, circle) once the page has loaded — never sooner than min ms.
|
|
3182
3344
|
|
|
3183
3345
|
- Import: `import { defineSplash } from 'motionary/components/page'; defineSplash();`
|
|
3184
|
-
- CDN: https://unpkg.com/motionary@
|
|
3346
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
3185
3347
|
- Events: `usa:done`
|
|
3186
3348
|
- Methods: `done()`
|
|
3187
3349
|
|
|
@@ -3196,7 +3358,7 @@ An app launch screen that leaves (fade, scale, slide-up, circle) once the page h
|
|
|
3196
3358
|
Splits a headline into letters or words and cascades them in: rise, fade, blur, flip or pop. Words never break.
|
|
3197
3359
|
|
|
3198
3360
|
- Import: `import { defineSplitText } from 'motionary/components/text'; defineSplitText();`
|
|
3199
|
-
- CDN: https://unpkg.com/motionary@
|
|
3361
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
3200
3362
|
- Attributes: `by`, `text`
|
|
3201
3363
|
- Events: `usa:complete`
|
|
3202
3364
|
- Methods: `play()`, `reset()`
|
|
@@ -3210,7 +3372,7 @@ Splits a headline into letters or words and cascades them in: rise, fade, blur,
|
|
|
3210
3372
|
The Windows Fluent “Reveal” effect: a light follows the pointer, lighting the borders of nearby items and the hovered one.
|
|
3211
3373
|
|
|
3212
3374
|
- Import: `import { defineSpotlight } from 'motionary/components/interaction'; defineSpotlight();`
|
|
3213
|
-
- CDN: https://unpkg.com/motionary@
|
|
3375
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
3214
3376
|
- Attributes: `size`, `color`, `border`
|
|
3215
3377
|
|
|
3216
3378
|
```html
|
|
@@ -3226,7 +3388,7 @@ The Windows Fluent “Reveal” effect: a light follows the pointer, lighting th
|
|
|
3226
3388
|
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.
|
|
3227
3389
|
|
|
3228
3390
|
- Import: `import { defineSpring } from 'motionary/components/physics'; defineSpring();`
|
|
3229
|
-
- CDN: https://unpkg.com/motionary@
|
|
3391
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
3230
3392
|
- Attributes: `effect`, `trigger`, `repeat`
|
|
3231
3393
|
- Events: `usa:complete`
|
|
3232
3394
|
- Methods: `play()`, `reset()`
|
|
@@ -3245,7 +3407,7 @@ bounce-in, pop and drop entrances with true spring timing (CSS linear() easing),
|
|
|
3245
3407
|
Reveals direct children one after another — lists, grids, feature rows.
|
|
3246
3408
|
|
|
3247
3409
|
- Import: `import { defineStagger } from 'motionary/components/reveal'; defineStagger();`
|
|
3248
|
-
- CDN: https://unpkg.com/motionary@
|
|
3410
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
3249
3411
|
- Attributes: `effect`, `repeat`, `threshold`
|
|
3250
3412
|
- Events: `usa:enter`, `usa:complete`
|
|
3251
3413
|
- Methods: `reveal()`, `reset()`
|
|
@@ -3263,7 +3425,7 @@ Reveals direct children one after another — lists, grids, feature rows.
|
|
|
3263
3425
|
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.
|
|
3264
3426
|
|
|
3265
3427
|
- Import: `import { defineStarRating } from 'motionary/components/widgets'; defineStarRating();`
|
|
3266
|
-
- CDN: https://unpkg.com/motionary@
|
|
3428
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
3267
3429
|
- Attributes: `max`, `icon`, `readonly`, `step`
|
|
3268
3430
|
- Events: `usa:change`
|
|
3269
3431
|
|
|
@@ -3277,7 +3439,7 @@ Reveals direct children one after another — lists, grids, feature rows.
|
|
|
3277
3439
|
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.
|
|
3278
3440
|
|
|
3279
3441
|
- Import: `import { defineStepper } from 'motionary/components/widgets'; defineStepper();`
|
|
3280
|
-
- CDN: https://unpkg.com/motionary@
|
|
3442
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
3281
3443
|
- Attributes: `orientation`
|
|
3282
3444
|
- Events: `usa:change`
|
|
3283
3445
|
- Methods: `next()`, `prev()`
|
|
@@ -3296,7 +3458,7 @@ Reveals direct children one after another — lists, grids, feature rows.
|
|
|
3296
3458
|
Cards stick while you scroll and the covered ones shrink and dim as the next slides over them.
|
|
3297
3459
|
|
|
3298
3460
|
- Import: `import { defineStickyStack } from 'motionary/components/cards'; defineStickyStack();`
|
|
3299
|
-
- CDN: https://unpkg.com/motionary@
|
|
3461
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
3300
3462
|
- Attributes: `top`, `gap`, `scale`
|
|
3301
3463
|
- Methods: `update()`
|
|
3302
3464
|
|
|
@@ -3313,7 +3475,7 @@ Cards stick while you scroll and the covered ones shrink and dim as the next sli
|
|
|
3313
3475
|
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.
|
|
3314
3476
|
|
|
3315
3477
|
- Import: `import { defineStickyWall } from 'motionary/components/widgets'; defineStickyWall();`
|
|
3316
|
-
- CDN: https://unpkg.com/motionary@
|
|
3478
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
3317
3479
|
- Attributes: `seed`, `label`
|
|
3318
3480
|
- Events: `usa:pick`
|
|
3319
3481
|
- Methods: `pick()`
|
|
@@ -3331,7 +3493,7 @@ Cards stick while you scroll and the covered ones shrink and dim as the next sli
|
|
|
3331
3493
|
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.
|
|
3332
3494
|
|
|
3333
3495
|
- Import: `import { defineStories } from 'motionary/components/widgets'; defineStories();`
|
|
3334
|
-
- CDN: https://unpkg.com/motionary@
|
|
3496
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
3335
3497
|
- Attributes: `duration`, `loop`
|
|
3336
3498
|
- Events: `usa:end`, `usa:change`
|
|
3337
3499
|
- Methods: `next()`, `prev()`, `goTo()`, `pause()`, `play()`
|
|
@@ -3348,7 +3510,7 @@ Cards stick while you scroll and the covered ones shrink and dim as the next sli
|
|
|
3348
3510
|
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.
|
|
3349
3511
|
|
|
3350
3512
|
- Import: `import { defineStory } from 'motionary/components/effects'; defineStory();`
|
|
3351
|
-
- CDN: https://unpkg.com/motionary@
|
|
3513
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
3352
3514
|
- Attributes: `template`, `zoom`
|
|
3353
3515
|
|
|
3354
3516
|
```html
|
|
@@ -3365,7 +3527,7 @@ Cards stick while you scroll and the covered ones shrink and dim as the next sli
|
|
|
3365
3527
|
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.
|
|
3366
3528
|
|
|
3367
3529
|
- Import: `import { defineSuggestionChips } from 'motionary/components/widgets'; defineSuggestionChips();`
|
|
3368
|
-
- CDN: https://unpkg.com/motionary@
|
|
3530
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
3369
3531
|
- Attributes: `items`, `label`, `dismiss`
|
|
3370
3532
|
- Events: `usa:pick`
|
|
3371
3533
|
- Methods: `setItems()`
|
|
@@ -3379,7 +3541,7 @@ Cards stick while you scroll and the covered ones shrink and dim as the next sli
|
|
|
3379
3541
|
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(), ← / →.
|
|
3380
3542
|
|
|
3381
3543
|
- Import: `import { defineSwipeDeck } from 'motionary/components/widgets'; defineSwipeDeck();`
|
|
3382
|
-
- CDN: https://unpkg.com/motionary@
|
|
3544
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
3383
3545
|
- Events: `usa:swipe`, `usa:empty`
|
|
3384
3546
|
- Methods: `like()`, `nope()`, `undo()`
|
|
3385
3547
|
|
|
@@ -3396,7 +3558,7 @@ Cards stick while you scroll and the covered ones shrink and dim as the next sli
|
|
|
3396
3558
|
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.
|
|
3397
3559
|
|
|
3398
3560
|
- Import: `import { defineSwipeable } from 'motionary/components/gesture'; defineSwipeable();`
|
|
3399
|
-
- CDN: https://unpkg.com/motionary@
|
|
3561
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
3400
3562
|
- Attributes: `axis`, `disabled`
|
|
3401
3563
|
- Events: `usa:swipe`, `usa:dismiss`
|
|
3402
3564
|
- Methods: `swipe()`, `reset()`
|
|
@@ -3412,7 +3574,7 @@ Swipe-to-dismiss and swipe actions: content follows the finger, flies out on a f
|
|
|
3412
3574
|
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.
|
|
3413
3575
|
|
|
3414
3576
|
- Import: `import { defineSwitch } from 'motionary/components/widgets'; defineSwitch();`
|
|
3415
|
-
- CDN: https://unpkg.com/motionary@
|
|
3577
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
3416
3578
|
- Attributes: `variant`
|
|
3417
3579
|
- Events: `usa:change`
|
|
3418
3580
|
- Methods: `toggle()`
|
|
@@ -3426,7 +3588,7 @@ Swipe-to-dismiss and swipe actions: content follows the finger, flies out on a f
|
|
|
3426
3588
|
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.
|
|
3427
3589
|
|
|
3428
3590
|
- Import: `import { defineTabBar } from 'motionary/components/widgets'; defineTabBar();`
|
|
3429
|
-
- CDN: https://unpkg.com/motionary@
|
|
3591
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
3430
3592
|
- Attributes: `indicator`
|
|
3431
3593
|
- Events: `usa:change`
|
|
3432
3594
|
- Methods: `select()`
|
|
@@ -3447,7 +3609,7 @@ Swipe-to-dismiss and swipe actions: content follows the finger, flies out on a f
|
|
|
3447
3609
|
Accessible tabs whose indicator slides between tabs with a spring; panels slide in from the direction you moved. Line or pill indicator.
|
|
3448
3610
|
|
|
3449
3611
|
- Import: `import { defineTabs } from 'motionary/components/ui'; defineTabs();`
|
|
3450
|
-
- CDN: https://unpkg.com/motionary@
|
|
3612
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
3451
3613
|
- Attributes: `indicator`
|
|
3452
3614
|
- Events: `usa:change`
|
|
3453
3615
|
- Methods: `select()`
|
|
@@ -3465,7 +3627,7 @@ Accessible tabs whose indicator slides between tabs with a spring; panels slide
|
|
|
3465
3627
|
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.
|
|
3466
3628
|
|
|
3467
3629
|
- Import: `import { defineTerminal } from 'motionary/components/widgets'; defineTerminal();`
|
|
3468
|
-
- CDN: https://unpkg.com/motionary@
|
|
3630
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
3469
3631
|
- Attributes: `title`, `prompt`, `theme`, `speed`
|
|
3470
3632
|
- Events: `usa:done`
|
|
3471
3633
|
- Methods: `replay()`, `skip()`
|
|
@@ -3482,7 +3644,7 @@ Accessible tabs whose indicator slides between tabs with a spring; panels slide
|
|
|
3482
3644
|
Cycles words in place — the box keeps the width of the longest word, so nothing around it reflows.
|
|
3483
3645
|
|
|
3484
3646
|
- Import: `import { defineTextRotate } from 'motionary/components/text'; defineTextRotate();`
|
|
3485
|
-
- CDN: https://unpkg.com/motionary@
|
|
3647
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
3486
3648
|
- Attributes: `words`, `interval`, `paused`
|
|
3487
3649
|
- Events: `usa:change`
|
|
3488
3650
|
- Methods: `next()`
|
|
@@ -3496,7 +3658,7 @@ Build <usa-text-rotate words="fast|tiny|typed"></usa-text-rotate> apps
|
|
|
3496
3658
|
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.
|
|
3497
3659
|
|
|
3498
3660
|
- Import: `import { defineTextSplitter } from 'motionary/components/widgets'; defineTextSplitter();`
|
|
3499
|
-
- CDN: https://unpkg.com/motionary@
|
|
3661
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
3500
3662
|
- Attributes: `split`, `effect`, `stagger`, `duration`, `loop`, `trigger`
|
|
3501
3663
|
- Events: `usa:split`, `usa:done`, `usa:runtime-missing`
|
|
3502
3664
|
- Methods: `replay()`, `pieces()`
|
|
@@ -3514,11 +3676,11 @@ defineTextSplitter(); // registers <usa-text-splitter> — after the prerequisit
|
|
|
3514
3676
|
```
|
|
3515
3677
|
|
|
3516
3678
|
```html
|
|
3517
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
3518
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
3679
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime.iife.js"></script>
|
|
3680
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@11/dist/runtime/text.iife.js"></script>
|
|
3519
3681
|
<!-- then the component bundles -->
|
|
3520
|
-
<script src="https://unpkg.com/motionary@
|
|
3521
|
-
<script src="https://unpkg.com/motionary@
|
|
3682
|
+
<script src="https://unpkg.com/motionary@11/dist/components.umd.js"></script>
|
|
3683
|
+
<script src="https://unpkg.com/motionary@11/dist/widgets.umd.js"></script>
|
|
3522
3684
|
```
|
|
3523
3685
|
|
|
3524
3686
|
```html
|
|
@@ -3530,7 +3692,7 @@ defineTextSplitter(); // registers <usa-text-splitter> — after the prerequisit
|
|
|
3530
3692
|
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.
|
|
3531
3693
|
|
|
3532
3694
|
- Import: `import { defineThemeSurface } from 'motionary/components/widgets'; defineThemeSurface();`
|
|
3533
|
-
- CDN: https://unpkg.com/motionary@
|
|
3695
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
3534
3696
|
- Attributes: `theme`
|
|
3535
3697
|
- Events: `usa:theme`
|
|
3536
3698
|
|
|
@@ -3545,7 +3707,7 @@ defineTextSplitter(); // registers <usa-text-splitter> — after the prerequisit
|
|
|
3545
3707
|
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.
|
|
3546
3708
|
|
|
3547
3709
|
- Import: `import { defineThemeSwitcher } from 'motionary/components/widgets'; defineThemeSwitcher();`
|
|
3548
|
-
- CDN: https://unpkg.com/motionary@
|
|
3710
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
3549
3711
|
- Attributes: `themes`, `target`, `label`
|
|
3550
3712
|
- Events: `usa:change`
|
|
3551
3713
|
|
|
@@ -3553,23 +3715,12 @@ defineTextSplitter(); // registers <usa-text-splitter> — after the prerequisit
|
|
|
3553
3715
|
<usa-theme-switcher themes="light,dark,neon,glass,neu" persist></usa-theme-switcher>
|
|
3554
3716
|
```
|
|
3555
3717
|
|
|
3556
|
-
### <usa-three-scene> — <usa-three-scene>
|
|
3557
|
-
|
|
3558
|
-
`<usa-three-scene>` — alias of `<usa-gl-scene>` (same attributes, events and methods; no Three.js involved).
|
|
3559
|
-
|
|
3560
|
-
- Import: `import { defineThreeScene } from 'motionary/components/widgets'; defineThreeScene();`
|
|
3561
|
-
- CDN: https://unpkg.com/motionary@10/dist/widgets.umd.js
|
|
3562
|
-
|
|
3563
|
-
```html
|
|
3564
|
-
<usa-three-scene></usa-three-scene>
|
|
3565
|
-
```
|
|
3566
|
-
|
|
3567
3718
|
### <usa-tilt> — 3D tilt card
|
|
3568
3719
|
|
|
3569
3720
|
Tilts toward the pointer in 3D with an optional glare; exposes --usa-tilt-x/y for parallax layers inside.
|
|
3570
3721
|
|
|
3571
3722
|
- Import: `import { defineTilt } from 'motionary/components/interaction'; defineTilt();`
|
|
3572
|
-
- CDN: https://unpkg.com/motionary@
|
|
3723
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
3573
3724
|
- Attributes: `max`, `scale`, `perspective`, `glare`, `reverse`, `disabled`
|
|
3574
3725
|
|
|
3575
3726
|
```html
|
|
@@ -3583,7 +3734,7 @@ Tilts toward the pointer in 3D with an optional glare; exposes --usa-tilt-x/y fo
|
|
|
3583
3734
|
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.
|
|
3584
3735
|
|
|
3585
3736
|
- Import: `import { defineTimeline } from 'motionary/components/timeline'; defineTimeline();`
|
|
3586
|
-
- CDN: https://unpkg.com/motionary@
|
|
3737
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
3587
3738
|
- Attributes: `scrub`, `trigger`, `overlap`
|
|
3588
3739
|
- Events: `usa:complete`
|
|
3589
3740
|
- Methods: `play()`, `reverse()`, `seek()`
|
|
@@ -3601,7 +3752,7 @@ Every data-tl child becomes a step in document order. data-at ('-=200', '<', 'la
|
|
|
3601
3752
|
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.
|
|
3602
3753
|
|
|
3603
3754
|
- Import: `import { defineTip } from 'motionary/components/widgets'; defineTip();`
|
|
3604
|
-
- CDN: https://unpkg.com/motionary@
|
|
3755
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
3605
3756
|
- Attributes: `text`, `placement`, `trigger`
|
|
3606
3757
|
- Events: `usa:open`, `usa:close`
|
|
3607
3758
|
- Methods: `show()`, `hide()`
|
|
@@ -3621,7 +3772,7 @@ Every data-tl child becomes a step in document order. data-at ('-=200', '<', 'la
|
|
|
3621
3772
|
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.
|
|
3622
3773
|
|
|
3623
3774
|
- Import: `import { defineToastStack } from 'motionary/components/widgets'; defineToastStack();`
|
|
3624
|
-
- CDN: https://unpkg.com/motionary@
|
|
3775
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
3625
3776
|
- Attributes: `position`
|
|
3626
3777
|
- Events: `usa:show`, `usa:dismiss`
|
|
3627
3778
|
- Methods: `show()`, `dismiss()`, `clear()`
|
|
@@ -3637,7 +3788,7 @@ Every data-tl child becomes a step in document order. data-at ('-=200', '<', 'la
|
|
|
3637
3788
|
toast("Saved") slides a notification in; it pauses on hover, stacks with FLIP and announces politely (errors assertively).
|
|
3638
3789
|
|
|
3639
3790
|
- Import: `import { defineToaster } from 'motionary/components/feedback'; defineToaster();`
|
|
3640
|
-
- CDN: https://unpkg.com/motionary@
|
|
3791
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
3641
3792
|
- Attributes: `label`
|
|
3642
3793
|
- Events: `usa:toast`
|
|
3643
3794
|
- Methods: `show()`, `clear()`
|
|
@@ -3655,7 +3806,7 @@ toast("Saved") slides a notification in; it pauses on hover, stacks with FLIP an
|
|
|
3655
3806
|
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.
|
|
3656
3807
|
|
|
3657
3808
|
- Import: `import { defineTokenEditor } from 'motionary/components/widgets'; defineTokenEditor();`
|
|
3658
|
-
- CDN: https://unpkg.com/motionary@
|
|
3809
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
3659
3810
|
- Attributes: `apply`, `format`, `groups`
|
|
3660
3811
|
- Events: `usa:export`, `usa:import`, `usa:change`
|
|
3661
3812
|
- Methods: `exportJSON()`, `importJSON()`
|
|
@@ -3669,7 +3820,7 @@ toast("Saved") slides a notification in; it pauses on hover, stacks with FLIP an
|
|
|
3669
3820
|
Types text, or cycles through phrases with delete and pause. Full text stays available to screen readers.
|
|
3670
3821
|
|
|
3671
3822
|
- Import: `import { defineTypewriter } from 'motionary/components/text'; defineTypewriter();`
|
|
3672
|
-
- CDN: https://unpkg.com/motionary@
|
|
3823
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
3673
3824
|
- Attributes: `text`, `words`
|
|
3674
3825
|
- Events: `usa:complete`
|
|
3675
3826
|
- Methods: `start()`, `stop()`, `restart()`
|
|
@@ -3683,7 +3834,7 @@ Types text, or cycles through phrases with delete and pause. Full text stays ava
|
|
|
3683
3834
|
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.
|
|
3684
3835
|
|
|
3685
3836
|
- Import: `import { defineUploadProgress } from 'motionary/components/widgets'; defineUploadProgress();`
|
|
3686
|
-
- CDN: https://unpkg.com/motionary@
|
|
3837
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
3687
3838
|
- Attributes: `name`, `size`, `value`, `status`, `message`
|
|
3688
3839
|
- Events: `usa:retry`, `usa:done`, `usa:error`
|
|
3689
3840
|
|
|
@@ -3697,7 +3848,7 @@ Types text, or cycles through phrases with delete and pause. Full text stays ava
|
|
|
3697
3848
|
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).
|
|
3698
3849
|
|
|
3699
3850
|
- Import: `import { defineVideoCard } from 'motionary/components/widgets'; defineVideoCard();`
|
|
3700
|
-
- CDN: https://unpkg.com/motionary@
|
|
3851
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
3701
3852
|
- Attributes: `label`, `duration`
|
|
3702
3853
|
- Events: `usa:open`
|
|
3703
3854
|
|
|
@@ -3714,7 +3865,7 @@ Types text, or cycles through phrases with delete and pause. Full text stays ava
|
|
|
3714
3865
|
One view at a time with direction-aware slide, fade, scale or drill transitions — tabs, wizards, app pages.
|
|
3715
3866
|
|
|
3716
3867
|
- Import: `import { defineViewSwitch } from 'motionary/components/transitions'; defineViewSwitch();`
|
|
3717
|
-
- CDN: https://unpkg.com/motionary@
|
|
3868
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
3718
3869
|
- Attributes: `active`
|
|
3719
3870
|
- Events: `usa:change`
|
|
3720
3871
|
- Methods: `show()`
|
|
@@ -3731,7 +3882,7 @@ One view at a time with direction-aware slide, fade, scale or drill transitions
|
|
|
3731
3882
|
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.
|
|
3732
3883
|
|
|
3733
3884
|
- Import: `import { defineVoiceButton } from 'motionary/components/widgets'; defineVoiceButton();`
|
|
3734
|
-
- CDN: https://unpkg.com/motionary@
|
|
3885
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
3735
3886
|
- Attributes: `label`, `bars`, `listening`
|
|
3736
3887
|
- Methods: `toggle()`
|
|
3737
3888
|
|
|
@@ -3745,7 +3896,7 @@ One view at a time with direction-aware slide, fade, scale or drill transitions
|
|
|
3745
3896
|
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".
|
|
3746
3897
|
|
|
3747
3898
|
- Import: `import { defineVolumeKnob } from 'motionary/components/widgets'; defineVolumeKnob();`
|
|
3748
|
-
- CDN: https://unpkg.com/motionary@
|
|
3899
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
3749
3900
|
- Attributes: `min`, `max`
|
|
3750
3901
|
- Events: `usa:change`, `usa:input`
|
|
3751
3902
|
|
|
@@ -3758,7 +3909,7 @@ One view at a time with direction-aware slide, fade, scale or drill transitions
|
|
|
3758
3909
|
Interactive water ripples on a canvas over the content: move or tap to disturb the surface.
|
|
3759
3910
|
|
|
3760
3911
|
- Import: `import { defineWaterRipple } from 'motionary/components/background'; defineWaterRipple();`
|
|
3761
|
-
- CDN: https://unpkg.com/motionary@
|
|
3912
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
3762
3913
|
- Methods: `mount()`
|
|
3763
3914
|
|
|
3764
3915
|
```html
|
|
@@ -3772,7 +3923,7 @@ Interactive water ripples on a canvas over the content: move or tap to disturb t
|
|
|
3772
3923
|
Letters bob in a travelling wave — playful headlines and loading labels.
|
|
3773
3924
|
|
|
3774
3925
|
- Import: `import { defineWaveText } from 'motionary/components/text'; defineWaveText();`
|
|
3775
|
-
- CDN: https://unpkg.com/motionary@
|
|
3926
|
+
- CDN: https://unpkg.com/motionary@11/dist/components.umd.js
|
|
3776
3927
|
- Attributes: `text`
|
|
3777
3928
|
- Methods: `mount()`, `splitChars()`
|
|
3778
3929
|
|
|
@@ -3785,7 +3936,7 @@ Letters bob in a travelling wave — playful headlines and loading labels.
|
|
|
3785
3936
|
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.
|
|
3786
3937
|
|
|
3787
3938
|
- Import: `import { defineWeatherCard } from 'motionary/components/widgets'; defineWeatherCard();`
|
|
3788
|
-
- CDN: https://unpkg.com/motionary@
|
|
3939
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
3789
3940
|
- Attributes: `condition`, `temp`, `place`, `unit`, `label`
|
|
3790
3941
|
|
|
3791
3942
|
```html
|
|
@@ -3797,7 +3948,7 @@ Letters bob in a travelling wave — playful headlines and loading labels.
|
|
|
3797
3948
|
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.
|
|
3798
3949
|
|
|
3799
3950
|
- Import: `import { defineWorkerCanvas } from 'motionary/components/widgets'; defineWorkerCanvas();`
|
|
3800
|
-
- CDN: https://unpkg.com/motionary@
|
|
3951
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
3801
3952
|
- Attributes: `scene`, `label`
|
|
3802
3953
|
- Events: `usa:backend`
|
|
3803
3954
|
|
|
@@ -3810,7 +3961,7 @@ Letters bob in a travelling wave — playful headlines and loading labels.
|
|
|
3810
3961
|
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).
|
|
3811
3962
|
|
|
3812
3963
|
- Import: `import { defineXpBar } from 'motionary/components/widgets'; defineXpBar();`
|
|
3813
|
-
- CDN: https://unpkg.com/motionary@
|
|
3964
|
+
- CDN: https://unpkg.com/motionary@11/dist/widgets.umd.js
|
|
3814
3965
|
- Attributes: `level`, `xp`, `per`
|
|
3815
3966
|
- Events: `usa:levelup`, `usa:xp`
|
|
3816
3967
|
- Methods: `add()`
|