motionary 13.0.2 → 13.2.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 +73 -0
- package/README.md +23 -20
- package/README_ja.md +21 -19
- package/README_zh.md +21 -19
- package/bin/motionary-mcp.mjs +4 -1
- package/dist/chunks/{anim-image-BBVnrt0Q.js → anim-image-CkPZi9xy.js} +2 -2
- package/dist/chunks/{anim-image-BYy2nHyc.cjs → anim-image-DYAMy6Ro.cjs} +2 -2
- package/dist/chunks/{audio-BV1YemPb.js → audio-5FOqrAxu.js} +3 -3
- package/dist/chunks/{audio-CztPMZ1b.cjs → audio-DhgfWYZ_.cjs} +3 -3
- package/dist/chunks/{badge-wall-BBAW52s-.js → badge-wall-Bd2dP3J7.js} +2 -2
- package/dist/chunks/{badge-wall-COxq4-hJ.cjs → badge-wall-Q7x5HSe_.cjs} +2 -2
- package/dist/chunks/{base-CBMzOs1k.js → base-nzeN_ux7.js} +25 -4
- package/dist/chunks/{base-BG_mxssu.cjs → base-vu_KhBiv.cjs} +26 -3
- package/dist/chunks/{bg-generator-Bw0JAZG7.cjs → bg-generator-Dncd000D.cjs} +2 -2
- package/dist/chunks/{bg-generator-CFjnTyP9.js → bg-generator-Dxx3s2zQ.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-Dk6hr4_C.cjs → builtins-A9ihuDwy.cjs} +3 -3
- package/dist/chunks/{builtins-DINhkShu.js → builtins-hBOeCPXL.js} +3 -3
- package/dist/chunks/{carousel-6UZLhjGL.cjs → carousel-Blko8aKV.cjs} +3 -3
- package/dist/chunks/{carousel-BQiUPJ6H.js → carousel-DkQKWBK3.js} +3 -3
- package/dist/chunks/{cart-drawer-DTBLUsXS.js → cart-drawer-CtX6EQRa.js} +2 -2
- package/dist/chunks/{cart-drawer-BhHW454c.cjs → cart-drawer-kyj9TlQC.cjs} +2 -2
- package/dist/chunks/{code-export-B_q_hPy8.js → code-export-B6b27ZiI.js} +10 -5
- package/dist/chunks/{code-export-CbKPNcnx.cjs → code-export-DOioRmM9.cjs} +10 -5
- package/dist/chunks/{color-picker-C17hLqcy.cjs → color-picker-B6YXJdur.cjs} +6 -5
- package/dist/chunks/{color-picker-DAAhbpHV.js → color-picker-DNTzNylo.js} +6 -5
- package/dist/chunks/{command-palette-B-_C5aOb.js → command-palette-C6XV1glX.js} +2 -2
- package/dist/chunks/{command-palette-CABkONwK.cjs → command-palette-DAQQ_bkg.cjs} +2 -2
- package/dist/chunks/{core-CBU40kLB.js → core-Bar7NFx7.js} +2 -2
- package/dist/chunks/core-BjcOCpJt.cjs +1 -1
- package/dist/chunks/{core-D1vhyt2F.js → core-DVGtPabi.js} +2 -2
- package/dist/chunks/{core-Bg5WaRYY.cjs → core-DfkeC4s-.cjs} +2 -2
- package/dist/chunks/core-Dj6iomdc.js +1 -1
- package/dist/chunks/{core-DMrg99HN.cjs → core-E18xla6s.cjs} +2 -2
- package/dist/chunks/{countdown-5kyFj3EA.cjs → countdown-Cvef0Kb1.cjs} +2 -2
- package/dist/chunks/{countdown-BWy4-V8Y.js → countdown-Dhp9G96N.js} +2 -2
- package/dist/chunks/{date-picker-V4SjW1_f.cjs → date-picker-C9iVZUP3.cjs} +4 -3
- package/dist/chunks/{date-picker-CAreI9C7.js → date-picker-M7n1jZw9.js} +4 -3
- package/dist/chunks/ease-HwYZnZat.cjs +1 -1
- package/dist/chunks/ease-XN8_0sXu.js +1 -1
- package/dist/chunks/{equalizer-B0fb-kFT.cjs → equalizer-6uhO-yfZ.cjs} +3 -3
- package/dist/chunks/{equalizer-BPS1yV-f.js → equalizer-CN6AkBtT.js} +3 -3
- package/dist/chunks/{festival-banner-DWCMdZM1.cjs → festival-banner-ByYX1Oy6.cjs} +2 -2
- package/dist/chunks/{festival-banner-CvGwychu.js → festival-banner-Dsu53in5.js} +2 -2
- package/dist/chunks/{field-D5hYtW6A.cjs → field-DcC_zJBH.cjs} +2 -2
- package/dist/chunks/{field-iruUHpdy.js → field-DeTgNf7K.js} +2 -2
- package/dist/chunks/{fx-aA8nn1zv.cjs → fx-lszndeFU.cjs} +2 -2
- package/dist/chunks/{fx-tuYvq2Dr.js → fx-qAVpKs8e.js} +2 -2
- package/dist/chunks/generative-2LhxG5BJ.js +1 -1
- package/dist/chunks/generative-BHIj-NU0.cjs +1 -1
- package/dist/chunks/{gl-scene-DEgXh2qB.js → gl-scene-D3RfVD2b.js} +6 -3
- package/dist/chunks/{gl-scene-C4lLF0yP.cjs → gl-scene-DOjhIgPM.cjs} +6 -3
- package/dist/chunks/{globe-t8Tz1KrC.js → globe-CzQ6nQ-o.js} +2 -2
- package/dist/chunks/{globe-BvTRCzBa.cjs → globe-Dms25CB5.cjs} +2 -2
- package/dist/chunks/{gpu-BFYGfLfN.cjs → gpu-BREsvJpT.cjs} +2 -2
- package/dist/chunks/{gpu-CxTWIssF.js → gpu-DdiOOXTP.js} +2 -2
- package/dist/chunks/{gpu-particles-GxP4a0P6.js → gpu-particles-CbBJ_tIZ.js} +2 -2
- package/dist/chunks/{gpu-particles-C4UZX5H4.cjs → gpu-particles-DrjYuSVR.cjs} +2 -2
- package/dist/chunks/index-tags-B-JBecYg.js +1 -1
- package/dist/chunks/index-tags-hLIF2Clq.cjs +1 -1
- package/dist/chunks/key-click-BLm3BI8_.js +1 -1
- package/dist/chunks/key-click-v7I4K5Sr.cjs +1 -1
- package/dist/chunks/{keyframes-st3Y9Y01.js → keyframes-d3LAxJoj.js} +2 -2
- package/dist/chunks/{keyframes-D0DdQthz.cjs → keyframes-ziUR42cM.cjs} +2 -2
- package/dist/chunks/{leaderboard-DqCbNSLV.js → leaderboard-D2Xb0lqP.js} +2 -2
- package/dist/chunks/{leaderboard-D3aXcUrH.cjs → leaderboard-wF-UnLbY.cjs} +2 -2
- package/dist/chunks/{location-card-D50y0yPP.cjs → location-card-BJsN6s34.cjs} +2 -2
- package/dist/chunks/{location-card-BFWhuOvM.js → location-card-GrQnXfwp.js} +2 -2
- package/dist/chunks/{lottie-icon-Cg99YqMK.js → lottie-icon-D3fdgfNU.js} +2 -2
- package/dist/chunks/{lottie-icon-CiL7TQeN.cjs → lottie-icon-DMkTeHCL.cjs} +2 -2
- package/dist/chunks/{lottie-player-DEmHpLFL.js → lottie-player-6OJJcioR.js} +3 -3
- package/dist/chunks/{lottie-player-tDCzOHCV.cjs → lottie-player-ByAeF8wJ.cjs} +3 -3
- package/dist/chunks/{lyrics-CmZKfI0D.cjs → lyrics-CBRdLBDw.cjs} +3 -3
- package/dist/chunks/{lyrics-BW8Ajj8K.js → lyrics-jTQwzX9m.js} +3 -3
- package/dist/chunks/{manifest-CKtkSVw4.cjs → manifest-Rxf1Mumb.cjs} +2 -2
- package/dist/chunks/{manifest-CQUlazDF.js → manifest-pVzW6oyg.js} +2 -2
- package/dist/chunks/{menu-BDG5gcER.cjs → menu-Bc2M8HMJ.cjs} +3 -3
- package/dist/chunks/{menu-2qfS--b1.js → menu-Ydg47TQx.js} +3 -3
- package/dist/chunks/{menu-toggle-934mf8c-.cjs → menu-toggle-B1YBlbdJ.cjs} +2 -2
- package/dist/chunks/{menu-toggle-DuXU6-hH.js → menu-toggle-C-_dv_TN.js} +2 -2
- package/dist/chunks/{nav-morph-Bc0SfHn9.js → nav-morph-DA-Q4xec.js} +3 -3
- package/dist/chunks/{nav-morph-DeVvWJm-.cjs → nav-morph-kKmG_ocG.cjs} +3 -3
- package/dist/chunks/{otp-CwhyPG7i.js → otp-CVUw78Mr.js} +2 -2
- package/dist/chunks/{otp-C0PpgU4T.cjs → otp-Cxz5uFb_.cjs} +2 -2
- package/dist/chunks/{pagination-4NCqUPrX.cjs → pagination-6RdXWwsW.cjs} +3 -3
- package/dist/chunks/{pagination-D7C1zFvF.js → pagination-CFAzm6M7.js} +3 -3
- package/dist/chunks/{physics-playground-B-ubdzyT.cjs → physics-playground-CYNyKgTK.cjs} +3 -3
- package/dist/chunks/{physics-playground-IRiGB25g.js → physics-playground-d4CtxSoi.js} +3 -3
- package/dist/chunks/{player-BNOKDUw-.cjs → player-DIwSjUFR.cjs} +4 -4
- package/dist/chunks/{player-DtLIUxwJ.js → player-DqUZJ0d_.js} +4 -4
- package/dist/chunks/{presence-CwaD7bup.cjs → presence-CRfWmNWz.cjs} +2 -2
- package/dist/chunks/{presence-DRGK2bwc.js → presence-DfTxVIEf.js} +2 -2
- package/dist/chunks/presets-BYBVJVeP.js +1 -1
- package/dist/chunks/presets-CUHys3sK.cjs +1 -1
- package/dist/chunks/{prize-wheel-Cl48woXn.cjs → prize-wheel-MOZOrI-p.cjs} +2 -2
- package/dist/chunks/{prize-wheel-DtR0WMqK.js → prize-wheel-tgpOsdDA.js} +2 -2
- package/dist/chunks/{product-gallery-s0Mojkcm.js → product-gallery-BcGA35Ie.js} +2 -2
- package/dist/chunks/{product-gallery-C3q6aoVe.cjs → product-gallery-Bi6I6x1o.cjs} +2 -2
- package/dist/chunks/{progress-ring-Q1yoAUrU.js → progress-ring-6kTzB49S.js} +3 -3
- package/dist/chunks/{progress-ring-B8Ytgw_Q.cjs → progress-ring-BO9a3Q24.cjs} +3 -3
- package/dist/chunks/{prop-panel-BoejVIkT.js → prop-panel-DGm8VM4Z.js} +2 -2
- package/dist/chunks/{prop-panel-CLYoy2fY.cjs → prop-panel-_kA6mvB9.cjs} +2 -2
- package/dist/chunks/{radar-B0f-lKWX.cjs → radar-DT93Se3Y.cjs} +2 -2
- package/dist/chunks/{radar-BAfz6Y20.js → radar-sKiciNsS.js} +2 -2
- package/dist/chunks/{reactions-CAMzdddC.js → reactions-B4xogsDd.js} +2 -2
- package/dist/chunks/{reactions-Dfadd7FC.cjs → reactions-BASnlqck.cjs} +2 -2
- package/dist/chunks/{registry-BpRcQEC5.js → registry-B8v7uubl.js} +2 -2
- package/dist/chunks/{registry-LE5iyTqw.cjs → registry-EziiQiWO.cjs} +2 -2
- package/dist/chunks/{registry-CP1MIOtI.cjs → registry-IdH145NL.cjs} +2 -2
- package/dist/chunks/{registry-4UDF3Dpk.js → registry-PxXkPc1Q.js} +2 -2
- package/dist/chunks/{retro-button-DPOGCNEB.js → retro-button-BxCv-ybi.js} +2 -2
- package/dist/chunks/{retro-button-oiGvtRdV.cjs → retro-button-DfuSdfWj.cjs} +2 -2
- package/dist/chunks/{rive-BiqV3D2R.js → rive-BHdln8XJ.js} +2 -2
- package/dist/chunks/{rive-D2POjYyT.cjs → rive-cR-Q9Quh.cjs} +2 -2
- package/dist/chunks/{runtime-link-Dv0W9Elh.cjs → runtime-link-Bq9F9pt8.cjs} +2 -2
- package/dist/chunks/{runtime-link-TwXAB9lk.js → runtime-link-cMIs3Y7z.js} +2 -2
- package/dist/chunks/scroll-driven-CQbwzCdn.cjs +1 -1
- package/dist/chunks/scroll-driven-LghshrWq.js +1 -1
- package/dist/chunks/{scroll-scene-CS_8f4tB.cjs → scroll-scene-DTCM6lnJ.cjs} +44 -9
- package/dist/chunks/{scroll-scene-CCs3rERo.js → scroll-scene-UcJFID_0.js} +44 -9
- package/dist/chunks/{segmented-Bs0lNncg.cjs → segmented-CbZtwChW.cjs} +10 -3
- package/dist/chunks/{segmented-DnGy8Aw_.js → segmented-DHBqMcAF.js} +10 -3
- package/dist/chunks/{shader-backdrop-Df_2GJFz.cjs → shader-backdrop-DT1h5Zoc.cjs} +2 -2
- package/dist/chunks/{shader-backdrop-CQBsDITY.js → shader-backdrop-rrssjdMI.js} +2 -2
- package/dist/chunks/{shared-BxK1D7EZ.cjs → shared-Bf72wLyt.cjs} +12 -1
- package/dist/chunks/shared-CkKHWrtJ.js +1 -1
- package/dist/chunks/shared-jkgRH-Hx.cjs +1 -1
- package/dist/chunks/{shared-C8Pi6tuh.js → shared-o9CtwHmi.js} +12 -2
- package/dist/chunks/{sheet-6Vp7Yox1.cjs → sheet-NsPexafP.cjs} +5 -4
- package/dist/chunks/{sheet-CAItJBXn.js → sheet-YRq-IOIr.js} +5 -4
- package/dist/chunks/sign-DvZ1jHxE.js +1 -1
- package/dist/chunks/sign-RAkQIWrM.cjs +1 -1
- package/dist/chunks/{skeleton-reveal-DH7sd6uV.cjs → skeleton-reveal-DfH6IiUG.cjs} +3 -3
- package/dist/chunks/{skeleton-reveal-CNr6jhZN.js → skeleton-reveal-yj2lioib.js} +3 -3
- package/dist/chunks/{sparkline-we35dC6w.cjs → sparkline-CCV_wZ9j.cjs} +2 -2
- package/dist/chunks/{sparkline-MRwlHeWm.js → sparkline-kl8sJ7cP.js} +2 -2
- package/dist/chunks/{spring-2YZXQmr7.js → spring-BX7EJst7.js} +2 -2
- package/dist/chunks/{spring-CibVO2Tk.cjs → spring-Q3Y-pHuP.cjs} +2 -2
- package/dist/chunks/stagger-B9sKPwQB.js +1 -1
- package/dist/chunks/stagger-DFKwqOQG.cjs +1 -1
- package/dist/chunks/{suggestion-chips-DIzEGoUE.cjs → suggestion-chips-D9i2FGGX.cjs} +2 -2
- package/dist/chunks/{suggestion-chips-DWViXX9m.js → suggestion-chips-fmrwI2Da.js} +2 -2
- package/dist/chunks/{switch-DSzo6hVT.cjs → switch-Db4uTUcj.cjs} +7 -2
- package/dist/chunks/{switch-iQNaYTQB.js → switch-DnwGGeZj.js} +7 -2
- package/dist/chunks/{tab-bar-DzSapgXH.js → tab-bar-CSx4fTC9.js} +3 -3
- package/dist/chunks/{tab-bar-DZtJO0Ge.cjs → tab-bar-DqzNvlDc.cjs} +3 -3
- package/dist/chunks/{ticker-CbTuFTz0.js → ticker-CHi3Hcrt.js} +2 -2
- package/dist/chunks/{ticker-qpbJvWSb.cjs → ticker-Cytp8Fl8.cjs} +2 -2
- package/dist/chunks/{tip-Cg4VdOV4.js → tip-C8T1SdOJ.js} +3 -3
- package/dist/chunks/{tip-CoXfHx5J.cjs → tip-CIh4O-DZ.cjs} +3 -3
- package/dist/chunks/{toast-stack-DZ5XkmO_.js → toast-stack-BIdkYWob.js} +4 -4
- package/dist/chunks/{toast-stack-B0YJ93dM.cjs → toast-stack-Cs42sjr6.cjs} +4 -4
- package/dist/chunks/{tween-D30sTGVW.cjs → tween-DZiAFyyF.cjs} +2 -2
- package/dist/chunks/{tween-BW49KMKU.js → tween-Hh34tRXR.js} +2 -2
- package/dist/chunks/{upload-progress-Bv5i3ebk.cjs → upload-progress-BhyFjwb6.cjs} +2 -2
- package/dist/chunks/{upload-progress-CZbedTLC.js → upload-progress-CXfoNUhm.js} +2 -2
- package/dist/chunks/{variants-B8gnRVha.js → variants-DY08myqK.js} +2 -2
- package/dist/chunks/{variants-D7gblATl.cjs → variants-Dk-FItCT.cjs} +2 -2
- package/dist/chunks/{voice-button-BEibeass.js → voice-button-DdKxtavP.js} +2 -2
- package/dist/chunks/{voice-button-DfDRNgmG.cjs → voice-button-DudPeVqK.cjs} +2 -2
- package/dist/chunks/{weather-card-DodZfOsv.cjs → weather-card-DfXFesfY.cjs} +2 -2
- package/dist/chunks/{weather-card-BO_6E5OV.js → weather-card-Ecgk-JQd.js} +2 -2
- package/dist/chunks/{worker-canvas-D2TU72M8.js → worker-canvas-BIuesniy.js} +2 -2
- package/dist/chunks/{worker-canvas-Bqsw_Fym.cjs → worker-canvas-CEbqBgK5.cjs} +2 -2
- package/dist/chunks/{xp-bar-CUHPolzJ.cjs → xp-bar-BC8UnCHG.cjs} +2 -2
- package/dist/chunks/{xp-bar-CsASrTkD.js → xp-bar-Cx-dMEMT.js} +2 -2
- package/dist/components/a11y.cjs +3 -4
- package/dist/components/a11y.js +3 -4
- package/dist/components/ai.cjs +1 -1
- package/dist/components/ai.js +1 -1
- package/dist/components/angular.cjs +9 -9
- package/dist/components/angular.js +9 -9
- package/dist/components/background.cjs +3 -3
- package/dist/components/background.js +3 -3
- package/dist/components/bridge.cjs +2 -2
- package/dist/components/bridge.js +2 -2
- package/dist/components/cards.cjs +3 -3
- package/dist/components/cards.js +3 -3
- package/dist/components/click.cjs +4 -4
- package/dist/components/click.js +4 -4
- package/dist/components/core.cjs +1 -1
- package/dist/components/core.js +1 -1
- package/dist/components/depth.cjs +4 -4
- package/dist/components/depth.js +4 -4
- package/dist/components/design.cjs +4 -4
- package/dist/components/design.js +4 -4
- package/dist/components/dotlottie.cjs +5 -5
- package/dist/components/dotlottie.js +5 -5
- package/dist/components/dsl.cjs +3 -3
- package/dist/components/dsl.js +3 -3
- package/dist/components/effects.cjs +8 -8
- package/dist/components/effects.js +10 -10
- 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 +3 -3
- package/dist/components/fx-3d.js +3 -3
- package/dist/components/fx-ai.cjs +3 -3
- package/dist/components/fx-ai.js +3 -3
- package/dist/components/fx-chart.cjs +3 -3
- package/dist/components/fx-chart.js +3 -3
- package/dist/components/fx-cinema.cjs +3 -3
- package/dist/components/fx-cinema.js +3 -3
- package/dist/components/fx-cyber.cjs +3 -3
- package/dist/components/fx-cyber.js +3 -3
- package/dist/components/fx-festival.cjs +3 -3
- package/dist/components/fx-festival.js +3 -3
- package/dist/components/fx-focus.cjs +3 -3
- package/dist/components/fx-focus.js +3 -3
- package/dist/components/fx-form.cjs +3 -3
- package/dist/components/fx-form.js +3 -3
- package/dist/components/fx-game.cjs +3 -3
- package/dist/components/fx-game.js +3 -3
- package/dist/components/fx-genart.cjs +3 -3
- package/dist/components/fx-genart.js +3 -3
- package/dist/components/fx-geo.cjs +3 -3
- package/dist/components/fx-geo.js +3 -3
- package/dist/components/fx-gesture.cjs +3 -3
- package/dist/components/fx-gesture.js +3 -3
- package/dist/components/fx-gpu.cjs +4 -4
- package/dist/components/fx-gpu.js +4 -4
- package/dist/components/fx-light.cjs +3 -3
- package/dist/components/fx-light.js +3 -3
- package/dist/components/fx-lottie.cjs +3 -3
- package/dist/components/fx-lottie.js +3 -3
- package/dist/components/fx-morph.cjs +3 -3
- package/dist/components/fx-morph.js +3 -3
- package/dist/components/fx-music.cjs +4 -4
- package/dist/components/fx-music.js +4 -4
- package/dist/components/fx-organic.cjs +3 -3
- package/dist/components/fx-organic.js +3 -3
- package/dist/components/fx-paper.cjs +3 -3
- package/dist/components/fx-paper.js +3 -3
- package/dist/components/fx-perf.cjs +3 -3
- package/dist/components/fx-perf.js +3 -3
- package/dist/components/fx-physics.cjs +3 -3
- package/dist/components/fx-physics.js +3 -3
- package/dist/components/fx-retro.cjs +3 -3
- package/dist/components/fx-retro.js +3 -3
- package/dist/components/fx-safe.cjs +3 -3
- package/dist/components/fx-safe.js +3 -3
- package/dist/components/fx-shop.cjs +3 -3
- package/dist/components/fx-shop.js +3 -3
- package/dist/components/fx-social.cjs +3 -3
- package/dist/components/fx-social.js +3 -3
- package/dist/components/fx-spatial.cjs +3 -3
- package/dist/components/fx-spatial.js +3 -3
- package/dist/components/fx-surface.cjs +3 -3
- package/dist/components/fx-surface.js +3 -3
- package/dist/components/fx-text.cjs +3 -3
- package/dist/components/fx-text.js +3 -3
- package/dist/components/fx-transitions.cjs +4 -4
- package/dist/components/fx-transitions.js +4 -4
- package/dist/components/fx-video.cjs +3 -3
- package/dist/components/fx-video.js +3 -3
- package/dist/components/fx-weather.cjs +3 -3
- package/dist/components/fx-weather.js +3 -3
- package/dist/components/fx.cjs +6 -6
- package/dist/components/fx.js +7 -7
- package/dist/components/fx2.cjs +6 -6
- package/dist/components/fx2.js +7 -7
- package/dist/components/gesture.cjs +4 -4
- package/dist/components/gesture.js +5 -5
- package/dist/components/gl-model.cjs +5 -5
- package/dist/components/gl-model.js +5 -5
- package/dist/components/interaction.cjs +2 -2
- package/dist/components/interaction.js +2 -2
- package/dist/components/jsx.cjs +1 -1
- package/dist/components/jsx.js +1 -1
- package/dist/components/layout.cjs +2 -2
- package/dist/components/layout.js +2 -2
- package/dist/components/lazy.cjs +1 -1
- package/dist/components/lazy.js +1 -1
- package/dist/components/lite.cjs +46 -8
- package/dist/components/lite.js +46 -8
- package/dist/components/marketplace.cjs +4 -4
- package/dist/components/marketplace.js +5 -5
- package/dist/components/native.cjs +4 -4
- package/dist/components/native.js +4 -4
- package/dist/components/packs.cjs +2 -2
- package/dist/components/packs.js +2 -2
- package/dist/components/page.cjs +4 -4
- package/dist/components/page.js +5 -5
- package/dist/components/perf.cjs +2 -2
- package/dist/components/perf.js +3 -3
- package/dist/components/physics.cjs +3 -3
- package/dist/components/physics.js +4 -4
- package/dist/components/plugins.cjs +5 -5
- package/dist/components/plugins.js +5 -5
- package/dist/components/react.cjs +1 -1
- package/dist/components/react.js +1 -1
- package/dist/components/reveal.cjs +3 -3
- package/dist/components/reveal.js +3 -3
- package/dist/components/snap-carousel.cjs +4 -4
- package/dist/components/snap-carousel.js +4 -4
- package/dist/components/solid.cjs +9 -9
- package/dist/components/solid.js +9 -9
- package/dist/components/svelte.cjs +9 -9
- package/dist/components/svelte.js +9 -9
- package/dist/components/svg.cjs +2 -2
- package/dist/components/svg.js +2 -2
- package/dist/components/text.cjs +3 -3
- package/dist/components/text.js +3 -3
- package/dist/components/timeline.cjs +3 -3
- package/dist/components/timeline.js +4 -4
- package/dist/components/tokens.cjs +1 -1
- package/dist/components/tokens.js +1 -1
- package/dist/components/transitions.cjs +2 -2
- package/dist/components/transitions.js +2 -2
- package/dist/components/ui.cjs +21 -6
- package/dist/components/ui.js +22 -7
- package/dist/components/vue.cjs +9 -9
- package/dist/components/vue.js +9 -9
- package/dist/components/webgl.cjs +5 -2
- package/dist/components/webgl.js +5 -2
- package/dist/components/widgets.cjs +63 -63
- package/dist/components/widgets.js +112 -112
- package/dist/components.cjs +9 -9
- package/dist/components.js +11 -11
- package/dist/components.umd.js +3 -3
- package/dist/effects/achievement-unlock.cjs +3 -3
- package/dist/effects/achievement-unlock.js +3 -3
- package/dist/effects/aurora-veil.cjs +3 -3
- package/dist/effects/aurora-veil.js +3 -3
- package/dist/effects/badge-pop.cjs +3 -3
- package/dist/effects/badge-pop.js +3 -3
- package/dist/effects/bars-grow.cjs +3 -3
- package/dist/effects/bars-grow.js +3 -3
- package/dist/effects/beat-bounce.cjs +4 -4
- package/dist/effects/beat-bounce.js +4 -4
- package/dist/effects/blob-button.cjs +3 -3
- package/dist/effects/blob-button.js +3 -3
- package/dist/effects/bloom.cjs +3 -3
- package/dist/effects/bloom.js +3 -3
- package/dist/effects/breathe.cjs +3 -3
- package/dist/effects/breathe.js +3 -3
- package/dist/effects/brushed-metal.cjs +3 -3
- package/dist/effects/brushed-metal.js +3 -3
- package/dist/effects/camera-dolly.cjs +3 -3
- package/dist/effects/camera-dolly.js +3 -3
- package/dist/effects/card-flip-3d.cjs +3 -3
- package/dist/effects/card-flip-3d.js +3 -3
- package/dist/effects/chest-open.cjs +3 -3
- package/dist/effects/chest-open.js +3 -3
- package/dist/effects/cloth.cjs +3 -3
- package/dist/effects/cloth.js +3 -3
- package/dist/effects/coin-burst.cjs +3 -3
- package/dist/effects/coin-burst.js +3 -3
- package/dist/effects/color-pulse.cjs +3 -3
- package/dist/effects/color-pulse.js +3 -3
- package/dist/effects/crt-power.cjs +3 -3
- package/dist/effects/crt-power.js +3 -3
- package/dist/effects/crumple.cjs +3 -3
- package/dist/effects/crumple.js +3 -3
- package/dist/effects/data-decode.cjs +3 -3
- package/dist/effects/data-decode.js +3 -3
- package/dist/effects/day-cycle.cjs +3 -3
- package/dist/effects/day-cycle.js +3 -3
- package/dist/effects/depth-in.cjs +3 -3
- package/dist/effects/depth-in.js +3 -3
- package/dist/effects/depth-pop.cjs +3 -3
- package/dist/effects/depth-pop.js +3 -3
- package/dist/effects/depth-stack.cjs +3 -3
- package/dist/effects/depth-stack.js +3 -3
- package/dist/effects/dolly-in.cjs +3 -3
- package/dist/effects/dolly-in.js +3 -3
- package/dist/effects/dots-pop.cjs +3 -3
- package/dist/effects/dots-pop.js +3 -3
- package/dist/effects/field-shake.cjs +3 -3
- package/dist/effects/field-shake.js +3 -3
- package/dist/effects/field-success.cjs +3 -3
- package/dist/effects/field-success.js +3 -3
- package/dist/effects/film-burn.cjs +3 -3
- package/dist/effects/film-burn.js +3 -3
- package/dist/effects/fire.cjs +4 -4
- package/dist/effects/fire.js +4 -4
- package/dist/effects/fireflies.cjs +4 -4
- package/dist/effects/fireflies.js +4 -4
- package/dist/effects/firework-burst.cjs +3 -3
- package/dist/effects/firework-burst.js +3 -3
- package/dist/effects/flip-chars.cjs +3 -3
- package/dist/effects/flip-chars.js +3 -3
- package/dist/effects/fluid.cjs +4 -4
- package/dist/effects/fluid.js +4 -4
- package/dist/effects/fly-to-cart.cjs +3 -3
- package/dist/effects/fly-to-cart.js +3 -3
- package/dist/effects/focus-draw.cjs +3 -3
- package/dist/effects/focus-draw.js +3 -3
- package/dist/effects/focus-glow.cjs +3 -3
- package/dist/effects/focus-glow.js +3 -3
- package/dist/effects/fog.cjs +3 -3
- package/dist/effects/fog.js +3 -3
- package/dist/effects/font-breathe.cjs +3 -3
- package/dist/effects/font-breathe.js +3 -3
- package/dist/effects/form-cascade.cjs +3 -3
- package/dist/effects/form-cascade.js +3 -3
- package/dist/effects/gen-skeleton.cjs +3 -3
- package/dist/effects/gen-skeleton.js +3 -3
- package/dist/effects/glass-frost.cjs +3 -3
- package/dist/effects/glass-frost.js +3 -3
- package/dist/effects/glitch-text.cjs +3 -3
- package/dist/effects/glitch-text.js +3 -3
- package/dist/effects/globe-spin.cjs +3 -3
- package/dist/effects/globe-spin.js +3 -3
- package/dist/effects/god-rays.cjs +3 -3
- package/dist/effects/god-rays.js +3 -3
- package/dist/effects/gpu-lift.cjs +3 -3
- package/dist/effects/gpu-lift.js +3 -3
- package/dist/effects/grain-flicker.cjs +3 -3
- package/dist/effects/grain-flicker.js +3 -3
- package/dist/effects/halftone-in.cjs +3 -3
- package/dist/effects/halftone-in.js +3 -3
- package/dist/effects/highlight-sweep.cjs +3 -3
- package/dist/effects/highlight-sweep.js +3 -3
- package/dist/effects/hologram.cjs +3 -3
- package/dist/effects/hologram.js +3 -3
- package/dist/effects/hud-frame.cjs +3 -3
- package/dist/effects/hud-frame.js +3 -3
- package/dist/effects/icon-pop.cjs +3 -3
- package/dist/effects/icon-pop.js +3 -3
- package/dist/effects/icon-swap.cjs +3 -3
- package/dist/effects/icon-swap.js +3 -3
- package/dist/effects/idle-reveal.cjs +3 -3
- package/dist/effects/idle-reveal.js +3 -3
- package/dist/effects/ink.cjs +4 -4
- package/dist/effects/ink.js +4 -4
- package/dist/effects/jump-cut.cjs +3 -3
- package/dist/effects/jump-cut.js +3 -3
- package/dist/effects/kaleido.cjs +3 -3
- package/dist/effects/kaleido.js +3 -3
- package/dist/effects/label-float.cjs +3 -3
- package/dist/effects/label-float.js +3 -3
- package/dist/effects/lantern-rise.cjs +3 -3
- package/dist/effects/lantern-rise.js +3 -3
- package/dist/effects/leaves.cjs +4 -4
- package/dist/effects/leaves.js +4 -4
- package/dist/effects/letterbox.cjs +3 -3
- package/dist/effects/letterbox.js +3 -3
- package/dist/effects/level-up.cjs +3 -3
- package/dist/effects/level-up.js +3 -3
- package/dist/effects/light-follow.cjs +3 -3
- package/dist/effects/light-follow.js +3 -3
- package/dist/effects/lightning.cjs +3 -3
- package/dist/effects/lightning.js +3 -3
- package/dist/effects/line-draw.cjs +3 -3
- package/dist/effects/line-draw.js +3 -3
- package/dist/effects/liquid-text.cjs +3 -3
- package/dist/effects/liquid-text.js +3 -3
- package/dist/effects/liquid-wipe.cjs +3 -3
- package/dist/effects/liquid-wipe.js +3 -3
- package/dist/effects/lottie-play.cjs +3 -3
- package/dist/effects/lottie-play.js +3 -3
- package/dist/effects/magnet.cjs +3 -3
- package/dist/effects/magnet.js +3 -3
- package/dist/effects/marching-ants.cjs +3 -3
- package/dist/effects/marching-ants.js +3 -3
- package/dist/effects/marker-pulse.cjs +3 -3
- package/dist/effects/marker-pulse.js +3 -3
- package/dist/effects/mention-glow.cjs +3 -3
- package/dist/effects/mention-glow.js +3 -3
- package/dist/effects/mesh-drift.cjs +3 -3
- package/dist/effects/mesh-drift.js +3 -3
- package/dist/effects/message-in.cjs +3 -3
- package/dist/effects/message-in.js +3 -3
- package/dist/effects/mosaic-flip.cjs +3 -3
- package/dist/effects/mosaic-flip.js +3 -3
- package/dist/effects/neon-ignite.cjs +3 -3
- package/dist/effects/neon-ignite.js +3 -3
- package/dist/effects/neon-pulse.cjs +3 -3
- package/dist/effects/neon-pulse.js +3 -3
- package/dist/effects/neon-write.cjs +3 -3
- package/dist/effects/neon-write.js +3 -3
- package/dist/effects/neu-press.cjs +3 -3
- package/dist/effects/neu-press.js +3 -3
- package/dist/effects/noise-reveal.cjs +3 -3
- package/dist/effects/noise-reveal.js +3 -3
- package/dist/effects/number-roll.cjs +3 -3
- package/dist/effects/number-roll.js +3 -3
- package/dist/effects/orbit-camera.cjs +3 -3
- package/dist/effects/orbit-camera.js +3 -3
- package/dist/effects/orbit-in.cjs +3 -3
- package/dist/effects/orbit-in.js +3 -3
- package/dist/effects/origami.cjs +3 -3
- package/dist/effects/origami.js +3 -3
- package/dist/effects/page-curl.cjs +3 -3
- package/dist/effects/page-curl.js +3 -3
- package/dist/effects/pan-reveal.cjs +3 -3
- package/dist/effects/pan-reveal.js +3 -3
- package/dist/effects/paper-unfold.cjs +3 -3
- package/dist/effects/paper-unfold.js +3 -3
- package/dist/effects/particle-text.cjs +3 -3
- package/dist/effects/particle-text.js +3 -3
- package/dist/effects/path-morph.cjs +3 -3
- package/dist/effects/path-morph.js +3 -3
- package/dist/effects/pearlescent.cjs +3 -3
- package/dist/effects/pearlescent.js +3 -3
- package/dist/effects/pencil-sketch.cjs +3 -3
- package/dist/effects/pencil-sketch.js +3 -3
- package/dist/effects/pin-drop.cjs +3 -3
- package/dist/effects/pin-drop.js +3 -3
- package/dist/effects/pinball.cjs +3 -3
- package/dist/effects/pinball.js +3 -3
- package/dist/effects/pinch-hint.cjs +3 -3
- package/dist/effects/pinch-hint.js +3 -3
- package/dist/effects/pixelate-in.cjs +3 -3
- package/dist/effects/pixelate-in.js +3 -3
- package/dist/effects/pointer-shadow.cjs +3 -3
- package/dist/effects/pointer-shadow.js +3 -3
- package/dist/effects/portal-open.cjs +3 -3
- package/dist/effects/portal-open.js +3 -3
- package/dist/effects/price-flip.cjs +3 -3
- package/dist/effects/price-flip.js +3 -3
- package/dist/effects/product-spin.cjs +3 -3
- package/dist/effects/product-spin.js +3 -3
- package/dist/effects/rack-focus.cjs +3 -3
- package/dist/effects/rack-focus.js +3 -3
- package/dist/effects/radial-spectrum.cjs +4 -4
- package/dist/effects/radial-spectrum.js +4 -4
- package/dist/effects/rain-glass.cjs +3 -3
- package/dist/effects/rain-glass.js +3 -3
- package/dist/effects/reaction-burst.cjs +3 -3
- package/dist/effects/reaction-burst.js +3 -3
- package/dist/effects/read-receipt.cjs +3 -3
- package/dist/effects/read-receipt.js +3 -3
- package/dist/effects/refraction.cjs +3 -3
- package/dist/effects/refraction.js +3 -3
- package/dist/effects/ring-sweep.cjs +3 -3
- package/dist/effects/ring-sweep.js +3 -3
- package/dist/effects/ripple-dissolve.cjs +3 -3
- package/dist/effects/ripple-dissolve.js +3 -3
- package/dist/effects/rope.cjs +3 -3
- package/dist/effects/rope.js +3 -3
- package/dist/effects/route-draw.cjs +3 -3
- package/dist/effects/route-draw.js +3 -3
- package/dist/effects/safe-fade.cjs +3 -3
- package/dist/effects/safe-fade.js +3 -3
- package/dist/effects/sakura.cjs +4 -4
- package/dist/effects/sakura.js +4 -4
- package/dist/effects/sale-shine.cjs +3 -3
- package/dist/effects/sale-shine.js +3 -3
- package/dist/effects/sankey-flow.cjs +3 -3
- package/dist/effects/sankey-flow.js +3 -3
- package/dist/effects/scanline-sweep.cjs +3 -3
- package/dist/effects/scanline-sweep.js +3 -3
- package/dist/effects/shatter.cjs +3 -3
- package/dist/effects/shatter.js +3 -3
- package/dist/effects/smoke.cjs +4 -4
- package/dist/effects/smoke.js +4 -4
- package/dist/effects/snowfall.cjs +3 -3
- package/dist/effects/snowfall.js +3 -3
- package/dist/effects/soft-body.cjs +3 -3
- package/dist/effects/soft-body.js +3 -3
- package/dist/effects/sound-particles.cjs +4 -4
- package/dist/effects/sound-particles.js +4 -4
- package/dist/effects/spatial-float.cjs +3 -3
- package/dist/effects/spatial-float.js +3 -3
- package/dist/effects/spectrum-mirror.cjs +4 -4
- package/dist/effects/spectrum-mirror.js +4 -4
- package/dist/effects/splash.cjs +4 -4
- package/dist/effects/splash.js +4 -4
- package/dist/effects/spooky-float.cjs +3 -3
- package/dist/effects/spooky-float.js +3 -3
- package/dist/effects/stock-pulse.cjs +3 -3
- package/dist/effects/stock-pulse.js +3 -3
- package/dist/effects/stream-text.cjs +3 -3
- package/dist/effects/stream-text.js +3 -3
- package/dist/effects/stroke-draw.cjs +3 -3
- package/dist/effects/stroke-draw.js +3 -3
- package/dist/effects/success-check.cjs +3 -3
- package/dist/effects/success-check.js +3 -3
- package/dist/effects/swipe-hint.cjs +3 -3
- package/dist/effects/swipe-hint.js +3 -3
- package/dist/effects/text-trail.cjs +3 -3
- package/dist/effects/text-trail.js +3 -3
- package/dist/effects/thinking-glow.cjs +3 -3
- package/dist/effects/thinking-glow.js +3 -3
- package/dist/effects/tilt-wobble.cjs +3 -3
- package/dist/effects/tilt-wobble.js +3 -3
- package/dist/effects/typing-dots.cjs +3 -3
- package/dist/effects/typing-dots.js +3 -3
- package/dist/effects/underline-sweep.cjs +3 -3
- package/dist/effects/underline-sweep.js +3 -3
- package/dist/effects/vhs-glitch.cjs +3 -3
- package/dist/effects/vhs-glitch.js +3 -3
- package/dist/effects/vine-grow.cjs +3 -3
- package/dist/effects/vine-grow.js +3 -3
- package/dist/effects/vinyl-spin.cjs +4 -4
- package/dist/effects/vinyl-spin.js +4 -4
- package/dist/effects/voice-wave.cjs +3 -3
- package/dist/effects/voice-wave.js +3 -3
- package/dist/effects/water-drop.cjs +3 -3
- package/dist/effects/water-drop.js +3 -3
- package/dist/effects/watercolor.cjs +3 -3
- package/dist/effects/watercolor.js +3 -3
- package/dist/effects/waveform-scope.cjs +4 -4
- package/dist/effects/waveform-scope.js +4 -4
- package/dist/effects/xmas-snow.cjs +3 -3
- package/dist/effects/xmas-snow.js +3 -3
- package/dist/effects/xp-gain.cjs +3 -3
- package/dist/effects/xp-gain.js +3 -3
- package/dist/effects/y2k-shine.cjs +3 -3
- package/dist/effects/y2k-shine.js +3 -3
- package/dist/element.cjs +1 -1
- package/dist/element.js +1 -1
- package/dist/element.umd.js +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.js +3 -3
- package/dist/index.umd.js +1 -1
- package/dist/llms-full.txt +4 -4
- package/dist/llms.txt +1 -1
- package/dist/manifest.json +89 -35
- package/dist/presets/extended.cjs +1 -1
- package/dist/presets/extended.js +1 -1
- package/dist/presets-extended.umd.js +1 -1
- package/dist/react.cjs +1 -1
- package/dist/react.js +1 -1
- package/dist/runtime/drag-snap.cjs +2 -2
- package/dist/runtime/drag-snap.iife.js +1 -1
- package/dist/runtime/drag-snap.js +2 -2
- package/dist/runtime/format-apng.cjs +5 -5
- package/dist/runtime/format-apng.iife.js +1 -1
- package/dist/runtime/format-apng.js +5 -5
- package/dist/runtime/format-css.cjs +5 -5
- package/dist/runtime/format-css.iife.js +1 -1
- package/dist/runtime/format-css.js +5 -5
- package/dist/runtime/format-gif.cjs +5 -5
- package/dist/runtime/format-gif.iife.js +1 -1
- package/dist/runtime/format-gif.js +5 -5
- package/dist/runtime/format-gltf.cjs +2 -2
- package/dist/runtime/format-gltf.iife.js +1 -1
- package/dist/runtime/format-gltf.js +2 -2
- package/dist/runtime/format-motion.cjs +5 -5
- package/dist/runtime/format-motion.iife.js +1 -1
- package/dist/runtime/format-motion.js +5 -5
- package/dist/runtime/format-obj.cjs +2 -2
- package/dist/runtime/format-obj.iife.js +1 -1
- package/dist/runtime/format-obj.js +2 -2
- package/dist/runtime/format-scene.cjs +2 -2
- package/dist/runtime/format-scene.iife.js +1 -1
- package/dist/runtime/format-scene.js +2 -2
- package/dist/runtime/format-sprite.cjs +4 -4
- package/dist/runtime/format-sprite.iife.js +1 -1
- package/dist/runtime/format-sprite.js +4 -4
- package/dist/runtime/format-svg.cjs +4 -4
- package/dist/runtime/format-svg.iife.js +1 -1
- package/dist/runtime/format-svg.js +4 -4
- package/dist/runtime/format-webp.cjs +5 -5
- package/dist/runtime/format-webp.iife.js +1 -1
- package/dist/runtime/format-webp.js +5 -5
- package/dist/runtime/gl.cjs +2 -2
- package/dist/runtime/gl.iife.js +1 -1
- package/dist/runtime/gl.js +2 -2
- package/dist/runtime/gltf-anim.cjs +2 -2
- package/dist/runtime/gltf-anim.iife.js +1 -1
- package/dist/runtime/gltf-anim.js +2 -2
- package/dist/runtime/gltf-decoders.cjs +2 -2
- package/dist/runtime/gltf-decoders.iife.js +1 -1
- package/dist/runtime/gltf-decoders.js +2 -2
- package/dist/runtime/lottie-state.cjs +2 -2
- package/dist/runtime/lottie-state.iife.js +1 -1
- package/dist/runtime/lottie-state.js +2 -2
- package/dist/runtime/physics.cjs +2 -2
- package/dist/runtime/physics.iife.js +1 -1
- package/dist/runtime/physics.js +2 -2
- package/dist/runtime/scroll.cjs +9 -3
- package/dist/runtime/scroll.iife.js +2 -2
- package/dist/runtime/scroll.js +9 -3
- package/dist/runtime/smooth.cjs +2 -2
- package/dist/runtime/smooth.iife.js +1 -1
- package/dist/runtime/smooth.js +2 -2
- package/dist/runtime/text.cjs +2 -2
- package/dist/runtime/text.iife.js +1 -1
- package/dist/runtime/text.js +2 -2
- package/dist/runtime/vector.cjs +4 -4
- package/dist/runtime/vector.iife.js +1 -1
- package/dist/runtime/vector.js +4 -4
- package/dist/runtime.cjs +4 -4
- package/dist/runtime.d.cts +1 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.iife.js +2 -2
- package/dist/runtime.js +6 -6
- package/dist/solid.cjs +1 -1
- package/dist/solid.js +1 -1
- package/dist/svelte.cjs +1 -1
- package/dist/svelte.js +1 -1
- package/dist/vue.cjs +1 -1
- package/dist/vue.js +1 -1
- package/dist/widgets/add-to-cart.cjs +8 -8
- package/dist/widgets/add-to-cart.js +8 -8
- package/dist/widgets/badge-wall.cjs +3 -3
- package/dist/widgets/badge-wall.js +3 -3
- package/dist/widgets/bar-chart.cjs +2 -2
- package/dist/widgets/bar-chart.js +2 -2
- package/dist/widgets/bg-generator.cjs +4 -4
- package/dist/widgets/bg-generator.js +4 -4
- package/dist/widgets/carousel.cjs +4 -4
- package/dist/widgets/carousel.js +4 -4
- package/dist/widgets/cart-drawer.cjs +3 -3
- package/dist/widgets/cart-drawer.js +3 -3
- package/dist/widgets/chapter-nav.cjs +3 -3
- package/dist/widgets/chapter-nav.js +3 -3
- 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 +4 -3
- package/dist/widgets/code-export.js +4 -3
- package/dist/widgets/color-picker.cjs +4 -4
- package/dist/widgets/color-picker.js +4 -4
- package/dist/widgets/command-palette.cjs +3 -3
- package/dist/widgets/command-palette.js +3 -3
- package/dist/widgets/compare.cjs +11 -7
- package/dist/widgets/compare.js +11 -7
- package/dist/widgets/countdown.cjs +3 -3
- package/dist/widgets/countdown.js +3 -3
- package/dist/widgets/cube-gallery.cjs +3 -3
- package/dist/widgets/cube-gallery.js +3 -3
- package/dist/widgets/date-picker.cjs +4 -3
- package/dist/widgets/date-picker.js +4 -3
- package/dist/widgets/disclosure.cjs +3 -3
- package/dist/widgets/disclosure.js +3 -3
- package/dist/widgets/dock.cjs +3 -3
- package/dist/widgets/dock.js +3 -3
- package/dist/widgets/dotlottie.cjs +5 -5
- package/dist/widgets/dotlottie.js +5 -5
- package/dist/widgets/equalizer.cjs +4 -4
- package/dist/widgets/equalizer.js +4 -4
- package/dist/widgets/festival-banner.cjs +3 -3
- package/dist/widgets/festival-banner.js +3 -3
- package/dist/widgets/field.cjs +3 -3
- package/dist/widgets/field.js +3 -3
- package/dist/widgets/file-drop.cjs +2 -2
- package/dist/widgets/file-drop.js +2 -2
- package/dist/widgets/gauge.cjs +3 -3
- package/dist/widgets/gauge.js +3 -3
- package/dist/widgets/gen-art.cjs +3 -3
- package/dist/widgets/gen-art.js +3 -3
- package/dist/widgets/gesture-sticker.cjs +3 -3
- package/dist/widgets/gesture-sticker.js +3 -3
- package/dist/widgets/gl-model.cjs +5 -5
- package/dist/widgets/gl-model.js +5 -5
- package/dist/widgets/gl-scene.cjs +5 -5
- package/dist/widgets/gl-scene.js +5 -5
- package/dist/widgets/globe.cjs +3 -3
- package/dist/widgets/globe.js +3 -3
- package/dist/widgets/gpu-particles.cjs +3 -3
- package/dist/widgets/gpu-particles.js +3 -3
- package/dist/widgets/gyro-card.cjs +3 -3
- package/dist/widgets/gyro-card.js +3 -3
- package/dist/widgets/hero-video.cjs +3 -3
- package/dist/widgets/hero-video.js +3 -3
- package/dist/widgets/hud-panel.cjs +2 -2
- package/dist/widgets/hud-panel.js +2 -2
- package/dist/widgets/hydrate.cjs +2 -2
- package/dist/widgets/hydrate.js +2 -2
- package/dist/widgets/install-button.cjs +24 -4
- package/dist/widgets/install-button.js +24 -4
- package/dist/widgets/kanban.cjs +3 -3
- package/dist/widgets/kanban.js +3 -3
- package/dist/widgets/keyframe-editor.cjs +5 -5
- package/dist/widgets/keyframe-editor.js +5 -5
- package/dist/widgets/kpi.cjs +4 -3
- package/dist/widgets/kpi.js +4 -3
- package/dist/widgets/leaderboard.cjs +3 -3
- package/dist/widgets/leaderboard.js +3 -3
- package/dist/widgets/liquid-nav.cjs +2 -2
- package/dist/widgets/liquid-nav.js +2 -2
- package/dist/widgets/location-card.cjs +3 -3
- package/dist/widgets/location-card.js +3 -3
- package/dist/widgets/lottie-icon.cjs +4 -4
- package/dist/widgets/lottie-icon.js +4 -4
- package/dist/widgets/lottie-player.cjs +5 -5
- package/dist/widgets/lottie-player.js +5 -5
- package/dist/widgets/lottie.cjs +3 -3
- package/dist/widgets/lottie.js +3 -3
- package/dist/widgets/lyrics.cjs +4 -4
- package/dist/widgets/lyrics.js +4 -4
- package/dist/widgets/masonry-flow.cjs +3 -3
- package/dist/widgets/masonry-flow.js +3 -3
- package/dist/widgets/menu-toggle.cjs +3 -3
- package/dist/widgets/menu-toggle.js +3 -3
- package/dist/widgets/menu.cjs +4 -4
- package/dist/widgets/menu.js +4 -4
- package/dist/widgets/message-list.cjs +2 -2
- package/dist/widgets/message-list.js +2 -2
- package/dist/widgets/milestones.cjs +3 -3
- package/dist/widgets/milestones.js +3 -3
- package/dist/widgets/modal.cjs +4 -4
- package/dist/widgets/modal.js +4 -4
- package/dist/widgets/motion-inspector.cjs +4 -4
- package/dist/widgets/motion-inspector.js +4 -4
- package/dist/widgets/motion-prefs.cjs +3 -3
- package/dist/widgets/motion-prefs.js +3 -3
- package/dist/widgets/motion-prompt.cjs +2 -2
- package/dist/widgets/motion-prompt.js +2 -2
- package/dist/widgets/motion-spec.cjs +4 -4
- package/dist/widgets/motion-spec.js +4 -4
- package/dist/widgets/motion.cjs +3 -3
- package/dist/widgets/motion.js +3 -3
- package/dist/widgets/music-player.cjs +3 -3
- package/dist/widgets/music-player.js +3 -3
- package/dist/widgets/native-preview.cjs +28 -7
- package/dist/widgets/native-preview.js +28 -7
- package/dist/widgets/nav-morph.cjs +4 -4
- package/dist/widgets/nav-morph.js +4 -4
- package/dist/widgets/notification-bell.cjs +2 -2
- package/dist/widgets/notification-bell.js +2 -2
- package/dist/widgets/odometer.cjs +4 -4
- package/dist/widgets/odometer.js +4 -4
- package/dist/widgets/organic-card.cjs +3 -3
- package/dist/widgets/organic-card.js +3 -3
- package/dist/widgets/otp.cjs +3 -3
- package/dist/widgets/otp.js +3 -3
- package/dist/widgets/pagination.cjs +4 -4
- package/dist/widgets/pagination.js +4 -4
- package/dist/widgets/panorama.cjs +3 -3
- package/dist/widgets/panorama.js +3 -3
- package/dist/widgets/parallax-layers.cjs +2 -2
- package/dist/widgets/parallax-layers.js +2 -2
- package/dist/widgets/pause-all.cjs +2 -2
- package/dist/widgets/pause-all.js +2 -2
- package/dist/widgets/perf-monitor.cjs +3 -3
- package/dist/widgets/perf-monitor.js +3 -3
- package/dist/widgets/physics-playground.cjs +5 -5
- package/dist/widgets/physics-playground.js +5 -5
- package/dist/widgets/plugin-card.cjs +4 -4
- package/dist/widgets/plugin-card.js +4 -4
- package/dist/widgets/plugin-store.cjs +4 -4
- package/dist/widgets/plugin-store.js +4 -4
- package/dist/widgets/presence.cjs +3 -3
- package/dist/widgets/presence.js +3 -3
- package/dist/widgets/prize-wheel.cjs +3 -3
- package/dist/widgets/prize-wheel.js +3 -3
- package/dist/widgets/product-gallery.cjs +3 -3
- package/dist/widgets/product-gallery.js +3 -3
- package/dist/widgets/progress-ring.cjs +4 -4
- package/dist/widgets/progress-ring.js +4 -4
- package/dist/widgets/prop-panel.cjs +3 -3
- package/dist/widgets/prop-panel.js +3 -3
- package/dist/widgets/pull-cord.cjs +2 -2
- package/dist/widgets/pull-cord.js +2 -2
- package/dist/widgets/radar.cjs +3 -3
- package/dist/widgets/radar.js +3 -3
- package/dist/widgets/reactions.cjs +3 -3
- package/dist/widgets/reactions.js +3 -3
- package/dist/widgets/red-envelope.cjs +2 -2
- package/dist/widgets/red-envelope.js +2 -2
- package/dist/widgets/retro-button.cjs +3 -3
- package/dist/widgets/retro-button.js +3 -3
- package/dist/widgets/rive.cjs +3 -3
- package/dist/widgets/rive.js +3 -3
- package/dist/widgets/route-transition.cjs +2 -2
- package/dist/widgets/route-transition.js +2 -2
- package/dist/widgets/scene.cjs +3 -3
- package/dist/widgets/scene.js +3 -3
- package/dist/widgets/scroll-ring.cjs +3 -3
- package/dist/widgets/scroll-ring.js +3 -3
- package/dist/widgets/scroll-scene.cjs +5 -5
- package/dist/widgets/scroll-scene.js +5 -5
- package/dist/widgets/segmented.cjs +4 -4
- package/dist/widgets/segmented.js +4 -4
- package/dist/widgets/shader-backdrop.cjs +3 -3
- package/dist/widgets/shader-backdrop.js +3 -3
- package/dist/widgets/sheet.cjs +4 -4
- package/dist/widgets/sheet.js +4 -4
- package/dist/widgets/shortcut.cjs +3 -3
- package/dist/widgets/shortcut.js +3 -3
- package/dist/widgets/skeleton-reveal.cjs +4 -4
- package/dist/widgets/skeleton-reveal.js +4 -4
- package/dist/widgets/sketch-chart.cjs +3 -3
- package/dist/widgets/sketch-chart.js +3 -3
- package/dist/widgets/smooth-scroll.cjs +4 -4
- package/dist/widgets/smooth-scroll.js +4 -4
- package/dist/widgets/snap-carousel.cjs +4 -4
- package/dist/widgets/snap-carousel.js +4 -4
- package/dist/widgets/sparkline.cjs +3 -3
- package/dist/widgets/sparkline.js +3 -3
- package/dist/widgets/spatial-card.cjs +2 -2
- package/dist/widgets/spatial-card.js +2 -2
- package/dist/widgets/star-rating.cjs +3 -3
- package/dist/widgets/star-rating.js +3 -3
- package/dist/widgets/stepper.cjs +16 -4
- package/dist/widgets/stepper.js +16 -4
- package/dist/widgets/sticky-wall.cjs +3 -3
- package/dist/widgets/sticky-wall.js +3 -3
- package/dist/widgets/stories.cjs +3 -3
- package/dist/widgets/stories.js +3 -3
- package/dist/widgets/suggestion-chips.cjs +3 -3
- package/dist/widgets/suggestion-chips.js +3 -3
- package/dist/widgets/swipe-deck.cjs +3 -3
- package/dist/widgets/swipe-deck.js +3 -3
- package/dist/widgets/switch.cjs +3 -3
- package/dist/widgets/switch.js +3 -3
- package/dist/widgets/tab-bar.cjs +4 -4
- package/dist/widgets/tab-bar.js +4 -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 +3 -3
- package/dist/widgets/theme-surface.js +3 -3
- package/dist/widgets/theme-switcher.cjs +4 -4
- package/dist/widgets/theme-switcher.js +4 -4
- package/dist/widgets/tip.cjs +4 -4
- package/dist/widgets/tip.js +4 -4
- package/dist/widgets/toast-stack.cjs +5 -5
- package/dist/widgets/toast-stack.js +5 -5
- package/dist/widgets/token-editor.cjs +2 -2
- package/dist/widgets/token-editor.js +2 -2
- package/dist/widgets/upload-progress.cjs +3 -3
- package/dist/widgets/upload-progress.js +3 -3
- package/dist/widgets/video-card.cjs +2 -2
- package/dist/widgets/video-card.js +2 -2
- package/dist/widgets/voice-button.cjs +3 -3
- package/dist/widgets/voice-button.js +3 -3
- package/dist/widgets/volume-knob.cjs +3 -3
- package/dist/widgets/volume-knob.js +3 -3
- package/dist/widgets/weather-card.cjs +3 -3
- package/dist/widgets/weather-card.js +3 -3
- package/dist/widgets/worker-canvas.cjs +4 -4
- package/dist/widgets/worker-canvas.js +4 -4
- package/dist/widgets/xp-bar.cjs +3 -3
- package/dist/widgets/xp-bar.js +3 -3
- package/dist/widgets.umd.js +2 -2
- package/docs/ROADMAP.md +1 -1
- package/docs/browser-matrix.md +108 -0
- package/docs/components/usa-add-to-cart.md +1 -1
- package/docs/components/usa-back-to-top.md +1 -1
- package/docs/components/usa-bottom-sheet.md +1 -1
- package/docs/components/usa-chapter-nav.md +1 -1
- package/docs/components/usa-code-export.md +1 -1
- package/docs/components/usa-color-picker.md +1 -1
- package/docs/components/usa-compare.md +1 -1
- package/docs/components/usa-date-picker.md +1 -1
- package/docs/components/usa-distort.md +1 -1
- package/docs/components/usa-dotlottie.md +2 -2
- package/docs/components/usa-drawer.md +1 -1
- package/docs/components/usa-gl-model.md +2 -2
- package/docs/components/usa-gl-scene.md +1 -1
- package/docs/components/usa-install-button.md +1 -1
- package/docs/components/usa-kpi.md +1 -1
- package/docs/components/usa-liquid.md +1 -1
- package/docs/components/usa-modal.md +1 -1
- package/docs/components/usa-motion-inspector.md +1 -1
- package/docs/components/usa-native-preview.md +1 -1
- package/docs/components/usa-navbar.md +1 -1
- package/docs/components/usa-post-fx.md +1 -1
- package/docs/components/usa-reveal.md +1 -1
- package/docs/components/usa-scroll-progress.md +1 -1
- package/docs/components/usa-scroll-ring.md +1 -1
- package/docs/components/usa-scroll-scene.md +1 -1
- package/docs/components/usa-segmented.md +1 -1
- package/docs/components/usa-sheet.md +1 -1
- package/docs/components/usa-snap-carousel.md +2 -2
- package/docs/components/usa-stepper.md +1 -1
- package/docs/components/usa-switch.md +1 -1
- package/docs/components/usa-theme-switcher.md +1 -1
- package/docs/components.md +18 -2
- package/docs/contract-report.json +3 -3
- package/docs/performance.md +1 -1
- package/docs/presets.md +2 -2
- package/docs/release-gate.md +58 -0
- package/docs/versions.md +6 -0
- package/figma-plugin/code.js +5 -3
- package/figma-plugin/plugin-src.js +4 -2
- package/package.json +8 -3
package/docs/ROADMAP.md
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
|
|
14
14
|
1. **安装命令**:runtime 模块只需 `npm i motionary` 一次;官方运行时写出确切命令(如 `npm i @rive-app/canvas`);
|
|
15
15
|
2. **导入路径**:如 `motionary/runtime/scroll`;
|
|
16
|
-
3. **CDN 地址**:可直接复制的 `<script>`(主版本固定,如 `https://cdn.jsdelivr.net/npm/motionary@
|
|
16
|
+
3. **CDN 地址**:可直接复制的 `<script>`(主版本固定,如 `https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js`)以及 ESM 地址;
|
|
17
17
|
4. **引入顺序与注册代码**:先 `use(scroll)`(会同时注册核心),再注册组件;CDN 先加载 `runtime.iife.js`,再加载模块 IIFE(自动注册);
|
|
18
18
|
5. **最小用法示例**。
|
|
19
19
|
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
# Browser matrix (13.1.0)
|
|
2
|
+
|
|
3
|
+
Motionary is tested in real browsers on every pull request: the Playwright suite in `test/browser/` runs on the built
|
|
4
|
+
package (`dist/`, through an import map that resolves `motionary/*` the way `package.json` `exports` does) in
|
|
5
|
+
**Chromium, Firefox and WebKit** (CI job `browser`, one matrix entry per engine).
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
npx playwright install --with-deps chromium firefox webkit # once
|
|
9
|
+
npm run build
|
|
10
|
+
npm run test:browser # all three
|
|
11
|
+
npm run test:browser -- --project=firefox # one engine
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
`CHROME_PATH=/path/to/chrome` runs the `chromium` project on another Chromium build (for platforms where Playwright ships
|
|
15
|
+
none, such as linux-arm64). Playwright is a devDependency only; nothing in the package depends on it.
|
|
16
|
+
|
|
17
|
+
## What the suite checks
|
|
18
|
+
|
|
19
|
+
| Spec | What it proves, in each browser |
|
|
20
|
+
|---|---|
|
|
21
|
+
| `lifecycle.spec.mjs` | Every public component in the AI manifest (209, minus the exclusions below), mounted from its documented example through its own manifest snippet: connect → disconnect leaves no listener on `window` / `document` / `<html>` / `<body>`, no interval, no observer on a detached node, no rAF loop, no live WebGL context; reconnect re-mounts to the same structure; every documented attribute can be set to an invalid value and back without an uncaught error. |
|
|
22
|
+
| `keyboard.spec.mjs` | Keyboard and ARIA patterns of every interactive component: tabs (roving tabindex, ←/→/Home/End, tabpanel), radio groups, sliders (`aria-valuenow`), switches, steppers, menus / popovers, carousels, modal overlays (focus moves in, Tab / Shift+Tab never reach the page behind, Esc closes, focus returns to the opener). |
|
|
23
|
+
| `motion.spec.mjs` | `prefers-reduced-motion` and each Motion Sensitivity level (`full` · `gentle` · `minimal` · `static`, docs/accessibility.md): every `Element.animate()` call is recorded and checked (no vestibular transforms under `gentle`, opacity only under `minimal`, nothing under `static`), and each interaction reaches the same end state in every mode. |
|
|
24
|
+
| `resources.spec.mjs` | The WebGL / Canvas / animation-loop components: which backend each picks in this browser (the GPU table below), mount / unmount 6× without contexts piling up, after the last disconnect no live context and no frame callback; image-effect components fall back cleanly when the image fails. |
|
|
25
|
+
| `perf.spec.mjs` | A complex page — 32 components from every family running at once — against `perf/browser-baseline.json`: mount time, p95 frame interval, native rAF calls per frame (the shared scheduler batches every loop into one), and a clean teardown. |
|
|
26
|
+
|
|
27
|
+
## GPU capability per browser
|
|
28
|
+
|
|
29
|
+
What the browser offers to the page (the `platform capabilities` test) and which backend the GPU components chose.
|
|
30
|
+
Measured on GitHub Actions `ubuntu-latest` (x64, headless, Playwright 1.64.0) for 13.1.0; the linux-arm64 development sandbox gave the same capabilities (Chromium 129 via `CHROME_PATH`). Backends are what each component reported (`data-backend` / `data-fallback`) or, where it reports none, what it created (WebGL contexts / canvases); "DOM / CSS" means no canvas at all. The CI job uploads the raw per-component records as `test-results/gpu-matrix/`.
|
|
31
|
+
|
|
32
|
+
| | Chromium | Firefox | WebKit |
|
|
33
|
+
|---|---|---|---|
|
|
34
|
+
| webgl2 | yes | no | yes |
|
|
35
|
+
| webgl | yes | no | yes |
|
|
36
|
+
| webgpu | no | no | no |
|
|
37
|
+
| offscreenCanvas | yes | yes | yes |
|
|
38
|
+
| loseContext | yes | no | yes |
|
|
39
|
+
| renderer | SwiftShader (ANGLE / Vulkan, software) | — | Apple GPU |
|
|
40
|
+
|
|
41
|
+
| Component | Chromium | Firefox | WebKit |
|
|
42
|
+
|---|---|---|---|
|
|
43
|
+
| `<usa-shader>` | WebGL (2 ctx) | fallback (webgl) | WebGL (2 ctx) |
|
|
44
|
+
| `<usa-distort>` | WebGL (1 ctx) | fallback (webgl) | WebGL (1 ctx) |
|
|
45
|
+
| `<usa-liquid>` | WebGL (1 ctx) | fallback (webgl) | WebGL (1 ctx) |
|
|
46
|
+
| `<usa-post-fx>` | WebGL (1 ctx) | fallback (webgl) | WebGL (1 ctx) |
|
|
47
|
+
| `<usa-gl-scene>` | webgl2 | no GL (backend none) | webgl2 |
|
|
48
|
+
| `<usa-gl-model>` | webgl2 | no GL (backend none) | webgl2 |
|
|
49
|
+
| `<usa-gpu-particles>` | canvas2d | canvas2d | canvas2d |
|
|
50
|
+
| `<usa-shader-backdrop>` | webgl2 | css | webgl2 |
|
|
51
|
+
| `<usa-physics-playground>` | Canvas 2D | Canvas 2D | Canvas 2D |
|
|
52
|
+
| `<usa-globe>` | DOM / CSS | DOM / CSS | DOM / CSS |
|
|
53
|
+
| `<usa-gen-art>` | Canvas 2D | Canvas 2D | Canvas 2D |
|
|
54
|
+
| `<usa-worker-canvas>` | worker | worker | worker |
|
|
55
|
+
| `<usa-particles>` | Canvas 2D | Canvas 2D | Canvas 2D |
|
|
56
|
+
| `<usa-blobs>` | DOM / CSS | DOM / CSS | DOM / CSS |
|
|
57
|
+
| `<usa-dot-network>` | Canvas 2D | Canvas 2D | Canvas 2D |
|
|
58
|
+
| `<usa-grid-glow>` | DOM / CSS | DOM / CSS | DOM / CSS |
|
|
59
|
+
| `<usa-water-ripple>` | Canvas 2D | Canvas 2D | Canvas 2D |
|
|
60
|
+
| `<usa-ambient>` | Canvas 2D | Canvas 2D | Canvas 2D |
|
|
61
|
+
| `<usa-gesture-fx>` | DOM / CSS | DOM / CSS | DOM / CSS |
|
|
62
|
+
| `<usa-skeleton-reveal>` | DOM / CSS | DOM / CSS | DOM / CSS |
|
|
63
|
+
| `<usa-lottie-player>` | Canvas 2D | Canvas 2D | Canvas 2D |
|
|
64
|
+
| `<usa-dotlottie>` | Canvas 2D | Canvas 2D | Canvas 2D |
|
|
65
|
+
| `<usa-audio>` | DOM / CSS | DOM / CSS | DOM / CSS |
|
|
66
|
+
|
|
67
|
+
The components degrade instead of failing: with no WebGL, `<usa-shader>` / `<usa-distort>` / `<usa-liquid>` /
|
|
68
|
+
`<usa-post-fx>` set `data-fallback="webgl"` and show their CSS / image fallback, `<usa-shader-backdrop>` uses its CSS
|
|
69
|
+
backdrop, `<usa-gl-scene>` / `<usa-gl-model>` report `data-backend="none"`, and `<usa-gpu-particles>` draws with Canvas 2D.
|
|
70
|
+
The resource checks still run in that case — they then prove that nothing was created and nothing leaks.
|
|
71
|
+
|
|
72
|
+
## Documented limitations
|
|
73
|
+
|
|
74
|
+
- **Firefox headless without WebGL.** Headless Firefox on a machine with no usable GL driver (the linux-arm64 sandbox;
|
|
75
|
+
some CI images) exposes neither `webgl` nor `webgl2`. The WebGL components take their Canvas 2D / CSS fallback there,
|
|
76
|
+
so Firefox runs cover the fallback path; the WebGL path is covered by Chromium and WebKit. This is the case on GitHub Actions `ubuntu-latest` too (Firefox reports no `webgl` / `webgl2` there), so in CI Firefox exercises the fallback paths for every WebGL component.
|
|
77
|
+
- **`<usa-rive>` is excluded** from the lifecycle sweep: it needs the optional peer `@rive-app/canvas` from npm / a CDN,
|
|
78
|
+
and the suite runs offline. It is covered by unit tests and the component playground.
|
|
79
|
+
- **WebKit Tab order.** Like Safari, Playwright's WebKit skips buttons and links on Tab unless "Press Tab to highlight
|
|
80
|
+
each item" is on; the keyboard spec presses Alt+Tab there (Safari's Option+Tab), which is what a keyboard user does.
|
|
81
|
+
- **Native `<dialog>` in WebKit** lets Tab leave the open modal for the browser's own UI; the assertion is "focus never
|
|
82
|
+
reaches the page behind the modal", which holds in all three engines.
|
|
83
|
+
- **WebGPU** is not available to headless browsers in CI (`navigator.gpu` has no adapter); the suite records it but no
|
|
84
|
+
component requires it.
|
|
85
|
+
- **Frame timing is environment-bound.** Headless browsers on shared CI machines render in software, so the perf budget
|
|
86
|
+
is relative to the CI baseline with generous headroom (×3) plus absolute ceilings; it catches regressions such as an
|
|
87
|
+
extra frame loop per component or a teardown that leaks, not small timing drift.
|
|
88
|
+
- **Perf limits are for CI.** On a slow machine without GPU acceleration (the linux-arm64 development sandbox) headless
|
|
89
|
+
WebKit draws the 32-component page at about one frame per second (p95 ≈ 1 s), so `perf.spec.mjs` fails its frame-interval
|
|
90
|
+
limit there while every functional check passes; run the perf spec on CI-class hardware.
|
|
91
|
+
- **Chromium build.** CI uses Playwright's Chromium; local runs on linux-arm64 use another Chromium build through
|
|
92
|
+
`CHROME_PATH` (Playwright publishes no linux-arm64 Chromium).
|
|
93
|
+
|
|
94
|
+
## Results for 13.1.0
|
|
95
|
+
|
|
96
|
+
| | Chromium | Firefox | WebKit |
|
|
97
|
+
|---|---|---|---|
|
|
98
|
+
| CI (`ubuntu-latest`, PR #135) | 309 passed, 1 skipped | 308 passed, 2 skipped | 309 passed, 1 skipped |
|
|
99
|
+
| Local (linux-arm64 sandbox) | all functional pass ¹ | 308 passed, 2 skipped | 308 passed; perf frame interval over its limit ² |
|
|
100
|
+
| Complex page on CI — mount / p95 frame / rAF per frame | 703 ms / 33.4 ms / 1.22 | 738 ms / 17.1 ms / 1.32 | 1973 ms / 227 ms / 1.03 |
|
|
101
|
+
| Perf limit (max(ceiling, baseline × 3)) — mount / p95 | 6000 ms / 100 ms | 6000 ms / 51 ms | 6000 ms / 681 ms |
|
|
102
|
+
|
|
103
|
+
¹ Chromium 129 via `CHROME_PATH`; ² see "Perf limits are for CI". Skipped: `<usa-rive>` (all), and in Firefox the
|
|
104
|
+
image-fallback check, which needs WebGL.
|
|
105
|
+
|
|
106
|
+
On 13.0.2 the same suite failed 33 tests in Chromium, 23 in Firefox and 31 in WebKit (the bugs fixed in 13.1.0, see the
|
|
107
|
+
CHANGELOG). WebKit on Linux renders in software, hence its frame interval; the budget guards against regressions relative
|
|
108
|
+
to that, not against Safari on a Mac.
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
7.3: a buy button — the product photo flies on an arc into the cart, the cart badge bumps and the button morphs into a ✓ “Added” state. Works with <usa-cart-drawer> (calls add(item)) or any [data-cart] icon.
|
|
6
6
|
|
|
7
|
-
- **Category:** ui · **since** 7.3
|
|
7
|
+
- **Category:** ui · **since** 7.3 · **changed in** 13.1
|
|
8
8
|
- **Import:** `import { defineAddToCart } from 'motionary/components/widgets'` then `defineAddToCart();`
|
|
9
9
|
- **CDN:** `<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `label`, `added`, `item`, `cart`, `from`, `hold`
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Appears after you scroll, shows reading progress as a ring and springs the page back up, then moves focus to the top.
|
|
6
6
|
|
|
7
|
-
- **Category:** page · **since** 2.7
|
|
7
|
+
- **Category:** page · **since** 2.7 · **changed in** 13.1
|
|
8
8
|
- **Import:** `import { defineBackToTop } from 'motionary/components/page'` then `defineBackToTop();`
|
|
9
9
|
- **CDN:** `<script src="https://unpkg.com/motionary@13/dist/components.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `label`, `offset`, `focus-target`
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
A draggable sheet with snap points, inertia and drag-down-to-dismiss — the iOS / Android pattern for web and Windows web-view apps.
|
|
6
6
|
|
|
7
|
-
- **Category:** ui · **since** 2.6
|
|
7
|
+
- **Category:** ui · **since** 2.6 · **changed in** 13.1
|
|
8
8
|
- **Import:** `import { defineBottomSheet } from 'motionary/components/ui'` then `defineBottomSheet();`
|
|
9
9
|
- **CDN:** `<script src="https://unpkg.com/motionary@13/dist/components.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `open`, `snap`, `start`
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
9.1: chapter navigation for long-form stories — one entry per chapter with a reading-progress bar that fills as you scroll, the current chapter highlighted, click to glide there.
|
|
6
6
|
|
|
7
|
-
- **Category:** ui · **since** 9.1
|
|
7
|
+
- **Category:** ui · **since** 9.1 · **changed in** 13.1
|
|
8
8
|
- **Import:** `import { defineChapterNav } from 'motionary/components/widgets'` then `defineChapterNav();`
|
|
9
9
|
- **CDN:** `<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `for`, `orientation`, `label`
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
8.9 low-code: shows copy-paste code (HTML, React, Vue or JSON) for a live, configured component next to it, follows its attribute changes and copies with one click.
|
|
6
6
|
|
|
7
|
-
- **Category:** ui · **since** 8.9
|
|
7
|
+
- **Category:** ui · **since** 8.9 · **changed in** 13.1
|
|
8
8
|
- **Import:** `import { defineCodeExport } from 'motionary/components/widgets'` then `defineCodeExport();`
|
|
9
9
|
- **CDN:** `<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `for`, `formats`
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
6.9: a saturation / brightness square and a hue strip with spring-follow thumbs (both keyboard sliders), a preview chip that morphs to the new colour and swatches that pop.
|
|
6
6
|
|
|
7
|
-
- **Category:** ui · **since** 6.9
|
|
7
|
+
- **Category:** ui · **since** 6.9 · **changed in** 13.1
|
|
8
8
|
- **Import:** `import { defineColorPicker } from 'motionary/components/widgets'` then `defineColorPicker();`
|
|
9
9
|
- **CDN:** `<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `swatches`
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
6.5: drag the handle (or hover with the hover attribute), click to jump, or use the keyboard slider; horizontal or vertical; an intro sweep plays once when it scrolls into view.
|
|
6
6
|
|
|
7
|
-
- **Category:** interaction · **since** 6.5
|
|
7
|
+
- **Category:** interaction · **since** 6.5 · **changed in** 13.1
|
|
8
8
|
- **Import:** `import { defineCompare } from 'motionary/components/widgets'` then `defineCompare();`
|
|
9
9
|
- **CDN:** `<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `orientation`, `labels`, `label`, `position`, `hover`, `intro`
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
6.9: months slide in from the direction of travel, the chosen day pops inside a spring circle, today has a ring. A real date grid: arrows, PageUp / PageDown, Home / End, min / max.
|
|
6
6
|
|
|
7
|
-
- **Category:** ui · **since** 6.9
|
|
7
|
+
- **Category:** ui · **since** 6.9 · **changed in** 13.1
|
|
8
8
|
- **Import:** `import { defineDatePicker } from 'motionary/components/widgets'` then `defineDatePicker();`
|
|
9
9
|
- **CDN:** `<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `min`, `max`, `first-day`, `locale`
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
The image bulges and splits into RGB around the pointer. Without WebGL (or a cross-origin image without CORS) it falls back to a gentle CSS zoom.
|
|
6
6
|
|
|
7
|
-
- **Category:** webgl · **since** 3.4 · **changed in** 4.0
|
|
7
|
+
- **Category:** webgl · **since** 3.4 · **changed in** 4.0, 13.1
|
|
8
8
|
- **Import:** `import { defineDistort } from 'motionary/components/webgl'` then `defineDistort();`
|
|
9
9
|
- **CDN:** `<script src="https://unpkg.com/motionary@13/dist/components.umd.js"></script>`
|
|
10
10
|
- **Attributes:** —
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
10.9: plays .lottie files with their themes (slots recoloured by a theme from the file) and state machines — playback states, event / numeric / boolean guards, pointer and completion interactions, input and theme actions (OpenUrl is refused). Tap the dot: it starts pulsing, three taps switch it to the dark theme. Requires motionary/runtime/vector + motionary/runtime/lottie-state — npm i motionary, then use(vector, lottieState). Its own entry point: motionary/components/dotlottie.
|
|
6
6
|
|
|
7
|
-
- **Category:** ui · **since** 10.9
|
|
7
|
+
- **Category:** ui · **since** 10.9 · **changed in** 13.2
|
|
8
8
|
- **Import:** `import { defineDotLottie } from 'motionary/components/dotlottie'` then `defineDotLottie();`
|
|
9
|
-
- **CDN:** `<script
|
|
9
|
+
- **CDN:** `<script type="module">import { defineDotLottie } from 'https://unpkg.com/motionary@13/dist/components/dotlottie.js'; defineDotLottie();</script>` (own entry, not in the no-build bundles)
|
|
10
10
|
- **Attributes:** `theme`, `state-machine`
|
|
11
11
|
- **Events:** `usa:error`, `usa:state`, `usa:custom`, `usa:runtime-missing`
|
|
12
12
|
- **Slots:** —
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
A side panel that springs in, drags / swipes closed, traps the page behind a backdrop and returns focus on close. Left, right, top or bottom.
|
|
6
6
|
|
|
7
|
-
- **Category:** ui · **since** 2.6
|
|
7
|
+
- **Category:** ui · **since** 2.6 · **changed in** 13.1
|
|
8
8
|
- **Import:** `import { defineDrawer } from 'motionary/components/ui'` then `defineDrawer();`
|
|
9
9
|
- **CDN:** `<script src="https://unpkg.com/motionary@13/dist/components.umd.js"></script>`
|
|
10
10
|
- **Attributes:** —
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
10.9: <usa-gl-scene> for compressed glTF — Draco meshes and KTX2 (Basis Universal) textures decoded by the official decoders (Google draco3d, Binomial’s Basis Universal transcoder), lazy-loaded optional peers: only the decoder a file needs is fetched. Requires motionary/runtime/gl + format-gltf + gltf-decoders and draco3d (+ the Basis transcoder for KTX2 textures). Its own entry point: motionary/components/gl-model.
|
|
6
6
|
|
|
7
|
-
- **Category:** ui · **since** 10.9
|
|
7
|
+
- **Category:** ui · **since** 10.9 · **changed in** 13.1, 13.2
|
|
8
8
|
- **Import:** `import { defineGlModel } from 'motionary/components/gl-model'` then `defineGlModel();`
|
|
9
|
-
- **CDN:** `<script
|
|
9
|
+
- **CDN:** `<script type="module">import { defineGlModel } from 'https://unpkg.com/motionary@13/dist/components/gl-model.js'; defineGlModel();</script>` (own entry, not in the no-build bundles)
|
|
10
10
|
- **Attributes:** —
|
|
11
11
|
- **Events:** `usa:runtime-missing`
|
|
12
12
|
- **Slots:** —
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
10.5: a WebGL2 3D viewer on Motionary’s own renderer — glTF 2.0 / GLB and OBJ / MTL models or built-in shapes, PBR-style materials, orbit controls (drag, wheel, pinch, arrow keys), auto-rotate and video textures. Requires motionary/runtime/gl (+ format-gltf for .gltf / .glb, format-obj for .obj, gltf-anim for glTF animation — 10.8) — npm i motionary, then use(gl, formatGltf, formatObj, gltfAnim) before it mounts.
|
|
6
6
|
|
|
7
|
-
- **Category:** ui · **since** 10.5 · **changed in** 10.8, 10.9, 11.0, 11.3
|
|
7
|
+
- **Category:** ui · **since** 10.5 · **changed in** 10.8, 10.9, 11.0, 11.3, 13.1
|
|
8
8
|
- **Import:** `import { defineGlScene } from 'motionary/components/widgets'` then `defineGlScene();`
|
|
9
9
|
- **CDN:** `<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `src`, `shape`, `color`, `metallic`, `roughness`, `background`, `exposure`, `controls`, `auto-rotate`, `video`, `video-scrub`, `label`, `animation`, `animation-speed`
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
10.1: one-click install snippet with npm / pnpm / yarn / bun / CDN tabs and a copy button that confirms with a check; `cdn` sets the URL of the CDN tab.
|
|
6
6
|
|
|
7
|
-
- **Category:** ui · **since** 10.1
|
|
7
|
+
- **Category:** ui · **since** 10.1 · **changed in** 13.1
|
|
8
8
|
- **Import:** `import { defineInstallButton } from 'motionary/components/widgets'` then `defineInstallButton();`
|
|
9
9
|
- **CDN:** `<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `package`, `managers`, `cdn`, `dev`, `manager`
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
7.2: the value counts up keeping prefix, suffix and decimals ("$12.4k", "98.2%"), the delta chip slides in with an arrow coloured by sign, and an optional trend draws a sparkline. Setting value rolls and flashes the card.
|
|
6
6
|
|
|
7
|
-
- **Category:** ui · **since** 7.2
|
|
7
|
+
- **Category:** ui · **since** 7.2 · **changed in** 13.1
|
|
8
8
|
- **Import:** `import { defineKpi } from 'motionary/components/widgets'` then `defineKpi();`
|
|
9
9
|
- **CDN:** `<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `label`, `delta`, `caption`, `trend`, `invert`, `locale`
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Click or tap to send water ripples through the image; hover adds a gentle wobble. The plain image stays when WebGL is unavailable.
|
|
6
6
|
|
|
7
|
-
- **Category:** webgl · **since** 3.4 · **changed in** 4.0
|
|
7
|
+
- **Category:** webgl · **since** 3.4 · **changed in** 4.0, 13.1
|
|
8
8
|
- **Import:** `import { defineLiquid } from 'motionary/components/webgl'` then `defineLiquid();`
|
|
9
9
|
- **CDN:** `<script src="https://unpkg.com/motionary@13/dist/components.umd.js"></script>`
|
|
10
10
|
- **Attributes:** —
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
6.3: native <dialog> (top layer, focus trap, Esc) with animated open / close and a blurred backdrop — scale, slide-up, flip, or origin: it grows out of the button that opened it. Focus returns to the opener.
|
|
6
6
|
|
|
7
|
-
- **Category:** transitions · **since** 6.3 · **changed in** 6.6, 13.0
|
|
7
|
+
- **Category:** transitions · **since** 6.3 · **changed in** 6.6, 13.0, 13.1
|
|
8
8
|
- **Import:** `import { defineModal } from 'motionary/components/widgets'` then `defineModal();`
|
|
9
9
|
- **CDN:** `<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `effect`, `label`, `persistent`
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
10.2: a live panel listing the running animations in a scope (CSS animations, transitions, element.animate(), components) with state and progress, plus the motionary/runtime ticker when present — pause / play all, 0.25× slow motion and per-row scrub.
|
|
6
6
|
|
|
7
|
-
- **Category:** ui · **since** 10.2
|
|
7
|
+
- **Category:** ui · **since** 10.2 · **changed in** 13.1
|
|
8
8
|
- **Import:** `import { defineMotionInspector } from 'motionary/components/widgets'` then `defineMotionInspector();`
|
|
9
9
|
- **CDN:** `<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `scope`, `interval`
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
9.8: preview web motion as it will feel on a phone — an iOS / Android device frame replays the entrance with the rule’s curve and presses with a spring — and copy the generated React Native and Flutter code.
|
|
6
6
|
|
|
7
|
-
- **Category:** ui · **since** 9.8
|
|
7
|
+
- **Category:** ui · **since** 9.8 · **changed in** 13.1
|
|
8
8
|
- **Import:** `import { defineNativePreview } from 'motionary/components/widgets'` then `defineNativePreview();`
|
|
9
9
|
- **CDN:** `<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `rules`, `platform`, `name`
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Hides while you scroll down, slides back on the first scroll up; shrink makes it compact once scrolled. This page’s demo scrolls an inner box.
|
|
6
6
|
|
|
7
|
-
- **Category:** ui · **since** 2.6 · **changed in** 6.6, 12.0
|
|
7
|
+
- **Category:** ui · **since** 2.6 · **changed in** 6.6, 12.0, 13.1
|
|
8
8
|
- **Import:** `import { defineNavbar } from 'motionary/components/ui'` then `defineNavbar();`
|
|
9
9
|
- **CDN:** `<script src="https://unpkg.com/motionary@13/dist/components.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `target`, `threshold`
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Chainable GPU passes over an image (4.8): vignette, grain, chromatic aberration, scanlines, CRT, bloom, pixelate, duotone and glitch, with one intensity. Without WebGL the image gets an approximate CSS filter.
|
|
6
6
|
|
|
7
|
-
- **Category:** webgl · **since** 4.8
|
|
7
|
+
- **Category:** webgl · **since** 4.8 · **changed in** 13.1
|
|
8
8
|
- **Import:** `import { definePostFx } from 'motionary/components/webgl'` then `definePostFx();`
|
|
9
9
|
- **CDN:** `<script src="https://unpkg.com/motionary@13/dist/components.umd.js"></script>`
|
|
10
10
|
- **Attributes:** —
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Fade, slide, zoom, blur or flip content in as it enters the viewport. 12 effects, replay on re-entry with repeat.
|
|
6
6
|
|
|
7
|
-
- **Category:** reveal · **since** 2.2 · **changed in** 6.1
|
|
7
|
+
- **Category:** reveal · **since** 2.2 · **changed in** 6.1, 13.1
|
|
8
8
|
- **Import:** `import { defineReveal } from 'motionary/components/reveal'` then `defineReveal();`
|
|
9
9
|
- **CDN:** `<script src="https://unpkg.com/motionary@13/dist/components.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `effect`, `distance`, `repeat`, `threshold`, `root-margin`, `duration`, `delay`, `easing`
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Reading progress of the page or of one article. Compositor-only scaleX, role="progressbar".
|
|
6
6
|
|
|
7
|
-
- **Category:** reveal · **since** 2.2 · **changed in** 2.7
|
|
7
|
+
- **Category:** reveal · **since** 2.2 · **changed in** 2.7, 13.1
|
|
8
8
|
- **Import:** `import { defineScrollProgress } from 'motionary/components/reveal'` then `defineScrollProgress();`
|
|
9
9
|
- **CDN:** `<script src="https://unpkg.com/motionary@13/dist/components.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `target`, `label`
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
10.4: a circular scroll-progress indicator for the page or any scroll container (for=".article"), optional percentage label and back-to-top button. Scroll-driven 3.0: native animation-timeline: scroll() first (no script per frame), a small JS loop where scroll timelines are missing.
|
|
6
6
|
|
|
7
|
-
- **Category:** reveal · **since** 10.4
|
|
7
|
+
- **Category:** reveal · **since** 10.4 · **changed in** 13.1
|
|
8
8
|
- **Import:** `import { defineScrollRing } from 'motionary/components/widgets'` then `defineScrollRing();`
|
|
9
9
|
- **CDN:** `<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `for`, `engine`, `label`, `back-to-top`, `size`, `thickness`, `horizontal`, `preview`
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
10.2: a scroll-linked scene — children with data-scrub="opacity: 0 -> 1; x: -80 -> 0" are tweened as you scroll, scrubbed directly or smoothed (scrub="120"), with optional pin, markers and stagger. Requires motionary/runtime/scroll — npm i motionary, then use(scroll) before the scene mounts.
|
|
6
6
|
|
|
7
|
-
- **Category:** reveal · **since** 10.2
|
|
7
|
+
- **Category:** reveal · **since** 10.2 · **changed in** 13.1
|
|
8
8
|
- **Import:** `import { defineScrollScene } from 'motionary/components/widgets'` then `defineScrollScene();`
|
|
9
9
|
- **CDN:** `<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `start`, `end`, `scrub`, `pin`, `markers`, `stagger`, `toggle-class`, `preview`
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
6.7: an iOS-style thumb slides under the chosen segment with a spring and stretches while it travels. A real radio group: arrow keys, Home / End. iOS, pill or outline.
|
|
6
6
|
|
|
7
|
-
- **Category:** ui · **since** 6.7
|
|
7
|
+
- **Category:** ui · **since** 6.7 · **changed in** 13.1
|
|
8
8
|
- **Import:** `import { defineSegmented } from 'motionary/components/widgets'` then `defineSegmented();`
|
|
9
9
|
- **CDN:** `<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `variant`, `label`, `value`
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
6.3: a side sheet from the right, left, top or bottom with a blurred backdrop; the bottom sheet can be dragged down to dismiss and springs back otherwise. Native <dialog> underneath.
|
|
6
6
|
|
|
7
|
-
- **Category:** transitions · **since** 6.3 · **changed in** 6.6, 13.0
|
|
7
|
+
- **Category:** transitions · **since** 6.3 · **changed in** 6.6, 13.0, 13.1
|
|
8
8
|
- **Import:** `import { defineSheet } from 'motionary/components/widgets'` then `defineSheet();`
|
|
9
9
|
- **CDN:** `<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `side`, `label`, `persistent`
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
10.8: drag or swipe with real inertia — a throw keeps gliding, then springs to the nearest slide (a quick flick always moves one); rubber-band edges, arrows, dots, ←/→ / Home / End, optional autoplay that pauses on hover, focus and off screen. Slides keep their own width so the next one peeks in. Requires motionary/runtime/drag-snap — npm i motionary, then use(dragSnap) before it mounts. Its own entry point: motionary/components/snap-carousel (not in the widgets / lite bundles).
|
|
6
6
|
|
|
7
|
-
- **Category:** ui · **since** 10.8
|
|
7
|
+
- **Category:** ui · **since** 10.8 · **changed in** 13.2
|
|
8
8
|
- **Import:** `import { defineSnapCarousel } from 'motionary/components/snap-carousel'` then `defineSnapCarousel();`
|
|
9
|
-
- **CDN:** `<script
|
|
9
|
+
- **CDN:** `<script type="module">import { defineSnapCarousel } from 'https://unpkg.com/motionary@13/dist/components/snap-carousel.js'; defineSnapCarousel();</script>` (own entry, not in the no-build bundles)
|
|
10
10
|
- **Attributes:** `align`, `gap`, `autoplay`, `no-controls`, `no-dots`, `label`, `index`
|
|
11
11
|
- **Events:** `usa:change`, `usa:runtime-missing`
|
|
12
12
|
- **Slots:** —
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
6.7: the rail fills toward the current step, finished steps pop a drawn check mark and the current step pulses. Horizontal or vertical; next() / prev() / value.
|
|
6
6
|
|
|
7
|
-
- **Category:** ui · **since** 6.7
|
|
7
|
+
- **Category:** ui · **since** 6.7 · **changed in** 13.1
|
|
8
8
|
- **Import:** `import { defineStepper } from 'motionary/components/widgets'` then `defineStepper();`
|
|
9
9
|
- **CDN:** `<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `orientation`, `label`, `clickable`
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
6.7: four switches — iOS (the thumb stretches while pressed), day / night (sun becomes moon, stars appear), bounce (squash at the end) and liquid (a gooey fill pours in). role="switch", forms, keyboard.
|
|
6
6
|
|
|
7
|
-
- **Category:** click · **since** 6.7 · **changed in** 6.9, 7.0
|
|
7
|
+
- **Category:** click · **since** 6.7 · **changed in** 6.9, 7.0, 13.1
|
|
8
8
|
- **Import:** `import { defineSwitch } from 'motionary/components/widgets'` then `defineSwitch();`
|
|
9
9
|
- **CDN:** `<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `variant`, `label`, `name`, `value`, `disabled`
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
8.6: a segmented switcher for the 8.6 theme system — light, dark, neon, glass and soft (neumorphism); a pill slides under the active option and the page change is revealed with a circular wipe from the click point.
|
|
6
6
|
|
|
7
|
-
- **Category:** ui · **since** 8.6
|
|
7
|
+
- **Category:** ui · **since** 8.6 · **changed in** 13.1
|
|
8
8
|
- **Import:** `import { defineThemeSwitcher } from 'motionary/components/widgets'` then `defineThemeSwitcher();`
|
|
9
9
|
- **CDN:** `<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `themes`, `target`, `label`, `persist`, `value`
|
package/docs/components.md
CHANGED
|
@@ -1,12 +1,28 @@
|
|
|
1
1
|
# Animated components (`motionary/components`)
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
The package ships **<!--fact:public-->209<!--/fact--> animated Web Components** (`<usa-*>` custom elements): <!--fact:core-->91<!--/fact--> core components in `motionary/components` and <!--fact:widgets-->118<!--/fact--> widgets with their own entry points (see [How components are counted](#how-components-are-counted)). They are built only on Custom Elements, CSS and the Web Animations API, so the same code runs:
|
|
4
4
|
|
|
5
5
|
- in any modern browser (Chrome, Edge, Firefox, Safari), and with React, Vue, Svelte, Solid, Angular or no framework;
|
|
6
6
|
- in **Windows desktop software** that renders its UI with a web view — Electron, Tauri (WebView2), WinUI 3 / WPF / WinForms with WebView2, and installed PWAs. See **[Windows apps guide](./windows-apps.md)**.
|
|
7
7
|
|
|
8
8
|
Live gallery: <https://harrisoncn.github.io/Motionary/showcase/components.html>
|
|
9
9
|
|
|
10
|
+
<!-- counting:start -->
|
|
11
|
+
## How components are counted
|
|
12
|
+
|
|
13
|
+
> Generated from the AI manifest by `scripts/facts.mjs` — README, docs and package metadata use these numbers and nothing else.
|
|
14
|
+
|
|
15
|
+
| Count | Value | What it counts |
|
|
16
|
+
|---|---|---|
|
|
17
|
+
| **All public components** | **209** | Every `<usa-*>` element in the manifest (`motionary/tooling/manifest.json`, `/components.json`). Each has a contract (`npm run check:contract`), a docs page and a gzip budget. |
|
|
18
|
+
| **Core components** | **91** | Elements registered by `motionary/components` (`defineComponents()`, CDN `components.umd.js`), imported by category (`motionary/components/<category>`). |
|
|
19
|
+
| Widgets | 118 | Elements with their own entry point `motionary/widgets/<name>`. 115 of them are also in the no-build `widgets.umd.js`; 3 (`<usa-dotlottie>`, `<usa-gl-model>`, `<usa-snap-carousel>`) load only from their own ES module entry. |
|
|
20
|
+
| Effects | 141 | Effects with their own entry point `motionary/effects/<name>` (not elements, not in the counts above). |
|
|
21
|
+
| Runtime modules | 20 + core | `motionary/runtime/<module>`; plus 3 official runtimes as optional peer dependencies. |
|
|
22
|
+
|
|
23
|
+
Core + widgets = all public components (91 + 118 = 209). "Core" is about how an element is registered, not about its quality or stability: every public component is held to the same contract.
|
|
24
|
+
<!-- counting:end -->
|
|
25
|
+
|
|
10
26
|
## Principles
|
|
11
27
|
|
|
12
28
|
- **Zero dependencies, tree-shakable.** Import one category (`motionary/components/text`) or one component (`import { defineTypewriter } …`) and only that ships.
|
|
@@ -40,7 +56,7 @@ defineTypewriter();
|
|
|
40
56
|
No build step (registers every `<usa-*>` and exposes the API as `window.UsaComponents`):
|
|
41
57
|
|
|
42
58
|
```html
|
|
43
|
-
<script src="https://unpkg.com/motionary@
|
|
59
|
+
<script src="https://unpkg.com/motionary@13/dist/components.umd.js"></script>
|
|
44
60
|
<usa-typewriter words="Hello, Windows.|Hello, web."></usa-typewriter>
|
|
45
61
|
<script>UsaComponents.toast('Ready', { type: 'success' });</script>
|
|
46
62
|
```
|
|
@@ -1759,7 +1759,7 @@
|
|
|
1759
1759
|
"{manager, text}"
|
|
1760
1760
|
]
|
|
1761
1761
|
},
|
|
1762
|
-
"keyboard":
|
|
1762
|
+
"keyboard": true,
|
|
1763
1763
|
"lifecycle": true,
|
|
1764
1764
|
"reducedMotion": true,
|
|
1765
1765
|
"exempt": [],
|
|
@@ -2521,7 +2521,7 @@
|
|
|
2521
2521
|
"(none)"
|
|
2522
2522
|
]
|
|
2523
2523
|
},
|
|
2524
|
-
"keyboard":
|
|
2524
|
+
"keyboard": true,
|
|
2525
2525
|
"lifecycle": true,
|
|
2526
2526
|
"reducedMotion": true,
|
|
2527
2527
|
"exempt": [],
|
|
@@ -4139,7 +4139,7 @@
|
|
|
4139
4139
|
"{value}"
|
|
4140
4140
|
]
|
|
4141
4141
|
},
|
|
4142
|
-
"keyboard":
|
|
4142
|
+
"keyboard": true,
|
|
4143
4143
|
"lifecycle": true,
|
|
4144
4144
|
"reducedMotion": true,
|
|
4145
4145
|
"exempt": [
|
package/docs/performance.md
CHANGED
|
@@ -23,4 +23,4 @@ Same API as `motionary/components`, but the light-DOM CSS is **not** inlined: th
|
|
|
23
23
|
| `motionary/components` (everything, CSS inlined) | ≈ 79 KB |
|
|
24
24
|
| `motionary/components/lite` (everything, CSS on demand) | **≈ 62 KB** (budget 70 KB, checked in CI) |
|
|
25
25
|
|
|
26
|
-
Serve the CSS from somewhere else with `onDemandStyles('https://cdn.example/motionary@
|
|
26
|
+
Serve the CSS from somewhere else with `onDemandStyles('https://cdn.example/motionary@13/dist/')`, or preload with `loadCategoryStyles('cards', base)`.
|
package/docs/presets.md
CHANGED
|
@@ -11,8 +11,8 @@ ScrollAnimate.observe('.card', { animation: 'bounce-in-up', duration: 900 });
|
|
|
11
11
|
|
|
12
12
|
```html
|
|
13
13
|
<!-- No build: the UMD core, then the extended set (registers itself) -->
|
|
14
|
-
<script src="https://unpkg.com/motionary@
|
|
15
|
-
<script src="https://unpkg.com/motionary@
|
|
14
|
+
<script src="https://unpkg.com/motionary@13/dist/index.umd.js"></script>
|
|
15
|
+
<script src="https://unpkg.com/motionary@13/dist/presets-extended.umd.js"></script>
|
|
16
16
|
<div data-sa data-sa-animation="clip-diamond">…</div>
|
|
17
17
|
<script>ScrollAnimate.default.init();</script>
|
|
18
18
|
```
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# Release gate (13.2)
|
|
2
|
+
|
|
3
|
+
A Motionary release reaches npm only from a pull request whose **head commit passed every required CI check**. The checks
|
|
4
|
+
already exist; this page is about making sure nothing on the way to `npm publish` can skip them.
|
|
5
|
+
|
|
6
|
+
## What is checked
|
|
7
|
+
|
|
8
|
+
The required checks are listed in [`.github/required-checks.json`](../.github/required-checks.json). A unit test keeps that
|
|
9
|
+
list equal to the jobs in [`.github/workflows/ci.yml`](../.github/workflows/ci.yml), so a new CI job cannot be left out.
|
|
10
|
+
|
|
11
|
+
| Required check | What it runs |
|
|
12
|
+
|---|---|
|
|
13
|
+
| `Node 20` | typecheck, unit tests, build, exports, tree-shaking, runtime tiers, component contract (`check:contract`), prerequisite docs, docs and contract consistency (`check:docs`) |
|
|
14
|
+
| `Node 22` | the same, plus package lint, `npm pack` contents, package size (`check:pack`), bundle size budgets (`size:check`), the component playground in headless Chrome (`check:playground`) and the performance budgets (`perf`) |
|
|
15
|
+
| `Node 24` | the same as Node 20 |
|
|
16
|
+
| `Browser (chromium)` | the real-browser suite (`test/browser`): lifecycle, keyboard / ARIA, motion sensitivity, resource release, complex-page performance — [browser-matrix.md](./browser-matrix.md) |
|
|
17
|
+
| `Browser (firefox)` | the same in Firefox |
|
|
18
|
+
| `Browser (webkit)` | the same in WebKit |
|
|
19
|
+
|
|
20
|
+
Every step runs in `bash` with `-eo pipefail` (`defaults.run.shell: bash` in the workflows): a check piped into
|
|
21
|
+
`tee -a "$GITHUB_STEP_SUMMARY"` fails its job when the check fails. No step uses `continue-on-error`.
|
|
22
|
+
|
|
23
|
+
## The gate in the release flow
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
node scripts/release-gate.mjs --pr 136 # npm run release:gate -- --pr 136
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
It reads the pull request and the check runs of its head commit from the GitHub API and refuses (exit code 1) when:
|
|
30
|
+
|
|
31
|
+
- the PR is closed, merged or a draft;
|
|
32
|
+
- a required check is missing on the head commit, still queued or running, or concluded anything but `success`
|
|
33
|
+
(the newest run of a check counts, so a failed re-run closes the gate again);
|
|
34
|
+
- any other check on the head commit failed, was cancelled or timed out.
|
|
35
|
+
|
|
36
|
+
When the gate is open it prints `head=<sha>`. The release script then merges with that exact sha (the merge API's `sha`
|
|
37
|
+
parameter refuses the merge if someone pushed after the checks ran), creates the GitHub release from the merge commit, and
|
|
38
|
+
publishes from a checkout of that merge commit only after checking that its `package.json` version is the one being
|
|
39
|
+
released. `motionary` and `use-scroll-animate` are published from the same checkout. The npm dist-tag follows
|
|
40
|
+
[versions.md](./versions.md): `latest` for a major and its patches, `v<major>-<minor>` for a minor.
|
|
41
|
+
|
|
42
|
+
## Required checks in the branch settings
|
|
43
|
+
|
|
44
|
+
The gate in the script protects the release flow; branch protection protects `main` itself. Set it once per repository:
|
|
45
|
+
|
|
46
|
+
1. **Settings → Branches → Add branch protection rule** (or **Settings → Rules → Rulesets → New branch ruleset**, target
|
|
47
|
+
`main`).
|
|
48
|
+
2. Enable **Require a pull request before merging**.
|
|
49
|
+
3. Enable **Require status checks to pass before merging** and **Require branches to be up to date before merging**.
|
|
50
|
+
4. Add the six checks by name — they appear in the search box after one CI run:
|
|
51
|
+
`Node 20`, `Node 22`, `Node 24`, `Browser (chromium)`, `Browser (firefox)`, `Browser (webkit)`.
|
|
52
|
+
Matrix jobs report one check per entry, so add each name; the workflow name (`CI`) is not part of it.
|
|
53
|
+
5. Enable **Do not allow bypassing the above settings** (rulesets: leave the bypass list empty), so administrators go
|
|
54
|
+
through the same checks.
|
|
55
|
+
6. Optional: **Require linear history** (releases are squash-merged).
|
|
56
|
+
|
|
57
|
+
When a CI job is renamed or added, update `.github/required-checks.json` (the unit test fails until you do) and the
|
|
58
|
+
required checks in the branch settings in the same pull request.
|
package/docs/versions.md
CHANGED
|
@@ -18,6 +18,12 @@ URLs. Nothing else changes: the `<usa-*>` tags, the `usa-` classes, the globals
|
|
|
18
18
|
`npm i motionary` does not move you to a minor without you asking for it. Exact versions always work. Both package names
|
|
19
19
|
use the same tags. To see the current tags, run `npm view motionary dist-tags`.
|
|
20
20
|
|
|
21
|
+
## How a release is gated
|
|
22
|
+
|
|
23
|
+
Every release (major, minor or patch) is published from a pull request whose head commit passed all required CI checks —
|
|
24
|
+
contract, size, tree-shaking, playground, the Node matrix and the Chromium / Firefox / WebKit browser jobs. See
|
|
25
|
+
[release-gate.md](./release-gate.md) for the gate script and the branch settings.
|
|
26
|
+
|
|
21
27
|
## CDN majors
|
|
22
28
|
|
|
23
29
|
CDN URLs pin a major: `https://unpkg.com/motionary@13/dist/…` or `https://cdn.jsdelivr.net/npm/motionary@13/dist/…`. A new
|