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
|
@@ -1,56 +1,32 @@
|
|
|
1
1
|
import { defineComponents } from '../components.js';
|
|
2
2
|
import { C as COMPONENT_CATEGORIES } from '../chunks/index-tags-B-JBecYg.js';
|
|
3
3
|
export { b as bindUsa, u as usaEventName } from '../chunks/bind-B_CTL6Qn.js';
|
|
4
|
-
import './reveal.js';
|
|
5
|
-
import '../chunks/base-nzeN_ux7.js';
|
|
6
|
-
import './text.js';
|
|
7
|
-
import '../chunks/core-Bar7NFx7.js';
|
|
8
|
-
import './tokens.js';
|
|
9
|
-
import './interaction.js';
|
|
10
|
-
import './feedback.js';
|
|
11
|
-
import './background.js';
|
|
12
|
-
import '../chunks/variants-DY08myqK.js';
|
|
13
|
-
import './transitions.js';
|
|
14
|
-
import './physics.js';
|
|
15
|
-
import '../chunks/spring-BX7EJst7.js';
|
|
16
|
-
import './cards.js';
|
|
17
|
-
import './click.js';
|
|
18
|
-
import '../chunks/fx-qAVpKs8e.js';
|
|
19
|
-
import './ui.js';
|
|
20
|
-
import '../chunks/viewport-BAXHhZLV.js';
|
|
21
|
-
import './page.js';
|
|
22
|
-
import './timeline.js';
|
|
23
|
-
import './gesture.js';
|
|
24
|
-
import '../chunks/core-DVGtPabi.js';
|
|
25
|
-
import './svg.js';
|
|
26
|
-
import '../chunks/key-click-BLm3BI8_.js';
|
|
27
|
-
import './webgl.js';
|
|
28
|
-
import './depth.js';
|
|
29
|
-
import './layout.js';
|
|
30
|
-
import './packs.js';
|
|
31
|
-
import './fx.js';
|
|
32
|
-
import '../chunks/registry-PxXkPc1Q.js';
|
|
33
|
-
import '../chunks/builtins-hBOeCPXL.js';
|
|
34
|
-
import './a11y.js';
|
|
35
|
-
import './perf.js';
|
|
36
|
-
import './bridge.js';
|
|
37
4
|
|
|
38
5
|
/**
|
|
39
6
|
* motionary/angular — Angular integration (v3.8; 11.5: top-level entry `motionary/angular`, parity with the
|
|
40
7
|
* React / Vue / Svelte / Solid entries). The old path `motionary/angular` is the same file and is
|
|
41
8
|
* deprecated (removed in 13.0). Angular renders `<usa-*>` tags once the component (or NgModule) allows
|
|
42
|
-
* custom elements with `CUSTOM_ELEMENTS_SCHEMA`; property binding `[checked]="on"`
|
|
43
|
-
* `(usa:change)="…"`
|
|
9
|
+
* custom elements with `CUSTOM_ELEMENTS_SCHEMA`; property binding `[checked]="on"` works as is. Events: 13.5.0 —
|
|
10
|
+
* `(usa:change)="…"` does NOT compile in Angular 17+ (a colon in an event binding names a global target), so bind
|
|
11
|
+
* `usa:*` events with a small `[usaOn]` directive over `bindUsa`. This entry is framework-free (no `@angular/*` import):
|
|
44
12
|
*
|
|
45
13
|
* ```ts
|
|
46
|
-
* import { APP_INITIALIZER, CUSTOM_ELEMENTS_SCHEMA, Component } from '@angular/core';
|
|
47
|
-
* import { provideUsa, usaDetail } from 'motionary/angular';
|
|
14
|
+
* import { APP_INITIALIZER, CUSTOM_ELEMENTS_SCHEMA, Component, Directive, ElementRef, Input, inject } from '@angular/core';
|
|
15
|
+
* import { bindUsa, provideUsa, usaDetail } from 'motionary/angular';
|
|
48
16
|
*
|
|
49
17
|
* // app.config.ts
|
|
50
18
|
* providers: [provideUsa(APP_INITIALIZER, ['click', 'ui'])]
|
|
51
19
|
*
|
|
52
|
-
* @
|
|
53
|
-
*
|
|
20
|
+
* @Directive({ selector: '[usaOn]', standalone: true })
|
|
21
|
+
* export class UsaOn {
|
|
22
|
+
* private b = bindUsa(inject(ElementRef).nativeElement);
|
|
23
|
+
* @Input({ required: true }) set usaOn(on: Record<string, (e: CustomEvent) => void>) { this.b.update({ on }); }
|
|
24
|
+
* ngOnDestroy() { this.b.destroy(); }
|
|
25
|
+
* }
|
|
26
|
+
*
|
|
27
|
+
* @Component({ standalone: true, imports: [UsaOn], schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
28
|
+
* template: `<usa-switch [checked]="on" [usaOn]="{ change: onChange }"></usa-switch>` })
|
|
29
|
+
* class App { on = false; onChange = (e: CustomEvent) => (this.on = usaDetail(e).checked); }
|
|
54
30
|
* ```
|
|
55
31
|
* Parity with the other wrappers: register (`defineUsa` · `usaInitializer` · `provideUsa`, like Vue's `UsaPlugin`),
|
|
56
32
|
* tag list (`USA_TAGS`, like React), custom-element predicate (`isUsaElement`, like Vue), imperative binding
|
|
@@ -76,8 +52,8 @@ function defineUsa(categories) {
|
|
|
76
52
|
if (typeof window !== 'undefined')
|
|
77
53
|
defineComponents(categories);
|
|
78
54
|
}
|
|
79
|
-
/** Read `event.detail` from a `usa:*` event in a
|
|
55
|
+
/** Read `event.detail` from a `usa:*` event in a `[usaOn]` handler: `onChange = (e: CustomEvent) => (this.on = usaDetail(e).checked)`. */
|
|
80
56
|
const usaDetail = (e) => e.detail;
|
|
81
57
|
|
|
82
58
|
export { USA_TAGS, defineUsa, isUsaElement, provideUsa, usaDetail, usaInitializer };
|
|
83
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
59
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.5.0/dist/components/angular.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var base = require('../chunks/base-
|
|
4
|
-
var variants = require('../chunks/variants-
|
|
3
|
+
var base = require('../chunks/base-BvH4nAcv.cjs');
|
|
4
|
+
var variants = require('../chunks/variants-BtqEJuki.cjs');
|
|
5
5
|
|
|
6
6
|
var css$6 = "usa-aurora{position:relative;display:block;isolation:isolate;overflow:hidden}usa-aurora .usa-aurora-layer{position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:var(--usa-aurora-opacity,0.7);overflow:hidden;contain:strict}usa-aurora .usa-aurora-layer i{position:absolute;display:block;width:70%;aspect-ratio:1;border-radius:50%;background:radial-gradient(closest-side,var(--c),transparent);will-change:transform;animation:usa-aurora-a var(--usa-aurora-speed,18s) ease-in-out infinite alternate}usa-aurora .usa-aurora-layer i:nth-child(1){left:-15%;top:-30%}usa-aurora .usa-aurora-layer i:nth-child(2){right:-20%;top:-10%;animation-name:usa-aurora-b;animation-duration:calc(var(--usa-aurora-speed,18s) * 1.3)}usa-aurora .usa-aurora-layer i:nth-child(3){left:10%;bottom:-45%;animation-name:usa-aurora-c;animation-duration:calc(var(--usa-aurora-speed,18s) * 0.9)}usa-aurora .usa-aurora-layer i:nth-child(4){right:0;bottom:-30%;width:50%;animation-name:usa-aurora-b;animation-direction:alternate-reverse}usa-aurora[paused] .usa-aurora-layer i,usa-aurora[data-offscreen] .usa-aurora-layer i{animation-play-state:paused}@keyframes usa-aurora-a{from{transform:translate3d(0,0,0) scale(1)}to{transform:translate3d(30%,20%,0) scale(1.25)}}@keyframes usa-aurora-b{from{transform:translate3d(0,0,0) scale(1.1)}to{transform:translate3d(-35%,25%,0) scale(0.85)}}@keyframes usa-aurora-c{from{transform:translate3d(0,0,0) rotate(0deg) scale(1)}to{transform:translate3d(25%,-30%,0) rotate(40deg) scale(1.2)}}@media (prefers-reduced-motion:reduce){usa-aurora .usa-aurora-layer i,usa-grain .usa-grain-layer,usa-acrylic::after{animation:none !important}}";
|
|
7
7
|
|
|
@@ -669,4 +669,4 @@ exports.defineMarquee = defineMarquee;
|
|
|
669
669
|
exports.defineParticles = defineParticles;
|
|
670
670
|
exports.defineWaterRipple = defineWaterRipple;
|
|
671
671
|
exports.fluentPreset = fluentPreset;
|
|
672
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
672
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.5.0/dist/components/background.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as defineElement, b as caf, r as raf,
|
|
2
|
-
import { s as setVariant } from '../chunks/variants-
|
|
1
|
+
import { f as defineElement, b as caf, r as raf, G as adoptStyles, p as prefersReducedMotion } from '../chunks/base-C9CJrhL3.js';
|
|
2
|
+
import { s as setVariant } from '../chunks/variants-MxfB3UVB.js';
|
|
3
3
|
|
|
4
4
|
var css$6 = "usa-aurora{position:relative;display:block;isolation:isolate;overflow:hidden}usa-aurora .usa-aurora-layer{position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:var(--usa-aurora-opacity,0.7);overflow:hidden;contain:strict}usa-aurora .usa-aurora-layer i{position:absolute;display:block;width:70%;aspect-ratio:1;border-radius:50%;background:radial-gradient(closest-side,var(--c),transparent);will-change:transform;animation:usa-aurora-a var(--usa-aurora-speed,18s) ease-in-out infinite alternate}usa-aurora .usa-aurora-layer i:nth-child(1){left:-15%;top:-30%}usa-aurora .usa-aurora-layer i:nth-child(2){right:-20%;top:-10%;animation-name:usa-aurora-b;animation-duration:calc(var(--usa-aurora-speed,18s) * 1.3)}usa-aurora .usa-aurora-layer i:nth-child(3){left:10%;bottom:-45%;animation-name:usa-aurora-c;animation-duration:calc(var(--usa-aurora-speed,18s) * 0.9)}usa-aurora .usa-aurora-layer i:nth-child(4){right:0;bottom:-30%;width:50%;animation-name:usa-aurora-b;animation-direction:alternate-reverse}usa-aurora[paused] .usa-aurora-layer i,usa-aurora[data-offscreen] .usa-aurora-layer i{animation-play-state:paused}@keyframes usa-aurora-a{from{transform:translate3d(0,0,0) scale(1)}to{transform:translate3d(30%,20%,0) scale(1.25)}}@keyframes usa-aurora-b{from{transform:translate3d(0,0,0) scale(1.1)}to{transform:translate3d(-35%,25%,0) scale(0.85)}}@keyframes usa-aurora-c{from{transform:translate3d(0,0,0) rotate(0deg) scale(1)}to{transform:translate3d(25%,-30%,0) rotate(40deg) scale(1.2)}}@media (prefers-reduced-motion:reduce){usa-aurora .usa-aurora-layer i,usa-grain .usa-grain-layer,usa-acrylic::after{animation:none !important}}";
|
|
5
5
|
|
|
@@ -657,4 +657,4 @@ function defineBackgroundComponents() {
|
|
|
657
657
|
}
|
|
658
658
|
|
|
659
659
|
export { defineAcrylic, defineAurora, defineBackgroundComponents, defineBlobs, defineDotNetwork, defineGrain, defineGridGlow, defineMarquee, defineParticles, defineWaterRipple, fluentPreset };
|
|
660
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
660
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.5.0/dist/components/background.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/components/bridge — native shell bridges (4.7).
|
|
@@ -170,4 +170,4 @@ exports.detectNativeHost = detectNativeHost;
|
|
|
170
170
|
exports.isTrustedMessage = isTrustedMessage;
|
|
171
171
|
exports.parseNativeSettings = parseNativeSettings;
|
|
172
172
|
exports.postToNative = postToNative;
|
|
173
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
173
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.5.0/dist/components/bridge.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as configureComponents, M as MOTION_SENSITIVITY_LEVELS } from '../chunks/base-
|
|
1
|
+
import { c as configureComponents, M as MOTION_SENSITIVITY_LEVELS } from '../chunks/base-C9CJrhL3.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* motionary/components/bridge — native shell bridges (4.7).
|
|
@@ -162,4 +162,4 @@ function connectNativeShell(options = {}) {
|
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
export { BRIDGE_PROTOCOL_VERSION, applyNativeSettings, connectNativeShell, detectNativeHost, isTrustedMessage, parseNativeSettings, postToNative };
|
|
165
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
165
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.5.0/dist/components/bridge.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var base = require('../chunks/base-
|
|
4
|
-
var spring = require('../chunks/spring-
|
|
3
|
+
var base = require('../chunks/base-BvH4nAcv.cjs');
|
|
4
|
+
var spring = require('../chunks/spring-XEl_diDJ.cjs');
|
|
5
5
|
|
|
6
6
|
var css$3 = "usa-card{--usa-card-radius:18px;--usa-card-bg:var(--usa-surface,#1b1e27);--usa-card-glow:var(--usa-accent,#7c5cff);--usa-card-x:50%;--usa-card-y:50%;--usa-card-nx:0;--usa-card-ny:0;position:relative;display:block;border-radius:var(--usa-card-radius);isolation:isolate;-webkit-tap-highlight-color:transparent}usa-card:focus-visible{outline:2px solid var(--usa-card-glow);outline-offset:3px}usa-card[effect~=\"lift\"]{transition:transform 0.45s cubic-bezier(0.34,1.56,0.64,1),box-shadow 0.45s ease}usa-card[effect~=\"lift\"][data-hover],usa-card[effect~=\"lift\"]:focus-visible{transform:translateY(-6px) perspective(900px) rotateX(calc(var(--usa-card-ny) * -4deg)) rotateY(calc(var(--usa-card-nx) * 4deg));box-shadow:0 22px 44px -18px rgb(0 0 0 / 0.55)}usa-card[effect~=\"glass\"]{background:color-mix(in srgb,var(--usa-card-bg) 45%,transparent);border:1px solid rgb(255 255 255 / 0.16);-webkit-backdrop-filter:blur(18px) saturate(1.5);backdrop-filter:blur(18px) saturate(1.5)}usa-card[effect~=\"spotlight\"]::before,usa-card[effect~=\"border-glow\"]::after{content:\"\";position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:0;transition:opacity 0.3s ease}usa-card[effect~=\"spotlight\"]::before{z-index:-1;background:radial-gradient(260px circle at var(--usa-card-x) var(--usa-card-y),color-mix(in srgb,var(--usa-card-glow) 28%,transparent),transparent 70%)}usa-card[effect~=\"border-glow\"]::after{padding:1.5px;background:radial-gradient(180px circle at var(--usa-card-x) var(--usa-card-y),var(--usa-card-glow),transparent 70%);-webkit-mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0)}usa-card[data-hover]::before,usa-card[data-hover]::after{opacity:1}@property --usa-card-angle{syntax:\"<angle>\";inherits:false;initial-value:0deg}usa-card[effect~=\"conic-border\"]{border:2px solid transparent;background:linear-gradient(var(--usa-card-bg),var(--usa-card-bg)) padding-box,conic-gradient(from var(--usa-card-angle),var(--usa-card-glow),#22d3ee,#f472b6,var(--usa-card-glow)) border-box;animation:usa-card-spin 4s linear infinite}@keyframes usa-card-spin{to{--usa-card-angle:360deg}}usa-card .usa-card-sheen{position:absolute;inset:0;border-radius:inherit;overflow:hidden;pointer-events:none}usa-card .usa-card-sheen::before{content:\"\";position:absolute;top:0;bottom:0;width:45%;left:-60%;transform:skewX(-20deg);background:linear-gradient(90deg,transparent,rgb(255 255 255 / 0.35),transparent)}usa-card[effect~=\"sheen\"]:hover .usa-card-sheen::before,usa-card[effect~=\"sheen\"]:focus-visible .usa-card-sheen::before{left:130%;transition:left 0.8s cubic-bezier(0.22,1,0.36,1)}usa-card .usa-card-holo{position:absolute;inset:0;border-radius:inherit;pointer-events:none;mix-blend-mode:color-dodge;opacity:0.35;background:linear-gradient(115deg,transparent 20%,#ff7ad9 35%,#7af0ff 45%,#ffe27a 55%,transparent 70%) calc(var(--usa-card-x) * 1.4 - 20%) calc(var(--usa-card-y) * 1.4 - 20%) / 220% 220%;transition:opacity 0.3s ease}usa-card[data-hover] .usa-card-holo{opacity:0.7}usa-card[effect~=\"parallax-layers\"] [data-depth]{transition:transform 0.25s ease-out;will-change:transform}usa-card[effect~=\"flip\"]{perspective:1000px;display:grid}usa-card[effect~=\"flip\"]>[data-front],usa-card[effect~=\"flip\"]>[data-back]{grid-area:1 / 1;backface-visibility:hidden;-webkit-backface-visibility:hidden;border-radius:inherit;transition:transform 0.7s cubic-bezier(0.34,1.3,0.64,1),opacity 0.3s ease}usa-card[effect~=\"flip\"]>[data-back]{transform:rotateY(180deg)}usa-card[effect~=\"flip\"][axis=\"x\"]>[data-back]{transform:rotateX(180deg)}usa-card[effect~=\"flip\"][flipped]>[data-front],usa-card[effect~=\"flip\"]:not([trigger=\"click\"]):hover>[data-front]{transform:rotateY(-180deg)}usa-card[effect~=\"flip\"][flipped]>[data-back],usa-card[effect~=\"flip\"]:not([trigger=\"click\"]):hover>[data-back]{transform:rotateY(0deg)}usa-card[effect~=\"flip\"][axis=\"x\"][flipped]>[data-front],usa-card[effect~=\"flip\"][axis=\"x\"]:not([trigger=\"click\"]):hover>[data-front]{transform:rotateX(180deg)}usa-card[effect~=\"flip\"][axis=\"x\"][flipped]>[data-back],usa-card[effect~=\"flip\"][axis=\"x\"]:not([trigger=\"click\"]):hover>[data-back]{transform:rotateX(0deg)}usa-card[effect~=\"flip\"][trigger=\"click\"]{cursor:pointer}usa-card[effect~=\"expand\"]{cursor:zoom-in}usa-card[effect~=\"expand\"]:not([expanded]) [data-detail]{display:none}usa-card[expanded]{position:fixed;inset:6vh max(4vw,calc(50vw - 420px));z-index:1000;overflow:auto;cursor:default;background:var(--usa-card-bg);box-shadow:0 30px 80px -20px rgb(0 0 0 / 0.6)}.usa-card-backdrop{position:fixed;inset:0;z-index:999;background:rgb(0 0 0 / 0.45)}@media (prefers-reduced-motion:reduce){usa-card,usa-card *,usa-card .usa-card-sheen::before{transition-duration:0.01ms !important;animation:none !important}usa-card[effect~=\"lift\"][data-hover]{transform:none}usa-card[effect~=\"flip\"]>[data-front],usa-card[effect~=\"flip\"]>[data-back]{transform:none !important}usa-card[effect~=\"flip\"][flipped]>[data-front],usa-card[effect~=\"flip\"]:not([flipped])>[data-back]{opacity:0;visibility:hidden}usa-card[effect~=\"flip\"]:not([trigger=\"click\"]):hover>[data-front]{opacity:0;visibility:hidden}usa-card[effect~=\"flip\"]:not([trigger=\"click\"]):hover>[data-back]{opacity:1;visibility:visible}}@media (prefers-reduced-transparency:reduce),(forced-colors:active){usa-card[effect~=\"glass\"]{background:var(--usa-card-bg);-webkit-backdrop-filter:none;backdrop-filter:none}}";
|
|
7
7
|
|
|
@@ -559,4 +559,4 @@ exports.defineCardComponents = defineCardComponents;
|
|
|
559
559
|
exports.defineCardStack = defineCardStack;
|
|
560
560
|
exports.defineCarousel3d = defineCarousel3d;
|
|
561
561
|
exports.defineStickyStack = defineStickyStack;
|
|
562
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
562
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.5.0/dist/components/cards.cjs.map
|
package/dist/components/cards.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as defineElement, r as raf, b as caf,
|
|
2
|
-
import { d as springEasing, c as createSpring } from '../chunks/spring-
|
|
1
|
+
import { f as defineElement, r as raf, b as caf, H as EASE_OUT, d as clamp } from '../chunks/base-C9CJrhL3.js';
|
|
2
|
+
import { d as springEasing, c as createSpring } from '../chunks/spring-DBCejV_z.js';
|
|
3
3
|
|
|
4
4
|
var css$3 = "usa-card{--usa-card-radius:18px;--usa-card-bg:var(--usa-surface,#1b1e27);--usa-card-glow:var(--usa-accent,#7c5cff);--usa-card-x:50%;--usa-card-y:50%;--usa-card-nx:0;--usa-card-ny:0;position:relative;display:block;border-radius:var(--usa-card-radius);isolation:isolate;-webkit-tap-highlight-color:transparent}usa-card:focus-visible{outline:2px solid var(--usa-card-glow);outline-offset:3px}usa-card[effect~=\"lift\"]{transition:transform 0.45s cubic-bezier(0.34,1.56,0.64,1),box-shadow 0.45s ease}usa-card[effect~=\"lift\"][data-hover],usa-card[effect~=\"lift\"]:focus-visible{transform:translateY(-6px) perspective(900px) rotateX(calc(var(--usa-card-ny) * -4deg)) rotateY(calc(var(--usa-card-nx) * 4deg));box-shadow:0 22px 44px -18px rgb(0 0 0 / 0.55)}usa-card[effect~=\"glass\"]{background:color-mix(in srgb,var(--usa-card-bg) 45%,transparent);border:1px solid rgb(255 255 255 / 0.16);-webkit-backdrop-filter:blur(18px) saturate(1.5);backdrop-filter:blur(18px) saturate(1.5)}usa-card[effect~=\"spotlight\"]::before,usa-card[effect~=\"border-glow\"]::after{content:\"\";position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:0;transition:opacity 0.3s ease}usa-card[effect~=\"spotlight\"]::before{z-index:-1;background:radial-gradient(260px circle at var(--usa-card-x) var(--usa-card-y),color-mix(in srgb,var(--usa-card-glow) 28%,transparent),transparent 70%)}usa-card[effect~=\"border-glow\"]::after{padding:1.5px;background:radial-gradient(180px circle at var(--usa-card-x) var(--usa-card-y),var(--usa-card-glow),transparent 70%);-webkit-mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0)}usa-card[data-hover]::before,usa-card[data-hover]::after{opacity:1}@property --usa-card-angle{syntax:\"<angle>\";inherits:false;initial-value:0deg}usa-card[effect~=\"conic-border\"]{border:2px solid transparent;background:linear-gradient(var(--usa-card-bg),var(--usa-card-bg)) padding-box,conic-gradient(from var(--usa-card-angle),var(--usa-card-glow),#22d3ee,#f472b6,var(--usa-card-glow)) border-box;animation:usa-card-spin 4s linear infinite}@keyframes usa-card-spin{to{--usa-card-angle:360deg}}usa-card .usa-card-sheen{position:absolute;inset:0;border-radius:inherit;overflow:hidden;pointer-events:none}usa-card .usa-card-sheen::before{content:\"\";position:absolute;top:0;bottom:0;width:45%;left:-60%;transform:skewX(-20deg);background:linear-gradient(90deg,transparent,rgb(255 255 255 / 0.35),transparent)}usa-card[effect~=\"sheen\"]:hover .usa-card-sheen::before,usa-card[effect~=\"sheen\"]:focus-visible .usa-card-sheen::before{left:130%;transition:left 0.8s cubic-bezier(0.22,1,0.36,1)}usa-card .usa-card-holo{position:absolute;inset:0;border-radius:inherit;pointer-events:none;mix-blend-mode:color-dodge;opacity:0.35;background:linear-gradient(115deg,transparent 20%,#ff7ad9 35%,#7af0ff 45%,#ffe27a 55%,transparent 70%) calc(var(--usa-card-x) * 1.4 - 20%) calc(var(--usa-card-y) * 1.4 - 20%) / 220% 220%;transition:opacity 0.3s ease}usa-card[data-hover] .usa-card-holo{opacity:0.7}usa-card[effect~=\"parallax-layers\"] [data-depth]{transition:transform 0.25s ease-out;will-change:transform}usa-card[effect~=\"flip\"]{perspective:1000px;display:grid}usa-card[effect~=\"flip\"]>[data-front],usa-card[effect~=\"flip\"]>[data-back]{grid-area:1 / 1;backface-visibility:hidden;-webkit-backface-visibility:hidden;border-radius:inherit;transition:transform 0.7s cubic-bezier(0.34,1.3,0.64,1),opacity 0.3s ease}usa-card[effect~=\"flip\"]>[data-back]{transform:rotateY(180deg)}usa-card[effect~=\"flip\"][axis=\"x\"]>[data-back]{transform:rotateX(180deg)}usa-card[effect~=\"flip\"][flipped]>[data-front],usa-card[effect~=\"flip\"]:not([trigger=\"click\"]):hover>[data-front]{transform:rotateY(-180deg)}usa-card[effect~=\"flip\"][flipped]>[data-back],usa-card[effect~=\"flip\"]:not([trigger=\"click\"]):hover>[data-back]{transform:rotateY(0deg)}usa-card[effect~=\"flip\"][axis=\"x\"][flipped]>[data-front],usa-card[effect~=\"flip\"][axis=\"x\"]:not([trigger=\"click\"]):hover>[data-front]{transform:rotateX(180deg)}usa-card[effect~=\"flip\"][axis=\"x\"][flipped]>[data-back],usa-card[effect~=\"flip\"][axis=\"x\"]:not([trigger=\"click\"]):hover>[data-back]{transform:rotateX(0deg)}usa-card[effect~=\"flip\"][trigger=\"click\"]{cursor:pointer}usa-card[effect~=\"expand\"]{cursor:zoom-in}usa-card[effect~=\"expand\"]:not([expanded]) [data-detail]{display:none}usa-card[expanded]{position:fixed;inset:6vh max(4vw,calc(50vw - 420px));z-index:1000;overflow:auto;cursor:default;background:var(--usa-card-bg);box-shadow:0 30px 80px -20px rgb(0 0 0 / 0.6)}.usa-card-backdrop{position:fixed;inset:0;z-index:999;background:rgb(0 0 0 / 0.45)}@media (prefers-reduced-motion:reduce){usa-card,usa-card *,usa-card .usa-card-sheen::before{transition-duration:0.01ms !important;animation:none !important}usa-card[effect~=\"lift\"][data-hover]{transform:none}usa-card[effect~=\"flip\"]>[data-front],usa-card[effect~=\"flip\"]>[data-back]{transform:none !important}usa-card[effect~=\"flip\"][flipped]>[data-front],usa-card[effect~=\"flip\"]:not([flipped])>[data-back]{opacity:0;visibility:hidden}usa-card[effect~=\"flip\"]:not([trigger=\"click\"]):hover>[data-front]{opacity:0;visibility:hidden}usa-card[effect~=\"flip\"]:not([trigger=\"click\"]):hover>[data-back]{opacity:1;visibility:visible}}@media (prefers-reduced-transparency:reduce),(forced-colors:active){usa-card[effect~=\"glass\"]{background:var(--usa-card-bg);-webkit-backdrop-filter:none;backdrop-filter:none}}";
|
|
5
5
|
|
|
@@ -552,4 +552,4 @@ function defineCardComponents() {
|
|
|
552
552
|
}
|
|
553
553
|
|
|
554
554
|
export { CARD_EFFECTS, defineCard, defineCardComponents, defineCardStack, defineCarousel3d, defineStickyStack };
|
|
555
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
555
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.5.0/dist/components/cards.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var base = require('../chunks/base-
|
|
4
|
-
var spring = require('../chunks/spring-
|
|
5
|
-
var fx = require('../chunks/fx-
|
|
3
|
+
var base = require('../chunks/base-BvH4nAcv.cjs');
|
|
4
|
+
var spring = require('../chunks/spring-XEl_diDJ.cjs');
|
|
5
|
+
var fx = require('../chunks/fx-DaVuB89C.cjs');
|
|
6
6
|
|
|
7
7
|
var css$6 = "usa-click{position:relative;display:inline-block;overflow:hidden;isolation:isolate;border-radius:inherit;-webkit-tap-highlight-color:transparent;touch-action:manipulation}usa-click[block]{display:block}usa-click .usa-click-wave{position:absolute;border-radius:50%;pointer-events:none;z-index:-1;transform:scale(0);background:radial-gradient(circle,var(--usa-wave) 0 55%,color-mix(in srgb,var(--usa-wave) 40%,transparent) 70%,transparent 72%)}";
|
|
8
8
|
|
|
@@ -878,4 +878,4 @@ exports.defineHold = defineHold;
|
|
|
878
878
|
exports.defineIconMorph = defineIconMorph;
|
|
879
879
|
exports.defineLike = defineLike;
|
|
880
880
|
exports.morphPath = morphPath;
|
|
881
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
881
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.5.0/dist/components/click.cjs.map
|
package/dist/components/click.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { f as defineElement,
|
|
2
|
-
import { d as springEasing, c as createSpring } from '../chunks/spring-
|
|
3
|
-
import { b as burst, c as confetti, h as haptic, s as shake } from '../chunks/fx-
|
|
1
|
+
import { f as defineElement, H as EASE_OUT, d as clamp, b as caf, n as now, r as raf } from '../chunks/base-C9CJrhL3.js';
|
|
2
|
+
import { d as springEasing, c as createSpring } from '../chunks/spring-DBCejV_z.js';
|
|
3
|
+
import { b as burst, c as confetti, h as haptic, s as shake } from '../chunks/fx-Dc1sMyNg.js';
|
|
4
4
|
|
|
5
5
|
var css$6 = "usa-click{position:relative;display:inline-block;overflow:hidden;isolation:isolate;border-radius:inherit;-webkit-tap-highlight-color:transparent;touch-action:manipulation}usa-click[block]{display:block}usa-click .usa-click-wave{position:absolute;border-radius:50%;pointer-events:none;z-index:-1;transform:scale(0);background:radial-gradient(circle,var(--usa-wave) 0 55%,color-mix(in srgb,var(--usa-wave) 40%,transparent) 70%,transparent 72%)}";
|
|
6
6
|
|
|
@@ -864,4 +864,4 @@ function defineClickComponents() {
|
|
|
864
864
|
}
|
|
865
865
|
|
|
866
866
|
export { BUTTON_DEFORMS, CLICK_EFFECTS, MORPH_ICONS, defineButton, defineCheckbox, defineClick, defineClickComponents, defineDoubleTap, defineHold, defineIconMorph, defineLike, haptic, morphPath };
|
|
867
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
867
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.5.0/dist/components/click.js.map
|
package/dist/components/core.cjs
CHANGED
|
@@ -322,4 +322,4 @@ exports.applyMotionAttributes = applyMotionAttributes;
|
|
|
322
322
|
exports.createMotion = createMotion;
|
|
323
323
|
exports.parseMotionAttr = parseMotionAttr;
|
|
324
324
|
exports.preferredBackend = preferredBackend;
|
|
325
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
325
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.5.0/dist/components/core.cjs.map
|
package/dist/components/core.js
CHANGED
|
@@ -315,4 +315,4 @@ function createMotion(config = {}) {
|
|
|
315
315
|
}
|
|
316
316
|
|
|
317
317
|
export { PRESETS, VERSION, applyMotionAttributes, createMotion, parseMotionAttr, preferredBackend };
|
|
318
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
318
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.5.0/dist/components/core.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var base = require('../chunks/base-
|
|
4
|
-
var spring = require('../chunks/spring-
|
|
5
|
-
var core = require('../chunks/core-
|
|
3
|
+
var base = require('../chunks/base-BvH4nAcv.cjs');
|
|
4
|
+
var spring = require('../chunks/spring-XEl_diDJ.cjs');
|
|
5
|
+
var core = require('../chunks/core-DbAYRKnS.cjs');
|
|
6
6
|
|
|
7
7
|
var css = "usa-cube{--usa-cube-size:200px;display:block;width:var(--usa-cube-size);height:var(--usa-cube-size);perspective:var(--usa-cube-perspective,900px);touch-action:pan-y;user-select:none;-webkit-user-select:none;position:relative}usa-cube>[data-face]{position:absolute;inset:0;backface-visibility:hidden;transform:translateZ(calc(var(--usa-cube-size) / -2)) rotateX(var(--usa-cube-rx,0deg)) rotateY(var(--usa-cube-ry,0deg)) var(--usa-face) translateZ(calc(var(--usa-cube-size) / 2));transform-origin:50% 50%}usa-cube>[data-face=\"front\"]{--usa-face:rotateY(0deg)}usa-cube>[data-face=\"right\"]{--usa-face:rotateY(90deg)}usa-cube>[data-face=\"back\"]{--usa-face:rotateY(180deg)}usa-cube>[data-face=\"left\"]{--usa-face:rotateY(-90deg)}usa-cube>[data-face=\"top\"]{--usa-face:rotateX(90deg)}usa-cube>[data-face=\"bottom\"]{--usa-face:rotateX(-90deg)}usa-cube:focus-visible{outline:2px solid currentColor;outline-offset:6px}usa-depth{display:block;position:relative;perspective:1000px}usa-depth>*{transform:var(--usa-depth-rot,none);transform-style:preserve-3d}usa-depth [data-depth]{will-change:transform;transition:transform 0.12s linear}@media (prefers-reduced-motion:reduce){usa-depth [data-depth]{transform:none !important}}";
|
|
8
8
|
|
|
@@ -247,4 +247,4 @@ exports.deviceTilt = deviceTilt;
|
|
|
247
247
|
exports.orientationToTilt = orientationToTilt;
|
|
248
248
|
exports.requestOrientationPermission = requestOrientationPermission;
|
|
249
249
|
exports.supportsOrientation = supportsOrientation;
|
|
250
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
250
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.5.0/dist/components/depth.cjs.map
|
package/dist/components/depth.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { f as defineElement, d as clamp, r as raf, b as caf } from '../chunks/base-
|
|
2
|
-
import { c as createSpring } from '../chunks/spring-
|
|
3
|
-
import { g as gesture } from '../chunks/core-
|
|
1
|
+
import { f as defineElement, d as clamp, r as raf, b as caf } from '../chunks/base-C9CJrhL3.js';
|
|
2
|
+
import { c as createSpring } from '../chunks/spring-DBCejV_z.js';
|
|
3
|
+
import { g as gesture } from '../chunks/core-BZhM_0Zh.js';
|
|
4
4
|
|
|
5
5
|
var css = "usa-cube{--usa-cube-size:200px;display:block;width:var(--usa-cube-size);height:var(--usa-cube-size);perspective:var(--usa-cube-perspective,900px);touch-action:pan-y;user-select:none;-webkit-user-select:none;position:relative}usa-cube>[data-face]{position:absolute;inset:0;backface-visibility:hidden;transform:translateZ(calc(var(--usa-cube-size) / -2)) rotateX(var(--usa-cube-rx,0deg)) rotateY(var(--usa-cube-ry,0deg)) var(--usa-face) translateZ(calc(var(--usa-cube-size) / 2));transform-origin:50% 50%}usa-cube>[data-face=\"front\"]{--usa-face:rotateY(0deg)}usa-cube>[data-face=\"right\"]{--usa-face:rotateY(90deg)}usa-cube>[data-face=\"back\"]{--usa-face:rotateY(180deg)}usa-cube>[data-face=\"left\"]{--usa-face:rotateY(-90deg)}usa-cube>[data-face=\"top\"]{--usa-face:rotateX(90deg)}usa-cube>[data-face=\"bottom\"]{--usa-face:rotateX(-90deg)}usa-cube:focus-visible{outline:2px solid currentColor;outline-offset:6px}usa-depth{display:block;position:relative;perspective:1000px}usa-depth>*{transform:var(--usa-depth-rot,none);transform-style:preserve-3d}usa-depth [data-depth]{will-change:transform;transition:transform 0.12s linear}@media (prefers-reduced-motion:reduce){usa-depth [data-depth]{transform:none !important}}";
|
|
6
6
|
|
|
@@ -239,4 +239,4 @@ function defineDepthComponents() {
|
|
|
239
239
|
}
|
|
240
240
|
|
|
241
241
|
export { defineCube, defineDepth, defineDepthComponents, deviceTilt, orientationToTilt, requestOrientationPermission, supportsOrientation };
|
|
242
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
242
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.5.0/dist/components/depth.js.map
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var components_dsl = require('./dsl.cjs');
|
|
4
|
-
var core = require('../chunks/core-
|
|
5
|
-
require('../chunks/registry-EziiQiWO.cjs');
|
|
6
|
-
require('../chunks/base-vu_KhBiv.cjs');
|
|
7
|
-
require('./tokens.cjs');
|
|
4
|
+
var core = require('../chunks/core-DjjKLmZ6.cjs');
|
|
8
5
|
|
|
9
6
|
/**
|
|
10
7
|
* `motionary/tooling/design` (= `motionary/tooling/design`, 9.7) — design-tool
|
|
@@ -114,4 +111,4 @@ exports.easingPoints = easingPoints;
|
|
|
114
111
|
exports.figmaToMotion = figmaToMotion;
|
|
115
112
|
exports.framerComponent = framerComponent;
|
|
116
113
|
exports.motionToCss = motionToCss;
|
|
117
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
114
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.5.0/dist/components/design.cjs.map
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { serializeMotion, parseMotion } from './dsl.js';
|
|
2
|
-
import { T as TIMELINE_PRESETS } from '../chunks/core-
|
|
3
|
-
import '../chunks/registry-PxXkPc1Q.js';
|
|
4
|
-
import '../chunks/base-nzeN_ux7.js';
|
|
5
|
-
import './tokens.js';
|
|
2
|
+
import { T as TIMELINE_PRESETS } from '../chunks/core-B9Sjd4AV.js';
|
|
6
3
|
|
|
7
4
|
/**
|
|
8
5
|
* `motionary/tooling/design` (= `motionary/tooling/design`, 9.7) — design-tool
|
|
@@ -109,4 +106,4 @@ function motionToCss(rules, selector = '.motion') {
|
|
|
109
106
|
}
|
|
110
107
|
|
|
111
108
|
export { easingPoints, figmaToMotion, framerComponent, motionToCss };
|
|
112
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
109
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.5.0/dist/components/design.js.map
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var base = require('../chunks/base-
|
|
4
|
-
var runtimeLink = require('../chunks/runtime-link-
|
|
5
|
-
var widgets_lottiePlayer = require('../chunks/lottie-player-
|
|
6
|
-
require('../chunks/registry-BfiEkviv.cjs');
|
|
3
|
+
var base = require('../chunks/base-BvH4nAcv.cjs');
|
|
4
|
+
var runtimeLink = require('../chunks/runtime-link-DDGDuR6q.cjs');
|
|
5
|
+
var widgets_lottiePlayer = require('../chunks/lottie-player-D6YGOx39.cjs');
|
|
7
6
|
|
|
8
7
|
function defineDotLottie(tag = 'usa-dotlottie') {
|
|
9
8
|
return base.defineElement(tag, () => {
|
|
@@ -119,4 +118,4 @@ function defineDotLottie(tag = 'usa-dotlottie') {
|
|
|
119
118
|
}
|
|
120
119
|
|
|
121
120
|
exports.defineDotLottie = defineDotLottie;
|
|
122
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
121
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.5.0/dist/components/dotlottie.cjs.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { f as defineElement } from '../chunks/base-
|
|
2
|
-
import { r as runtimeModule } from '../chunks/runtime-link-
|
|
3
|
-
import { c as css, d as defineLottiePlayer } from '../chunks/lottie-player-
|
|
4
|
-
import '../chunks/registry-C8rYCsXx.js';
|
|
1
|
+
import { f as defineElement } from '../chunks/base-C9CJrhL3.js';
|
|
2
|
+
import { r as runtimeModule } from '../chunks/runtime-link-BZd9tPZE.js';
|
|
3
|
+
import { c as css, d as defineLottiePlayer } from '../chunks/lottie-player-C9X0Gp_E.js';
|
|
5
4
|
|
|
6
5
|
function defineDotLottie(tag = 'usa-dotlottie') {
|
|
7
6
|
return defineElement(tag, () => {
|
|
@@ -117,4 +116,4 @@ function defineDotLottie(tag = 'usa-dotlottie') {
|
|
|
117
116
|
}
|
|
118
117
|
|
|
119
118
|
export { defineDotLottie };
|
|
120
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
119
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.5.0/dist/components/dotlottie.js.map
|
package/dist/components/dsl.cjs
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var registry = require('../chunks/registry-
|
|
4
|
-
require('../chunks/base-vu_KhBiv.cjs');
|
|
3
|
+
var registry = require('../chunks/registry-CibnX7Ui.cjs');
|
|
5
4
|
|
|
6
5
|
/**
|
|
7
6
|
* `motionary/dsl` (= `motionary/components/dsl`, 9.0) — the declarative
|
|
@@ -207,4 +206,4 @@ exports.createComponent = createComponent;
|
|
|
207
206
|
exports.motion = motion;
|
|
208
207
|
exports.parseMotion = parseMotion;
|
|
209
208
|
exports.serializeMotion = serializeMotion;
|
|
210
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
209
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.5.0/dist/components/dsl.cjs.map
|
package/dist/components/dsl.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { hasEffect, bindEffect, EFFECT_TRIGGERS } from '../chunks/registry-
|
|
2
|
-
import '../chunks/base-nzeN_ux7.js';
|
|
1
|
+
import { hasEffect, bindEffect, EFFECT_TRIGGERS } from '../chunks/registry-DKs_BiEo.js';
|
|
3
2
|
|
|
4
3
|
/**
|
|
5
4
|
* `motionary/dsl` (= `motionary/components/dsl`, 9.0) — the declarative
|
|
@@ -200,4 +199,4 @@ function createComponent(desc) {
|
|
|
200
199
|
}
|
|
201
200
|
|
|
202
201
|
export { applyMotion, bindMotion, createComponent, motion, parseMotion, serializeMotion };
|
|
203
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
202
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.5.0/dist/components/dsl.js.map
|
|
@@ -2,15 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
var components_fx = require('./fx.cjs');
|
|
4
4
|
var shared = require('../chunks/shared-jkgRH-Hx.cjs');
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
var
|
|
5
|
+
var base = require('../chunks/base-BvH4nAcv.cjs');
|
|
6
|
+
var player = require('../chunks/player-BZOkQbZ9.cjs');
|
|
7
|
+
var generative = require('../chunks/generative-BKoxWOSP.cjs');
|
|
8
|
+
var audio = require('../chunks/audio-D0LwPShE.cjs');
|
|
9
|
+
var registry = require('../chunks/registry-CibnX7Ui.cjs');
|
|
10
10
|
var components_tokens = require('./tokens.cjs');
|
|
11
|
-
require('../chunks/builtins-A9ihuDwy.cjs');
|
|
12
|
-
require('../chunks/core-E18xla6s.cjs');
|
|
13
|
-
require('../chunks/fx-lszndeFU.cjs');
|
|
14
11
|
|
|
15
12
|
const CARD_FX = [
|
|
16
13
|
{
|
|
@@ -187,6 +184,14 @@ const CLICK_FX = [
|
|
|
187
184
|
},
|
|
188
185
|
];
|
|
189
186
|
|
|
187
|
+
/**
|
|
188
|
+
* 5.2 — bounce & physics micro-interactions, registered through
|
|
189
|
+
* `registerEffect()`. Keyframes come from a damped-spring / gravity solver
|
|
190
|
+
* (`springKeyframes()`, `bounceKeyframes()`), so the motion is physical but
|
|
191
|
+
* still runs on the Web Animations API (compositor, reduced-motion aware).
|
|
192
|
+
* Effects: `bounce-in`, `rubber-band`, `elastic-hover`, `drop-bounce`,
|
|
193
|
+
* `gravity-text`, `spring-follow`, `bell-swing`.
|
|
194
|
+
*/
|
|
190
195
|
/**
|
|
191
196
|
* Sample a damped spring from 0 → 1 and return the progress values plus the
|
|
192
197
|
* time (ms) it takes to settle. Pure, deterministic.
|
|
@@ -353,11 +358,11 @@ const PHYSICS_FX = [
|
|
|
353
358
|
x += vx;
|
|
354
359
|
y += vy;
|
|
355
360
|
el.style.translate = `${x.toFixed(2)}px ${y.toFixed(2)}px`;
|
|
356
|
-
raf = Math.abs(vx) + Math.abs(vy) + Math.abs(tx - x) + Math.abs(ty - y) > 0.05 ?
|
|
361
|
+
raf = Math.abs(vx) + Math.abs(vy) + Math.abs(tx - x) + Math.abs(ty - y) > 0.05 ? base.raf(tick) : 0;
|
|
357
362
|
};
|
|
358
363
|
const kick = () => {
|
|
359
364
|
if (!raf)
|
|
360
|
-
raf =
|
|
365
|
+
raf = base.raf(tick);
|
|
361
366
|
};
|
|
362
367
|
const move = (e) => {
|
|
363
368
|
const r = host.getBoundingClientRect();
|
|
@@ -376,7 +381,7 @@ const PHYSICS_FX = [
|
|
|
376
381
|
return () => {
|
|
377
382
|
host.removeEventListener('pointermove', move);
|
|
378
383
|
host.removeEventListener('pointerleave', leave);
|
|
379
|
-
|
|
384
|
+
base.caf(raf);
|
|
380
385
|
el.style.translate = '';
|
|
381
386
|
};
|
|
382
387
|
},
|
|
@@ -397,6 +402,16 @@ const PHYSICS_FX = [
|
|
|
397
402
|
},
|
|
398
403
|
];
|
|
399
404
|
|
|
405
|
+
/**
|
|
406
|
+
* 5.3 — page-wide effects, registered through `registerEffect()`.
|
|
407
|
+
* Transitions (cover → `onCovered()` → reveal): `curtain`, `iris`,
|
|
408
|
+
* `pixel-dissolve`, `blinds`. Persistent page effects: `velocity-skew`,
|
|
409
|
+
* `spotlight`, `edge-glow`.
|
|
410
|
+
*
|
|
411
|
+
* ```ts
|
|
412
|
+
* await playEffect(document.body, 'iris', { onCovered: () => router.go('/next') });
|
|
413
|
+
* ```
|
|
414
|
+
*/
|
|
400
415
|
/** A full-viewport, aria-hidden, pointer-blocking (while covering) transition layer. */
|
|
401
416
|
function screen(css = '') {
|
|
402
417
|
const s = document.createElement('div');
|
|
@@ -512,18 +527,18 @@ const PAGE_FX = [
|
|
|
512
527
|
last = y;
|
|
513
528
|
skew += (target - skew) * 0.2;
|
|
514
529
|
el.style.transform = `skewY(${skew.toFixed(3)}deg)`;
|
|
515
|
-
raf = Math.abs(skew) > 0.01 || Math.abs(target) > 0.01 ?
|
|
530
|
+
raf = Math.abs(skew) > 0.01 || Math.abs(target) > 0.01 ? base.raf(tick) : 0;
|
|
516
531
|
if (!raf)
|
|
517
532
|
el.style.transform = '';
|
|
518
533
|
};
|
|
519
534
|
const onScroll = () => {
|
|
520
535
|
if (!raf)
|
|
521
|
-
raf =
|
|
536
|
+
raf = base.raf(tick);
|
|
522
537
|
};
|
|
523
538
|
addEventListener('scroll', onScroll, { passive: true });
|
|
524
539
|
return () => {
|
|
525
540
|
removeEventListener('scroll', onScroll);
|
|
526
|
-
|
|
541
|
+
base.caf(raf);
|
|
527
542
|
el.style.transform = '';
|
|
528
543
|
};
|
|
529
544
|
},
|
|
@@ -577,6 +592,21 @@ const PAGE_FX = [
|
|
|
577
592
|
},
|
|
578
593
|
];
|
|
579
594
|
|
|
595
|
+
/**
|
|
596
|
+
* 5.7 — cursor & gesture packs.
|
|
597
|
+
*
|
|
598
|
+
* Cursor effects (kind `cursor`, persistent, scoped to the element they are
|
|
599
|
+
* bound to; skipped under reduced motion and — unless `touch: true` — for
|
|
600
|
+
* touch pointers): `comet-trail`, `sparkle-trail`, `ribbon-trail`,
|
|
601
|
+
* `magnetic-dots`, `spotlight-cursor`.
|
|
602
|
+
*
|
|
603
|
+
* Gestures → effects: `bindGesture(el, 'fling' | 'twist' | 'long-press',
|
|
604
|
+
* effectOrCallback, options)` and `<usa-gesture-fx gesture effect>`. A fling
|
|
605
|
+
* is a fast release, a twist a two-finger rotation past `angle` degrees, a
|
|
606
|
+
* long press "charges" `--usa-charge` 0 → 1 and fires when full. Every fire
|
|
607
|
+
* dispatches `usa-gesture` (`detail: { gesture, … }`). The effect itself goes
|
|
608
|
+
* through `playEffect()`, so reduced motion is honoured there.
|
|
609
|
+
*/
|
|
580
610
|
const touchOk = (e, o) => o.touch || e.pointerType !== 'touch';
|
|
581
611
|
/** A fixed, viewport-sized canvas in the fx layer, redrawn while `draw` returns true. */
|
|
582
612
|
function overlayCanvas(draw) {
|
|
@@ -599,15 +629,15 @@ function overlayCanvas(draw) {
|
|
|
599
629
|
g.setTransform(dpr, 0, 0, dpr, 0, 0);
|
|
600
630
|
g.clearRect(0, 0, w, h);
|
|
601
631
|
if (draw(g, w, h, now))
|
|
602
|
-
raf =
|
|
632
|
+
raf = base.raf(frame);
|
|
603
633
|
};
|
|
604
634
|
return {
|
|
605
635
|
kick: () => {
|
|
606
636
|
if (!raf && g)
|
|
607
|
-
raf =
|
|
637
|
+
raf = base.raf(frame);
|
|
608
638
|
},
|
|
609
639
|
stop: () => {
|
|
610
|
-
|
|
640
|
+
base.caf(raf);
|
|
611
641
|
raf = 0;
|
|
612
642
|
c.remove();
|
|
613
643
|
},
|
|
@@ -768,7 +798,7 @@ const CURSOR_FX = [
|
|
|
768
798
|
y += (ty - y) * o.ease;
|
|
769
799
|
s.style.setProperty('--sx', `${x.toFixed(1)}px`);
|
|
770
800
|
s.style.setProperty('--sy', `${y.toFixed(1)}px`);
|
|
771
|
-
raf = Math.abs(tx - x) + Math.abs(ty - y) > 0.3 ?
|
|
801
|
+
raf = Math.abs(tx - x) + Math.abs(ty - y) > 0.3 ? base.raf(tick) : 0;
|
|
772
802
|
};
|
|
773
803
|
const move = (e) => {
|
|
774
804
|
if (!touchOk(e, o))
|
|
@@ -779,13 +809,13 @@ const CURSOR_FX = [
|
|
|
779
809
|
if (s.style.opacity !== '1')
|
|
780
810
|
((x = tx), (y = ty), (s.style.opacity = '1'));
|
|
781
811
|
if (!raf)
|
|
782
|
-
raf =
|
|
812
|
+
raf = base.raf(tick);
|
|
783
813
|
};
|
|
784
814
|
const leave = () => (s.style.opacity = '0');
|
|
785
815
|
el.addEventListener('pointermove', move, { passive: true });
|
|
786
816
|
el.addEventListener('pointerleave', leave);
|
|
787
817
|
return () => {
|
|
788
|
-
|
|
818
|
+
base.caf(raf);
|
|
789
819
|
el.removeEventListener('pointermove', move);
|
|
790
820
|
el.removeEventListener('pointerleave', leave);
|
|
791
821
|
s.remove();
|
|
@@ -829,7 +859,7 @@ function bindGesture(el, gesture, effect, o = {}) {
|
|
|
829
859
|
const { velocity = 0.8, angle = 30, duration = 650, tolerance = 10, effectOptions = {} } = o;
|
|
830
860
|
const pts = new Map();
|
|
831
861
|
let path = [];
|
|
832
|
-
let base = null;
|
|
862
|
+
let base$1 = null;
|
|
833
863
|
let press = null;
|
|
834
864
|
const fire = (d, e) => {
|
|
835
865
|
el.dispatchEvent(new CustomEvent('usa-gesture', { detail: d, bubbles: true }));
|
|
@@ -849,7 +879,7 @@ function bindGesture(el, gesture, effect, o = {}) {
|
|
|
849
879
|
const endPress = () => {
|
|
850
880
|
if (!press)
|
|
851
881
|
return;
|
|
852
|
-
|
|
882
|
+
base.caf(press.raf);
|
|
853
883
|
press = null;
|
|
854
884
|
charge(0);
|
|
855
885
|
};
|
|
@@ -858,7 +888,7 @@ function bindGesture(el, gesture, effect, o = {}) {
|
|
|
858
888
|
if (gesture === 'fling')
|
|
859
889
|
path = [{ x: e.clientX, y: e.clientY, t: e.timeStamp || performance.now() }];
|
|
860
890
|
if (gesture === 'twist' && pts.size === 2)
|
|
861
|
-
base = twistAngle();
|
|
891
|
+
base$1 = twistAngle();
|
|
862
892
|
if (gesture === 'long-press' && pts.size === 1) {
|
|
863
893
|
press = { x: e.clientX, y: e.clientY, t0: performance.now(), raf: 0 };
|
|
864
894
|
const step = (now) => {
|
|
@@ -872,9 +902,9 @@ function bindGesture(el, gesture, effect, o = {}) {
|
|
|
872
902
|
fire({ gesture, charge: 1 }, e);
|
|
873
903
|
}
|
|
874
904
|
else
|
|
875
|
-
press.raf =
|
|
905
|
+
press.raf = base.raf(step);
|
|
876
906
|
};
|
|
877
|
-
press.raf =
|
|
907
|
+
press.raf = base.raf(step);
|
|
878
908
|
}
|
|
879
909
|
};
|
|
880
910
|
const move = (e) => {
|
|
@@ -886,11 +916,11 @@ function bindGesture(el, gesture, effect, o = {}) {
|
|
|
886
916
|
if (path.length > 20)
|
|
887
917
|
path.shift();
|
|
888
918
|
}
|
|
889
|
-
else if (gesture === 'twist' && pts.size >= 2 && base !== null) {
|
|
919
|
+
else if (gesture === 'twist' && pts.size >= 2 && base$1 !== null) {
|
|
890
920
|
const now = twistAngle();
|
|
891
|
-
const d = angleDelta(base, now);
|
|
921
|
+
const d = angleDelta(base$1, now);
|
|
892
922
|
if (Math.abs(d) >= angle) {
|
|
893
|
-
base = now;
|
|
923
|
+
base$1 = now;
|
|
894
924
|
fire({ gesture, angle: d, direction: d > 0 ? 'cw' : 'ccw' }, e);
|
|
895
925
|
}
|
|
896
926
|
}
|
|
@@ -909,7 +939,7 @@ function bindGesture(el, gesture, effect, o = {}) {
|
|
|
909
939
|
}
|
|
910
940
|
}
|
|
911
941
|
if (pts.size < 2)
|
|
912
|
-
base = null;
|
|
942
|
+
base$1 = null;
|
|
913
943
|
endPress();
|
|
914
944
|
};
|
|
915
945
|
el.addEventListener('pointerdown', down);
|
|
@@ -1423,4 +1453,4 @@ exports.themeCss = themeCss;
|
|
|
1423
1453
|
exports.themePreset = themePreset;
|
|
1424
1454
|
exports.themeVars = themeVars;
|
|
1425
1455
|
exports.togglePressed = togglePressed;
|
|
1426
|
-
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.
|
|
1456
|
+
//# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v13.5.0/dist/components/effects.cjs.map
|