motionary 13.3.0 → 13.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +34 -0
- package/README.md +1 -1
- package/dist/chunks/{anim-image-teDgsATS.js → anim-image-Czp1v-zv.js} +2 -2
- package/dist/chunks/{anim-image-B68xnlYD.cjs → anim-image-DnpOI25h.cjs} +2 -2
- package/dist/chunks/{audio-DhgfWYZ_.cjs → audio-D7Dk2gUF.cjs} +27 -6
- package/dist/chunks/{audio-5FOqrAxu.js → audio-DJkvNk0A.js} +27 -6
- package/dist/chunks/{badge-wall-Q7x5HSe_.cjs → badge-wall-BkqFzeUf.cjs} +2 -2
- package/dist/chunks/{badge-wall-Bd2dP3J7.js → badge-wall-C6St1WyC.js} +2 -2
- package/dist/chunks/{base-nzeN_ux7.js → base-Be98yNyq.js} +131 -99
- package/dist/chunks/{base-vu_KhBiv.cjs → base-Do-R_9gU.cjs} +132 -98
- package/dist/chunks/{bg-generator-Dncd000D.cjs → bg-generator-C9ee__nJ.cjs} +2 -2
- package/dist/chunks/{bg-generator-Dxx3s2zQ.js → bg-generator-YTB0quZa.js} +2 -2
- package/dist/chunks/bind-B_CTL6Qn.js +1 -1
- package/dist/chunks/bind-Ui43-n2d.cjs +1 -1
- package/dist/chunks/{builtins-hBOeCPXL.js → builtins-BQZ7idez.js} +3 -3
- package/dist/chunks/{builtins-A9ihuDwy.cjs → builtins-DGP3jBW1.cjs} +3 -3
- package/dist/chunks/{carousel-Blko8aKV.cjs → carousel-9IQYg8lJ.cjs} +2 -2
- package/dist/chunks/{carousel-DkQKWBK3.js → carousel-BQb8S9_i.js} +2 -2
- package/dist/chunks/{cart-drawer-kyj9TlQC.cjs → cart-drawer-DSRylorb.cjs} +4 -4
- package/dist/chunks/{cart-drawer-CtX6EQRa.js → cart-drawer-DsCXMYO2.js} +4 -4
- package/dist/chunks/{code-export-B6b27ZiI.js → code-export-BAM59KC-.js} +2 -2
- package/dist/chunks/{code-export-DOioRmM9.cjs → code-export-CTdTKJWS.cjs} +2 -2
- package/dist/chunks/{color-picker-B6YXJdur.cjs → color-picker-Cgj4F5G-.cjs} +2 -2
- package/dist/chunks/{color-picker-DNTzNylo.js → color-picker-zYIs1UU8.js} +2 -2
- package/dist/chunks/{command-palette-DAQQ_bkg.cjs → command-palette-Oiq7KY7o.cjs} +2 -2
- package/dist/chunks/{command-palette-C6XV1glX.js → command-palette-WCKbmW2N.js} +2 -2
- package/dist/chunks/{core-E18xla6s.cjs → core-6FhnH_Kv.cjs} +2 -2
- package/dist/chunks/{core-DfkeC4s-.cjs → core-B2156q7g.cjs} +2 -2
- package/dist/chunks/core-BjcOCpJt.cjs +1 -1
- package/dist/chunks/core-Dj6iomdc.js +1 -1
- package/dist/chunks/{core-DVGtPabi.js → core-FB2gL64M.js} +2 -2
- package/dist/chunks/{core-Bar7NFx7.js → core-RZkPEx8i.js} +2 -2
- package/dist/chunks/{countdown-Dhp9G96N.js → countdown-BKcrUeQ5.js} +2 -2
- package/dist/chunks/{countdown-Cvef0Kb1.cjs → countdown-oB1KGHQe.cjs} +2 -2
- package/dist/chunks/{date-picker-C9iVZUP3.cjs → date-picker-Bcez28ox.cjs} +2 -2
- package/dist/chunks/{date-picker-M7n1jZw9.js → date-picker-Dx4vGYze.js} +2 -2
- package/dist/chunks/ease-HwYZnZat.cjs +1 -1
- package/dist/chunks/ease-XN8_0sXu.js +1 -1
- package/dist/chunks/{equalizer-CN6AkBtT.js → equalizer-D8SG0IDP.js} +2 -2
- package/dist/chunks/{equalizer-6uhO-yfZ.cjs → equalizer-XIVScpXr.cjs} +2 -2
- package/dist/chunks/{festival-banner-Dsu53in5.js → festival-banner-C6y_nEAX.js} +2 -2
- package/dist/chunks/{festival-banner-ByYX1Oy6.cjs → festival-banner-TmiGZdmC.cjs} +2 -2
- package/dist/chunks/{field-DcC_zJBH.cjs → field-Bg6pHLD3.cjs} +2 -2
- package/dist/chunks/{field-DeTgNf7K.js → field-Do9yU2oB.js} +2 -2
- package/dist/chunks/{fx-lszndeFU.cjs → fx-O90ZgYwV.cjs} +2 -2
- package/dist/chunks/{fx-qAVpKs8e.js → fx-Wd1GKAzZ.js} +2 -2
- package/dist/chunks/{generative-BHIj-NU0.cjs → generative-BTya0iHP.cjs} +16 -4
- package/dist/chunks/{generative-2LhxG5BJ.js → generative-DkX6SvrL.js} +20 -8
- package/dist/chunks/{gl-scene-CUTsZPTZ.js → gl-scene-CZEQJPar.js} +9 -9
- package/dist/chunks/{gl-scene-DwcPxX2X.cjs → gl-scene-SRaGcmCA.cjs} +6 -6
- package/dist/chunks/{globe-Dms25CB5.cjs → globe-BOS1Kb8J.cjs} +10 -9
- package/dist/chunks/{globe-CzQ6nQ-o.js → globe-D_S-FB8k.js} +10 -9
- package/dist/chunks/{gpu-BREsvJpT.cjs → gpu--UifKXUA.cjs} +30 -9
- package/dist/chunks/{gpu-DdiOOXTP.js → gpu-B8vgh4lW.js} +37 -16
- package/dist/chunks/{gpu-particles-DrjYuSVR.cjs → gpu-particles-DICAeqwO.cjs} +6 -6
- package/dist/chunks/{gpu-particles-CbBJ_tIZ.js → gpu-particles-DaRztimn.js} +6 -6
- package/dist/chunks/index-tags-B-JBecYg.js +1 -1
- package/dist/chunks/index-tags-hLIF2Clq.cjs +1 -1
- package/dist/chunks/key-click-BLm3BI8_.js +1 -1
- package/dist/chunks/key-click-v7I4K5Sr.cjs +1 -1
- package/dist/chunks/{keyframes-BBke3wIL.js → keyframes-DE4F_oWc.js} +2 -2
- package/dist/chunks/{keyframes-dsAcxcJv.cjs → keyframes-DWmt9GdV.cjs} +2 -2
- package/dist/chunks/{leaderboard-wF-UnLbY.cjs → leaderboard-BKmKMStS.cjs} +4 -4
- package/dist/chunks/{leaderboard-D2Xb0lqP.js → leaderboard-CdMYDeaT.js} +4 -4
- package/dist/chunks/{location-card-BJsN6s34.cjs → location-card-Bxemk6MJ.cjs} +2 -2
- package/dist/chunks/{location-card-GrQnXfwp.js → location-card-C_3CQ3u-.js} +2 -2
- package/dist/chunks/{lottie-icon-DMkTeHCL.cjs → lottie-icon-Dyz8XJm5.cjs} +2 -2
- package/dist/chunks/{lottie-icon-D3fdgfNU.js → lottie-icon-oGP5LQ4G.js} +2 -2
- package/dist/chunks/{lottie-player-CkdMUN-D.js → lottie-player-Dr6ZGZZ9.js} +3 -3
- package/dist/chunks/{lottie-player-hYycf5lY.cjs → lottie-player-m8yiMFGM.cjs} +3 -3
- package/dist/chunks/{lyrics-CBRdLBDw.cjs → lyrics-BuVT1PyD.cjs} +6 -5
- package/dist/chunks/{lyrics-jTQwzX9m.js → lyrics-DlNbqyV3.js} +6 -5
- package/dist/chunks/{manifest-pVzW6oyg.js → manifest-C6nei25r.js} +2 -2
- package/dist/chunks/{manifest-Rxf1Mumb.cjs → manifest-DcyvsF07.cjs} +2 -2
- package/dist/chunks/{menu-Bc2M8HMJ.cjs → menu-CZj0BChd.cjs} +2 -2
- package/dist/chunks/{menu-Ydg47TQx.js → menu-hmi07frR.js} +2 -2
- package/dist/chunks/{menu-toggle-C-_dv_TN.js → menu-toggle--mqC1pWc.js} +2 -2
- package/dist/chunks/{menu-toggle-B1YBlbdJ.cjs → menu-toggle-Bef1YqbK.cjs} +2 -2
- package/dist/chunks/{nav-morph-kKmG_ocG.cjs → nav-morph-C7nb0-oA.cjs} +2 -2
- package/dist/chunks/{nav-morph-DA-Q4xec.js → nav-morph-k7sIJdS3.js} +2 -2
- package/dist/chunks/{otp-CVUw78Mr.js → otp-B9ctuDQG.js} +2 -2
- package/dist/chunks/{otp-Cxz5uFb_.cjs → otp-VBvUiZhb.cjs} +2 -2
- package/dist/chunks/{pagination-0fuULrSB.js → pagination-BiVi2UVo.js} +2 -2
- package/dist/chunks/{pagination-DbqyUpxV.cjs → pagination-DLTCrJwy.cjs} +2 -2
- package/dist/chunks/{physics-playground-5lihsTyh.cjs → physics-playground-CJMHlyVL.cjs} +5 -5
- package/dist/chunks/{physics-playground-_5_slxtj.js → physics-playground-DwL_sPea.js} +5 -5
- package/dist/chunks/{player-DqUZJ0d_.js → player-BdKLax0N.js} +14 -13
- package/dist/chunks/{player-DIwSjUFR.cjs → player-CbCdaCgu.cjs} +14 -13
- package/dist/chunks/{presence-CRfWmNWz.cjs → presence-5lrgeDaX.cjs} +2 -2
- package/dist/chunks/{presence-DfTxVIEf.js → presence-DnBQPaaY.js} +2 -2
- package/dist/chunks/presets-BYBVJVeP.js +1 -1
- package/dist/chunks/presets-CUHys3sK.cjs +1 -1
- package/dist/chunks/{prize-wheel-MOZOrI-p.cjs → prize-wheel-BA1q90gH.cjs} +2 -2
- package/dist/chunks/{prize-wheel-tgpOsdDA.js → prize-wheel-CYH2ZPIu.js} +2 -2
- package/dist/chunks/{product-gallery-BcGA35Ie.js → product-gallery-7iuP6mwb.js} +2 -2
- package/dist/chunks/{product-gallery-Bi6I6x1o.cjs → product-gallery-Dc7JVl8a.cjs} +2 -2
- package/dist/chunks/{progress-ring-6kTzB49S.js → progress-ring-Ba9YULbX.js} +7 -6
- package/dist/chunks/{progress-ring-BO9a3Q24.cjs → progress-ring-DDqq7gdF.cjs} +7 -6
- package/dist/chunks/{prop-panel-DGm8VM4Z.js → prop-panel-CS-i1ddG.js} +2 -2
- package/dist/chunks/{prop-panel-_kA6mvB9.cjs → prop-panel-Dzx20-yH.cjs} +2 -2
- package/dist/chunks/{radar-DT93Se3Y.cjs → radar-BQo33pqi.cjs} +2 -2
- package/dist/chunks/{radar-sKiciNsS.js → radar-DJ-g9iCt.js} +2 -2
- package/dist/chunks/{reactions-BASnlqck.cjs → reactions-B64fCmEB.cjs} +2 -2
- package/dist/chunks/{reactions-B4xogsDd.js → reactions-CLwwZmwU.js} +2 -2
- package/dist/chunks/{registry-PxXkPc1Q.js → registry-BEIhIRTY.js} +2 -2
- package/dist/chunks/{registry-C8rYCsXx.js → registry-BUmmzmpq.js} +2 -2
- package/dist/chunks/{registry-EziiQiWO.cjs → registry-CyVCJneg.cjs} +2 -2
- package/dist/chunks/{registry-BfiEkviv.cjs → registry-c80No5j_.cjs} +2 -2
- package/dist/chunks/{retro-button-BxCv-ybi.js → retro-button-BFF6rtya.js} +2 -2
- package/dist/chunks/{retro-button-DfuSdfWj.cjs → retro-button-BQNrjtEi.cjs} +2 -2
- package/dist/chunks/{rive-BHdln8XJ.js → rive-C9ySVu0Q.js} +2 -2
- package/dist/chunks/{rive-cR-Q9Quh.cjs → rive-Dr8J-ESq.cjs} +2 -2
- package/dist/chunks/{runtime-link-MABGYSmW.cjs → runtime-link-D3-QlIsO.cjs} +2 -2
- package/dist/chunks/{runtime-link-CeVpMlOJ.js → runtime-link-mepflyss.js} +2 -2
- package/dist/chunks/scroll-driven-CQbwzCdn.cjs +1 -1
- package/dist/chunks/scroll-driven-LghshrWq.js +1 -1
- package/dist/chunks/{scroll-scene-Bn2EQiJd.js → scroll-scene-BWY-mgkQ.js} +4 -4
- package/dist/chunks/{scroll-scene-CmbLFA1m.cjs → scroll-scene-YLwbThAg.cjs} +4 -4
- package/dist/chunks/{segmented-DHBqMcAF.js → segmented-B-Fafr8-.js} +2 -2
- package/dist/chunks/{segmented-CbZtwChW.cjs → segmented-C1wgQyHN.cjs} +2 -2
- package/dist/chunks/{shader-backdrop-DT1h5Zoc.cjs → shader-backdrop-BXGpaRMH.cjs} +5 -5
- package/dist/chunks/{shader-backdrop-rrssjdMI.js → shader-backdrop-DnT3eoNa.js} +8 -8
- package/dist/chunks/shared-Bf72wLyt.cjs +1 -1
- package/dist/chunks/shared-CkKHWrtJ.js +1 -1
- package/dist/chunks/shared-jkgRH-Hx.cjs +1 -1
- package/dist/chunks/shared-o9CtwHmi.js +1 -1
- package/dist/chunks/{sheet-C63sKkKn.js → sheet-CtmrBo6Z.js} +2 -2
- package/dist/chunks/{sheet-7UwF69TQ.cjs → sheet-V2M4Hqeg.cjs} +2 -2
- package/dist/chunks/sign-DvZ1jHxE.js +1 -1
- package/dist/chunks/sign-RAkQIWrM.cjs +1 -1
- package/dist/chunks/{skeleton-reveal-yj2lioib.js → skeleton-reveal-CVrbqy61.js} +2 -2
- package/dist/chunks/{skeleton-reveal-DfH6IiUG.cjs → skeleton-reveal-qCjodjPN.cjs} +2 -2
- package/dist/chunks/{sparkline-kl8sJ7cP.js → sparkline-B07Pc0F5.js} +7 -6
- package/dist/chunks/{sparkline-CCV_wZ9j.cjs → sparkline-BUBWK0k8.cjs} +7 -6
- package/dist/chunks/{spring-Q3Y-pHuP.cjs → spring-B0v7o7dG.cjs} +2 -2
- package/dist/chunks/{spring-BX7EJst7.js → spring-p9RY-4VF.js} +2 -2
- package/dist/chunks/stagger-B9sKPwQB.js +1 -1
- package/dist/chunks/stagger-DFKwqOQG.cjs +1 -1
- package/dist/chunks/{suggestion-chips-fmrwI2Da.js → suggestion-chips-C5jM-6sb.js} +2 -2
- package/dist/chunks/{suggestion-chips-D9i2FGGX.cjs → suggestion-chips-CnCb3mOH.cjs} +2 -2
- package/dist/chunks/{switch-DnwGGeZj.js → switch-Ch0OQ9TC.js} +2 -2
- package/dist/chunks/{switch-Db4uTUcj.cjs → switch-mpVeEIno.cjs} +2 -2
- package/dist/chunks/{tab-bar-CSx4fTC9.js → tab-bar-DUCZzsih.js} +2 -2
- package/dist/chunks/{tab-bar-DqzNvlDc.cjs → tab-bar-sXS1oYQ3.cjs} +2 -2
- package/dist/chunks/{ticker-j_dmsse0.cjs → ticker-BFq0AxP5.cjs} +2 -2
- package/dist/chunks/{ticker-DaMSl3Kd.js → ticker-DtCFsNm7.js} +2 -2
- package/dist/chunks/{tip-C8T1SdOJ.js → tip-B-mmUYra.js} +2 -2
- package/dist/chunks/{tip-CIh4O-DZ.cjs → tip-ICi0K5SV.cjs} +2 -2
- package/dist/chunks/{toast-stack-kHQdNZDv.cjs → toast-stack-BK0eWurx.cjs} +3 -3
- package/dist/chunks/{toast-stack-COXQ3IOx.js → toast-stack-DBGrj6zP.js} +3 -3
- package/dist/chunks/{tween-DQzuHdMx.cjs → tween-DUYiyPH_.cjs} +2 -2
- package/dist/chunks/{tween-BqIL1A7u.js → tween-DehPKIbN.js} +2 -2
- package/dist/chunks/{upload-progress-CXfoNUhm.js → upload-progress-Bup8Iw7N.js} +2 -2
- package/dist/chunks/{upload-progress-BhyFjwb6.cjs → upload-progress-fBjRmlqD.cjs} +2 -2
- package/dist/chunks/{variants-Dk-FItCT.cjs → variants-BbO5akAC.cjs} +2 -2
- package/dist/chunks/{variants-DY08myqK.js → variants-D7tUTCVW.js} +2 -2
- package/dist/chunks/viewport-BAXHhZLV.js +1 -1
- package/dist/chunks/viewport-EFYGqMNa.cjs +1 -1
- package/dist/chunks/{voice-button-DudPeVqK.cjs → voice-button-A-NPMqJG.cjs} +2 -2
- package/dist/chunks/{voice-button-DdKxtavP.js → voice-button-Bxh_839h.js} +2 -2
- package/dist/chunks/{weather-card-DfXFesfY.cjs → weather-card-CtqBfWnZ.cjs} +5 -5
- package/dist/chunks/{weather-card-Ecgk-JQd.js → weather-card-D2D8kYxm.js} +6 -6
- package/dist/chunks/{worker-canvas-BIuesniy.js → worker-canvas-C0lQZbKy.js} +2 -2
- package/dist/chunks/{worker-canvas-CEbqBgK5.cjs → worker-canvas-DGSgO2ci.cjs} +2 -2
- package/dist/chunks/{xp-bar-BC8UnCHG.cjs → xp-bar-5PeQeB1Y.cjs} +2 -2
- package/dist/chunks/{xp-bar-Cx-dMEMT.js → xp-bar-BGJrZYex.js} +2 -2
- package/dist/components/a11y.cjs +2 -2
- package/dist/components/a11y.js +3 -3
- package/dist/components/ai.cjs +1 -1
- package/dist/components/ai.js +1 -1
- package/dist/components/angular.cjs +9 -9
- package/dist/components/angular.js +9 -9
- package/dist/components/background.cjs +3 -3
- package/dist/components/background.js +3 -3
- package/dist/components/bridge.cjs +2 -2
- package/dist/components/bridge.js +2 -2
- package/dist/components/cards.cjs +3 -3
- package/dist/components/cards.js +3 -3
- package/dist/components/click.cjs +4 -4
- package/dist/components/click.js +4 -4
- package/dist/components/core.cjs +1 -1
- package/dist/components/core.js +1 -1
- package/dist/components/depth.cjs +4 -4
- package/dist/components/depth.js +4 -4
- package/dist/components/design.cjs +4 -4
- package/dist/components/design.js +4 -4
- package/dist/components/dotlottie.cjs +5 -5
- package/dist/components/dotlottie.js +5 -5
- package/dist/components/dsl.cjs +3 -3
- package/dist/components/dsl.js +3 -3
- package/dist/components/effects.cjs +64 -30
- package/dist/components/effects.d.cts +0 -88
- package/dist/components/effects.d.ts +0 -88
- package/dist/components/effects.js +72 -38
- package/dist/components/engine.cjs +2 -2
- package/dist/components/engine.js +3 -3
- package/dist/components/feedback.cjs +2 -2
- package/dist/components/feedback.js +2 -2
- package/dist/components/fx-3d.cjs +24 -6
- package/dist/components/fx-3d.d.cts +0 -19
- package/dist/components/fx-3d.d.ts +0 -19
- package/dist/components/fx-3d.js +24 -6
- package/dist/components/fx-ai.cjs +3 -3
- package/dist/components/fx-ai.js +3 -3
- package/dist/components/fx-chart.cjs +3 -3
- package/dist/components/fx-chart.js +3 -3
- package/dist/components/fx-cinema.cjs +3 -3
- package/dist/components/fx-cinema.js +3 -3
- package/dist/components/fx-cyber.cjs +3 -3
- package/dist/components/fx-cyber.js +3 -3
- package/dist/components/fx-festival.cjs +3 -3
- package/dist/components/fx-festival.js +3 -3
- package/dist/components/fx-focus.cjs +3 -3
- package/dist/components/fx-focus.js +3 -3
- package/dist/components/fx-form.cjs +3 -3
- package/dist/components/fx-form.js +3 -3
- package/dist/components/fx-game.cjs +3 -3
- package/dist/components/fx-game.js +3 -3
- package/dist/components/fx-genart.cjs +3 -3
- package/dist/components/fx-genart.js +3 -3
- package/dist/components/fx-geo.cjs +3 -3
- package/dist/components/fx-geo.js +3 -3
- package/dist/components/fx-gesture.cjs +3 -3
- package/dist/components/fx-gesture.js +3 -3
- package/dist/components/fx-gpu.cjs +5 -5
- package/dist/components/fx-gpu.js +5 -5
- package/dist/components/fx-light.cjs +27 -6
- package/dist/components/fx-light.d.cts +0 -22
- package/dist/components/fx-light.d.ts +0 -22
- package/dist/components/fx-light.js +31 -10
- package/dist/components/fx-lottie.cjs +3 -3
- package/dist/components/fx-lottie.js +3 -3
- package/dist/components/fx-morph.cjs +3 -3
- package/dist/components/fx-morph.js +3 -3
- package/dist/components/fx-music.cjs +24 -8
- package/dist/components/fx-music.d.cts +0 -39
- package/dist/components/fx-music.d.ts +0 -39
- package/dist/components/fx-music.js +25 -9
- package/dist/components/fx-organic.cjs +3 -3
- package/dist/components/fx-organic.js +3 -3
- package/dist/components/fx-paper.cjs +3 -3
- package/dist/components/fx-paper.js +3 -3
- package/dist/components/fx-perf.cjs +3 -3
- package/dist/components/fx-perf.js +3 -3
- package/dist/components/fx-physics.cjs +25 -7
- package/dist/components/fx-physics.d.cts +0 -19
- package/dist/components/fx-physics.d.ts +0 -19
- package/dist/components/fx-physics.js +29 -11
- package/dist/components/fx-retro.cjs +3 -3
- package/dist/components/fx-retro.js +3 -3
- package/dist/components/fx-safe.cjs +3 -3
- package/dist/components/fx-safe.js +3 -3
- package/dist/components/fx-shop.cjs +3 -3
- package/dist/components/fx-shop.js +3 -3
- package/dist/components/fx-social.cjs +3 -3
- package/dist/components/fx-social.js +3 -3
- package/dist/components/fx-spatial.cjs +3 -3
- package/dist/components/fx-spatial.js +3 -3
- package/dist/components/fx-surface.cjs +3 -3
- package/dist/components/fx-surface.js +3 -3
- package/dist/components/fx-text.cjs +3 -3
- package/dist/components/fx-text.js +3 -3
- package/dist/components/fx-transitions.cjs +4 -4
- package/dist/components/fx-transitions.js +4 -4
- package/dist/components/fx-video.cjs +3 -3
- package/dist/components/fx-video.js +3 -3
- package/dist/components/fx-weather.cjs +4 -4
- package/dist/components/fx-weather.js +4 -4
- package/dist/components/fx.cjs +6 -6
- package/dist/components/fx.js +7 -7
- package/dist/components/fx2.cjs +7 -7
- package/dist/components/fx2.d.cts +0 -133
- package/dist/components/fx2.d.ts +0 -133
- package/dist/components/fx2.js +8 -8
- package/dist/components/gesture.cjs +4 -4
- package/dist/components/gesture.js +5 -5
- package/dist/components/gl-model.cjs +5 -5
- package/dist/components/gl-model.js +5 -5
- package/dist/components/interaction.cjs +2 -2
- package/dist/components/interaction.js +2 -2
- package/dist/components/jsx.cjs +1 -1
- package/dist/components/jsx.js +1 -1
- package/dist/components/layout.cjs +3 -3
- package/dist/components/layout.js +3 -3
- package/dist/components/lazy.cjs +1 -1
- package/dist/components/lazy.js +1 -1
- package/dist/components/lite.cjs +110 -93
- package/dist/components/lite.js +110 -94
- package/dist/components/marketplace.cjs +4 -4
- package/dist/components/marketplace.js +5 -5
- package/dist/components/native.cjs +4 -4
- package/dist/components/native.js +4 -4
- package/dist/components/offscreen.cjs +69 -0
- package/dist/components/offscreen.d.cts +10 -0
- package/dist/components/offscreen.d.ts +10 -0
- package/dist/components/offscreen.js +65 -0
- package/dist/components/packs.cjs +2 -2
- package/dist/components/packs.js +2 -2
- package/dist/components/page.cjs +3 -3
- package/dist/components/page.js +4 -4
- package/dist/components/perf-tasks.cjs +69 -0
- package/dist/components/perf-tasks.d.cts +23 -0
- package/dist/components/perf-tasks.d.ts +23 -0
- package/dist/components/perf-tasks.js +65 -0
- package/dist/components/perf.cjs +3 -2
- package/dist/components/perf.d.cts +12 -4
- package/dist/components/perf.d.ts +12 -4
- package/dist/components/perf.js +3 -3
- package/dist/components/physics.cjs +3 -3
- package/dist/components/physics.js +4 -4
- package/dist/components/plugins.cjs +6 -6
- package/dist/components/plugins.js +6 -6
- package/dist/components/react.cjs +1 -1
- package/dist/components/react.js +1 -1
- package/dist/components/reveal.cjs +2 -2
- package/dist/components/reveal.js +2 -2
- package/dist/components/snap-carousel.cjs +4 -4
- package/dist/components/snap-carousel.js +4 -4
- package/dist/components/solid.cjs +9 -9
- package/dist/components/solid.js +9 -9
- package/dist/components/svelte.cjs +9 -9
- package/dist/components/svelte.js +9 -9
- package/dist/components/svg.cjs +2 -2
- package/dist/components/svg.js +2 -2
- package/dist/components/text.cjs +3 -3
- package/dist/components/text.js +3 -3
- package/dist/components/timeline.cjs +3 -3
- package/dist/components/timeline.js +4 -4
- package/dist/components/tokens.cjs +1 -1
- package/dist/components/tokens.js +1 -1
- package/dist/components/transitions.cjs +2 -2
- package/dist/components/transitions.js +2 -2
- package/dist/components/ui.cjs +4 -4
- package/dist/components/ui.js +5 -5
- package/dist/components/vue.cjs +9 -9
- package/dist/components/vue.js +9 -9
- package/dist/components/webgl.cjs +2 -2
- package/dist/components/webgl.js +2 -2
- package/dist/components/widgets.cjs +63 -62
- package/dist/components/widgets.js +112 -111
- package/dist/components.cjs +10 -9
- package/dist/components.d.cts +13 -5
- package/dist/components.d.ts +13 -5
- package/dist/components.js +11 -11
- package/dist/components.umd.js +3 -3
- package/dist/effects/achievement-unlock.cjs +3 -3
- package/dist/effects/achievement-unlock.js +3 -3
- package/dist/effects/aurora-veil.cjs +4 -4
- package/dist/effects/aurora-veil.js +4 -4
- package/dist/effects/badge-pop.cjs +3 -3
- package/dist/effects/badge-pop.js +3 -3
- package/dist/effects/bars-grow.cjs +3 -3
- package/dist/effects/bars-grow.js +3 -3
- package/dist/effects/beat-bounce.cjs +5 -5
- package/dist/effects/beat-bounce.js +5 -5
- package/dist/effects/blob-button.cjs +3 -3
- package/dist/effects/blob-button.js +3 -3
- package/dist/effects/bloom.cjs +3 -3
- package/dist/effects/bloom.js +3 -3
- package/dist/effects/breathe.cjs +3 -3
- package/dist/effects/breathe.js +3 -3
- package/dist/effects/brushed-metal.cjs +4 -4
- package/dist/effects/brushed-metal.js +4 -4
- package/dist/effects/camera-dolly.cjs +3 -3
- package/dist/effects/camera-dolly.js +3 -3
- package/dist/effects/card-flip-3d.cjs +4 -4
- package/dist/effects/card-flip-3d.js +4 -4
- package/dist/effects/chest-open.cjs +3 -3
- package/dist/effects/chest-open.js +3 -3
- package/dist/effects/cloth.cjs +4 -4
- package/dist/effects/cloth.js +4 -4
- package/dist/effects/coin-burst.cjs +3 -3
- package/dist/effects/coin-burst.js +3 -3
- package/dist/effects/color-pulse.cjs +3 -3
- package/dist/effects/color-pulse.js +3 -3
- package/dist/effects/crt-power.cjs +3 -3
- package/dist/effects/crt-power.js +3 -3
- package/dist/effects/crumple.cjs +3 -3
- package/dist/effects/crumple.js +3 -3
- package/dist/effects/data-decode.cjs +3 -3
- package/dist/effects/data-decode.js +3 -3
- package/dist/effects/day-cycle.cjs +4 -4
- package/dist/effects/day-cycle.js +4 -4
- package/dist/effects/depth-in.cjs +3 -3
- package/dist/effects/depth-in.js +3 -3
- package/dist/effects/depth-pop.cjs +3 -3
- package/dist/effects/depth-pop.js +3 -3
- package/dist/effects/depth-stack.cjs +4 -4
- package/dist/effects/depth-stack.js +4 -4
- package/dist/effects/dolly-in.cjs +3 -3
- package/dist/effects/dolly-in.js +3 -3
- package/dist/effects/dots-pop.cjs +3 -3
- package/dist/effects/dots-pop.js +3 -3
- package/dist/effects/field-shake.cjs +3 -3
- package/dist/effects/field-shake.js +3 -3
- package/dist/effects/field-success.cjs +3 -3
- package/dist/effects/field-success.js +3 -3
- package/dist/effects/film-burn.cjs +3 -3
- package/dist/effects/film-burn.js +3 -3
- package/dist/effects/fire.cjs +5 -5
- package/dist/effects/fire.js +5 -5
- package/dist/effects/fireflies.cjs +5 -5
- package/dist/effects/fireflies.js +5 -5
- package/dist/effects/firework-burst.cjs +3 -3
- package/dist/effects/firework-burst.js +3 -3
- package/dist/effects/flip-chars.cjs +3 -3
- package/dist/effects/flip-chars.js +3 -3
- package/dist/effects/fluid.cjs +5 -5
- package/dist/effects/fluid.js +5 -5
- package/dist/effects/fly-to-cart.cjs +3 -3
- package/dist/effects/fly-to-cart.js +3 -3
- package/dist/effects/focus-draw.cjs +3 -3
- package/dist/effects/focus-draw.js +3 -3
- package/dist/effects/focus-glow.cjs +3 -3
- package/dist/effects/focus-glow.js +3 -3
- package/dist/effects/fog.cjs +4 -4
- package/dist/effects/fog.js +4 -4
- package/dist/effects/font-breathe.cjs +3 -3
- package/dist/effects/font-breathe.js +3 -3
- package/dist/effects/form-cascade.cjs +3 -3
- package/dist/effects/form-cascade.js +3 -3
- package/dist/effects/gen-skeleton.cjs +3 -3
- package/dist/effects/gen-skeleton.js +3 -3
- package/dist/effects/glass-frost.cjs +3 -3
- package/dist/effects/glass-frost.js +3 -3
- package/dist/effects/glitch-text.cjs +3 -3
- package/dist/effects/glitch-text.js +3 -3
- package/dist/effects/globe-spin.cjs +3 -3
- package/dist/effects/globe-spin.js +3 -3
- package/dist/effects/god-rays.cjs +4 -4
- package/dist/effects/god-rays.js +4 -4
- package/dist/effects/gpu-lift.cjs +3 -3
- package/dist/effects/gpu-lift.js +3 -3
- package/dist/effects/grain-flicker.cjs +3 -3
- package/dist/effects/grain-flicker.js +3 -3
- package/dist/effects/halftone-in.cjs +3 -3
- package/dist/effects/halftone-in.js +3 -3
- package/dist/effects/highlight-sweep.cjs +3 -3
- package/dist/effects/highlight-sweep.js +3 -3
- package/dist/effects/hologram.cjs +3 -3
- package/dist/effects/hologram.js +3 -3
- package/dist/effects/hud-frame.cjs +3 -3
- package/dist/effects/hud-frame.js +3 -3
- package/dist/effects/icon-pop.cjs +3 -3
- package/dist/effects/icon-pop.js +3 -3
- package/dist/effects/icon-swap.cjs +3 -3
- package/dist/effects/icon-swap.js +3 -3
- package/dist/effects/idle-reveal.cjs +3 -3
- package/dist/effects/idle-reveal.js +3 -3
- package/dist/effects/ink.cjs +5 -5
- package/dist/effects/ink.js +5 -5
- package/dist/effects/jump-cut.cjs +3 -3
- package/dist/effects/jump-cut.js +3 -3
- package/dist/effects/kaleido.cjs +3 -3
- package/dist/effects/kaleido.js +3 -3
- package/dist/effects/label-float.cjs +3 -3
- package/dist/effects/label-float.js +3 -3
- package/dist/effects/lantern-rise.cjs +3 -3
- package/dist/effects/lantern-rise.js +3 -3
- package/dist/effects/leaves.cjs +5 -5
- package/dist/effects/leaves.js +5 -5
- package/dist/effects/letterbox.cjs +3 -3
- package/dist/effects/letterbox.js +3 -3
- package/dist/effects/level-up.cjs +3 -3
- package/dist/effects/level-up.js +3 -3
- package/dist/effects/light-follow.cjs +4 -4
- package/dist/effects/light-follow.js +4 -4
- package/dist/effects/lightning.cjs +4 -4
- package/dist/effects/lightning.js +4 -4
- package/dist/effects/line-draw.cjs +3 -3
- package/dist/effects/line-draw.js +3 -3
- package/dist/effects/liquid-text.cjs +3 -3
- package/dist/effects/liquid-text.js +3 -3
- package/dist/effects/liquid-wipe.cjs +3 -3
- package/dist/effects/liquid-wipe.js +3 -3
- package/dist/effects/lottie-play.cjs +3 -3
- package/dist/effects/lottie-play.js +3 -3
- package/dist/effects/magnet.cjs +4 -4
- package/dist/effects/magnet.js +4 -4
- package/dist/effects/marching-ants.cjs +3 -3
- package/dist/effects/marching-ants.js +3 -3
- package/dist/effects/marker-pulse.cjs +3 -3
- package/dist/effects/marker-pulse.js +3 -3
- package/dist/effects/mention-glow.cjs +3 -3
- package/dist/effects/mention-glow.js +3 -3
- package/dist/effects/mesh-drift.cjs +3 -3
- package/dist/effects/mesh-drift.js +3 -3
- package/dist/effects/message-in.cjs +3 -3
- package/dist/effects/message-in.js +3 -3
- package/dist/effects/mosaic-flip.cjs +3 -3
- package/dist/effects/mosaic-flip.js +3 -3
- package/dist/effects/neon-ignite.cjs +3 -3
- package/dist/effects/neon-ignite.js +3 -3
- package/dist/effects/neon-pulse.cjs +3 -3
- package/dist/effects/neon-pulse.js +3 -3
- package/dist/effects/neon-write.cjs +3 -3
- package/dist/effects/neon-write.js +3 -3
- package/dist/effects/neu-press.cjs +3 -3
- package/dist/effects/neu-press.js +3 -3
- package/dist/effects/noise-reveal.cjs +3 -3
- package/dist/effects/noise-reveal.js +3 -3
- package/dist/effects/number-roll.cjs +3 -3
- package/dist/effects/number-roll.js +3 -3
- package/dist/effects/orbit-camera.cjs +4 -4
- package/dist/effects/orbit-camera.js +4 -4
- package/dist/effects/orbit-in.cjs +3 -3
- package/dist/effects/orbit-in.js +3 -3
- package/dist/effects/origami.cjs +4 -4
- package/dist/effects/origami.js +4 -4
- package/dist/effects/page-curl.cjs +3 -3
- package/dist/effects/page-curl.js +3 -3
- package/dist/effects/pan-reveal.cjs +3 -3
- package/dist/effects/pan-reveal.js +3 -3
- package/dist/effects/paper-unfold.cjs +3 -3
- package/dist/effects/paper-unfold.js +3 -3
- package/dist/effects/particle-text.cjs +3 -3
- package/dist/effects/particle-text.js +3 -3
- package/dist/effects/path-morph.cjs +3 -3
- package/dist/effects/path-morph.js +3 -3
- package/dist/effects/pearlescent.cjs +4 -4
- package/dist/effects/pearlescent.js +4 -4
- package/dist/effects/pencil-sketch.cjs +3 -3
- package/dist/effects/pencil-sketch.js +3 -3
- package/dist/effects/pin-drop.cjs +3 -3
- package/dist/effects/pin-drop.js +3 -3
- package/dist/effects/pinball.cjs +4 -4
- package/dist/effects/pinball.js +4 -4
- package/dist/effects/pinch-hint.cjs +3 -3
- package/dist/effects/pinch-hint.js +3 -3
- package/dist/effects/pixelate-in.cjs +3 -3
- package/dist/effects/pixelate-in.js +3 -3
- package/dist/effects/pointer-shadow.cjs +4 -4
- package/dist/effects/pointer-shadow.js +4 -4
- package/dist/effects/portal-open.cjs +3 -3
- package/dist/effects/portal-open.js +3 -3
- package/dist/effects/price-flip.cjs +3 -3
- package/dist/effects/price-flip.js +3 -3
- package/dist/effects/product-spin.cjs +4 -4
- package/dist/effects/product-spin.js +4 -4
- package/dist/effects/rack-focus.cjs +3 -3
- package/dist/effects/rack-focus.js +3 -3
- package/dist/effects/radial-spectrum.cjs +5 -5
- package/dist/effects/radial-spectrum.js +5 -5
- package/dist/effects/rain-glass.cjs +4 -4
- package/dist/effects/rain-glass.js +4 -4
- package/dist/effects/reaction-burst.cjs +3 -3
- package/dist/effects/reaction-burst.js +3 -3
- package/dist/effects/read-receipt.cjs +3 -3
- package/dist/effects/read-receipt.js +3 -3
- package/dist/effects/refraction.cjs +4 -4
- package/dist/effects/refraction.js +4 -4
- package/dist/effects/ring-sweep.cjs +3 -3
- package/dist/effects/ring-sweep.js +3 -3
- package/dist/effects/ripple-dissolve.cjs +3 -3
- package/dist/effects/ripple-dissolve.js +3 -3
- package/dist/effects/rope.cjs +4 -4
- package/dist/effects/rope.js +4 -4
- package/dist/effects/route-draw.cjs +3 -3
- package/dist/effects/route-draw.js +3 -3
- package/dist/effects/safe-fade.cjs +3 -3
- package/dist/effects/safe-fade.js +3 -3
- package/dist/effects/sakura.cjs +5 -5
- package/dist/effects/sakura.js +5 -5
- package/dist/effects/sale-shine.cjs +3 -3
- package/dist/effects/sale-shine.js +3 -3
- package/dist/effects/sankey-flow.cjs +3 -3
- package/dist/effects/sankey-flow.js +3 -3
- package/dist/effects/scanline-sweep.cjs +3 -3
- package/dist/effects/scanline-sweep.js +3 -3
- package/dist/effects/shatter.cjs +3 -3
- package/dist/effects/shatter.js +3 -3
- package/dist/effects/smoke.cjs +5 -5
- package/dist/effects/smoke.js +5 -5
- package/dist/effects/snowfall.cjs +4 -4
- package/dist/effects/snowfall.js +4 -4
- package/dist/effects/soft-body.cjs +4 -4
- package/dist/effects/soft-body.js +4 -4
- package/dist/effects/sound-particles.cjs +5 -5
- package/dist/effects/sound-particles.js +5 -5
- package/dist/effects/spatial-float.cjs +3 -3
- package/dist/effects/spatial-float.js +3 -3
- package/dist/effects/spectrum-mirror.cjs +5 -5
- package/dist/effects/spectrum-mirror.js +5 -5
- package/dist/effects/splash.cjs +5 -5
- package/dist/effects/splash.js +5 -5
- package/dist/effects/spooky-float.cjs +3 -3
- package/dist/effects/spooky-float.js +3 -3
- package/dist/effects/stock-pulse.cjs +3 -3
- package/dist/effects/stock-pulse.js +3 -3
- package/dist/effects/stream-text.cjs +3 -3
- package/dist/effects/stream-text.js +3 -3
- package/dist/effects/stroke-draw.cjs +3 -3
- package/dist/effects/stroke-draw.js +3 -3
- package/dist/effects/success-check.cjs +3 -3
- package/dist/effects/success-check.js +3 -3
- package/dist/effects/swipe-hint.cjs +3 -3
- package/dist/effects/swipe-hint.js +3 -3
- package/dist/effects/text-trail.cjs +3 -3
- package/dist/effects/text-trail.js +3 -3
- package/dist/effects/thinking-glow.cjs +3 -3
- package/dist/effects/thinking-glow.js +3 -3
- package/dist/effects/tilt-wobble.cjs +3 -3
- package/dist/effects/tilt-wobble.js +3 -3
- package/dist/effects/typing-dots.cjs +3 -3
- package/dist/effects/typing-dots.js +3 -3
- package/dist/effects/underline-sweep.cjs +3 -3
- package/dist/effects/underline-sweep.js +3 -3
- package/dist/effects/vhs-glitch.cjs +3 -3
- package/dist/effects/vhs-glitch.js +3 -3
- package/dist/effects/vine-grow.cjs +3 -3
- package/dist/effects/vine-grow.js +3 -3
- package/dist/effects/vinyl-spin.cjs +5 -5
- package/dist/effects/vinyl-spin.js +5 -5
- package/dist/effects/voice-wave.cjs +3 -3
- package/dist/effects/voice-wave.js +3 -3
- package/dist/effects/water-drop.cjs +3 -3
- package/dist/effects/water-drop.js +3 -3
- package/dist/effects/watercolor.cjs +3 -3
- package/dist/effects/watercolor.js +3 -3
- package/dist/effects/waveform-scope.cjs +5 -5
- package/dist/effects/waveform-scope.js +5 -5
- package/dist/effects/xmas-snow.cjs +3 -3
- package/dist/effects/xmas-snow.js +3 -3
- package/dist/effects/xp-gain.cjs +3 -3
- package/dist/effects/xp-gain.js +3 -3
- package/dist/effects/y2k-shine.cjs +3 -3
- package/dist/effects/y2k-shine.js +3 -3
- package/dist/element.cjs +1 -1
- package/dist/element.js +1 -1
- package/dist/element.umd.js +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.js +3 -3
- package/dist/index.umd.js +3 -3
- package/dist/llms-full.txt +1 -1
- package/dist/llms.txt +1 -1
- package/dist/manifest.json +6 -3
- package/dist/presets/extended.cjs +1 -1
- package/dist/presets/extended.js +1 -1
- package/dist/presets-extended.umd.js +1 -1
- package/dist/react.cjs +1 -1
- package/dist/react.js +1 -1
- package/dist/runtime/drag-snap.cjs +2 -2
- package/dist/runtime/drag-snap.iife.js +1 -1
- package/dist/runtime/drag-snap.js +2 -2
- package/dist/runtime/format-apng.cjs +5 -5
- package/dist/runtime/format-apng.iife.js +1 -1
- package/dist/runtime/format-apng.js +5 -5
- package/dist/runtime/format-css.cjs +5 -5
- package/dist/runtime/format-css.iife.js +1 -1
- package/dist/runtime/format-css.js +5 -5
- package/dist/runtime/format-gif.cjs +5 -5
- package/dist/runtime/format-gif.iife.js +1 -1
- package/dist/runtime/format-gif.js +5 -5
- package/dist/runtime/format-gltf.cjs +2 -2
- package/dist/runtime/format-gltf.iife.js +1 -1
- package/dist/runtime/format-gltf.js +2 -2
- package/dist/runtime/format-motion.cjs +5 -5
- package/dist/runtime/format-motion.iife.js +1 -1
- package/dist/runtime/format-motion.js +5 -5
- package/dist/runtime/format-obj.cjs +2 -2
- package/dist/runtime/format-obj.iife.js +1 -1
- package/dist/runtime/format-obj.js +2 -2
- package/dist/runtime/format-scene.cjs +2 -2
- package/dist/runtime/format-scene.iife.js +1 -1
- package/dist/runtime/format-scene.js +2 -2
- package/dist/runtime/format-sprite.cjs +4 -4
- package/dist/runtime/format-sprite.iife.js +1 -1
- package/dist/runtime/format-sprite.js +4 -4
- package/dist/runtime/format-svg.cjs +4 -4
- package/dist/runtime/format-svg.iife.js +1 -1
- package/dist/runtime/format-svg.js +4 -4
- package/dist/runtime/format-webp.cjs +5 -5
- package/dist/runtime/format-webp.iife.js +1 -1
- package/dist/runtime/format-webp.js +5 -5
- package/dist/runtime/gl.cjs +2 -2
- package/dist/runtime/gl.iife.js +1 -1
- package/dist/runtime/gl.js +2 -2
- package/dist/runtime/gltf-anim.cjs +2 -2
- package/dist/runtime/gltf-anim.iife.js +1 -1
- package/dist/runtime/gltf-anim.js +2 -2
- package/dist/runtime/gltf-decoders.cjs +2 -2
- package/dist/runtime/gltf-decoders.iife.js +1 -1
- package/dist/runtime/gltf-decoders.js +2 -2
- package/dist/runtime/lottie-state.cjs +2 -2
- package/dist/runtime/lottie-state.iife.js +1 -1
- package/dist/runtime/lottie-state.js +2 -2
- package/dist/runtime/physics.cjs +2 -2
- package/dist/runtime/physics.iife.js +1 -1
- package/dist/runtime/physics.js +2 -2
- package/dist/runtime/scroll.cjs +3 -3
- package/dist/runtime/scroll.iife.js +1 -1
- package/dist/runtime/scroll.js +3 -3
- package/dist/runtime/smooth.cjs +2 -2
- package/dist/runtime/smooth.iife.js +1 -1
- package/dist/runtime/smooth.js +2 -2
- package/dist/runtime/text.cjs +2 -2
- package/dist/runtime/text.iife.js +1 -1
- package/dist/runtime/text.js +2 -2
- package/dist/runtime/vector.cjs +4 -4
- package/dist/runtime/vector.iife.js +1 -1
- package/dist/runtime/vector.js +4 -4
- package/dist/runtime.cjs +4 -4
- package/dist/runtime.d.cts +1 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.iife.js +2 -2
- package/dist/runtime.js +6 -6
- package/dist/solid.cjs +1 -1
- package/dist/solid.js +1 -1
- package/dist/svelte.cjs +1 -1
- package/dist/svelte.js +1 -1
- package/dist/vue.cjs +1 -1
- package/dist/vue.js +1 -1
- package/dist/widgets/add-to-cart.cjs +6 -6
- package/dist/widgets/add-to-cart.js +6 -6
- package/dist/widgets/badge-wall.cjs +3 -3
- package/dist/widgets/badge-wall.js +3 -3
- package/dist/widgets/bar-chart.cjs +2 -2
- package/dist/widgets/bar-chart.js +2 -2
- package/dist/widgets/bg-generator.cjs +4 -4
- package/dist/widgets/bg-generator.js +4 -4
- package/dist/widgets/carousel.cjs +3 -3
- package/dist/widgets/carousel.js +3 -3
- package/dist/widgets/cart-drawer.cjs +3 -3
- package/dist/widgets/cart-drawer.js +3 -3
- package/dist/widgets/chapter-nav.cjs +2 -2
- package/dist/widgets/chapter-nav.js +2 -2
- package/dist/widgets/chat-composer.cjs +2 -2
- package/dist/widgets/chat-composer.js +2 -2
- package/dist/widgets/clock-control.cjs +2 -2
- package/dist/widgets/clock-control.js +2 -2
- package/dist/widgets/code-export.cjs +3 -3
- package/dist/widgets/code-export.js +3 -3
- package/dist/widgets/color-picker.cjs +3 -3
- package/dist/widgets/color-picker.js +3 -3
- package/dist/widgets/command-palette.cjs +3 -3
- package/dist/widgets/command-palette.js +3 -3
- package/dist/widgets/compare.cjs +5 -5
- package/dist/widgets/compare.js +5 -5
- package/dist/widgets/countdown.cjs +3 -3
- package/dist/widgets/countdown.js +3 -3
- package/dist/widgets/cube-gallery.cjs +2 -2
- package/dist/widgets/cube-gallery.js +2 -2
- package/dist/widgets/date-picker.cjs +3 -3
- package/dist/widgets/date-picker.js +3 -3
- package/dist/widgets/disclosure.cjs +3 -3
- package/dist/widgets/disclosure.js +3 -3
- package/dist/widgets/dock.cjs +4 -4
- package/dist/widgets/dock.js +4 -4
- package/dist/widgets/dotlottie.cjs +5 -5
- package/dist/widgets/dotlottie.js +5 -5
- package/dist/widgets/equalizer.cjs +3 -3
- package/dist/widgets/equalizer.js +3 -3
- package/dist/widgets/festival-banner.cjs +3 -3
- package/dist/widgets/festival-banner.js +3 -3
- package/dist/widgets/field.cjs +3 -3
- package/dist/widgets/field.js +3 -3
- package/dist/widgets/file-drop.cjs +2 -2
- package/dist/widgets/file-drop.js +2 -2
- package/dist/widgets/gauge.cjs +6 -5
- package/dist/widgets/gauge.js +6 -5
- package/dist/widgets/gen-art.cjs +7 -6
- package/dist/widgets/gen-art.js +7 -6
- package/dist/widgets/gesture-sticker.cjs +3 -3
- package/dist/widgets/gesture-sticker.js +3 -3
- package/dist/widgets/gl-model.cjs +5 -5
- package/dist/widgets/gl-model.js +5 -5
- package/dist/widgets/gl-scene.cjs +5 -5
- package/dist/widgets/gl-scene.js +5 -5
- package/dist/widgets/globe.cjs +3 -3
- package/dist/widgets/globe.js +3 -3
- package/dist/widgets/gpu-particles.cjs +3 -3
- package/dist/widgets/gpu-particles.js +3 -3
- package/dist/widgets/gyro-card.cjs +3 -3
- package/dist/widgets/gyro-card.js +3 -3
- package/dist/widgets/hero-video.cjs +3 -3
- package/dist/widgets/hero-video.js +3 -3
- package/dist/widgets/hud-panel.cjs +2 -2
- package/dist/widgets/hud-panel.js +2 -2
- package/dist/widgets/hydrate.cjs +2 -2
- package/dist/widgets/hydrate.js +2 -2
- package/dist/widgets/install-button.cjs +2 -2
- package/dist/widgets/install-button.js +2 -2
- package/dist/widgets/kanban.cjs +2 -2
- package/dist/widgets/kanban.js +2 -2
- package/dist/widgets/keyframe-editor.cjs +8 -7
- package/dist/widgets/keyframe-editor.js +8 -7
- package/dist/widgets/kpi.cjs +7 -6
- package/dist/widgets/kpi.js +7 -6
- package/dist/widgets/leaderboard.cjs +3 -3
- package/dist/widgets/leaderboard.js +3 -3
- package/dist/widgets/liquid-nav.cjs +3 -3
- package/dist/widgets/liquid-nav.js +3 -3
- package/dist/widgets/location-card.cjs +3 -3
- package/dist/widgets/location-card.js +3 -3
- package/dist/widgets/lottie-icon.cjs +4 -4
- package/dist/widgets/lottie-icon.js +4 -4
- package/dist/widgets/lottie-player.cjs +5 -5
- package/dist/widgets/lottie-player.js +5 -5
- package/dist/widgets/lottie.cjs +3 -3
- package/dist/widgets/lottie.js +3 -3
- package/dist/widgets/lyrics.cjs +3 -3
- package/dist/widgets/lyrics.js +3 -3
- package/dist/widgets/masonry-flow.cjs +2 -2
- package/dist/widgets/masonry-flow.js +2 -2
- package/dist/widgets/menu-toggle.cjs +3 -3
- package/dist/widgets/menu-toggle.js +3 -3
- package/dist/widgets/menu.cjs +3 -3
- package/dist/widgets/menu.js +3 -3
- package/dist/widgets/message-list.cjs +2 -2
- package/dist/widgets/message-list.js +2 -2
- package/dist/widgets/milestones.cjs +4 -4
- package/dist/widgets/milestones.js +4 -4
- package/dist/widgets/modal.cjs +3 -3
- package/dist/widgets/modal.js +3 -3
- package/dist/widgets/motion-inspector.cjs +3 -3
- package/dist/widgets/motion-inspector.js +3 -3
- package/dist/widgets/motion-prefs.cjs +3 -3
- package/dist/widgets/motion-prefs.js +3 -3
- package/dist/widgets/motion-prompt.cjs +2 -2
- package/dist/widgets/motion-prompt.js +2 -2
- package/dist/widgets/motion-spec.cjs +4 -4
- package/dist/widgets/motion-spec.js +4 -4
- package/dist/widgets/motion.cjs +3 -3
- package/dist/widgets/motion.js +3 -3
- package/dist/widgets/music-player.cjs +7 -6
- package/dist/widgets/music-player.js +7 -6
- package/dist/widgets/native-preview.cjs +4 -4
- package/dist/widgets/native-preview.js +4 -4
- package/dist/widgets/nav-morph.cjs +3 -3
- package/dist/widgets/nav-morph.js +3 -3
- package/dist/widgets/notification-bell.cjs +2 -2
- package/dist/widgets/notification-bell.js +2 -2
- package/dist/widgets/odometer.cjs +4 -3
- package/dist/widgets/odometer.js +4 -3
- package/dist/widgets/organic-card.cjs +3 -3
- package/dist/widgets/organic-card.js +3 -3
- package/dist/widgets/otp.cjs +3 -3
- package/dist/widgets/otp.js +3 -3
- package/dist/widgets/pagination.cjs +3 -3
- package/dist/widgets/pagination.js +3 -3
- package/dist/widgets/panorama.cjs +8 -7
- package/dist/widgets/panorama.js +8 -7
- package/dist/widgets/parallax-layers.cjs +4 -4
- package/dist/widgets/parallax-layers.js +7 -7
- package/dist/widgets/pause-all.cjs +2 -2
- package/dist/widgets/pause-all.js +2 -2
- package/dist/widgets/perf-monitor.cjs +3 -3
- package/dist/widgets/perf-monitor.js +3 -3
- package/dist/widgets/physics-playground.cjs +5 -5
- package/dist/widgets/physics-playground.js +5 -5
- package/dist/widgets/plugin-card.cjs +4 -4
- package/dist/widgets/plugin-card.js +4 -4
- package/dist/widgets/plugin-store.cjs +4 -4
- package/dist/widgets/plugin-store.js +4 -4
- package/dist/widgets/presence.cjs +3 -3
- package/dist/widgets/presence.js +3 -3
- package/dist/widgets/prize-wheel.cjs +3 -3
- package/dist/widgets/prize-wheel.js +3 -3
- package/dist/widgets/product-gallery.cjs +3 -3
- package/dist/widgets/product-gallery.js +3 -3
- package/dist/widgets/progress-ring.cjs +4 -3
- package/dist/widgets/progress-ring.js +4 -3
- package/dist/widgets/prop-panel.cjs +3 -3
- package/dist/widgets/prop-panel.js +3 -3
- package/dist/widgets/pull-cord.cjs +7 -6
- package/dist/widgets/pull-cord.js +7 -6
- package/dist/widgets/radar.cjs +3 -3
- package/dist/widgets/radar.js +3 -3
- package/dist/widgets/reactions.cjs +3 -3
- package/dist/widgets/reactions.js +3 -3
- package/dist/widgets/red-envelope.cjs +4 -4
- package/dist/widgets/red-envelope.js +4 -4
- package/dist/widgets/retro-button.cjs +3 -3
- package/dist/widgets/retro-button.js +3 -3
- package/dist/widgets/rive.cjs +3 -3
- package/dist/widgets/rive.js +3 -3
- package/dist/widgets/route-transition.cjs +2 -2
- package/dist/widgets/route-transition.js +2 -2
- package/dist/widgets/scene.cjs +3 -3
- package/dist/widgets/scene.js +3 -3
- package/dist/widgets/scroll-ring.cjs +4 -4
- package/dist/widgets/scroll-ring.js +7 -7
- package/dist/widgets/scroll-scene.cjs +5 -5
- package/dist/widgets/scroll-scene.js +5 -5
- package/dist/widgets/segmented.cjs +3 -3
- package/dist/widgets/segmented.js +3 -3
- package/dist/widgets/shader-backdrop.cjs +3 -3
- package/dist/widgets/shader-backdrop.js +3 -3
- package/dist/widgets/sheet.cjs +3 -3
- package/dist/widgets/sheet.js +3 -3
- package/dist/widgets/shortcut.cjs +3 -3
- package/dist/widgets/shortcut.js +3 -3
- package/dist/widgets/skeleton-reveal.cjs +3 -3
- package/dist/widgets/skeleton-reveal.js +3 -3
- package/dist/widgets/sketch-chart.cjs +3 -3
- package/dist/widgets/sketch-chart.js +3 -3
- package/dist/widgets/smooth-scroll.cjs +4 -4
- package/dist/widgets/smooth-scroll.js +4 -4
- package/dist/widgets/snap-carousel.cjs +4 -4
- package/dist/widgets/snap-carousel.js +4 -4
- package/dist/widgets/sparkline.cjs +4 -3
- package/dist/widgets/sparkline.js +4 -3
- package/dist/widgets/spatial-card.cjs +2 -2
- package/dist/widgets/spatial-card.js +2 -2
- package/dist/widgets/star-rating.cjs +2 -2
- package/dist/widgets/star-rating.js +2 -2
- package/dist/widgets/stepper.cjs +2 -2
- package/dist/widgets/stepper.js +2 -2
- package/dist/widgets/sticky-wall.cjs +3 -3
- package/dist/widgets/sticky-wall.js +3 -3
- package/dist/widgets/stories.cjs +2 -2
- package/dist/widgets/stories.js +2 -2
- package/dist/widgets/suggestion-chips.cjs +3 -3
- package/dist/widgets/suggestion-chips.js +3 -3
- package/dist/widgets/swipe-deck.cjs +2 -2
- package/dist/widgets/swipe-deck.js +2 -2
- package/dist/widgets/switch.cjs +3 -3
- package/dist/widgets/switch.js +3 -3
- package/dist/widgets/tab-bar.cjs +3 -3
- package/dist/widgets/tab-bar.js +3 -3
- package/dist/widgets/terminal.cjs +2 -2
- package/dist/widgets/terminal.js +2 -2
- package/dist/widgets/text-splitter.cjs +4 -4
- package/dist/widgets/text-splitter.js +4 -4
- package/dist/widgets/theme-surface.cjs +3 -3
- package/dist/widgets/theme-surface.js +3 -3
- package/dist/widgets/theme-switcher.cjs +3 -3
- package/dist/widgets/theme-switcher.js +3 -3
- package/dist/widgets/tip.cjs +3 -3
- package/dist/widgets/tip.js +3 -3
- package/dist/widgets/toast-stack.cjs +4 -4
- package/dist/widgets/toast-stack.js +4 -4
- package/dist/widgets/token-editor.cjs +2 -2
- package/dist/widgets/token-editor.js +2 -2
- package/dist/widgets/upload-progress.cjs +3 -3
- package/dist/widgets/upload-progress.js +3 -3
- package/dist/widgets/video-card.cjs +2 -2
- package/dist/widgets/video-card.js +2 -2
- package/dist/widgets/voice-button.cjs +3 -3
- package/dist/widgets/voice-button.js +3 -3
- package/dist/widgets/volume-knob.cjs +2 -2
- package/dist/widgets/volume-knob.js +2 -2
- package/dist/widgets/weather-card.cjs +3 -3
- package/dist/widgets/weather-card.js +3 -3
- package/dist/widgets/worker-canvas.cjs +4 -4
- package/dist/widgets/worker-canvas.js +4 -4
- package/dist/widgets/xp-bar.cjs +3 -3
- package/dist/widgets/xp-bar.js +3 -3
- package/dist/widgets.umd.js +2 -2
- package/docs/components/usa-aurora.md +1 -1
- package/docs/components/usa-story.md +1 -1
- package/docs/scheduling.md +58 -0
- package/package.json +21 -1
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { registerBuiltinEffects } from './fx.js';
|
|
2
2
|
import { P as PALETTE, o as overlay, a as all, b as origin, s as spawn, r as rand, f as fxLayer } from '../chunks/shared-CkKHWrtJ.js';
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
import {
|
|
3
|
+
import { b as caf, r as raf, f as defineElement, G as adoptStyles } from '../chunks/base-Be98yNyq.js';
|
|
4
|
+
import { d as defineStory, a as definePlayer } from '../chunks/player-BdKLax0N.js';
|
|
5
|
+
export { A as ANIMATION_FORMAT, S as STORY_TEMPLATES, c as createPlayer, f as formatCount, n as normalizeAnimation, s as storyProgress } from '../chunks/player-BdKLax0N.js';
|
|
6
|
+
import { c as canvasBackground, h as hexRgb, G as GENERATIVE_FX } from '../chunks/generative-DkX6SvrL.js';
|
|
7
|
+
export { n as noise2 } from '../chunks/generative-DkX6SvrL.js';
|
|
8
|
+
import { A as AUDIO_FX, d as defineAudio } from '../chunks/audio-DJkvNk0A.js';
|
|
9
|
+
export { b as bindBeat, c as createBeatDetector, a as disableAudio, e as enableAudio, g as getAudio, o as onBeat } from '../chunks/audio-DJkvNk0A.js';
|
|
10
|
+
import { playEffect, bindEffect, registerEffects } from '../chunks/registry-BEIhIRTY.js';
|
|
11
11
|
import { applyMotionTokens, motionTokensToVars, mergeMotionTokens } from './tokens.js';
|
|
12
|
-
import '../chunks/builtins-
|
|
13
|
-
import '../chunks/core-
|
|
14
|
-
import '../chunks/fx-
|
|
12
|
+
import '../chunks/builtins-BQZ7idez.js';
|
|
13
|
+
import '../chunks/core-RZkPEx8i.js';
|
|
14
|
+
import '../chunks/fx-Wd1GKAzZ.js';
|
|
15
|
+
import './offscreen.js';
|
|
15
16
|
|
|
16
17
|
const CARD_FX = [
|
|
17
18
|
{
|
|
@@ -188,6 +189,14 @@ const CLICK_FX = [
|
|
|
188
189
|
},
|
|
189
190
|
];
|
|
190
191
|
|
|
192
|
+
/**
|
|
193
|
+
* 5.2 — bounce & physics micro-interactions, registered through
|
|
194
|
+
* `registerEffect()`. Keyframes come from a damped-spring / gravity solver
|
|
195
|
+
* (`springKeyframes()`, `bounceKeyframes()`), so the motion is physical but
|
|
196
|
+
* still runs on the Web Animations API (compositor, reduced-motion aware).
|
|
197
|
+
* Effects: `bounce-in`, `rubber-band`, `elastic-hover`, `drop-bounce`,
|
|
198
|
+
* `gravity-text`, `spring-follow`, `bell-swing`.
|
|
199
|
+
*/
|
|
191
200
|
/**
|
|
192
201
|
* Sample a damped spring from 0 → 1 and return the progress values plus the
|
|
193
202
|
* time (ms) it takes to settle. Pure, deterministic.
|
|
@@ -347,18 +356,18 @@ const PHYSICS_FX = [
|
|
|
347
356
|
let y = 0;
|
|
348
357
|
let vx = 0;
|
|
349
358
|
let vy = 0;
|
|
350
|
-
let raf = 0;
|
|
359
|
+
let raf$1 = 0;
|
|
351
360
|
const tick = () => {
|
|
352
361
|
vx = (vx + (tx - x) * o.stiffness) * o.damping;
|
|
353
362
|
vy = (vy + (ty - y) * o.stiffness) * o.damping;
|
|
354
363
|
x += vx;
|
|
355
364
|
y += vy;
|
|
356
365
|
el.style.translate = `${x.toFixed(2)}px ${y.toFixed(2)}px`;
|
|
357
|
-
raf = Math.abs(vx) + Math.abs(vy) + Math.abs(tx - x) + Math.abs(ty - y) > 0.05 ?
|
|
366
|
+
raf$1 = Math.abs(vx) + Math.abs(vy) + Math.abs(tx - x) + Math.abs(ty - y) > 0.05 ? raf(tick) : 0;
|
|
358
367
|
};
|
|
359
368
|
const kick = () => {
|
|
360
|
-
if (!raf)
|
|
361
|
-
raf =
|
|
369
|
+
if (!raf$1)
|
|
370
|
+
raf$1 = raf(tick);
|
|
362
371
|
};
|
|
363
372
|
const move = (e) => {
|
|
364
373
|
const r = host.getBoundingClientRect();
|
|
@@ -377,7 +386,7 @@ const PHYSICS_FX = [
|
|
|
377
386
|
return () => {
|
|
378
387
|
host.removeEventListener('pointermove', move);
|
|
379
388
|
host.removeEventListener('pointerleave', leave);
|
|
380
|
-
|
|
389
|
+
caf(raf$1);
|
|
381
390
|
el.style.translate = '';
|
|
382
391
|
};
|
|
383
392
|
},
|
|
@@ -398,6 +407,16 @@ const PHYSICS_FX = [
|
|
|
398
407
|
},
|
|
399
408
|
];
|
|
400
409
|
|
|
410
|
+
/**
|
|
411
|
+
* 5.3 — page-wide effects, registered through `registerEffect()`.
|
|
412
|
+
* Transitions (cover → `onCovered()` → reveal): `curtain`, `iris`,
|
|
413
|
+
* `pixel-dissolve`, `blinds`. Persistent page effects: `velocity-skew`,
|
|
414
|
+
* `spotlight`, `edge-glow`.
|
|
415
|
+
*
|
|
416
|
+
* ```ts
|
|
417
|
+
* await playEffect(document.body, 'iris', { onCovered: () => router.go('/next') });
|
|
418
|
+
* ```
|
|
419
|
+
*/
|
|
401
420
|
/** A full-viewport, aria-hidden, pointer-blocking (while covering) transition layer. */
|
|
402
421
|
function screen(css = '') {
|
|
403
422
|
const s = document.createElement('div');
|
|
@@ -506,25 +525,25 @@ const PAGE_FX = [
|
|
|
506
525
|
return;
|
|
507
526
|
let last = scrollY;
|
|
508
527
|
let skew = 0;
|
|
509
|
-
let raf = 0;
|
|
528
|
+
let raf$1 = 0;
|
|
510
529
|
const tick = () => {
|
|
511
530
|
const y = scrollY;
|
|
512
531
|
const target = Math.max(-o.max, Math.min(o.max, (y - last) * o.factor));
|
|
513
532
|
last = y;
|
|
514
533
|
skew += (target - skew) * 0.2;
|
|
515
534
|
el.style.transform = `skewY(${skew.toFixed(3)}deg)`;
|
|
516
|
-
raf = Math.abs(skew) > 0.01 || Math.abs(target) > 0.01 ?
|
|
517
|
-
if (!raf)
|
|
535
|
+
raf$1 = Math.abs(skew) > 0.01 || Math.abs(target) > 0.01 ? raf(tick) : 0;
|
|
536
|
+
if (!raf$1)
|
|
518
537
|
el.style.transform = '';
|
|
519
538
|
};
|
|
520
539
|
const onScroll = () => {
|
|
521
|
-
if (!raf)
|
|
522
|
-
raf =
|
|
540
|
+
if (!raf$1)
|
|
541
|
+
raf$1 = raf(tick);
|
|
523
542
|
};
|
|
524
543
|
addEventListener('scroll', onScroll, { passive: true });
|
|
525
544
|
return () => {
|
|
526
545
|
removeEventListener('scroll', onScroll);
|
|
527
|
-
|
|
546
|
+
caf(raf$1);
|
|
528
547
|
el.style.transform = '';
|
|
529
548
|
};
|
|
530
549
|
},
|
|
@@ -578,6 +597,21 @@ const PAGE_FX = [
|
|
|
578
597
|
},
|
|
579
598
|
];
|
|
580
599
|
|
|
600
|
+
/**
|
|
601
|
+
* 5.7 — cursor & gesture packs.
|
|
602
|
+
*
|
|
603
|
+
* Cursor effects (kind `cursor`, persistent, scoped to the element they are
|
|
604
|
+
* bound to; skipped under reduced motion and — unless `touch: true` — for
|
|
605
|
+
* touch pointers): `comet-trail`, `sparkle-trail`, `ribbon-trail`,
|
|
606
|
+
* `magnetic-dots`, `spotlight-cursor`.
|
|
607
|
+
*
|
|
608
|
+
* Gestures → effects: `bindGesture(el, 'fling' | 'twist' | 'long-press',
|
|
609
|
+
* effectOrCallback, options)` and `<usa-gesture-fx gesture effect>`. A fling
|
|
610
|
+
* is a fast release, a twist a two-finger rotation past `angle` degrees, a
|
|
611
|
+
* long press "charges" `--usa-charge` 0 → 1 and fires when full. Every fire
|
|
612
|
+
* dispatches `usa-gesture` (`detail: { gesture, … }`). The effect itself goes
|
|
613
|
+
* through `playEffect()`, so reduced motion is honoured there.
|
|
614
|
+
*/
|
|
581
615
|
const touchOk = (e, o) => o.touch || e.pointerType !== 'touch';
|
|
582
616
|
/** A fixed, viewport-sized canvas in the fx layer, redrawn while `draw` returns true. */
|
|
583
617
|
function overlayCanvas(draw) {
|
|
@@ -585,9 +619,9 @@ function overlayCanvas(draw) {
|
|
|
585
619
|
c.style.cssText = 'position:absolute;inset:0;width:100%;height:100%';
|
|
586
620
|
fxLayer().appendChild(c);
|
|
587
621
|
const g = c.getContext('2d');
|
|
588
|
-
let raf = 0;
|
|
622
|
+
let raf$1 = 0;
|
|
589
623
|
const frame = (now) => {
|
|
590
|
-
raf = 0;
|
|
624
|
+
raf$1 = 0;
|
|
591
625
|
if (!g)
|
|
592
626
|
return;
|
|
593
627
|
const w = innerWidth;
|
|
@@ -600,16 +634,16 @@ function overlayCanvas(draw) {
|
|
|
600
634
|
g.setTransform(dpr, 0, 0, dpr, 0, 0);
|
|
601
635
|
g.clearRect(0, 0, w, h);
|
|
602
636
|
if (draw(g, w, h, now))
|
|
603
|
-
raf =
|
|
637
|
+
raf$1 = raf(frame);
|
|
604
638
|
};
|
|
605
639
|
return {
|
|
606
640
|
kick: () => {
|
|
607
|
-
if (!raf && g)
|
|
608
|
-
raf =
|
|
641
|
+
if (!raf$1 && g)
|
|
642
|
+
raf$1 = raf(frame);
|
|
609
643
|
},
|
|
610
644
|
stop: () => {
|
|
611
|
-
|
|
612
|
-
raf = 0;
|
|
645
|
+
caf(raf$1);
|
|
646
|
+
raf$1 = 0;
|
|
613
647
|
c.remove();
|
|
614
648
|
},
|
|
615
649
|
};
|
|
@@ -763,13 +797,13 @@ const CURSOR_FX = [
|
|
|
763
797
|
let ty = 0;
|
|
764
798
|
let x = 0;
|
|
765
799
|
let y = 0;
|
|
766
|
-
let raf = 0;
|
|
800
|
+
let raf$1 = 0;
|
|
767
801
|
const tick = () => {
|
|
768
802
|
x += (tx - x) * o.ease;
|
|
769
803
|
y += (ty - y) * o.ease;
|
|
770
804
|
s.style.setProperty('--sx', `${x.toFixed(1)}px`);
|
|
771
805
|
s.style.setProperty('--sy', `${y.toFixed(1)}px`);
|
|
772
|
-
raf = Math.abs(tx - x) + Math.abs(ty - y) > 0.3 ?
|
|
806
|
+
raf$1 = Math.abs(tx - x) + Math.abs(ty - y) > 0.3 ? raf(tick) : 0;
|
|
773
807
|
};
|
|
774
808
|
const move = (e) => {
|
|
775
809
|
if (!touchOk(e, o))
|
|
@@ -779,14 +813,14 @@ const CURSOR_FX = [
|
|
|
779
813
|
ty = e.clientY - rc.top;
|
|
780
814
|
if (s.style.opacity !== '1')
|
|
781
815
|
((x = tx), (y = ty), (s.style.opacity = '1'));
|
|
782
|
-
if (!raf)
|
|
783
|
-
raf =
|
|
816
|
+
if (!raf$1)
|
|
817
|
+
raf$1 = raf(tick);
|
|
784
818
|
};
|
|
785
819
|
const leave = () => (s.style.opacity = '0');
|
|
786
820
|
el.addEventListener('pointermove', move, { passive: true });
|
|
787
821
|
el.addEventListener('pointerleave', leave);
|
|
788
822
|
return () => {
|
|
789
|
-
|
|
823
|
+
caf(raf$1);
|
|
790
824
|
el.removeEventListener('pointermove', move);
|
|
791
825
|
el.removeEventListener('pointerleave', leave);
|
|
792
826
|
s.remove();
|
|
@@ -850,7 +884,7 @@ function bindGesture(el, gesture, effect, o = {}) {
|
|
|
850
884
|
const endPress = () => {
|
|
851
885
|
if (!press)
|
|
852
886
|
return;
|
|
853
|
-
|
|
887
|
+
caf(press.raf);
|
|
854
888
|
press = null;
|
|
855
889
|
charge(0);
|
|
856
890
|
};
|
|
@@ -873,9 +907,9 @@ function bindGesture(el, gesture, effect, o = {}) {
|
|
|
873
907
|
fire({ gesture, charge: 1 }, e);
|
|
874
908
|
}
|
|
875
909
|
else
|
|
876
|
-
press.raf =
|
|
910
|
+
press.raf = raf(step);
|
|
877
911
|
};
|
|
878
|
-
press.raf =
|
|
912
|
+
press.raf = raf(step);
|
|
879
913
|
}
|
|
880
914
|
};
|
|
881
915
|
const move = (e) => {
|
|
@@ -1367,4 +1401,4 @@ function registerAllEffects() {
|
|
|
1367
1401
|
}
|
|
1368
1402
|
|
|
1369
1403
|
export { AUDIO_FX, CARD_FX, CLICK_FX, CURSOR_FX, EFFECT_PACKS, GENERATIVE_FX, GESTURES, MICRO_FX, MOTION_THEMES, MOTION_THEME_NAMES, PAGE_FX, PHYSICS_FX, THEME_FX, THEME_ROLES, angleDelta, applyMotionTheme, bindGesture, bounceKeyframes, bumpCount, canvasBackground, defineAudio, defineEffectElements, defineGestureFx, defineMotionTheme, definePlayer, defineStory, flingVelocity, fxLayer, hexRgb, playThemeEffect, registerAllEffects, registerAudioEffects, registerCardClickEffects, registerCursorEffects, registerGenerativeEffects, registerMicroEffects, registerPageEffects, registerPhysicsEffects, solveSpring, springKeyframes, swapLabel, themeCss, themePreset, themeVars, togglePressed };
|
|
1370
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
1404
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.4.0/dist/components/effects.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var base = require('../chunks/base-
|
|
3
|
+
var base = require('../chunks/base-Do-R_9gU.cjs');
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* `motionary/engine` (= `motionary/components/engine`, 8.0) — the unified
|
|
@@ -263,4 +263,4 @@ exports.hydrateMotion = hydrateMotion;
|
|
|
263
263
|
exports.motionClock = motionClock;
|
|
264
264
|
exports.resolvePosition = resolvePosition;
|
|
265
265
|
exports.ssrHead = ssrHead;
|
|
266
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
266
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.4.0/dist/components/engine.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { t as trackAnimation } from '../chunks/base-
|
|
1
|
+
import { h as onClockChange, i as setClock, j as getClock, p as prefersReducedMotion, e as animateWithMotion } from '../chunks/base-Be98yNyq.js';
|
|
2
|
+
export { t as trackAnimation } from '../chunks/base-Be98yNyq.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* `motionary/engine` (= `motionary/components/engine`, 8.0) — the unified
|
|
@@ -252,4 +252,4 @@ function hydrateMotion(root = document, options = {}) {
|
|
|
252
252
|
}
|
|
253
253
|
|
|
254
254
|
export { HYDRATE_PRESETS, HYDRATION_CSS, createTimeline, getClock, hydrateMotion, motionClock, onClockChange, resolvePosition, setClock, ssrHead };
|
|
255
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
255
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.4.0/dist/components/engine.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var base = require('../chunks/base-
|
|
3
|
+
var base = require('../chunks/base-Do-R_9gU.cjs');
|
|
4
4
|
|
|
5
5
|
var css$4 = "usa-spinner{--usa-spinner-size:32px;--usa-spinner-color:currentColor;position:relative;display:inline-block;vertical-align:middle;flex:none;width:var(--usa-spinner-size);height:var(--usa-spinner-size);color:var(--usa-spinner-color)}usa-spinner i{position:absolute;display:block}usa-spinner[paused] *,usa-spinner[paused] *::after{animation-play-state:paused !important}usa-spinner svg{width:100%;height:100%;animation:usa-spin 2s linear infinite;overflow:visible}usa-spinner svg circle{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-dasharray:0.5 100;stroke-dashoffset:0;animation:usa-ring-arc 1.6s ease-in-out infinite}@keyframes usa-spin{to{transform:rotate(360deg)}}@keyframes usa-ring-arc{0%{stroke-dasharray:0.5 100;stroke-dashoffset:0}50%{stroke-dasharray:62 100;stroke-dashoffset:-20}100%{stroke-dasharray:0.5 100;stroke-dashoffset:-99}}usa-spinner[data-kind=\"windows\"] i{inset:0;opacity:0;animation:usa-orbit 5.5s infinite}usa-spinner[data-kind=\"windows\"] i::after{content:\"\";position:absolute;left:50%;top:0;width:12%;height:12%;margin-left:-6%;border-radius:50%;background:currentColor}usa-spinner[data-kind=\"windows\"] i:nth-child(2){animation-delay:240ms;--n:1}usa-spinner[data-kind=\"windows\"] i:nth-child(3){animation-delay:480ms;--n:2}usa-spinner[data-kind=\"windows\"] i:nth-child(4){animation-delay:720ms;--n:3}usa-spinner[data-kind=\"windows\"] i:nth-child(5){animation-delay:960ms;--n:4}@keyframes usa-orbit{0%{transform:rotate(225deg);opacity:1;animation-timing-function:ease-out}7%{transform:rotate(345deg);animation-timing-function:linear}30%{transform:rotate(455deg);animation-timing-function:ease-in-out}39%{transform:rotate(690deg);animation-timing-function:linear}70%{transform:rotate(815deg);opacity:1;animation-timing-function:ease-out}75%{transform:rotate(945deg);animation-timing-function:ease-out}76%,100%{transform:rotate(945deg);opacity:0}}usa-spinner[data-kind=\"ring\"] i{inset:0;border-radius:50%;border:calc(var(--usa-spinner-size) / 9) solid color-mix(in srgb,currentColor 20%,transparent);border-top-color:currentColor;animation:usa-spin 0.8s linear infinite}usa-spinner[data-kind=\"dots\"]{display:inline-flex;align-items:center;justify-content:space-between;height:calc(var(--usa-spinner-size) / 2.5)}usa-spinner[data-kind=\"dots\"] i{position:static;width:22%;aspect-ratio:1;border-radius:50%;background:currentColor;animation:usa-dot 1.2s ease-in-out infinite}usa-spinner[data-kind=\"dots\"] i:nth-child(2){animation-delay:0.15s}usa-spinner[data-kind=\"dots\"] i:nth-child(3){animation-delay:0.3s}@keyframes usa-dot{0%,60%,100%{transform:translateY(0);opacity:0.35}30%{transform:translateY(-70%);opacity:1}}usa-spinner[data-kind=\"pulse\"] i{inset:0;border-radius:50%;background:currentColor;opacity:0;animation:usa-pulse 1.6s cubic-bezier(0.22,1,0.36,1) infinite}usa-spinner[data-kind=\"pulse\"] i:nth-child(2){animation-delay:0.8s}@keyframes usa-pulse{from{transform:scale(0.1);opacity:0.8}to{transform:scale(1);opacity:0}}usa-spinner[data-kind=\"bars\"]{display:inline-flex;align-items:center;justify-content:space-between}usa-spinner[data-kind=\"bars\"] i{position:static;width:16%;height:100%;border-radius:2px;background:currentColor;transform:scaleY(0.35);animation:usa-bar 1s ease-in-out infinite}usa-spinner[data-kind=\"bars\"] i:nth-child(2){animation-delay:0.12s}usa-spinner[data-kind=\"bars\"] i:nth-child(3){animation-delay:0.24s}usa-spinner[data-kind=\"bars\"] i:nth-child(4){animation-delay:0.36s}@keyframes usa-bar{0%,100%{transform:scaleY(0.35)}40%{transform:scaleY(1)}}@media (prefers-reduced-motion:reduce){usa-spinner svg,usa-spinner i,usa-spinner i::after{animation:usa-calm 2.4s ease-in-out infinite !important}usa-spinner[data-kind=\"windows\"] i{transform:rotate(calc(var(--n,0) * 72deg))}usa-spinner svg circle{animation:none;stroke-dasharray:30 100}}@keyframes usa-calm{0%,100%{opacity:1}50%{opacity:0.4}}";
|
|
6
6
|
|
|
@@ -439,4 +439,4 @@ exports.defineSkeleton = defineSkeleton;
|
|
|
439
439
|
exports.defineSpinner = defineSpinner;
|
|
440
440
|
exports.defineToaster = defineToaster;
|
|
441
441
|
exports.toast = toast;
|
|
442
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
442
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.4.0/dist/components/feedback.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as defineElement,
|
|
1
|
+
import { f as defineElement, J as kindOf, H as EASE_OUT, d as clamp, L as FLUENT_DECELERATE, E as EASE_SPRING } from '../chunks/base-Be98yNyq.js';
|
|
2
2
|
|
|
3
3
|
var css$4 = "usa-spinner{--usa-spinner-size:32px;--usa-spinner-color:currentColor;position:relative;display:inline-block;vertical-align:middle;flex:none;width:var(--usa-spinner-size);height:var(--usa-spinner-size);color:var(--usa-spinner-color)}usa-spinner i{position:absolute;display:block}usa-spinner[paused] *,usa-spinner[paused] *::after{animation-play-state:paused !important}usa-spinner svg{width:100%;height:100%;animation:usa-spin 2s linear infinite;overflow:visible}usa-spinner svg circle{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-dasharray:0.5 100;stroke-dashoffset:0;animation:usa-ring-arc 1.6s ease-in-out infinite}@keyframes usa-spin{to{transform:rotate(360deg)}}@keyframes usa-ring-arc{0%{stroke-dasharray:0.5 100;stroke-dashoffset:0}50%{stroke-dasharray:62 100;stroke-dashoffset:-20}100%{stroke-dasharray:0.5 100;stroke-dashoffset:-99}}usa-spinner[data-kind=\"windows\"] i{inset:0;opacity:0;animation:usa-orbit 5.5s infinite}usa-spinner[data-kind=\"windows\"] i::after{content:\"\";position:absolute;left:50%;top:0;width:12%;height:12%;margin-left:-6%;border-radius:50%;background:currentColor}usa-spinner[data-kind=\"windows\"] i:nth-child(2){animation-delay:240ms;--n:1}usa-spinner[data-kind=\"windows\"] i:nth-child(3){animation-delay:480ms;--n:2}usa-spinner[data-kind=\"windows\"] i:nth-child(4){animation-delay:720ms;--n:3}usa-spinner[data-kind=\"windows\"] i:nth-child(5){animation-delay:960ms;--n:4}@keyframes usa-orbit{0%{transform:rotate(225deg);opacity:1;animation-timing-function:ease-out}7%{transform:rotate(345deg);animation-timing-function:linear}30%{transform:rotate(455deg);animation-timing-function:ease-in-out}39%{transform:rotate(690deg);animation-timing-function:linear}70%{transform:rotate(815deg);opacity:1;animation-timing-function:ease-out}75%{transform:rotate(945deg);animation-timing-function:ease-out}76%,100%{transform:rotate(945deg);opacity:0}}usa-spinner[data-kind=\"ring\"] i{inset:0;border-radius:50%;border:calc(var(--usa-spinner-size) / 9) solid color-mix(in srgb,currentColor 20%,transparent);border-top-color:currentColor;animation:usa-spin 0.8s linear infinite}usa-spinner[data-kind=\"dots\"]{display:inline-flex;align-items:center;justify-content:space-between;height:calc(var(--usa-spinner-size) / 2.5)}usa-spinner[data-kind=\"dots\"] i{position:static;width:22%;aspect-ratio:1;border-radius:50%;background:currentColor;animation:usa-dot 1.2s ease-in-out infinite}usa-spinner[data-kind=\"dots\"] i:nth-child(2){animation-delay:0.15s}usa-spinner[data-kind=\"dots\"] i:nth-child(3){animation-delay:0.3s}@keyframes usa-dot{0%,60%,100%{transform:translateY(0);opacity:0.35}30%{transform:translateY(-70%);opacity:1}}usa-spinner[data-kind=\"pulse\"] i{inset:0;border-radius:50%;background:currentColor;opacity:0;animation:usa-pulse 1.6s cubic-bezier(0.22,1,0.36,1) infinite}usa-spinner[data-kind=\"pulse\"] i:nth-child(2){animation-delay:0.8s}@keyframes usa-pulse{from{transform:scale(0.1);opacity:0.8}to{transform:scale(1);opacity:0}}usa-spinner[data-kind=\"bars\"]{display:inline-flex;align-items:center;justify-content:space-between}usa-spinner[data-kind=\"bars\"] i{position:static;width:16%;height:100%;border-radius:2px;background:currentColor;transform:scaleY(0.35);animation:usa-bar 1s ease-in-out infinite}usa-spinner[data-kind=\"bars\"] i:nth-child(2){animation-delay:0.12s}usa-spinner[data-kind=\"bars\"] i:nth-child(3){animation-delay:0.24s}usa-spinner[data-kind=\"bars\"] i:nth-child(4){animation-delay:0.36s}@keyframes usa-bar{0%,100%{transform:scaleY(0.35)}40%{transform:scaleY(1)}}@media (prefers-reduced-motion:reduce){usa-spinner svg,usa-spinner i,usa-spinner i::after{animation:usa-calm 2.4s ease-in-out infinite !important}usa-spinner[data-kind=\"windows\"] i{transform:rotate(calc(var(--n,0) * 72deg))}usa-spinner svg circle{animation:none;stroke-dasharray:30 100}}@keyframes usa-calm{0%,100%{opacity:1}50%{opacity:0.4}}";
|
|
4
4
|
|
|
@@ -430,4 +430,4 @@ function defineFeedbackComponents() {
|
|
|
430
430
|
}
|
|
431
431
|
|
|
432
432
|
export { SPINNER_VARIANTS, defineCheck, defineFeedbackComponents, defineProgress, defineSkeleton, defineSpinner, defineToaster, toast };
|
|
433
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
433
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.4.0/dist/components/feedback.js.map
|
|
@@ -1,19 +1,37 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var base = require('../chunks/base-Do-R_9gU.cjs');
|
|
4
|
+
var registry = require('../chunks/registry-CyVCJneg.cjs');
|
|
4
5
|
var shared = require('../chunks/shared-jkgRH-Hx.cjs');
|
|
5
6
|
var components_fxLight = require('./fx-light.cjs');
|
|
6
|
-
require('../chunks/
|
|
7
|
-
require('../chunks/generative-BHIj-NU0.cjs');
|
|
7
|
+
require('../chunks/generative-BTya0iHP.cjs');
|
|
8
8
|
|
|
9
|
+
/**
|
|
10
|
+
* 6.5 — 3D scene cards (`motionary/components/fx-3d`), registered through
|
|
11
|
+
* `registerEffect()`:
|
|
12
|
+
*
|
|
13
|
+
* - `depth-stack` (card, persistent) — the children (or `[data-depth]`
|
|
14
|
+
* layers) separate in Z and parallax against each other as the card tilts
|
|
15
|
+
* toward the pointer.
|
|
16
|
+
* - `product-spin` (card, persistent) — a 360° product viewer: drag to turn
|
|
17
|
+
* the element in 3D with inertia, idles with a slow turntable spin.
|
|
18
|
+
* - `card-flip-3d` (click) — a thick card flips to its back face (second
|
|
19
|
+
* child) with an edge that shows its depth.
|
|
20
|
+
* - `origami` (enter) — the element unfolds panel by panel like folded paper.
|
|
21
|
+
* - `orbit-camera` (scroll, persistent) — while the element scrolls through
|
|
22
|
+
* the viewport the camera orbits its 3D children.
|
|
23
|
+
*
|
|
24
|
+
* Reduced motion: no tilt, spin, orbit or fold; the flip swaps faces with a
|
|
25
|
+
* crossfade.
|
|
26
|
+
*/
|
|
9
27
|
const layers = (el) => {
|
|
10
28
|
const marked = Array.from(el.querySelectorAll('[data-depth]'));
|
|
11
29
|
return marked.length ? marked : Array.from(el.children);
|
|
12
30
|
};
|
|
13
|
-
const raf = (f) => (typeof requestAnimationFrame === 'function' ?
|
|
31
|
+
const raf = (f) => (typeof requestAnimationFrame === 'function' ? base.raf(f) : 0);
|
|
14
32
|
const caf = (h) => {
|
|
15
33
|
if (h && typeof cancelAnimationFrame === 'function')
|
|
16
|
-
|
|
34
|
+
base.caf(h);
|
|
17
35
|
};
|
|
18
36
|
const DEPTH3_FX = [
|
|
19
37
|
{
|
|
@@ -233,4 +251,4 @@ function register3dPack() {
|
|
|
233
251
|
|
|
234
252
|
exports.DEPTH3_FX = DEPTH3_FX;
|
|
235
253
|
exports.register3dPack = register3dPack;
|
|
236
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
254
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.4.0/dist/components/fx-3d.cjs.map
|
|
@@ -41,25 +41,6 @@ interface EffectDefinition<O extends Record<string, unknown> = Record<string, an
|
|
|
41
41
|
run(el: HTMLElement, options: O, ctx: EffectContext): void | Cleanup | Animation | null | Promise<unknown>;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
/**
|
|
45
|
-
* 6.5 — 3D scene cards (`motionary/components/fx-3d`), registered through
|
|
46
|
-
* `registerEffect()`:
|
|
47
|
-
*
|
|
48
|
-
* - `depth-stack` (card, persistent) — the children (or `[data-depth]`
|
|
49
|
-
* layers) separate in Z and parallax against each other as the card tilts
|
|
50
|
-
* toward the pointer.
|
|
51
|
-
* - `product-spin` (card, persistent) — a 360° product viewer: drag to turn
|
|
52
|
-
* the element in 3D with inertia, idles with a slow turntable spin.
|
|
53
|
-
* - `card-flip-3d` (click) — a thick card flips to its back face (second
|
|
54
|
-
* child) with an edge that shows its depth.
|
|
55
|
-
* - `origami` (enter) — the element unfolds panel by panel like folded paper.
|
|
56
|
-
* - `orbit-camera` (scroll, persistent) — while the element scrolls through
|
|
57
|
-
* the viewport the camera orbits its 3D children.
|
|
58
|
-
*
|
|
59
|
-
* Reduced motion: no tilt, spin, orbit or fold; the flip swaps faces with a
|
|
60
|
-
* crossfade.
|
|
61
|
-
*/
|
|
62
|
-
|
|
63
44
|
declare const DEPTH3_FX: EffectDefinition[];
|
|
64
45
|
/** Register the 6.5 3D pack (idempotent). */
|
|
65
46
|
declare function register3dPack(): void;
|
|
@@ -41,25 +41,6 @@ interface EffectDefinition<O extends Record<string, unknown> = Record<string, an
|
|
|
41
41
|
run(el: HTMLElement, options: O, ctx: EffectContext): void | Cleanup | Animation | null | Promise<unknown>;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
/**
|
|
45
|
-
* 6.5 — 3D scene cards (`motionary/components/fx-3d`), registered through
|
|
46
|
-
* `registerEffect()`:
|
|
47
|
-
*
|
|
48
|
-
* - `depth-stack` (card, persistent) — the children (or `[data-depth]`
|
|
49
|
-
* layers) separate in Z and parallax against each other as the card tilts
|
|
50
|
-
* toward the pointer.
|
|
51
|
-
* - `product-spin` (card, persistent) — a 360° product viewer: drag to turn
|
|
52
|
-
* the element in 3D with inertia, idles with a slow turntable spin.
|
|
53
|
-
* - `card-flip-3d` (click) — a thick card flips to its back face (second
|
|
54
|
-
* child) with an edge that shows its depth.
|
|
55
|
-
* - `origami` (enter) — the element unfolds panel by panel like folded paper.
|
|
56
|
-
* - `orbit-camera` (scroll, persistent) — while the element scrolls through
|
|
57
|
-
* the viewport the camera orbits its 3D children.
|
|
58
|
-
*
|
|
59
|
-
* Reduced motion: no tilt, spin, orbit or fold; the flip swaps faces with a
|
|
60
|
-
* crossfade.
|
|
61
|
-
*/
|
|
62
|
-
|
|
63
44
|
declare const DEPTH3_FX: EffectDefinition[];
|
|
64
45
|
/** Register the 6.5 3D pack (idempotent). */
|
|
65
46
|
declare function register3dPack(): void;
|
package/dist/components/fx-3d.js
CHANGED
|
@@ -1,17 +1,35 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { r as raf$1, b as caf$1 } from '../chunks/base-Be98yNyq.js';
|
|
2
|
+
import { registerEffects } from '../chunks/registry-BEIhIRTY.js';
|
|
2
3
|
import { a as all } from '../chunks/shared-CkKHWrtJ.js';
|
|
3
4
|
import { trackPointer } from './fx-light.js';
|
|
4
|
-
import '../chunks/
|
|
5
|
-
import '../chunks/generative-2LhxG5BJ.js';
|
|
5
|
+
import '../chunks/generative-DkX6SvrL.js';
|
|
6
6
|
|
|
7
|
+
/**
|
|
8
|
+
* 6.5 — 3D scene cards (`motionary/components/fx-3d`), registered through
|
|
9
|
+
* `registerEffect()`:
|
|
10
|
+
*
|
|
11
|
+
* - `depth-stack` (card, persistent) — the children (or `[data-depth]`
|
|
12
|
+
* layers) separate in Z and parallax against each other as the card tilts
|
|
13
|
+
* toward the pointer.
|
|
14
|
+
* - `product-spin` (card, persistent) — a 360° product viewer: drag to turn
|
|
15
|
+
* the element in 3D with inertia, idles with a slow turntable spin.
|
|
16
|
+
* - `card-flip-3d` (click) — a thick card flips to its back face (second
|
|
17
|
+
* child) with an edge that shows its depth.
|
|
18
|
+
* - `origami` (enter) — the element unfolds panel by panel like folded paper.
|
|
19
|
+
* - `orbit-camera` (scroll, persistent) — while the element scrolls through
|
|
20
|
+
* the viewport the camera orbits its 3D children.
|
|
21
|
+
*
|
|
22
|
+
* Reduced motion: no tilt, spin, orbit or fold; the flip swaps faces with a
|
|
23
|
+
* crossfade.
|
|
24
|
+
*/
|
|
7
25
|
const layers = (el) => {
|
|
8
26
|
const marked = Array.from(el.querySelectorAll('[data-depth]'));
|
|
9
27
|
return marked.length ? marked : Array.from(el.children);
|
|
10
28
|
};
|
|
11
|
-
const raf = (f) => (typeof requestAnimationFrame === 'function' ?
|
|
29
|
+
const raf = (f) => (typeof requestAnimationFrame === 'function' ? raf$1(f) : 0);
|
|
12
30
|
const caf = (h) => {
|
|
13
31
|
if (h && typeof cancelAnimationFrame === 'function')
|
|
14
|
-
|
|
32
|
+
caf$1(h);
|
|
15
33
|
};
|
|
16
34
|
const DEPTH3_FX = [
|
|
17
35
|
{
|
|
@@ -230,4 +248,4 @@ function register3dPack() {
|
|
|
230
248
|
}
|
|
231
249
|
|
|
232
250
|
export { DEPTH3_FX, register3dPack };
|
|
233
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
251
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.4.0/dist/components/fx-3d.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var registry = require('../chunks/registry-
|
|
4
|
-
require('../chunks/base-
|
|
3
|
+
var registry = require('../chunks/registry-CyVCJneg.cjs');
|
|
4
|
+
require('../chunks/base-Do-R_9gU.cjs');
|
|
5
5
|
|
|
6
6
|
/** Split text into words, keeping the whitespace after each (7.8). */
|
|
7
7
|
function splitWords(text) {
|
|
@@ -127,4 +127,4 @@ function registerAiPack() {
|
|
|
127
127
|
exports.AI_FX = AI_FX;
|
|
128
128
|
exports.registerAiPack = registerAiPack;
|
|
129
129
|
exports.splitWords = splitWords;
|
|
130
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
130
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.4.0/dist/components/fx-ai.cjs.map
|
package/dist/components/fx-ai.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { registerEffects } from '../chunks/registry-
|
|
2
|
-
import '../chunks/base-
|
|
1
|
+
import { registerEffects } from '../chunks/registry-BEIhIRTY.js';
|
|
2
|
+
import '../chunks/base-Be98yNyq.js';
|
|
3
3
|
|
|
4
4
|
/** Split text into words, keeping the whitespace after each (7.8). */
|
|
5
5
|
function splitWords(text) {
|
|
@@ -123,4 +123,4 @@ function registerAiPack() {
|
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
export { AI_FX, registerAiPack, splitWords };
|
|
126
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
126
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.4.0/dist/components/fx-ai.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var registry = require('../chunks/registry-
|
|
3
|
+
var registry = require('../chunks/registry-CyVCJneg.cjs');
|
|
4
4
|
var shared = require('../chunks/shared-jkgRH-Hx.cjs');
|
|
5
|
-
require('../chunks/base-
|
|
5
|
+
require('../chunks/base-Do-R_9gU.cjs');
|
|
6
6
|
|
|
7
7
|
const fade = (el, ctx) => ctx.animate(el, [{ opacity: 0 }, { opacity: 1 }], { duration: 250 });
|
|
8
8
|
const pick = (el, sel) => Array.from(el.querySelectorAll(sel));
|
|
@@ -155,4 +155,4 @@ function registerChartPack() {
|
|
|
155
155
|
exports.CHART_FX = CHART_FX;
|
|
156
156
|
exports.parseFigure = parseFigure;
|
|
157
157
|
exports.registerChartPack = registerChartPack;
|
|
158
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
158
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.4.0/dist/components/fx-chart.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { registerEffects } from '../chunks/registry-
|
|
1
|
+
import { registerEffects } from '../chunks/registry-BEIhIRTY.js';
|
|
2
2
|
import { a as all } from '../chunks/shared-CkKHWrtJ.js';
|
|
3
|
-
import '../chunks/base-
|
|
3
|
+
import '../chunks/base-Be98yNyq.js';
|
|
4
4
|
|
|
5
5
|
const fade = (el, ctx) => ctx.animate(el, [{ opacity: 0 }, { opacity: 1 }], { duration: 250 });
|
|
6
6
|
const pick = (el, sel) => Array.from(el.querySelectorAll(sel));
|
|
@@ -151,4 +151,4 @@ function registerChartPack() {
|
|
|
151
151
|
}
|
|
152
152
|
|
|
153
153
|
export { CHART_FX, parseFigure, registerChartPack };
|
|
154
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
154
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.4.0/dist/components/fx-chart.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var registry = require('../chunks/registry-
|
|
4
|
-
require('../chunks/base-
|
|
3
|
+
var registry = require('../chunks/registry-CyVCJneg.cjs');
|
|
4
|
+
require('../chunks/base-Do-R_9gU.cjs');
|
|
5
5
|
|
|
6
6
|
const CAMERA_MOVES = ['dolly-in', 'dolly-out', 'pan-left', 'pan-right', 'tilt-up', 'tilt-down', 'zoom-in', 'zoom-out', 'orbit'];
|
|
7
7
|
/** Transform of camera `move` at progress `p` (0–1, clamped), `strength` 0–2 (9.1). */
|
|
@@ -97,4 +97,4 @@ exports.CAMERA_MOVES = CAMERA_MOVES;
|
|
|
97
97
|
exports.CINEMA_FX = CINEMA_FX;
|
|
98
98
|
exports.cameraFrame = cameraFrame;
|
|
99
99
|
exports.registerCinemaPack = registerCinemaPack;
|
|
100
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
100
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.4.0/dist/components/fx-cinema.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { registerEffects } from '../chunks/registry-
|
|
2
|
-
import '../chunks/base-
|
|
1
|
+
import { registerEffects } from '../chunks/registry-BEIhIRTY.js';
|
|
2
|
+
import '../chunks/base-Be98yNyq.js';
|
|
3
3
|
|
|
4
4
|
const CAMERA_MOVES = ['dolly-in', 'dolly-out', 'pan-left', 'pan-right', 'tilt-up', 'tilt-down', 'zoom-in', 'zoom-out', 'orbit'];
|
|
5
5
|
/** Transform of camera `move` at progress `p` (0–1, clamped), `strength` 0–2 (9.1). */
|
|
@@ -92,4 +92,4 @@ function registerCinemaPack() {
|
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
export { CAMERA_MOVES, CINEMA_FX, cameraFrame, registerCinemaPack };
|
|
95
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
95
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.4.0/dist/components/fx-cinema.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var registry = require('../chunks/registry-
|
|
4
|
-
require('../chunks/base-
|
|
3
|
+
var registry = require('../chunks/registry-CyVCJneg.cjs');
|
|
4
|
+
require('../chunks/base-Do-R_9gU.cjs');
|
|
5
5
|
|
|
6
6
|
const GLYPHS = '01<>/\\[]{}#$%&*+=ABCDEFXYZ';
|
|
7
7
|
/** The `k`-th frame of decoding `text` over `n` frames: resolved prefix + random glyphs (8.4). */
|
|
@@ -137,4 +137,4 @@ function registerCyberPack() {
|
|
|
137
137
|
exports.CYBER_FX = CYBER_FX;
|
|
138
138
|
exports.decodeFrame = decodeFrame;
|
|
139
139
|
exports.registerCyberPack = registerCyberPack;
|
|
140
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
140
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.4.0/dist/components/fx-cyber.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { registerEffects } from '../chunks/registry-
|
|
2
|
-
import '../chunks/base-
|
|
1
|
+
import { registerEffects } from '../chunks/registry-BEIhIRTY.js';
|
|
2
|
+
import '../chunks/base-Be98yNyq.js';
|
|
3
3
|
|
|
4
4
|
const GLYPHS = '01<>/\\[]{}#$%&*+=ABCDEFXYZ';
|
|
5
5
|
/** The `k`-th frame of decoding `text` over `n` frames: resolved prefix + random glyphs (8.4). */
|
|
@@ -133,4 +133,4 @@ function registerCyberPack() {
|
|
|
133
133
|
}
|
|
134
134
|
|
|
135
135
|
export { CYBER_FX, decodeFrame, registerCyberPack };
|
|
136
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
136
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.4.0/dist/components/fx-cyber.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var registry = require('../chunks/registry-
|
|
4
|
-
require('../chunks/base-
|
|
3
|
+
var registry = require('../chunks/registry-CyVCJneg.cjs');
|
|
4
|
+
require('../chunks/base-Do-R_9gU.cjs');
|
|
5
5
|
|
|
6
6
|
/** Evenly spread spark directions with a little jitter (8.1). */
|
|
7
7
|
function sparkVectors(n, radius, seed = 1) {
|
|
@@ -118,4 +118,4 @@ function registerFestivalPack() {
|
|
|
118
118
|
exports.FESTIVAL_FX = FESTIVAL_FX;
|
|
119
119
|
exports.registerFestivalPack = registerFestivalPack;
|
|
120
120
|
exports.sparkVectors = sparkVectors;
|
|
121
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
121
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.4.0/dist/components/fx-festival.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { registerEffects } from '../chunks/registry-
|
|
2
|
-
import '../chunks/base-
|
|
1
|
+
import { registerEffects } from '../chunks/registry-BEIhIRTY.js';
|
|
2
|
+
import '../chunks/base-Be98yNyq.js';
|
|
3
3
|
|
|
4
4
|
/** Evenly spread spark directions with a little jitter (8.1). */
|
|
5
5
|
function sparkVectors(n, radius, seed = 1) {
|
|
@@ -114,4 +114,4 @@ function registerFestivalPack() {
|
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
export { FESTIVAL_FX, registerFestivalPack, sparkVectors };
|
|
117
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
117
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.4.0/dist/components/fx-festival.js.map
|