motionary 13.3.0 → 13.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +77 -0
- package/README.md +10 -7
- package/dist/chunks/{anim-image-B68xnlYD.cjs → anim-image-CSVlsA0t.cjs} +2 -2
- package/dist/chunks/{anim-image-teDgsATS.js → anim-image-D6yGJ5SF.js} +2 -2
- package/dist/chunks/{audio-5FOqrAxu.js → audio-CZgCXg1t.js} +27 -6
- package/dist/chunks/{audio-DhgfWYZ_.cjs → audio-D0LwPShE.cjs} +27 -6
- package/dist/chunks/{badge-wall-Bd2dP3J7.js → badge-wall-C0gJ_Kck.js} +2 -2
- package/dist/chunks/{badge-wall-Q7x5HSe_.cjs → badge-wall-CITexuW7.cjs} +2 -2
- package/dist/chunks/{base-vu_KhBiv.cjs → base-BvH4nAcv.cjs} +146 -124
- package/dist/chunks/{base-nzeN_ux7.js → base-C9CJrhL3.js} +145 -125
- package/dist/chunks/{bg-generator-Dncd000D.cjs → bg-generator-CML8tPN8.cjs} +2 -2
- package/dist/chunks/{bg-generator-Dxx3s2zQ.js → bg-generator-oRwfTA5B.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-A9ihuDwy.cjs → builtins-DweCp29Z.cjs} +3 -3
- package/dist/chunks/{builtins-hBOeCPXL.js → builtins-SwWQKzb-.js} +3 -3
- package/dist/chunks/{carousel-Blko8aKV.cjs → carousel-DU3rHTq0.cjs} +2 -2
- package/dist/chunks/{carousel-DkQKWBK3.js → carousel-u6rqMqGu.js} +2 -2
- package/dist/chunks/{cart-drawer-CtX6EQRa.js → cart-drawer-CEIZfCw8.js} +4 -4
- package/dist/chunks/{cart-drawer-kyj9TlQC.cjs → cart-drawer-CkFMKMhx.cjs} +4 -4
- package/dist/chunks/{code-export-DOioRmM9.cjs → code-export-PdGSl9WE.cjs} +2 -2
- package/dist/chunks/{code-export-B6b27ZiI.js → code-export-wdrBIWRv.js} +2 -2
- package/dist/chunks/{color-picker-B6YXJdur.cjs → color-picker-B_xWVH8H.cjs} +2 -2
- package/dist/chunks/{color-picker-DNTzNylo.js → color-picker-CN8ThZfh.js} +2 -2
- package/dist/chunks/{command-palette-C6XV1glX.js → command-palette-IJuNiXhv.js} +2 -2
- package/dist/chunks/{command-palette-DAQQ_bkg.cjs → command-palette-ISetAeX1.cjs} +2 -2
- package/dist/chunks/{core-Bar7NFx7.js → core-B9Sjd4AV.js} +2 -2
- package/dist/chunks/{core-DVGtPabi.js → core-BZhM_0Zh.js} +2 -2
- package/dist/chunks/core-BjcOCpJt.cjs +1 -1
- package/dist/chunks/{core-DfkeC4s-.cjs → core-DbAYRKnS.cjs} +2 -2
- package/dist/chunks/core-Dj6iomdc.js +1 -1
- package/dist/chunks/{core-E18xla6s.cjs → core-DjjKLmZ6.cjs} +2 -2
- package/dist/chunks/{countdown-Cvef0Kb1.cjs → countdown-RQViryt7.cjs} +2 -2
- package/dist/chunks/{countdown-Dhp9G96N.js → countdown-WDZxXQz7.js} +2 -2
- package/dist/chunks/{date-picker-C9iVZUP3.cjs → date-picker-BgApzPNn.cjs} +2 -2
- package/dist/chunks/{date-picker-M7n1jZw9.js → date-picker-D4yqKTMJ.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-CwGL1sD8.js} +2 -2
- package/dist/chunks/{equalizer-6uhO-yfZ.cjs → equalizer-_eD_ZdCl.cjs} +2 -2
- package/dist/chunks/{festival-banner-ByYX1Oy6.cjs → festival-banner-Bs18K0MJ.cjs} +2 -2
- package/dist/chunks/{festival-banner-Dsu53in5.js → festival-banner-Dslu8K1g.js} +2 -2
- package/dist/chunks/{field-DeTgNf7K.js → field-DALTalya.js} +2 -2
- package/dist/chunks/{field-DcC_zJBH.cjs → field-Dwq8-CLN.cjs} +2 -2
- package/dist/chunks/{fx-lszndeFU.cjs → fx-DaVuB89C.cjs} +2 -2
- package/dist/chunks/{fx-qAVpKs8e.js → fx-Dc1sMyNg.js} +2 -2
- package/dist/chunks/{generative-BHIj-NU0.cjs → generative-BKoxWOSP.cjs} +16 -4
- package/dist/chunks/{generative-2LhxG5BJ.js → generative-DWdAwxYB.js} +20 -8
- package/dist/chunks/{gl-scene-CUTsZPTZ.js → gl-scene-BjQkVhUh.js} +9 -9
- package/dist/chunks/{gl-scene-DwcPxX2X.cjs → gl-scene-Ccn_PpRS.cjs} +6 -6
- package/dist/chunks/{globe-CzQ6nQ-o.js → globe-D56xlOmk.js} +10 -9
- package/dist/chunks/{globe-Dms25CB5.cjs → globe-DA0jyb6s.cjs} +10 -9
- package/dist/chunks/{gpu-DdiOOXTP.js → gpu-7AY-uzNc.js} +37 -16
- package/dist/chunks/{gpu-BREsvJpT.cjs → gpu-DTO3JmAF.cjs} +30 -9
- package/dist/chunks/{gpu-particles-CbBJ_tIZ.js → gpu-particles-4DBj91f-.js} +6 -6
- package/dist/chunks/{gpu-particles-DrjYuSVR.cjs → gpu-particles-wEO_rds1.cjs} +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-dsAcxcJv.cjs → keyframes-DyniziL4.cjs} +2 -2
- package/dist/chunks/{keyframes-BBke3wIL.js → keyframes-t521frAa.js} +2 -2
- package/dist/chunks/{leaderboard-wF-UnLbY.cjs → leaderboard-DvSSQ8o3.cjs} +4 -4
- package/dist/chunks/{leaderboard-D2Xb0lqP.js → leaderboard-_UPi0KQX.js} +4 -4
- package/dist/chunks/{location-card-GrQnXfwp.js → location-card-Bq596aK5.js} +2 -2
- package/dist/chunks/{location-card-BJsN6s34.cjs → location-card-DSPTApUe.cjs} +2 -2
- package/dist/chunks/{lottie-icon-DMkTeHCL.cjs → lottie-icon-BoxkukMd.cjs} +2 -2
- package/dist/chunks/{lottie-icon-D3fdgfNU.js → lottie-icon-pqBgCV0y.js} +2 -2
- package/dist/chunks/{lottie-player-CkdMUN-D.js → lottie-player-C9X0Gp_E.js} +3 -3
- package/dist/chunks/{lottie-player-hYycf5lY.cjs → lottie-player-D6YGOx39.cjs} +3 -3
- package/dist/chunks/{lyrics-CBRdLBDw.cjs → lyrics-CRB7dA1j.cjs} +6 -5
- package/dist/chunks/{lyrics-jTQwzX9m.js → lyrics-D7mzxVIq.js} +6 -5
- package/dist/chunks/{manifest-pVzW6oyg.js → manifest-CqfKtjeL.js} +2 -2
- package/dist/chunks/{manifest-Rxf1Mumb.cjs → manifest-xr3WET80.cjs} +2 -2
- package/dist/chunks/{menu-Bc2M8HMJ.cjs → menu-CZ1zHTT9.cjs} +2 -2
- package/dist/chunks/{menu-Ydg47TQx.js → menu-XcdMtcfw.js} +2 -2
- package/dist/chunks/{menu-toggle-B1YBlbdJ.cjs → menu-toggle-DGXN4VsN.cjs} +2 -2
- package/dist/chunks/{menu-toggle-C-_dv_TN.js → menu-toggle-RD6Fu1Gm.js} +2 -2
- package/dist/chunks/{nav-morph-kKmG_ocG.cjs → nav-morph-C4rD3wrU.cjs} +2 -2
- package/dist/chunks/{nav-morph-DA-Q4xec.js → nav-morph-F6qzM20K.js} +2 -2
- package/dist/chunks/{otp-CVUw78Mr.js → otp-BJKyY7I3.js} +2 -2
- package/dist/chunks/{otp-Cxz5uFb_.cjs → otp-DUyEWYMi.cjs} +2 -2
- package/dist/chunks/{pagination-0fuULrSB.js → pagination-D6iMBStU.js} +2 -2
- package/dist/chunks/{pagination-DbqyUpxV.cjs → pagination-DHmYZZU9.cjs} +2 -2
- package/dist/chunks/{physics-playground-5lihsTyh.cjs → physics-playground-BJx2yVvV.cjs} +5 -5
- package/dist/chunks/{physics-playground-_5_slxtj.js → physics-playground-C8jCWhgK.js} +5 -5
- package/dist/chunks/{player-DqUZJ0d_.js → player-BTaPvK8G.js} +14 -13
- package/dist/chunks/{player-DIwSjUFR.cjs → player-BZOkQbZ9.cjs} +14 -13
- package/dist/chunks/{presence-DfTxVIEf.js → presence-6eQ9t5vX.js} +2 -2
- package/dist/chunks/{presence-CRfWmNWz.cjs → presence-DAthlALi.cjs} +2 -2
- package/dist/chunks/presets-BYBVJVeP.js +1 -1
- package/dist/chunks/presets-CUHys3sK.cjs +1 -1
- package/dist/chunks/{prize-wheel-tgpOsdDA.js → prize-wheel-CpGVo8QG.js} +2 -2
- package/dist/chunks/{prize-wheel-MOZOrI-p.cjs → prize-wheel-emDopI5c.cjs} +2 -2
- package/dist/chunks/{product-gallery-BcGA35Ie.js → product-gallery-BmnYLKAQ.js} +2 -2
- package/dist/chunks/{product-gallery-Bi6I6x1o.cjs → product-gallery-CKtSVhZk.cjs} +2 -2
- package/dist/chunks/{progress-ring-BO9a3Q24.cjs → progress-ring-C75O4MUi.cjs} +7 -6
- package/dist/chunks/{progress-ring-6kTzB49S.js → progress-ring-CKgR1GRB.js} +7 -6
- package/dist/chunks/{prop-panel-DGm8VM4Z.js → prop-panel-BjbCiPAB.js} +2 -2
- package/dist/chunks/{prop-panel-_kA6mvB9.cjs → prop-panel-DFqga6H5.cjs} +2 -2
- package/dist/chunks/{radar-DT93Se3Y.cjs → radar-D-bZRrgs.cjs} +2 -2
- package/dist/chunks/{radar-sKiciNsS.js → radar-rBQT1BFh.js} +2 -2
- package/dist/chunks/{reactions-BASnlqck.cjs → reactions-BL2iO8iy.cjs} +2 -2
- package/dist/chunks/{reactions-B4xogsDd.js → reactions-CsdP0Su5.js} +2 -2
- package/dist/chunks/{registry-EziiQiWO.cjs → registry-CibnX7Ui.cjs} +2 -2
- package/dist/chunks/{registry-BfiEkviv.cjs → registry-D4qv6B49.cjs} +2 -2
- package/dist/chunks/{registry-PxXkPc1Q.js → registry-DKs_BiEo.js} +2 -2
- package/dist/chunks/{registry-C8rYCsXx.js → registry-Ng9TVXnA.js} +2 -2
- package/dist/chunks/{retro-button-BxCv-ybi.js → retro-button-Bw4sqAkl.js} +2 -2
- package/dist/chunks/{retro-button-DfuSdfWj.cjs → retro-button-DrrBZ6w8.cjs} +2 -2
- package/dist/chunks/{rive-cR-Q9Quh.cjs → rive-D6X4J0Mi.cjs} +2 -2
- package/dist/chunks/{rive-BHdln8XJ.js → rive-FjeW9KDl.js} +2 -2
- package/dist/chunks/{runtime-link-CeVpMlOJ.js → runtime-link-BZd9tPZE.js} +2 -2
- package/dist/chunks/{runtime-link-MABGYSmW.cjs → runtime-link-DDGDuR6q.cjs} +2 -2
- package/dist/chunks/scroll-driven-CQbwzCdn.cjs +1 -1
- package/dist/chunks/scroll-driven-LghshrWq.js +1 -1
- package/dist/chunks/{scroll-scene-Bn2EQiJd.js → scroll-scene-CgFA-E0N.js} +4 -4
- package/dist/chunks/{scroll-scene-CmbLFA1m.cjs → scroll-scene-Ch5d1PER.cjs} +4 -4
- package/dist/chunks/{segmented-DHBqMcAF.js → segmented-BEep92iW.js} +2 -2
- package/dist/chunks/{segmented-CbZtwChW.cjs → segmented-CpB4mKIn.cjs} +2 -2
- package/dist/chunks/{shader-backdrop-DT1h5Zoc.cjs → shader-backdrop-C4UhepvI.cjs} +5 -5
- package/dist/chunks/{shader-backdrop-rrssjdMI.js → shader-backdrop-DC0ZvVMV.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-7UwF69TQ.cjs → sheet-B38ylIEW.cjs} +2 -2
- package/dist/chunks/{sheet-C63sKkKn.js → sheet-BHTMF8qx.js} +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-BMrbmru6.js} +2 -2
- package/dist/chunks/{skeleton-reveal-DfH6IiUG.cjs → skeleton-reveal-Dsd3Wp0n.cjs} +2 -2
- package/dist/chunks/{sparkline-CCV_wZ9j.cjs → sparkline-DeKhZpVo.cjs} +7 -6
- package/dist/chunks/{sparkline-kl8sJ7cP.js → sparkline-htTaTcgs.js} +7 -6
- package/dist/chunks/{spring-BX7EJst7.js → spring-DBCejV_z.js} +2 -2
- package/dist/chunks/{spring-Q3Y-pHuP.cjs → spring-XEl_diDJ.cjs} +2 -2
- package/dist/chunks/stagger-B9sKPwQB.js +1 -1
- package/dist/chunks/stagger-DFKwqOQG.cjs +1 -1
- package/dist/chunks/{suggestion-chips-D9i2FGGX.cjs → suggestion-chips-CAcbFTr4.cjs} +2 -2
- package/dist/chunks/{suggestion-chips-fmrwI2Da.js → suggestion-chips-Cj70JCtZ.js} +2 -2
- package/dist/chunks/{switch-DnwGGeZj.js → switch-CnSs8nDn.js} +2 -2
- package/dist/chunks/{switch-Db4uTUcj.cjs → switch-DiTlApGd.cjs} +2 -2
- package/dist/chunks/{tab-bar-CSx4fTC9.js → tab-bar-B7hFB974.js} +2 -2
- package/dist/chunks/{tab-bar-DqzNvlDc.cjs → tab-bar-BBlVAqbq.cjs} +2 -2
- package/dist/chunks/{ticker-j_dmsse0.cjs → ticker-Bcx-J0T3.cjs} +2 -2
- package/dist/chunks/{ticker-DaMSl3Kd.js → ticker-DZN0D39q.js} +2 -2
- package/dist/chunks/{tip-CIh4O-DZ.cjs → tip-VGS3qAUm.cjs} +2 -2
- package/dist/chunks/{tip-C8T1SdOJ.js → tip-ylGHoOIf.js} +2 -2
- package/dist/chunks/{toast-stack-kHQdNZDv.cjs → toast-stack-DprisNp_.cjs} +3 -3
- package/dist/chunks/{toast-stack-COXQ3IOx.js → toast-stack-Z_5cS1Nz.js} +3 -3
- package/dist/chunks/{tween-DQzuHdMx.cjs → tween-C755kVRe.cjs} +2 -2
- package/dist/chunks/{tween-BqIL1A7u.js → tween-DZdCTOBG.js} +2 -2
- package/dist/chunks/{upload-progress-BhyFjwb6.cjs → upload-progress-CEAWkP-p.cjs} +2 -2
- package/dist/chunks/{upload-progress-CXfoNUhm.js → upload-progress-y7N0eaM4.js} +2 -2
- package/dist/chunks/{variants-Dk-FItCT.cjs → variants-BtqEJuki.cjs} +2 -2
- package/dist/chunks/{variants-DY08myqK.js → variants-MxfB3UVB.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-9UauxvT9.cjs} +2 -2
- package/dist/chunks/{voice-button-DdKxtavP.js → voice-button-DFEoNe24.js} +2 -2
- package/dist/chunks/{weather-card-DfXFesfY.cjs → weather-card-4Eg6e43D.cjs} +5 -5
- package/dist/chunks/{weather-card-Ecgk-JQd.js → weather-card-NR0i507J.js} +6 -6
- package/dist/chunks/{worker-canvas-CEbqBgK5.cjs → worker-canvas-BMBXAFWp.cjs} +2 -2
- package/dist/chunks/{worker-canvas-BIuesniy.js → worker-canvas-CPZvzrWQ.js} +2 -2
- package/dist/chunks/{xp-bar-Cx-dMEMT.js → xp-bar-DAbx1LZ_.js} +2 -2
- package/dist/chunks/{xp-bar-BC8UnCHG.cjs → xp-bar-DkWfCTfB.cjs} +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 +17 -41
- package/dist/components/angular.d.cts +2047 -8
- package/dist/components/angular.d.ts +2047 -8
- package/dist/components/angular.js +17 -41
- 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 +2 -5
- package/dist/components/design.js +2 -5
- package/dist/components/dotlottie.cjs +4 -5
- package/dist/components/dotlottie.js +4 -5
- package/dist/components/dsl.cjs +2 -3
- package/dist/components/dsl.js +2 -3
- package/dist/components/effects.cjs +60 -30
- package/dist/components/effects.d.cts +0 -88
- package/dist/components/effects.d.ts +0 -88
- package/dist/components/effects.js +68 -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 +23 -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 +23 -6
- package/dist/components/fx-ai.cjs +2 -3
- package/dist/components/fx-ai.js +2 -3
- package/dist/components/fx-chart.cjs +2 -3
- package/dist/components/fx-chart.js +2 -3
- package/dist/components/fx-cinema.cjs +2 -3
- package/dist/components/fx-cinema.js +2 -3
- package/dist/components/fx-cyber.cjs +2 -3
- package/dist/components/fx-cyber.js +2 -3
- package/dist/components/fx-festival.cjs +2 -3
- package/dist/components/fx-festival.js +2 -3
- package/dist/components/fx-focus.cjs +2 -3
- package/dist/components/fx-focus.js +2 -3
- package/dist/components/fx-form.cjs +2 -3
- package/dist/components/fx-form.js +2 -3
- package/dist/components/fx-game.cjs +2 -3
- package/dist/components/fx-game.js +2 -3
- package/dist/components/fx-genart.cjs +2 -3
- package/dist/components/fx-genart.js +2 -3
- package/dist/components/fx-geo.cjs +2 -3
- package/dist/components/fx-geo.js +2 -3
- package/dist/components/fx-gesture.cjs +2 -3
- package/dist/components/fx-gesture.js +2 -3
- package/dist/components/fx-gpu.cjs +4 -5
- package/dist/components/fx-gpu.js +4 -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 +2 -3
- package/dist/components/fx-lottie.js +2 -3
- package/dist/components/fx-morph.cjs +2 -3
- package/dist/components/fx-morph.js +2 -3
- package/dist/components/fx-music.cjs +24 -9
- 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 -10
- package/dist/components/fx-organic.cjs +2 -3
- package/dist/components/fx-organic.js +2 -3
- package/dist/components/fx-paper.cjs +2 -3
- package/dist/components/fx-paper.js +2 -3
- package/dist/components/fx-perf.cjs +3 -3
- package/dist/components/fx-perf.js +3 -3
- package/dist/components/fx-physics.cjs +25 -8
- 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 -12
- package/dist/components/fx-retro.cjs +2 -3
- package/dist/components/fx-retro.js +2 -3
- package/dist/components/fx-safe.cjs +3 -3
- package/dist/components/fx-safe.js +3 -3
- package/dist/components/fx-shop.cjs +2 -3
- package/dist/components/fx-shop.js +2 -3
- package/dist/components/fx-social.cjs +2 -3
- package/dist/components/fx-social.js +2 -3
- package/dist/components/fx-spatial.cjs +2 -3
- package/dist/components/fx-spatial.js +2 -3
- package/dist/components/fx-surface.cjs +2 -3
- package/dist/components/fx-surface.js +2 -3
- package/dist/components/fx-text.cjs +3 -3
- package/dist/components/fx-text.js +3 -3
- package/dist/components/fx-transitions.cjs +4 -4
- package/dist/components/fx-transitions.js +4 -4
- package/dist/components/fx-video.cjs +3 -3
- package/dist/components/fx-video.js +3 -3
- package/dist/components/fx-weather.cjs +3 -4
- package/dist/components/fx-weather.js +3 -4
- package/dist/components/fx.cjs +4 -7
- package/dist/components/fx.js +5 -8
- package/dist/components/fx2.cjs +4 -8
- package/dist/components/fx2.d.cts +0 -133
- package/dist/components/fx2.d.ts +0 -133
- package/dist/components/fx2.js +5 -9
- package/dist/components/gesture.cjs +4 -4
- package/dist/components/gesture.js +5 -5
- package/dist/components/gl-model.cjs +4 -5
- package/dist/components/gl-model.js +4 -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.d.cts +2049 -3
- package/dist/components/jsx.d.ts +2049 -3
- 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 +124 -119
- package/dist/components/lite.js +124 -120
- package/dist/components/marketplace.cjs +2 -4
- package/dist/components/marketplace.js +3 -5
- package/dist/components/native.cjs +1 -4
- package/dist/components/native.js +1 -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 +2 -7
- package/dist/components/plugins.js +2 -7
- package/dist/components/react.cjs +26 -3
- package/dist/components/react.d.cts +23 -1
- package/dist/components/react.d.ts +23 -1
- package/dist/components/react.js +24 -4
- package/dist/components/reveal.cjs +2 -2
- package/dist/components/reveal.js +2 -2
- package/dist/components/snap-carousel.cjs +3 -4
- package/dist/components/snap-carousel.js +3 -4
- package/dist/components/solid.cjs +3 -36
- package/dist/components/solid.d.cts +1451 -2
- package/dist/components/solid.d.ts +1451 -2
- package/dist/components/solid.js +3 -36
- package/dist/components/svelte.cjs +10 -36
- package/dist/components/svelte.d.cts +2047 -2
- package/dist/components/svelte.d.ts +2047 -2
- package/dist/components/svelte.js +10 -36
- package/dist/components/svg.cjs +2 -2
- package/dist/components/svg.js +2 -2
- package/dist/components/text.cjs +3 -4
- package/dist/components/text.js +3 -4
- package/dist/components/timeline.cjs +3 -4
- package/dist/components/timeline.js +4 -5
- 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 +8 -35
- package/dist/components/vue.d.cts +2046 -1
- package/dist/components/vue.d.ts +2046 -1
- package/dist/components/vue.js +8 -35
- package/dist/components/webgl.cjs +2 -2
- package/dist/components/webgl.js +2 -2
- package/dist/components/widgets.cjs +52 -85
- package/dist/components/widgets.js +101 -134
- package/dist/components.cjs +10 -11
- package/dist/components.d.cts +13 -5
- package/dist/components.d.ts +13 -5
- package/dist/components.js +11 -13
- package/dist/components.umd.js +3 -3
- package/dist/effects/achievement-unlock.cjs +2 -3
- package/dist/effects/achievement-unlock.js +2 -3
- package/dist/effects/aurora-veil.cjs +2 -5
- package/dist/effects/aurora-veil.js +2 -5
- package/dist/effects/badge-pop.cjs +2 -3
- package/dist/effects/badge-pop.js +2 -3
- package/dist/effects/bars-grow.cjs +2 -4
- package/dist/effects/bars-grow.js +2 -4
- package/dist/effects/beat-bounce.cjs +2 -6
- package/dist/effects/beat-bounce.js +2 -6
- package/dist/effects/blob-button.cjs +2 -4
- package/dist/effects/blob-button.js +2 -4
- package/dist/effects/bloom.cjs +2 -3
- package/dist/effects/bloom.js +2 -3
- package/dist/effects/breathe.cjs +2 -3
- package/dist/effects/breathe.js +2 -3
- package/dist/effects/brushed-metal.cjs +2 -5
- package/dist/effects/brushed-metal.js +2 -5
- package/dist/effects/camera-dolly.cjs +2 -4
- package/dist/effects/camera-dolly.js +2 -4
- package/dist/effects/card-flip-3d.cjs +2 -6
- package/dist/effects/card-flip-3d.js +2 -6
- package/dist/effects/chest-open.cjs +2 -3
- package/dist/effects/chest-open.js +2 -3
- package/dist/effects/cloth.cjs +2 -5
- package/dist/effects/cloth.js +2 -5
- package/dist/effects/coin-burst.cjs +2 -3
- package/dist/effects/coin-burst.js +2 -3
- package/dist/effects/color-pulse.cjs +2 -3
- package/dist/effects/color-pulse.js +2 -3
- package/dist/effects/crt-power.cjs +2 -3
- package/dist/effects/crt-power.js +2 -3
- package/dist/effects/crumple.cjs +2 -3
- package/dist/effects/crumple.js +2 -3
- package/dist/effects/data-decode.cjs +2 -3
- package/dist/effects/data-decode.js +2 -3
- package/dist/effects/day-cycle.cjs +2 -5
- package/dist/effects/day-cycle.js +2 -5
- package/dist/effects/depth-in.cjs +2 -3
- package/dist/effects/depth-in.js +2 -3
- package/dist/effects/depth-pop.cjs +2 -3
- package/dist/effects/depth-pop.js +2 -3
- package/dist/effects/depth-stack.cjs +2 -6
- package/dist/effects/depth-stack.js +2 -6
- package/dist/effects/dolly-in.cjs +2 -3
- package/dist/effects/dolly-in.js +2 -3
- package/dist/effects/dots-pop.cjs +2 -4
- package/dist/effects/dots-pop.js +2 -4
- package/dist/effects/field-shake.cjs +2 -3
- package/dist/effects/field-shake.js +2 -3
- package/dist/effects/field-success.cjs +2 -3
- package/dist/effects/field-success.js +2 -3
- package/dist/effects/film-burn.cjs +2 -3
- package/dist/effects/film-burn.js +2 -3
- package/dist/effects/fire.cjs +3 -6
- package/dist/effects/fire.js +3 -6
- package/dist/effects/fireflies.cjs +3 -6
- package/dist/effects/fireflies.js +3 -6
- package/dist/effects/firework-burst.cjs +2 -3
- package/dist/effects/firework-burst.js +2 -3
- package/dist/effects/flip-chars.cjs +2 -4
- package/dist/effects/flip-chars.js +2 -4
- package/dist/effects/fluid.cjs +3 -6
- package/dist/effects/fluid.js +3 -6
- package/dist/effects/fly-to-cart.cjs +2 -3
- package/dist/effects/fly-to-cart.js +2 -3
- package/dist/effects/focus-draw.cjs +2 -3
- package/dist/effects/focus-draw.js +2 -3
- package/dist/effects/focus-glow.cjs +2 -3
- package/dist/effects/focus-glow.js +2 -3
- package/dist/effects/fog.cjs +2 -5
- package/dist/effects/fog.js +2 -5
- package/dist/effects/font-breathe.cjs +2 -4
- package/dist/effects/font-breathe.js +2 -4
- package/dist/effects/form-cascade.cjs +2 -3
- package/dist/effects/form-cascade.js +2 -3
- package/dist/effects/gen-skeleton.cjs +2 -3
- package/dist/effects/gen-skeleton.js +2 -3
- package/dist/effects/glass-frost.cjs +2 -3
- package/dist/effects/glass-frost.js +2 -3
- package/dist/effects/glitch-text.cjs +2 -4
- package/dist/effects/glitch-text.js +2 -4
- package/dist/effects/globe-spin.cjs +2 -3
- package/dist/effects/globe-spin.js +2 -3
- package/dist/effects/god-rays.cjs +2 -5
- package/dist/effects/god-rays.js +2 -5
- package/dist/effects/gpu-lift.cjs +2 -3
- package/dist/effects/gpu-lift.js +2 -3
- package/dist/effects/grain-flicker.cjs +2 -3
- package/dist/effects/grain-flicker.js +2 -3
- package/dist/effects/halftone-in.cjs +2 -3
- package/dist/effects/halftone-in.js +2 -3
- package/dist/effects/highlight-sweep.cjs +2 -3
- package/dist/effects/highlight-sweep.js +2 -3
- package/dist/effects/hologram.cjs +2 -3
- package/dist/effects/hologram.js +2 -3
- package/dist/effects/hud-frame.cjs +2 -3
- package/dist/effects/hud-frame.js +2 -3
- package/dist/effects/icon-pop.cjs +2 -3
- package/dist/effects/icon-pop.js +2 -3
- package/dist/effects/icon-swap.cjs +2 -4
- package/dist/effects/icon-swap.js +2 -4
- package/dist/effects/idle-reveal.cjs +2 -3
- package/dist/effects/idle-reveal.js +2 -3
- package/dist/effects/ink.cjs +3 -6
- package/dist/effects/ink.js +3 -6
- package/dist/effects/jump-cut.cjs +2 -3
- package/dist/effects/jump-cut.js +2 -3
- package/dist/effects/kaleido.cjs +2 -3
- package/dist/effects/kaleido.js +2 -3
- package/dist/effects/label-float.cjs +2 -3
- package/dist/effects/label-float.js +2 -3
- package/dist/effects/lantern-rise.cjs +2 -3
- package/dist/effects/lantern-rise.js +2 -3
- package/dist/effects/leaves.cjs +3 -6
- package/dist/effects/leaves.js +3 -6
- package/dist/effects/letterbox.cjs +2 -3
- package/dist/effects/letterbox.js +2 -3
- package/dist/effects/level-up.cjs +2 -3
- package/dist/effects/level-up.js +2 -3
- package/dist/effects/light-follow.cjs +2 -5
- package/dist/effects/light-follow.js +2 -5
- package/dist/effects/lightning.cjs +2 -5
- package/dist/effects/lightning.js +2 -5
- package/dist/effects/line-draw.cjs +2 -4
- package/dist/effects/line-draw.js +2 -4
- package/dist/effects/liquid-text.cjs +2 -4
- package/dist/effects/liquid-text.js +2 -4
- package/dist/effects/liquid-wipe.cjs +2 -4
- package/dist/effects/liquid-wipe.js +2 -4
- package/dist/effects/lottie-play.cjs +2 -3
- package/dist/effects/lottie-play.js +2 -3
- package/dist/effects/magnet.cjs +2 -5
- package/dist/effects/magnet.js +2 -5
- package/dist/effects/marching-ants.cjs +2 -3
- package/dist/effects/marching-ants.js +2 -3
- package/dist/effects/marker-pulse.cjs +2 -3
- package/dist/effects/marker-pulse.js +2 -3
- package/dist/effects/mention-glow.cjs +2 -3
- package/dist/effects/mention-glow.js +2 -3
- package/dist/effects/mesh-drift.cjs +2 -3
- package/dist/effects/mesh-drift.js +2 -3
- package/dist/effects/message-in.cjs +2 -3
- package/dist/effects/message-in.js +2 -3
- package/dist/effects/mosaic-flip.cjs +2 -4
- package/dist/effects/mosaic-flip.js +2 -4
- package/dist/effects/neon-ignite.cjs +2 -3
- package/dist/effects/neon-ignite.js +2 -3
- package/dist/effects/neon-pulse.cjs +2 -3
- package/dist/effects/neon-pulse.js +2 -3
- package/dist/effects/neon-write.cjs +2 -4
- package/dist/effects/neon-write.js +2 -4
- package/dist/effects/neu-press.cjs +2 -3
- package/dist/effects/neu-press.js +2 -3
- package/dist/effects/noise-reveal.cjs +2 -4
- package/dist/effects/noise-reveal.js +2 -4
- package/dist/effects/number-roll.cjs +2 -4
- package/dist/effects/number-roll.js +2 -4
- package/dist/effects/orbit-camera.cjs +2 -6
- package/dist/effects/orbit-camera.js +2 -6
- package/dist/effects/orbit-in.cjs +2 -3
- package/dist/effects/orbit-in.js +2 -3
- package/dist/effects/origami.cjs +2 -6
- package/dist/effects/origami.js +2 -6
- package/dist/effects/page-curl.cjs +2 -4
- package/dist/effects/page-curl.js +2 -4
- package/dist/effects/pan-reveal.cjs +2 -3
- package/dist/effects/pan-reveal.js +2 -3
- package/dist/effects/paper-unfold.cjs +2 -3
- package/dist/effects/paper-unfold.js +2 -3
- package/dist/effects/particle-text.cjs +2 -4
- package/dist/effects/particle-text.js +2 -4
- package/dist/effects/path-morph.cjs +2 -4
- package/dist/effects/path-morph.js +2 -4
- package/dist/effects/pearlescent.cjs +2 -5
- package/dist/effects/pearlescent.js +2 -5
- package/dist/effects/pencil-sketch.cjs +2 -3
- package/dist/effects/pencil-sketch.js +2 -3
- package/dist/effects/pin-drop.cjs +2 -3
- package/dist/effects/pin-drop.js +2 -3
- package/dist/effects/pinball.cjs +2 -5
- package/dist/effects/pinball.js +2 -5
- package/dist/effects/pinch-hint.cjs +2 -3
- package/dist/effects/pinch-hint.js +2 -3
- package/dist/effects/pixelate-in.cjs +2 -3
- package/dist/effects/pixelate-in.js +2 -3
- package/dist/effects/pointer-shadow.cjs +2 -5
- package/dist/effects/pointer-shadow.js +2 -5
- package/dist/effects/portal-open.cjs +2 -3
- package/dist/effects/portal-open.js +2 -3
- package/dist/effects/price-flip.cjs +2 -3
- package/dist/effects/price-flip.js +2 -3
- package/dist/effects/product-spin.cjs +2 -6
- package/dist/effects/product-spin.js +2 -6
- package/dist/effects/rack-focus.cjs +2 -3
- package/dist/effects/rack-focus.js +2 -3
- package/dist/effects/radial-spectrum.cjs +2 -6
- package/dist/effects/radial-spectrum.js +2 -6
- package/dist/effects/rain-glass.cjs +2 -5
- package/dist/effects/rain-glass.js +2 -5
- package/dist/effects/reaction-burst.cjs +2 -3
- package/dist/effects/reaction-burst.js +2 -3
- package/dist/effects/read-receipt.cjs +2 -3
- package/dist/effects/read-receipt.js +2 -3
- package/dist/effects/refraction.cjs +2 -5
- package/dist/effects/refraction.js +2 -5
- package/dist/effects/ring-sweep.cjs +2 -4
- package/dist/effects/ring-sweep.js +2 -4
- package/dist/effects/ripple-dissolve.cjs +2 -4
- package/dist/effects/ripple-dissolve.js +2 -4
- package/dist/effects/rope.cjs +2 -5
- package/dist/effects/rope.js +2 -5
- package/dist/effects/route-draw.cjs +2 -3
- package/dist/effects/route-draw.js +2 -3
- package/dist/effects/safe-fade.cjs +2 -3
- package/dist/effects/safe-fade.js +2 -3
- package/dist/effects/sakura.cjs +3 -6
- package/dist/effects/sakura.js +3 -6
- package/dist/effects/sale-shine.cjs +2 -3
- package/dist/effects/sale-shine.js +2 -3
- package/dist/effects/sankey-flow.cjs +2 -4
- package/dist/effects/sankey-flow.js +2 -4
- package/dist/effects/scanline-sweep.cjs +2 -3
- package/dist/effects/scanline-sweep.js +2 -3
- package/dist/effects/shatter.cjs +2 -4
- package/dist/effects/shatter.js +2 -4
- package/dist/effects/smoke.cjs +3 -6
- package/dist/effects/smoke.js +3 -6
- package/dist/effects/snowfall.cjs +2 -5
- package/dist/effects/snowfall.js +2 -5
- package/dist/effects/soft-body.cjs +2 -5
- package/dist/effects/soft-body.js +2 -5
- package/dist/effects/sound-particles.cjs +2 -6
- package/dist/effects/sound-particles.js +2 -6
- package/dist/effects/spatial-float.cjs +2 -3
- package/dist/effects/spatial-float.js +2 -3
- package/dist/effects/spectrum-mirror.cjs +2 -6
- package/dist/effects/spectrum-mirror.js +2 -6
- package/dist/effects/splash.cjs +3 -6
- package/dist/effects/splash.js +3 -6
- package/dist/effects/spooky-float.cjs +2 -3
- package/dist/effects/spooky-float.js +2 -3
- package/dist/effects/stock-pulse.cjs +2 -3
- package/dist/effects/stock-pulse.js +2 -3
- package/dist/effects/stream-text.cjs +2 -3
- package/dist/effects/stream-text.js +2 -3
- package/dist/effects/stroke-draw.cjs +2 -4
- package/dist/effects/stroke-draw.js +2 -4
- package/dist/effects/success-check.cjs +2 -3
- package/dist/effects/success-check.js +2 -3
- package/dist/effects/swipe-hint.cjs +2 -3
- package/dist/effects/swipe-hint.js +2 -3
- package/dist/effects/text-trail.cjs +2 -4
- package/dist/effects/text-trail.js +2 -4
- package/dist/effects/thinking-glow.cjs +2 -3
- package/dist/effects/thinking-glow.js +2 -3
- package/dist/effects/tilt-wobble.cjs +2 -3
- package/dist/effects/tilt-wobble.js +2 -3
- package/dist/effects/typing-dots.cjs +2 -3
- package/dist/effects/typing-dots.js +2 -3
- package/dist/effects/underline-sweep.cjs +2 -3
- package/dist/effects/underline-sweep.js +2 -3
- package/dist/effects/vhs-glitch.cjs +2 -3
- package/dist/effects/vhs-glitch.js +2 -3
- package/dist/effects/vine-grow.cjs +2 -3
- package/dist/effects/vine-grow.js +2 -3
- package/dist/effects/vinyl-spin.cjs +2 -6
- package/dist/effects/vinyl-spin.js +2 -6
- package/dist/effects/voice-wave.cjs +2 -3
- package/dist/effects/voice-wave.js +2 -3
- package/dist/effects/water-drop.cjs +2 -3
- package/dist/effects/water-drop.js +2 -3
- package/dist/effects/watercolor.cjs +2 -3
- package/dist/effects/watercolor.js +2 -3
- package/dist/effects/waveform-scope.cjs +2 -6
- package/dist/effects/waveform-scope.js +2 -6
- package/dist/effects/xmas-snow.cjs +2 -3
- package/dist/effects/xmas-snow.js +2 -3
- package/dist/effects/xp-gain.cjs +2 -3
- package/dist/effects/xp-gain.js +2 -3
- package/dist/effects/y2k-shine.cjs +2 -3
- package/dist/effects/y2k-shine.js +2 -3
- package/dist/element.cjs +1 -2
- package/dist/element.js +1 -2
- package/dist/element.umd.js +1 -1
- package/dist/index.cjs +2 -4
- package/dist/index.js +2 -4
- package/dist/index.umd.js +3 -3
- package/dist/llms-full.txt +1 -1
- package/dist/llms.txt +1 -1
- package/dist/manifest.json +10 -5
- 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 -2
- package/dist/react.js +1 -2
- 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 +3 -6
- package/dist/runtime/format-apng.iife.js +1 -1
- package/dist/runtime/format-apng.js +3 -6
- package/dist/runtime/format-css.cjs +3 -6
- package/dist/runtime/format-css.iife.js +1 -1
- package/dist/runtime/format-css.js +3 -6
- package/dist/runtime/format-gif.cjs +3 -6
- package/dist/runtime/format-gif.iife.js +1 -1
- package/dist/runtime/format-gif.js +3 -6
- 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 +4 -5
- package/dist/runtime/format-motion.iife.js +1 -1
- package/dist/runtime/format-motion.js +4 -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 +3 -5
- package/dist/runtime/format-sprite.iife.js +1 -1
- package/dist/runtime/format-sprite.js +3 -5
- package/dist/runtime/format-svg.cjs +3 -4
- package/dist/runtime/format-svg.iife.js +1 -1
- package/dist/runtime/format-svg.js +3 -4
- package/dist/runtime/format-webp.cjs +3 -6
- package/dist/runtime/format-webp.iife.js +1 -1
- package/dist/runtime/format-webp.js +3 -6
- 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 +3 -5
- package/dist/runtime/vector.iife.js +1 -1
- package/dist/runtime/vector.js +3 -5
- 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 -2
- package/dist/solid.js +1 -2
- package/dist/svelte.cjs +1 -2
- package/dist/svelte.js +1 -2
- package/dist/vue.cjs +1 -2
- package/dist/vue.js +1 -2
- package/dist/widgets/add-to-cart.cjs +4 -7
- package/dist/widgets/add-to-cart.js +4 -7
- package/dist/widgets/badge-wall.cjs +2 -3
- package/dist/widgets/badge-wall.js +2 -3
- package/dist/widgets/bar-chart.cjs +2 -2
- package/dist/widgets/bar-chart.js +2 -2
- package/dist/widgets/bg-generator.cjs +2 -5
- package/dist/widgets/bg-generator.js +2 -5
- package/dist/widgets/carousel.cjs +2 -4
- package/dist/widgets/carousel.js +2 -4
- package/dist/widgets/cart-drawer.cjs +2 -3
- package/dist/widgets/cart-drawer.js +2 -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 +2 -4
- package/dist/widgets/code-export.js +2 -4
- package/dist/widgets/color-picker.cjs +2 -4
- package/dist/widgets/color-picker.js +2 -4
- package/dist/widgets/command-palette.cjs +2 -3
- package/dist/widgets/command-palette.js +2 -3
- package/dist/widgets/compare.cjs +5 -5
- package/dist/widgets/compare.js +5 -5
- package/dist/widgets/countdown.cjs +2 -3
- package/dist/widgets/countdown.js +2 -3
- package/dist/widgets/cube-gallery.cjs +2 -2
- package/dist/widgets/cube-gallery.js +2 -2
- package/dist/widgets/date-picker.cjs +2 -4
- package/dist/widgets/date-picker.js +2 -4
- 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 +1 -5
- package/dist/widgets/dotlottie.js +1 -5
- package/dist/widgets/equalizer.cjs +2 -4
- package/dist/widgets/equalizer.js +2 -4
- package/dist/widgets/festival-banner.cjs +2 -3
- package/dist/widgets/festival-banner.js +2 -3
- package/dist/widgets/field.cjs +2 -3
- package/dist/widgets/field.js +2 -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 +6 -6
- package/dist/widgets/gen-art.js +6 -6
- package/dist/widgets/gesture-sticker.cjs +2 -3
- package/dist/widgets/gesture-sticker.js +2 -3
- package/dist/widgets/gl-model.cjs +1 -5
- package/dist/widgets/gl-model.js +1 -5
- package/dist/widgets/gl-scene.cjs +2 -5
- package/dist/widgets/gl-scene.js +2 -5
- package/dist/widgets/globe.cjs +2 -3
- package/dist/widgets/globe.js +2 -3
- package/dist/widgets/gpu-particles.cjs +2 -3
- package/dist/widgets/gpu-particles.js +2 -3
- package/dist/widgets/gyro-card.cjs +2 -3
- package/dist/widgets/gyro-card.js +2 -3
- package/dist/widgets/hero-video.cjs +2 -3
- package/dist/widgets/hero-video.js +2 -3
- package/dist/widgets/hud-panel.cjs +2 -2
- package/dist/widgets/hud-panel.js +2 -2
- package/dist/widgets/hydrate.cjs +2 -2
- package/dist/widgets/hydrate.js +2 -2
- package/dist/widgets/install-button.cjs +2 -2
- package/dist/widgets/install-button.js +2 -2
- package/dist/widgets/kanban.cjs +2 -2
- package/dist/widgets/kanban.js +2 -2
- package/dist/widgets/keyframe-editor.cjs +5 -8
- package/dist/widgets/keyframe-editor.js +5 -8
- package/dist/widgets/kpi.cjs +7 -6
- package/dist/widgets/kpi.js +7 -6
- package/dist/widgets/leaderboard.cjs +2 -3
- package/dist/widgets/leaderboard.js +2 -3
- package/dist/widgets/liquid-nav.cjs +3 -3
- package/dist/widgets/liquid-nav.js +3 -3
- package/dist/widgets/location-card.cjs +2 -3
- package/dist/widgets/location-card.js +2 -3
- package/dist/widgets/lottie-icon.cjs +2 -7
- package/dist/widgets/lottie-icon.js +2 -7
- package/dist/widgets/lottie-player.cjs +2 -5
- package/dist/widgets/lottie-player.js +2 -5
- package/dist/widgets/lottie.cjs +2 -3
- package/dist/widgets/lottie.js +2 -3
- package/dist/widgets/lyrics.cjs +2 -4
- package/dist/widgets/lyrics.js +2 -4
- package/dist/widgets/masonry-flow.cjs +2 -2
- package/dist/widgets/masonry-flow.js +2 -2
- package/dist/widgets/menu-toggle.cjs +2 -3
- package/dist/widgets/menu-toggle.js +2 -3
- package/dist/widgets/menu.cjs +2 -4
- package/dist/widgets/menu.js +2 -4
- 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 +2 -5
- package/dist/widgets/modal.js +2 -5
- package/dist/widgets/motion-inspector.cjs +3 -3
- package/dist/widgets/motion-inspector.js +3 -3
- package/dist/widgets/motion-prefs.cjs +2 -3
- package/dist/widgets/motion-prefs.js +2 -3
- package/dist/widgets/motion-prompt.cjs +2 -2
- package/dist/widgets/motion-prompt.js +2 -2
- package/dist/widgets/motion-spec.cjs +2 -5
- package/dist/widgets/motion-spec.js +2 -5
- package/dist/widgets/motion.cjs +2 -3
- package/dist/widgets/motion.js +2 -3
- package/dist/widgets/music-player.cjs +7 -6
- package/dist/widgets/music-player.js +7 -6
- package/dist/widgets/native-preview.cjs +2 -6
- package/dist/widgets/native-preview.js +2 -6
- package/dist/widgets/nav-morph.cjs +2 -4
- package/dist/widgets/nav-morph.js +2 -4
- package/dist/widgets/notification-bell.cjs +2 -2
- package/dist/widgets/notification-bell.js +2 -2
- package/dist/widgets/odometer.cjs +2 -4
- package/dist/widgets/odometer.js +2 -4
- package/dist/widgets/organic-card.cjs +2 -3
- package/dist/widgets/organic-card.js +2 -3
- package/dist/widgets/otp.cjs +2 -3
- package/dist/widgets/otp.js +2 -3
- package/dist/widgets/pagination.cjs +2 -5
- package/dist/widgets/pagination.js +2 -5
- package/dist/widgets/panorama.cjs +7 -7
- package/dist/widgets/panorama.js +7 -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 +2 -3
- package/dist/widgets/perf-monitor.js +2 -3
- package/dist/widgets/physics-playground.cjs +2 -5
- package/dist/widgets/physics-playground.js +2 -5
- package/dist/widgets/plugin-card.cjs +4 -4
- package/dist/widgets/plugin-card.js +4 -4
- package/dist/widgets/plugin-store.cjs +2 -5
- package/dist/widgets/plugin-store.js +2 -5
- package/dist/widgets/presence.cjs +2 -3
- package/dist/widgets/presence.js +2 -3
- package/dist/widgets/prize-wheel.cjs +2 -3
- package/dist/widgets/prize-wheel.js +2 -3
- package/dist/widgets/product-gallery.cjs +2 -3
- package/dist/widgets/product-gallery.js +2 -3
- package/dist/widgets/progress-ring.cjs +2 -4
- package/dist/widgets/progress-ring.js +2 -4
- package/dist/widgets/prop-panel.cjs +2 -3
- package/dist/widgets/prop-panel.js +2 -3
- package/dist/widgets/pull-cord.cjs +7 -6
- package/dist/widgets/pull-cord.js +7 -6
- package/dist/widgets/radar.cjs +2 -3
- package/dist/widgets/radar.js +2 -3
- package/dist/widgets/reactions.cjs +2 -3
- package/dist/widgets/reactions.js +2 -3
- package/dist/widgets/red-envelope.cjs +4 -4
- package/dist/widgets/red-envelope.js +4 -4
- package/dist/widgets/retro-button.cjs +2 -3
- package/dist/widgets/retro-button.js +2 -3
- package/dist/widgets/rive.cjs +2 -3
- package/dist/widgets/rive.js +2 -3
- package/dist/widgets/route-transition.cjs +2 -2
- package/dist/widgets/route-transition.js +2 -2
- package/dist/widgets/scene.cjs +2 -3
- package/dist/widgets/scene.js +2 -3
- package/dist/widgets/scroll-ring.cjs +4 -4
- package/dist/widgets/scroll-ring.js +7 -7
- package/dist/widgets/scroll-scene.cjs +2 -5
- package/dist/widgets/scroll-scene.js +2 -5
- package/dist/widgets/segmented.cjs +2 -4
- package/dist/widgets/segmented.js +2 -4
- package/dist/widgets/shader-backdrop.cjs +2 -3
- package/dist/widgets/shader-backdrop.js +2 -3
- package/dist/widgets/sheet.cjs +2 -5
- package/dist/widgets/sheet.js +2 -5
- package/dist/widgets/shortcut.cjs +3 -3
- package/dist/widgets/shortcut.js +3 -3
- package/dist/widgets/skeleton-reveal.cjs +2 -4
- package/dist/widgets/skeleton-reveal.js +2 -4
- package/dist/widgets/sketch-chart.cjs +2 -3
- package/dist/widgets/sketch-chart.js +2 -3
- package/dist/widgets/smooth-scroll.cjs +3 -4
- package/dist/widgets/smooth-scroll.js +3 -4
- package/dist/widgets/snap-carousel.cjs +1 -4
- package/dist/widgets/snap-carousel.js +1 -4
- package/dist/widgets/sparkline.cjs +2 -3
- package/dist/widgets/sparkline.js +2 -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 +2 -3
- package/dist/widgets/sticky-wall.js +2 -3
- package/dist/widgets/stories.cjs +2 -2
- package/dist/widgets/stories.js +2 -2
- package/dist/widgets/suggestion-chips.cjs +2 -3
- package/dist/widgets/suggestion-chips.js +2 -3
- package/dist/widgets/swipe-deck.cjs +2 -2
- package/dist/widgets/swipe-deck.js +2 -2
- package/dist/widgets/switch.cjs +2 -3
- package/dist/widgets/switch.js +2 -3
- package/dist/widgets/tab-bar.cjs +2 -4
- package/dist/widgets/tab-bar.js +2 -4
- 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 +2 -3
- package/dist/widgets/theme-surface.js +2 -3
- package/dist/widgets/theme-switcher.cjs +2 -3
- package/dist/widgets/theme-switcher.js +2 -3
- package/dist/widgets/tip.cjs +2 -4
- package/dist/widgets/tip.js +2 -4
- package/dist/widgets/toast-stack.cjs +2 -6
- package/dist/widgets/toast-stack.js +2 -6
- package/dist/widgets/token-editor.cjs +2 -2
- package/dist/widgets/token-editor.js +2 -2
- package/dist/widgets/upload-progress.cjs +2 -3
- package/dist/widgets/upload-progress.js +2 -3
- package/dist/widgets/video-card.cjs +2 -2
- package/dist/widgets/video-card.js +2 -2
- package/dist/widgets/voice-button.cjs +2 -3
- package/dist/widgets/voice-button.js +2 -3
- package/dist/widgets/volume-knob.cjs +2 -2
- package/dist/widgets/volume-knob.js +2 -2
- package/dist/widgets/weather-card.cjs +2 -3
- package/dist/widgets/weather-card.js +2 -3
- package/dist/widgets/worker-canvas.cjs +2 -5
- package/dist/widgets/worker-canvas.js +2 -5
- package/dist/widgets/xp-bar.cjs +2 -3
- package/dist/widgets/xp-bar.js +2 -3
- package/dist/widgets.umd.js +2 -2
- package/docs/components/usa-aurora.md +1 -1
- package/docs/components/usa-carousel-3d.md +1 -1
- package/docs/components/usa-story.md +1 -1
- package/docs/components/usa-switch.md +1 -1
- package/docs/components.md +1 -1
- package/docs/frameworks-matrix.md +64 -0
- package/docs/frameworks-ssr.md +24 -8
- package/docs/public-api.md +1 -1
- package/docs/scheduling.md +58 -0
- package/package.json +23 -2
|
@@ -60,15 +60,6 @@ interface EffectDefinition<O extends Record<string, unknown> = Record<string, an
|
|
|
60
60
|
declare const CARD_FX: EffectDefinition[];
|
|
61
61
|
declare const CLICK_FX: EffectDefinition[];
|
|
62
62
|
|
|
63
|
-
/**
|
|
64
|
-
* 5.2 — bounce & physics micro-interactions, registered through
|
|
65
|
-
* `registerEffect()`. Keyframes come from a damped-spring / gravity solver
|
|
66
|
-
* (`springKeyframes()`, `bounceKeyframes()`), so the motion is physical but
|
|
67
|
-
* still runs on the Web Animations API (compositor, reduced-motion aware).
|
|
68
|
-
* Effects: `bounce-in`, `rubber-band`, `elastic-hover`, `drop-bounce`,
|
|
69
|
-
* `gravity-text`, `spring-follow`, `bell-swing`.
|
|
70
|
-
*/
|
|
71
|
-
|
|
72
63
|
interface SpringOptions {
|
|
73
64
|
stiffness?: number;
|
|
74
65
|
damping?: number;
|
|
@@ -93,31 +84,8 @@ declare function springKeyframes(map: (p: number) => Keyframe, spring?: SpringOp
|
|
|
93
84
|
declare function bounceKeyframes(bounce?: number, steps?: number): number[];
|
|
94
85
|
declare const PHYSICS_FX: EffectDefinition[];
|
|
95
86
|
|
|
96
|
-
/**
|
|
97
|
-
* 5.3 — page-wide effects, registered through `registerEffect()`.
|
|
98
|
-
* Transitions (cover → `onCovered()` → reveal): `curtain`, `iris`,
|
|
99
|
-
* `pixel-dissolve`, `blinds`. Persistent page effects: `velocity-skew`,
|
|
100
|
-
* `spotlight`, `edge-glow`.
|
|
101
|
-
*
|
|
102
|
-
* ```ts
|
|
103
|
-
* await playEffect(document.body, 'iris', { onCovered: () => router.go('/next') });
|
|
104
|
-
* ```
|
|
105
|
-
*/
|
|
106
|
-
|
|
107
87
|
declare const PAGE_FX: EffectDefinition[];
|
|
108
88
|
|
|
109
|
-
/**
|
|
110
|
-
* 5.5 — generative backgrounds on Canvas 2D, registered through
|
|
111
|
-
* `registerEffect()` (kind `background`): `flow-field`, `voronoi`,
|
|
112
|
-
* `mesh-gradient`, `starfield`, `metaballs`, `contours`.
|
|
113
|
-
*
|
|
114
|
-
* Shared runner (`canvasBackground()`): a canvas behind the element's content
|
|
115
|
-
* (`aria-hidden`, pointer-transparent), rendering only while visible
|
|
116
|
-
* (IntersectionObserver) and the tab is shown, with adaptive quality — the
|
|
117
|
-
* render scale drops when frames get slow and recovers when they are fast.
|
|
118
|
-
* Reduced motion: one static frame, no loop.
|
|
119
|
-
*/
|
|
120
|
-
|
|
121
89
|
interface GenFrame {
|
|
122
90
|
ctx: CanvasRenderingContext2D;
|
|
123
91
|
/** CSS-pixel size of the canvas. */
|
|
@@ -147,28 +115,6 @@ declare function hexRgb(hex: string): [number, number, number];
|
|
|
147
115
|
declare function canvasBackground(el: HTMLElement, fx: EffectContext, spec: GenerativeSpec, o: any): () => void;
|
|
148
116
|
declare const GENERATIVE_FX: EffectDefinition[];
|
|
149
117
|
|
|
150
|
-
/**
|
|
151
|
-
* 5.6 — sound-reactive effects (Web Audio).
|
|
152
|
-
*
|
|
153
|
-
* - `enableAudio(input)` — start analysing the microphone (`'mic'`), an
|
|
154
|
-
* `<audio>` / `<video>` element (or a selector for one) or a `MediaStream`.
|
|
155
|
-
* Browsers only allow an `AudioContext` to start inside a user gesture, so
|
|
156
|
-
* call it from a click handler (or use `<usa-audio>`, which renders the
|
|
157
|
-
* toggle button for you).
|
|
158
|
-
* - Background effects (kind `background`, Canvas 2D through
|
|
159
|
-
* `canvasBackground()`): `spectrum-bars`, `pulse-ring`, `wave-ring`. Before
|
|
160
|
-
* audio is enabled they idle gently.
|
|
161
|
-
* - Beat detection: `createBeatDetector()` (pure: energy → beat?), `onBeat(cb)`
|
|
162
|
-
* and `bindBeat(el, effect, options)`, which plays any registered effect on
|
|
163
|
-
* every beat. `<usa-audio>` does the same for `[data-usa-beat="effect"]`
|
|
164
|
-
* children and emits `usa:beat`.
|
|
165
|
-
* - While audio runs, `--usa-audio-level` and `--usa-audio-bass` (0–1) are set
|
|
166
|
-
* on `<html>` for CSS-driven reactions.
|
|
167
|
-
*
|
|
168
|
-
* Reduced motion: the visual effects are skipped, beats play no effects and
|
|
169
|
-
* the CSS variables stay at 0 — audio itself keeps playing.
|
|
170
|
-
*/
|
|
171
|
-
|
|
172
118
|
type AudioInput = 'mic' | HTMLMediaElement | MediaStream | string;
|
|
173
119
|
interface AudioSample {
|
|
174
120
|
/** Overall loudness (RMS of the waveform), 0–1. */
|
|
@@ -235,22 +181,6 @@ interface UsaAudioElement extends UsaElement {
|
|
|
235
181
|
*/
|
|
236
182
|
declare function defineAudio(tag?: string): CustomElementConstructor | undefined;
|
|
237
183
|
|
|
238
|
-
/**
|
|
239
|
-
* 5.7 — cursor & gesture packs.
|
|
240
|
-
*
|
|
241
|
-
* Cursor effects (kind `cursor`, persistent, scoped to the element they are
|
|
242
|
-
* bound to; skipped under reduced motion and — unless `touch: true` — for
|
|
243
|
-
* touch pointers): `comet-trail`, `sparkle-trail`, `ribbon-trail`,
|
|
244
|
-
* `magnetic-dots`, `spotlight-cursor`.
|
|
245
|
-
*
|
|
246
|
-
* Gestures → effects: `bindGesture(el, 'fling' | 'twist' | 'long-press',
|
|
247
|
-
* effectOrCallback, options)` and `<usa-gesture-fx gesture effect>`. A fling
|
|
248
|
-
* is a fast release, a twist a two-finger rotation past `angle` degrees, a
|
|
249
|
-
* long press "charges" `--usa-charge` 0 → 1 and fires when full. Every fire
|
|
250
|
-
* dispatches `usa-gesture` (`detail: { gesture, … }`). The effect itself goes
|
|
251
|
-
* through `playEffect()`, so reduced motion is honoured there.
|
|
252
|
-
*/
|
|
253
|
-
|
|
254
184
|
type Pt = {
|
|
255
185
|
x: number;
|
|
256
186
|
y: number;
|
|
@@ -478,24 +408,6 @@ interface UsaPlayerElement extends UsaElement {
|
|
|
478
408
|
*/
|
|
479
409
|
declare function definePlayer(tag?: string): CustomElementConstructor | undefined;
|
|
480
410
|
|
|
481
|
-
/**
|
|
482
|
-
* 5.4 — `<usa-story template="…">` scroll-storytelling templates.
|
|
483
|
-
*
|
|
484
|
-
* - `pin` — a sticky `[data-stage]` while `[data-step]` sections scroll past; the
|
|
485
|
-
* step in view gets `data-active`, the stage gets `data-active-step="<index>"`.
|
|
486
|
-
* - `gallery` — a horizontal `[data-track]` slides sideways as you scroll down.
|
|
487
|
-
* - `zoom` — the `[data-stage]` zooms toward the viewer (`zoom="6"`) and fades.
|
|
488
|
-
* - `compare` — before / after (`[data-before]`, `[data-after]`) wipe driven by
|
|
489
|
-
* scroll, plus a draggable, keyboard-accessible handle (`role="slider"`).
|
|
490
|
-
* - `counter` — `[data-count="1234"]` numbers count up when they enter view.
|
|
491
|
-
* - `highlight` — paragraphs dim except the one crossing the viewport center.
|
|
492
|
-
*
|
|
493
|
-
* Every template sets `--usa-story-progress` (0–1) on the host and dispatches
|
|
494
|
-
* `usa:step` (`detail: { index }`; 12.0, was `usa-story-step`). Reduced motion: no sliding / zooming
|
|
495
|
-
* (the gallery stacks vertically), counters show final values, the rest is
|
|
496
|
-
* class changes only.
|
|
497
|
-
*/
|
|
498
|
-
|
|
499
411
|
declare const STORY_TEMPLATES: readonly ["pin", "gallery", "zoom", "compare", "counter", "highlight"];
|
|
500
412
|
type StoryTemplate = (typeof STORY_TEMPLATES)[number];
|
|
501
413
|
interface UsaStoryElement extends UsaElement {
|
|
@@ -60,15 +60,6 @@ interface EffectDefinition<O extends Record<string, unknown> = Record<string, an
|
|
|
60
60
|
declare const CARD_FX: EffectDefinition[];
|
|
61
61
|
declare const CLICK_FX: EffectDefinition[];
|
|
62
62
|
|
|
63
|
-
/**
|
|
64
|
-
* 5.2 — bounce & physics micro-interactions, registered through
|
|
65
|
-
* `registerEffect()`. Keyframes come from a damped-spring / gravity solver
|
|
66
|
-
* (`springKeyframes()`, `bounceKeyframes()`), so the motion is physical but
|
|
67
|
-
* still runs on the Web Animations API (compositor, reduced-motion aware).
|
|
68
|
-
* Effects: `bounce-in`, `rubber-band`, `elastic-hover`, `drop-bounce`,
|
|
69
|
-
* `gravity-text`, `spring-follow`, `bell-swing`.
|
|
70
|
-
*/
|
|
71
|
-
|
|
72
63
|
interface SpringOptions {
|
|
73
64
|
stiffness?: number;
|
|
74
65
|
damping?: number;
|
|
@@ -93,31 +84,8 @@ declare function springKeyframes(map: (p: number) => Keyframe, spring?: SpringOp
|
|
|
93
84
|
declare function bounceKeyframes(bounce?: number, steps?: number): number[];
|
|
94
85
|
declare const PHYSICS_FX: EffectDefinition[];
|
|
95
86
|
|
|
96
|
-
/**
|
|
97
|
-
* 5.3 — page-wide effects, registered through `registerEffect()`.
|
|
98
|
-
* Transitions (cover → `onCovered()` → reveal): `curtain`, `iris`,
|
|
99
|
-
* `pixel-dissolve`, `blinds`. Persistent page effects: `velocity-skew`,
|
|
100
|
-
* `spotlight`, `edge-glow`.
|
|
101
|
-
*
|
|
102
|
-
* ```ts
|
|
103
|
-
* await playEffect(document.body, 'iris', { onCovered: () => router.go('/next') });
|
|
104
|
-
* ```
|
|
105
|
-
*/
|
|
106
|
-
|
|
107
87
|
declare const PAGE_FX: EffectDefinition[];
|
|
108
88
|
|
|
109
|
-
/**
|
|
110
|
-
* 5.5 — generative backgrounds on Canvas 2D, registered through
|
|
111
|
-
* `registerEffect()` (kind `background`): `flow-field`, `voronoi`,
|
|
112
|
-
* `mesh-gradient`, `starfield`, `metaballs`, `contours`.
|
|
113
|
-
*
|
|
114
|
-
* Shared runner (`canvasBackground()`): a canvas behind the element's content
|
|
115
|
-
* (`aria-hidden`, pointer-transparent), rendering only while visible
|
|
116
|
-
* (IntersectionObserver) and the tab is shown, with adaptive quality — the
|
|
117
|
-
* render scale drops when frames get slow and recovers when they are fast.
|
|
118
|
-
* Reduced motion: one static frame, no loop.
|
|
119
|
-
*/
|
|
120
|
-
|
|
121
89
|
interface GenFrame {
|
|
122
90
|
ctx: CanvasRenderingContext2D;
|
|
123
91
|
/** CSS-pixel size of the canvas. */
|
|
@@ -147,28 +115,6 @@ declare function hexRgb(hex: string): [number, number, number];
|
|
|
147
115
|
declare function canvasBackground(el: HTMLElement, fx: EffectContext, spec: GenerativeSpec, o: any): () => void;
|
|
148
116
|
declare const GENERATIVE_FX: EffectDefinition[];
|
|
149
117
|
|
|
150
|
-
/**
|
|
151
|
-
* 5.6 — sound-reactive effects (Web Audio).
|
|
152
|
-
*
|
|
153
|
-
* - `enableAudio(input)` — start analysing the microphone (`'mic'`), an
|
|
154
|
-
* `<audio>` / `<video>` element (or a selector for one) or a `MediaStream`.
|
|
155
|
-
* Browsers only allow an `AudioContext` to start inside a user gesture, so
|
|
156
|
-
* call it from a click handler (or use `<usa-audio>`, which renders the
|
|
157
|
-
* toggle button for you).
|
|
158
|
-
* - Background effects (kind `background`, Canvas 2D through
|
|
159
|
-
* `canvasBackground()`): `spectrum-bars`, `pulse-ring`, `wave-ring`. Before
|
|
160
|
-
* audio is enabled they idle gently.
|
|
161
|
-
* - Beat detection: `createBeatDetector()` (pure: energy → beat?), `onBeat(cb)`
|
|
162
|
-
* and `bindBeat(el, effect, options)`, which plays any registered effect on
|
|
163
|
-
* every beat. `<usa-audio>` does the same for `[data-usa-beat="effect"]`
|
|
164
|
-
* children and emits `usa:beat`.
|
|
165
|
-
* - While audio runs, `--usa-audio-level` and `--usa-audio-bass` (0–1) are set
|
|
166
|
-
* on `<html>` for CSS-driven reactions.
|
|
167
|
-
*
|
|
168
|
-
* Reduced motion: the visual effects are skipped, beats play no effects and
|
|
169
|
-
* the CSS variables stay at 0 — audio itself keeps playing.
|
|
170
|
-
*/
|
|
171
|
-
|
|
172
118
|
type AudioInput = 'mic' | HTMLMediaElement | MediaStream | string;
|
|
173
119
|
interface AudioSample {
|
|
174
120
|
/** Overall loudness (RMS of the waveform), 0–1. */
|
|
@@ -235,22 +181,6 @@ interface UsaAudioElement extends UsaElement {
|
|
|
235
181
|
*/
|
|
236
182
|
declare function defineAudio(tag?: string): CustomElementConstructor | undefined;
|
|
237
183
|
|
|
238
|
-
/**
|
|
239
|
-
* 5.7 — cursor & gesture packs.
|
|
240
|
-
*
|
|
241
|
-
* Cursor effects (kind `cursor`, persistent, scoped to the element they are
|
|
242
|
-
* bound to; skipped under reduced motion and — unless `touch: true` — for
|
|
243
|
-
* touch pointers): `comet-trail`, `sparkle-trail`, `ribbon-trail`,
|
|
244
|
-
* `magnetic-dots`, `spotlight-cursor`.
|
|
245
|
-
*
|
|
246
|
-
* Gestures → effects: `bindGesture(el, 'fling' | 'twist' | 'long-press',
|
|
247
|
-
* effectOrCallback, options)` and `<usa-gesture-fx gesture effect>`. A fling
|
|
248
|
-
* is a fast release, a twist a two-finger rotation past `angle` degrees, a
|
|
249
|
-
* long press "charges" `--usa-charge` 0 → 1 and fires when full. Every fire
|
|
250
|
-
* dispatches `usa-gesture` (`detail: { gesture, … }`). The effect itself goes
|
|
251
|
-
* through `playEffect()`, so reduced motion is honoured there.
|
|
252
|
-
*/
|
|
253
|
-
|
|
254
184
|
type Pt = {
|
|
255
185
|
x: number;
|
|
256
186
|
y: number;
|
|
@@ -478,24 +408,6 @@ interface UsaPlayerElement extends UsaElement {
|
|
|
478
408
|
*/
|
|
479
409
|
declare function definePlayer(tag?: string): CustomElementConstructor | undefined;
|
|
480
410
|
|
|
481
|
-
/**
|
|
482
|
-
* 5.4 — `<usa-story template="…">` scroll-storytelling templates.
|
|
483
|
-
*
|
|
484
|
-
* - `pin` — a sticky `[data-stage]` while `[data-step]` sections scroll past; the
|
|
485
|
-
* step in view gets `data-active`, the stage gets `data-active-step="<index>"`.
|
|
486
|
-
* - `gallery` — a horizontal `[data-track]` slides sideways as you scroll down.
|
|
487
|
-
* - `zoom` — the `[data-stage]` zooms toward the viewer (`zoom="6"`) and fades.
|
|
488
|
-
* - `compare` — before / after (`[data-before]`, `[data-after]`) wipe driven by
|
|
489
|
-
* scroll, plus a draggable, keyboard-accessible handle (`role="slider"`).
|
|
490
|
-
* - `counter` — `[data-count="1234"]` numbers count up when they enter view.
|
|
491
|
-
* - `highlight` — paragraphs dim except the one crossing the viewport center.
|
|
492
|
-
*
|
|
493
|
-
* Every template sets `--usa-story-progress` (0–1) on the host and dispatches
|
|
494
|
-
* `usa:step` (`detail: { index }`; 12.0, was `usa-story-step`). Reduced motion: no sliding / zooming
|
|
495
|
-
* (the gallery stacks vertically), counters show final values, the rest is
|
|
496
|
-
* class changes only.
|
|
497
|
-
*/
|
|
498
|
-
|
|
499
411
|
declare const STORY_TEMPLATES: readonly ["pin", "gallery", "zoom", "compare", "counter", "highlight"];
|
|
500
412
|
type StoryTemplate = (typeof STORY_TEMPLATES)[number];
|
|
501
413
|
interface UsaStoryElement extends UsaElement {
|
|
@@ -1,17 +1,14 @@
|
|
|
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-C9CJrhL3.js';
|
|
4
|
+
import { d as defineStory, a as definePlayer } from '../chunks/player-BTaPvK8G.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-BTaPvK8G.js';
|
|
6
|
+
import { c as canvasBackground, h as hexRgb, G as GENERATIVE_FX } from '../chunks/generative-DWdAwxYB.js';
|
|
7
|
+
export { n as noise2 } from '../chunks/generative-DWdAwxYB.js';
|
|
8
|
+
import { A as AUDIO_FX, d as defineAudio } from '../chunks/audio-CZgCXg1t.js';
|
|
9
|
+
export { b as bindBeat, c as createBeatDetector, a as disableAudio, e as enableAudio, g as getAudio, o as onBeat } from '../chunks/audio-CZgCXg1t.js';
|
|
10
|
+
import { playEffect, bindEffect, registerEffects } from '../chunks/registry-DKs_BiEo.js';
|
|
11
11
|
import { applyMotionTokens, motionTokensToVars, mergeMotionTokens } from './tokens.js';
|
|
12
|
-
import '../chunks/builtins-hBOeCPXL.js';
|
|
13
|
-
import '../chunks/core-Bar7NFx7.js';
|
|
14
|
-
import '../chunks/fx-qAVpKs8e.js';
|
|
15
12
|
|
|
16
13
|
const CARD_FX = [
|
|
17
14
|
{
|
|
@@ -188,6 +185,14 @@ const CLICK_FX = [
|
|
|
188
185
|
},
|
|
189
186
|
];
|
|
190
187
|
|
|
188
|
+
/**
|
|
189
|
+
* 5.2 — bounce & physics micro-interactions, registered through
|
|
190
|
+
* `registerEffect()`. Keyframes come from a damped-spring / gravity solver
|
|
191
|
+
* (`springKeyframes()`, `bounceKeyframes()`), so the motion is physical but
|
|
192
|
+
* still runs on the Web Animations API (compositor, reduced-motion aware).
|
|
193
|
+
* Effects: `bounce-in`, `rubber-band`, `elastic-hover`, `drop-bounce`,
|
|
194
|
+
* `gravity-text`, `spring-follow`, `bell-swing`.
|
|
195
|
+
*/
|
|
191
196
|
/**
|
|
192
197
|
* Sample a damped spring from 0 → 1 and return the progress values plus the
|
|
193
198
|
* time (ms) it takes to settle. Pure, deterministic.
|
|
@@ -347,18 +352,18 @@ const PHYSICS_FX = [
|
|
|
347
352
|
let y = 0;
|
|
348
353
|
let vx = 0;
|
|
349
354
|
let vy = 0;
|
|
350
|
-
let raf = 0;
|
|
355
|
+
let raf$1 = 0;
|
|
351
356
|
const tick = () => {
|
|
352
357
|
vx = (vx + (tx - x) * o.stiffness) * o.damping;
|
|
353
358
|
vy = (vy + (ty - y) * o.stiffness) * o.damping;
|
|
354
359
|
x += vx;
|
|
355
360
|
y += vy;
|
|
356
361
|
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 ?
|
|
362
|
+
raf$1 = Math.abs(vx) + Math.abs(vy) + Math.abs(tx - x) + Math.abs(ty - y) > 0.05 ? raf(tick) : 0;
|
|
358
363
|
};
|
|
359
364
|
const kick = () => {
|
|
360
|
-
if (!raf)
|
|
361
|
-
raf =
|
|
365
|
+
if (!raf$1)
|
|
366
|
+
raf$1 = raf(tick);
|
|
362
367
|
};
|
|
363
368
|
const move = (e) => {
|
|
364
369
|
const r = host.getBoundingClientRect();
|
|
@@ -377,7 +382,7 @@ const PHYSICS_FX = [
|
|
|
377
382
|
return () => {
|
|
378
383
|
host.removeEventListener('pointermove', move);
|
|
379
384
|
host.removeEventListener('pointerleave', leave);
|
|
380
|
-
|
|
385
|
+
caf(raf$1);
|
|
381
386
|
el.style.translate = '';
|
|
382
387
|
};
|
|
383
388
|
},
|
|
@@ -398,6 +403,16 @@ const PHYSICS_FX = [
|
|
|
398
403
|
},
|
|
399
404
|
];
|
|
400
405
|
|
|
406
|
+
/**
|
|
407
|
+
* 5.3 — page-wide effects, registered through `registerEffect()`.
|
|
408
|
+
* Transitions (cover → `onCovered()` → reveal): `curtain`, `iris`,
|
|
409
|
+
* `pixel-dissolve`, `blinds`. Persistent page effects: `velocity-skew`,
|
|
410
|
+
* `spotlight`, `edge-glow`.
|
|
411
|
+
*
|
|
412
|
+
* ```ts
|
|
413
|
+
* await playEffect(document.body, 'iris', { onCovered: () => router.go('/next') });
|
|
414
|
+
* ```
|
|
415
|
+
*/
|
|
401
416
|
/** A full-viewport, aria-hidden, pointer-blocking (while covering) transition layer. */
|
|
402
417
|
function screen(css = '') {
|
|
403
418
|
const s = document.createElement('div');
|
|
@@ -506,25 +521,25 @@ const PAGE_FX = [
|
|
|
506
521
|
return;
|
|
507
522
|
let last = scrollY;
|
|
508
523
|
let skew = 0;
|
|
509
|
-
let raf = 0;
|
|
524
|
+
let raf$1 = 0;
|
|
510
525
|
const tick = () => {
|
|
511
526
|
const y = scrollY;
|
|
512
527
|
const target = Math.max(-o.max, Math.min(o.max, (y - last) * o.factor));
|
|
513
528
|
last = y;
|
|
514
529
|
skew += (target - skew) * 0.2;
|
|
515
530
|
el.style.transform = `skewY(${skew.toFixed(3)}deg)`;
|
|
516
|
-
raf = Math.abs(skew) > 0.01 || Math.abs(target) > 0.01 ?
|
|
517
|
-
if (!raf)
|
|
531
|
+
raf$1 = Math.abs(skew) > 0.01 || Math.abs(target) > 0.01 ? raf(tick) : 0;
|
|
532
|
+
if (!raf$1)
|
|
518
533
|
el.style.transform = '';
|
|
519
534
|
};
|
|
520
535
|
const onScroll = () => {
|
|
521
|
-
if (!raf)
|
|
522
|
-
raf =
|
|
536
|
+
if (!raf$1)
|
|
537
|
+
raf$1 = raf(tick);
|
|
523
538
|
};
|
|
524
539
|
addEventListener('scroll', onScroll, { passive: true });
|
|
525
540
|
return () => {
|
|
526
541
|
removeEventListener('scroll', onScroll);
|
|
527
|
-
|
|
542
|
+
caf(raf$1);
|
|
528
543
|
el.style.transform = '';
|
|
529
544
|
};
|
|
530
545
|
},
|
|
@@ -578,6 +593,21 @@ const PAGE_FX = [
|
|
|
578
593
|
},
|
|
579
594
|
];
|
|
580
595
|
|
|
596
|
+
/**
|
|
597
|
+
* 5.7 — cursor & gesture packs.
|
|
598
|
+
*
|
|
599
|
+
* Cursor effects (kind `cursor`, persistent, scoped to the element they are
|
|
600
|
+
* bound to; skipped under reduced motion and — unless `touch: true` — for
|
|
601
|
+
* touch pointers): `comet-trail`, `sparkle-trail`, `ribbon-trail`,
|
|
602
|
+
* `magnetic-dots`, `spotlight-cursor`.
|
|
603
|
+
*
|
|
604
|
+
* Gestures → effects: `bindGesture(el, 'fling' | 'twist' | 'long-press',
|
|
605
|
+
* effectOrCallback, options)` and `<usa-gesture-fx gesture effect>`. A fling
|
|
606
|
+
* is a fast release, a twist a two-finger rotation past `angle` degrees, a
|
|
607
|
+
* long press "charges" `--usa-charge` 0 → 1 and fires when full. Every fire
|
|
608
|
+
* dispatches `usa-gesture` (`detail: { gesture, … }`). The effect itself goes
|
|
609
|
+
* through `playEffect()`, so reduced motion is honoured there.
|
|
610
|
+
*/
|
|
581
611
|
const touchOk = (e, o) => o.touch || e.pointerType !== 'touch';
|
|
582
612
|
/** A fixed, viewport-sized canvas in the fx layer, redrawn while `draw` returns true. */
|
|
583
613
|
function overlayCanvas(draw) {
|
|
@@ -585,9 +615,9 @@ function overlayCanvas(draw) {
|
|
|
585
615
|
c.style.cssText = 'position:absolute;inset:0;width:100%;height:100%';
|
|
586
616
|
fxLayer().appendChild(c);
|
|
587
617
|
const g = c.getContext('2d');
|
|
588
|
-
let raf = 0;
|
|
618
|
+
let raf$1 = 0;
|
|
589
619
|
const frame = (now) => {
|
|
590
|
-
raf = 0;
|
|
620
|
+
raf$1 = 0;
|
|
591
621
|
if (!g)
|
|
592
622
|
return;
|
|
593
623
|
const w = innerWidth;
|
|
@@ -600,16 +630,16 @@ function overlayCanvas(draw) {
|
|
|
600
630
|
g.setTransform(dpr, 0, 0, dpr, 0, 0);
|
|
601
631
|
g.clearRect(0, 0, w, h);
|
|
602
632
|
if (draw(g, w, h, now))
|
|
603
|
-
raf =
|
|
633
|
+
raf$1 = raf(frame);
|
|
604
634
|
};
|
|
605
635
|
return {
|
|
606
636
|
kick: () => {
|
|
607
|
-
if (!raf && g)
|
|
608
|
-
raf =
|
|
637
|
+
if (!raf$1 && g)
|
|
638
|
+
raf$1 = raf(frame);
|
|
609
639
|
},
|
|
610
640
|
stop: () => {
|
|
611
|
-
|
|
612
|
-
raf = 0;
|
|
641
|
+
caf(raf$1);
|
|
642
|
+
raf$1 = 0;
|
|
613
643
|
c.remove();
|
|
614
644
|
},
|
|
615
645
|
};
|
|
@@ -763,13 +793,13 @@ const CURSOR_FX = [
|
|
|
763
793
|
let ty = 0;
|
|
764
794
|
let x = 0;
|
|
765
795
|
let y = 0;
|
|
766
|
-
let raf = 0;
|
|
796
|
+
let raf$1 = 0;
|
|
767
797
|
const tick = () => {
|
|
768
798
|
x += (tx - x) * o.ease;
|
|
769
799
|
y += (ty - y) * o.ease;
|
|
770
800
|
s.style.setProperty('--sx', `${x.toFixed(1)}px`);
|
|
771
801
|
s.style.setProperty('--sy', `${y.toFixed(1)}px`);
|
|
772
|
-
raf = Math.abs(tx - x) + Math.abs(ty - y) > 0.3 ?
|
|
802
|
+
raf$1 = Math.abs(tx - x) + Math.abs(ty - y) > 0.3 ? raf(tick) : 0;
|
|
773
803
|
};
|
|
774
804
|
const move = (e) => {
|
|
775
805
|
if (!touchOk(e, o))
|
|
@@ -779,14 +809,14 @@ const CURSOR_FX = [
|
|
|
779
809
|
ty = e.clientY - rc.top;
|
|
780
810
|
if (s.style.opacity !== '1')
|
|
781
811
|
((x = tx), (y = ty), (s.style.opacity = '1'));
|
|
782
|
-
if (!raf)
|
|
783
|
-
raf =
|
|
812
|
+
if (!raf$1)
|
|
813
|
+
raf$1 = raf(tick);
|
|
784
814
|
};
|
|
785
815
|
const leave = () => (s.style.opacity = '0');
|
|
786
816
|
el.addEventListener('pointermove', move, { passive: true });
|
|
787
817
|
el.addEventListener('pointerleave', leave);
|
|
788
818
|
return () => {
|
|
789
|
-
|
|
819
|
+
caf(raf$1);
|
|
790
820
|
el.removeEventListener('pointermove', move);
|
|
791
821
|
el.removeEventListener('pointerleave', leave);
|
|
792
822
|
s.remove();
|
|
@@ -850,7 +880,7 @@ function bindGesture(el, gesture, effect, o = {}) {
|
|
|
850
880
|
const endPress = () => {
|
|
851
881
|
if (!press)
|
|
852
882
|
return;
|
|
853
|
-
|
|
883
|
+
caf(press.raf);
|
|
854
884
|
press = null;
|
|
855
885
|
charge(0);
|
|
856
886
|
};
|
|
@@ -873,9 +903,9 @@ function bindGesture(el, gesture, effect, o = {}) {
|
|
|
873
903
|
fire({ gesture, charge: 1 }, e);
|
|
874
904
|
}
|
|
875
905
|
else
|
|
876
|
-
press.raf =
|
|
906
|
+
press.raf = raf(step);
|
|
877
907
|
};
|
|
878
|
-
press.raf =
|
|
908
|
+
press.raf = raf(step);
|
|
879
909
|
}
|
|
880
910
|
};
|
|
881
911
|
const move = (e) => {
|
|
@@ -1367,4 +1397,4 @@ function registerAllEffects() {
|
|
|
1367
1397
|
}
|
|
1368
1398
|
|
|
1369
1399
|
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.
|
|
1400
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.5.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-BvH4nAcv.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.5.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-C9CJrhL3.js';
|
|
2
|
+
export { t as trackAnimation } from '../chunks/base-C9CJrhL3.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.5.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-BvH4nAcv.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.5.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-C9CJrhL3.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.5.0/dist/components/feedback.js.map
|
|
@@ -1,19 +1,36 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var base = require('../chunks/base-BvH4nAcv.cjs');
|
|
4
|
+
var registry = require('../chunks/registry-CibnX7Ui.cjs');
|
|
4
5
|
var shared = require('../chunks/shared-jkgRH-Hx.cjs');
|
|
5
6
|
var components_fxLight = require('./fx-light.cjs');
|
|
6
|
-
require('../chunks/base-vu_KhBiv.cjs');
|
|
7
|
-
require('../chunks/generative-BHIj-NU0.cjs');
|
|
8
7
|
|
|
8
|
+
/**
|
|
9
|
+
* 6.5 — 3D scene cards (`motionary/components/fx-3d`), registered through
|
|
10
|
+
* `registerEffect()`:
|
|
11
|
+
*
|
|
12
|
+
* - `depth-stack` (card, persistent) — the children (or `[data-depth]`
|
|
13
|
+
* layers) separate in Z and parallax against each other as the card tilts
|
|
14
|
+
* toward the pointer.
|
|
15
|
+
* - `product-spin` (card, persistent) — a 360° product viewer: drag to turn
|
|
16
|
+
* the element in 3D with inertia, idles with a slow turntable spin.
|
|
17
|
+
* - `card-flip-3d` (click) — a thick card flips to its back face (second
|
|
18
|
+
* child) with an edge that shows its depth.
|
|
19
|
+
* - `origami` (enter) — the element unfolds panel by panel like folded paper.
|
|
20
|
+
* - `orbit-camera` (scroll, persistent) — while the element scrolls through
|
|
21
|
+
* the viewport the camera orbits its 3D children.
|
|
22
|
+
*
|
|
23
|
+
* Reduced motion: no tilt, spin, orbit or fold; the flip swaps faces with a
|
|
24
|
+
* crossfade.
|
|
25
|
+
*/
|
|
9
26
|
const layers = (el) => {
|
|
10
27
|
const marked = Array.from(el.querySelectorAll('[data-depth]'));
|
|
11
28
|
return marked.length ? marked : Array.from(el.children);
|
|
12
29
|
};
|
|
13
|
-
const raf = (f) => (typeof requestAnimationFrame === 'function' ?
|
|
30
|
+
const raf = (f) => (typeof requestAnimationFrame === 'function' ? base.raf(f) : 0);
|
|
14
31
|
const caf = (h) => {
|
|
15
32
|
if (h && typeof cancelAnimationFrame === 'function')
|
|
16
|
-
|
|
33
|
+
base.caf(h);
|
|
17
34
|
};
|
|
18
35
|
const DEPTH3_FX = [
|
|
19
36
|
{
|
|
@@ -233,4 +250,4 @@ function register3dPack() {
|
|
|
233
250
|
|
|
234
251
|
exports.DEPTH3_FX = DEPTH3_FX;
|
|
235
252
|
exports.register3dPack = register3dPack;
|
|
236
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
253
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.5.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;
|