motionary 13.1.0 → 13.3.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 +84 -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-BZChGN-Q.cjs → anim-image-B68xnlYD.cjs} +2 -2
- package/dist/chunks/{anim-image-XoPuTpOe.js → anim-image-teDgsATS.js} +2 -2
- package/dist/chunks/audio-5FOqrAxu.js +1 -1
- package/dist/chunks/audio-DhgfWYZ_.cjs +1 -1
- package/dist/chunks/badge-wall-Bd2dP3J7.js +1 -1
- package/dist/chunks/badge-wall-Q7x5HSe_.cjs +1 -1
- package/dist/chunks/base-nzeN_ux7.js +1 -1
- package/dist/chunks/base-vu_KhBiv.cjs +1 -1
- package/dist/chunks/bg-generator-Dncd000D.cjs +1 -1
- package/dist/chunks/bg-generator-Dxx3s2zQ.js +1 -1
- package/dist/chunks/bind-B_CTL6Qn.js +1 -1
- package/dist/chunks/bind-Ui43-n2d.cjs +1 -1
- package/dist/chunks/builtins-A9ihuDwy.cjs +1 -1
- package/dist/chunks/builtins-hBOeCPXL.js +1 -1
- package/dist/chunks/carousel-Blko8aKV.cjs +1 -1
- package/dist/chunks/carousel-DkQKWBK3.js +1 -1
- package/dist/chunks/cart-drawer-CtX6EQRa.js +1 -1
- package/dist/chunks/cart-drawer-kyj9TlQC.cjs +1 -1
- package/dist/chunks/code-export-B6b27ZiI.js +1 -1
- package/dist/chunks/code-export-DOioRmM9.cjs +1 -1
- package/dist/chunks/color-picker-B6YXJdur.cjs +1 -1
- package/dist/chunks/color-picker-DNTzNylo.js +1 -1
- package/dist/chunks/command-palette-C6XV1glX.js +1 -1
- package/dist/chunks/command-palette-DAQQ_bkg.cjs +1 -1
- package/dist/chunks/core-Bar7NFx7.js +1 -1
- package/dist/chunks/core-BjcOCpJt.cjs +1 -1
- package/dist/chunks/core-DVGtPabi.js +1 -1
- package/dist/chunks/core-DfkeC4s-.cjs +1 -1
- package/dist/chunks/core-Dj6iomdc.js +1 -1
- package/dist/chunks/core-E18xla6s.cjs +1 -1
- package/dist/chunks/countdown-Cvef0Kb1.cjs +1 -1
- package/dist/chunks/countdown-Dhp9G96N.js +1 -1
- package/dist/chunks/date-picker-C9iVZUP3.cjs +1 -1
- package/dist/chunks/date-picker-M7n1jZw9.js +1 -1
- package/dist/chunks/ease-HwYZnZat.cjs +1 -1
- package/dist/chunks/ease-XN8_0sXu.js +1 -1
- package/dist/chunks/equalizer-6uhO-yfZ.cjs +1 -1
- package/dist/chunks/equalizer-CN6AkBtT.js +1 -1
- package/dist/chunks/festival-banner-ByYX1Oy6.cjs +1 -1
- package/dist/chunks/festival-banner-Dsu53in5.js +1 -1
- package/dist/chunks/field-DcC_zJBH.cjs +1 -1
- package/dist/chunks/field-DeTgNf7K.js +1 -1
- package/dist/chunks/fx-lszndeFU.cjs +1 -1
- package/dist/chunks/fx-qAVpKs8e.js +1 -1
- package/dist/chunks/generative-2LhxG5BJ.js +1 -1
- package/dist/chunks/generative-BHIj-NU0.cjs +1 -1
- package/dist/chunks/{gl-scene-_Ure0n-p.js → gl-scene-CUTsZPTZ.js} +3 -3
- package/dist/chunks/{gl-scene-DqD4O5Se.cjs → gl-scene-DwcPxX2X.cjs} +3 -3
- package/dist/chunks/globe-CzQ6nQ-o.js +1 -1
- package/dist/chunks/globe-Dms25CB5.cjs +1 -1
- package/dist/chunks/gpu-BREsvJpT.cjs +1 -1
- package/dist/chunks/gpu-DdiOOXTP.js +1 -1
- package/dist/chunks/gpu-particles-CbBJ_tIZ.js +1 -1
- package/dist/chunks/gpu-particles-DrjYuSVR.cjs +1 -1
- 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-CKk8j3zA.js → keyframes-BBke3wIL.js} +2 -2
- package/dist/chunks/{keyframes-CmruOcyD.cjs → keyframes-dsAcxcJv.cjs} +2 -2
- package/dist/chunks/leaderboard-D2Xb0lqP.js +1 -1
- package/dist/chunks/leaderboard-wF-UnLbY.cjs +1 -1
- package/dist/chunks/location-card-BJsN6s34.cjs +1 -1
- package/dist/chunks/location-card-GrQnXfwp.js +1 -1
- package/dist/chunks/lottie-icon-D3fdgfNU.js +1 -1
- package/dist/chunks/lottie-icon-DMkTeHCL.cjs +1 -1
- package/dist/chunks/{lottie-player-B5O7Q-pI.js → lottie-player-CkdMUN-D.js} +2 -2
- package/dist/chunks/{lottie-player-hYzOu799.cjs → lottie-player-hYycf5lY.cjs} +2 -2
- package/dist/chunks/lyrics-CBRdLBDw.cjs +1 -1
- package/dist/chunks/lyrics-jTQwzX9m.js +1 -1
- package/dist/chunks/manifest-Rxf1Mumb.cjs +1 -1
- package/dist/chunks/manifest-pVzW6oyg.js +1 -1
- package/dist/chunks/menu-Bc2M8HMJ.cjs +1 -1
- package/dist/chunks/menu-Ydg47TQx.js +1 -1
- package/dist/chunks/menu-toggle-B1YBlbdJ.cjs +1 -1
- package/dist/chunks/menu-toggle-C-_dv_TN.js +1 -1
- package/dist/chunks/nav-morph-DA-Q4xec.js +1 -1
- package/dist/chunks/nav-morph-kKmG_ocG.cjs +1 -1
- package/dist/chunks/otp-CVUw78Mr.js +1 -1
- package/dist/chunks/otp-Cxz5uFb_.cjs +1 -1
- package/dist/chunks/{pagination-CFAzm6M7.js → pagination-0fuULrSB.js} +4 -1
- package/dist/chunks/{pagination-6RdXWwsW.cjs → pagination-DbqyUpxV.cjs} +4 -1
- package/dist/chunks/{physics-playground-BlCJK3AZ.cjs → physics-playground-5lihsTyh.cjs} +2 -2
- package/dist/chunks/{physics-playground-GegzqXvt.js → physics-playground-_5_slxtj.js} +2 -2
- package/dist/chunks/player-DIwSjUFR.cjs +1 -1
- package/dist/chunks/player-DqUZJ0d_.js +1 -1
- package/dist/chunks/presence-CRfWmNWz.cjs +1 -1
- package/dist/chunks/presence-DfTxVIEf.js +1 -1
- package/dist/chunks/presets-BYBVJVeP.js +1 -1
- package/dist/chunks/presets-CUHys3sK.cjs +1 -1
- package/dist/chunks/prize-wheel-MOZOrI-p.cjs +1 -1
- package/dist/chunks/prize-wheel-tgpOsdDA.js +1 -1
- package/dist/chunks/product-gallery-BcGA35Ie.js +1 -1
- package/dist/chunks/product-gallery-Bi6I6x1o.cjs +1 -1
- package/dist/chunks/progress-ring-6kTzB49S.js +1 -1
- package/dist/chunks/progress-ring-BO9a3Q24.cjs +1 -1
- package/dist/chunks/prop-panel-DGm8VM4Z.js +1 -1
- package/dist/chunks/prop-panel-_kA6mvB9.cjs +1 -1
- package/dist/chunks/radar-DT93Se3Y.cjs +1 -1
- package/dist/chunks/radar-sKiciNsS.js +1 -1
- package/dist/chunks/reactions-B4xogsDd.js +1 -1
- package/dist/chunks/reactions-BASnlqck.cjs +1 -1
- package/dist/chunks/{registry-CeBi49cV.cjs → registry-BfiEkviv.cjs} +2 -2
- package/dist/chunks/{registry-DG7d_uS7.js → registry-C8rYCsXx.js} +2 -2
- package/dist/chunks/registry-EziiQiWO.cjs +1 -1
- package/dist/chunks/registry-PxXkPc1Q.js +1 -1
- package/dist/chunks/retro-button-BxCv-ybi.js +1 -1
- package/dist/chunks/retro-button-DfuSdfWj.cjs +1 -1
- package/dist/chunks/rive-BHdln8XJ.js +1 -1
- package/dist/chunks/rive-cR-Q9Quh.cjs +1 -1
- package/dist/chunks/{runtime-link-BqIicT9E.js → runtime-link-CeVpMlOJ.js} +2 -2
- package/dist/chunks/{runtime-link-BmkNOjwB.cjs → runtime-link-MABGYSmW.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-DLfQdq1I.js → scroll-scene-Bn2EQiJd.js} +3 -3
- package/dist/chunks/{scroll-scene-DBAckZVP.cjs → scroll-scene-CmbLFA1m.cjs} +3 -3
- package/dist/chunks/segmented-CbZtwChW.cjs +1 -1
- package/dist/chunks/segmented-DHBqMcAF.js +1 -1
- package/dist/chunks/shader-backdrop-DT1h5Zoc.cjs +1 -1
- package/dist/chunks/shader-backdrop-rrssjdMI.js +1 -1
- 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-NsPexafP.cjs → sheet-7UwF69TQ.cjs} +9 -2
- package/dist/chunks/{sheet-YRq-IOIr.js → sheet-C63sKkKn.js} +9 -2
- package/dist/chunks/sign-DvZ1jHxE.js +1 -1
- package/dist/chunks/sign-RAkQIWrM.cjs +1 -1
- package/dist/chunks/skeleton-reveal-DfH6IiUG.cjs +1 -1
- package/dist/chunks/skeleton-reveal-yj2lioib.js +1 -1
- package/dist/chunks/sparkline-CCV_wZ9j.cjs +1 -1
- package/dist/chunks/sparkline-kl8sJ7cP.js +1 -1
- package/dist/chunks/spring-BX7EJst7.js +1 -1
- package/dist/chunks/spring-Q3Y-pHuP.cjs +1 -1
- package/dist/chunks/stagger-B9sKPwQB.js +1 -1
- package/dist/chunks/stagger-DFKwqOQG.cjs +1 -1
- package/dist/chunks/suggestion-chips-D9i2FGGX.cjs +1 -1
- package/dist/chunks/suggestion-chips-fmrwI2Da.js +1 -1
- package/dist/chunks/switch-Db4uTUcj.cjs +1 -1
- package/dist/chunks/switch-DnwGGeZj.js +1 -1
- package/dist/chunks/tab-bar-CSx4fTC9.js +1 -1
- package/dist/chunks/tab-bar-DqzNvlDc.cjs +1 -1
- package/dist/chunks/{ticker-DIuv8agN.js → ticker-DaMSl3Kd.js} +2 -2
- package/dist/chunks/{ticker-D9DzTlll.cjs → ticker-j_dmsse0.cjs} +2 -2
- package/dist/chunks/tip-C8T1SdOJ.js +1 -1
- package/dist/chunks/tip-CIh4O-DZ.cjs +1 -1
- package/dist/chunks/{toast-stack-BIdkYWob.js → toast-stack-COXQ3IOx.js} +5 -3
- package/dist/chunks/{toast-stack-Cs42sjr6.cjs → toast-stack-kHQdNZDv.cjs} +5 -3
- package/dist/chunks/{tween-DbF_MjRO.js → tween-BqIL1A7u.js} +2 -2
- package/dist/chunks/{tween-CDewrfuy.cjs → tween-DQzuHdMx.cjs} +2 -2
- package/dist/chunks/upload-progress-BhyFjwb6.cjs +1 -1
- package/dist/chunks/upload-progress-CXfoNUhm.js +1 -1
- package/dist/chunks/variants-DY08myqK.js +1 -1
- package/dist/chunks/variants-Dk-FItCT.cjs +1 -1
- package/dist/chunks/viewport-BAXHhZLV.js +61 -0
- package/dist/chunks/viewport-EFYGqMNa.cjs +65 -0
- package/dist/chunks/voice-button-DdKxtavP.js +1 -1
- package/dist/chunks/voice-button-DudPeVqK.cjs +1 -1
- package/dist/chunks/weather-card-DfXFesfY.cjs +1 -1
- package/dist/chunks/weather-card-Ecgk-JQd.js +1 -1
- package/dist/chunks/worker-canvas-BIuesniy.js +1 -1
- package/dist/chunks/worker-canvas-CEbqBgK5.cjs +1 -1
- package/dist/chunks/xp-bar-BC8UnCHG.cjs +1 -1
- package/dist/chunks/xp-bar-Cx-dMEMT.js +1 -1
- package/dist/components/a11y.cjs +1 -1
- package/dist/components/a11y.js +1 -1
- package/dist/components/ai.cjs +1 -1
- package/dist/components/ai.js +1 -1
- package/dist/components/angular.cjs +2 -1
- package/dist/components/angular.js +2 -1
- package/dist/components/background.cjs +1 -1
- package/dist/components/background.js +1 -1
- package/dist/components/bridge.cjs +23 -4
- package/dist/components/bridge.d.cts +19 -1
- package/dist/components/bridge.d.ts +19 -1
- package/dist/components/bridge.js +23 -5
- package/dist/components/cards.cjs +1 -1
- package/dist/components/cards.js +1 -1
- package/dist/components/click.cjs +1 -1
- package/dist/components/click.js +1 -1
- package/dist/components/core.cjs +1 -1
- package/dist/components/core.js +1 -1
- package/dist/components/depth.cjs +1 -1
- package/dist/components/depth.js +1 -1
- package/dist/components/design.cjs +1 -1
- package/dist/components/design.js +1 -1
- package/dist/components/dotlottie.cjs +4 -4
- package/dist/components/dotlottie.js +4 -4
- package/dist/components/dsl.cjs +1 -1
- package/dist/components/dsl.js +1 -1
- package/dist/components/effects.cjs +1 -1
- package/dist/components/effects.js +1 -1
- package/dist/components/engine.cjs +1 -1
- package/dist/components/engine.js +1 -1
- package/dist/components/feedback.cjs +1 -1
- package/dist/components/feedback.js +1 -1
- package/dist/components/fx-3d.cjs +1 -1
- package/dist/components/fx-3d.js +1 -1
- package/dist/components/fx-ai.cjs +1 -1
- package/dist/components/fx-ai.js +1 -1
- package/dist/components/fx-chart.cjs +1 -1
- package/dist/components/fx-chart.js +1 -1
- package/dist/components/fx-cinema.cjs +1 -1
- package/dist/components/fx-cinema.js +1 -1
- package/dist/components/fx-cyber.cjs +1 -1
- package/dist/components/fx-cyber.js +1 -1
- package/dist/components/fx-festival.cjs +1 -1
- package/dist/components/fx-festival.js +1 -1
- package/dist/components/fx-focus.cjs +1 -1
- package/dist/components/fx-focus.js +1 -1
- package/dist/components/fx-form.cjs +1 -1
- package/dist/components/fx-form.js +1 -1
- package/dist/components/fx-game.cjs +1 -1
- package/dist/components/fx-game.js +1 -1
- package/dist/components/fx-genart.cjs +1 -1
- package/dist/components/fx-genart.js +1 -1
- package/dist/components/fx-geo.cjs +1 -1
- package/dist/components/fx-geo.js +1 -1
- package/dist/components/fx-gesture.cjs +1 -1
- package/dist/components/fx-gesture.js +1 -1
- package/dist/components/fx-gpu.cjs +1 -1
- package/dist/components/fx-gpu.js +1 -1
- package/dist/components/fx-light.cjs +1 -1
- package/dist/components/fx-light.js +1 -1
- package/dist/components/fx-lottie.cjs +1 -1
- package/dist/components/fx-lottie.js +1 -1
- package/dist/components/fx-morph.cjs +1 -1
- package/dist/components/fx-morph.js +1 -1
- package/dist/components/fx-music.cjs +1 -1
- package/dist/components/fx-music.js +1 -1
- package/dist/components/fx-organic.cjs +1 -1
- package/dist/components/fx-organic.js +1 -1
- package/dist/components/fx-paper.cjs +1 -1
- package/dist/components/fx-paper.js +1 -1
- package/dist/components/fx-perf.cjs +1 -1
- package/dist/components/fx-perf.js +1 -1
- package/dist/components/fx-physics.cjs +1 -1
- package/dist/components/fx-physics.js +1 -1
- package/dist/components/fx-retro.cjs +1 -1
- package/dist/components/fx-retro.js +1 -1
- package/dist/components/fx-safe.cjs +1 -1
- package/dist/components/fx-safe.js +1 -1
- package/dist/components/fx-shop.cjs +1 -1
- package/dist/components/fx-shop.js +1 -1
- package/dist/components/fx-social.cjs +1 -1
- package/dist/components/fx-social.js +1 -1
- package/dist/components/fx-spatial.cjs +1 -1
- package/dist/components/fx-spatial.js +1 -1
- package/dist/components/fx-surface.cjs +1 -1
- package/dist/components/fx-surface.js +1 -1
- package/dist/components/fx-text.cjs +1 -1
- package/dist/components/fx-text.js +1 -1
- package/dist/components/fx-transitions.cjs +1 -1
- package/dist/components/fx-transitions.js +1 -1
- package/dist/components/fx-video.cjs +1 -1
- package/dist/components/fx-video.js +1 -1
- package/dist/components/fx-weather.cjs +1 -1
- package/dist/components/fx-weather.js +1 -1
- package/dist/components/fx.cjs +1 -1
- package/dist/components/fx.js +1 -1
- package/dist/components/fx2.cjs +1 -1
- package/dist/components/fx2.js +1 -1
- package/dist/components/gesture.cjs +1 -1
- package/dist/components/gesture.js +1 -1
- package/dist/components/gl-model.cjs +4 -4
- package/dist/components/gl-model.js +4 -4
- package/dist/components/interaction.cjs +1 -1
- package/dist/components/interaction.js +1 -1
- package/dist/components/jsx.cjs +1 -1
- package/dist/components/jsx.js +1 -1
- package/dist/components/layout.cjs +1 -1
- package/dist/components/layout.js +1 -1
- package/dist/components/lazy.cjs +1 -1
- package/dist/components/lazy.js +1 -1
- package/dist/components/lite.cjs +105 -12
- package/dist/components/lite.js +105 -13
- package/dist/components/marketplace.cjs +1 -1
- package/dist/components/marketplace.js +1 -1
- package/dist/components/native.cjs +1 -1
- package/dist/components/native.js +1 -1
- package/dist/components/packs.cjs +1 -1
- package/dist/components/packs.js +1 -1
- package/dist/components/page.cjs +1 -1
- package/dist/components/page.js +1 -1
- package/dist/components/perf.cjs +1 -1
- package/dist/components/perf.js +1 -1
- package/dist/components/physics.cjs +1 -1
- package/dist/components/physics.js +1 -1
- package/dist/components/plugins.cjs +1 -1
- package/dist/components/plugins.js +1 -1
- package/dist/components/react.cjs +1 -1
- package/dist/components/react.js +1 -1
- package/dist/components/reveal.cjs +1 -1
- package/dist/components/reveal.js +1 -1
- package/dist/components/snap-carousel.cjs +3 -3
- package/dist/components/snap-carousel.js +3 -3
- package/dist/components/solid.cjs +2 -1
- package/dist/components/solid.js +2 -1
- package/dist/components/svelte.cjs +2 -1
- package/dist/components/svelte.js +2 -1
- package/dist/components/svg.cjs +1 -1
- package/dist/components/svg.js +1 -1
- package/dist/components/text.cjs +1 -1
- package/dist/components/text.js +1 -1
- package/dist/components/timeline.cjs +1 -1
- package/dist/components/timeline.js +1 -1
- package/dist/components/tokens.cjs +1 -1
- package/dist/components/tokens.js +1 -1
- package/dist/components/transitions.cjs +1 -1
- package/dist/components/transitions.js +1 -1
- package/dist/components/ui.cjs +24 -8
- package/dist/components/ui.css +1 -1
- package/dist/components/ui.js +24 -8
- package/dist/components/vue.cjs +2 -1
- package/dist/components/vue.js +2 -1
- package/dist/components/webgl.cjs +1 -1
- package/dist/components/webgl.js +1 -1
- package/dist/components/widgets.cjs +13 -10
- package/dist/components/widgets.d.cts +18 -1
- package/dist/components/widgets.d.ts +18 -1
- package/dist/components/widgets.js +16 -15
- package/dist/components.cjs +5 -3
- package/dist/components.css +1 -1
- package/dist/components.d.cts +19 -1
- package/dist/components.d.ts +19 -1
- package/dist/components.js +5 -4
- package/dist/components.umd.js +4 -23
- package/dist/effects/achievement-unlock.cjs +1 -1
- package/dist/effects/achievement-unlock.js +1 -1
- package/dist/effects/aurora-veil.cjs +1 -1
- package/dist/effects/aurora-veil.js +1 -1
- package/dist/effects/badge-pop.cjs +1 -1
- package/dist/effects/badge-pop.js +1 -1
- package/dist/effects/bars-grow.cjs +1 -1
- package/dist/effects/bars-grow.js +1 -1
- package/dist/effects/beat-bounce.cjs +1 -1
- package/dist/effects/beat-bounce.js +1 -1
- package/dist/effects/blob-button.cjs +1 -1
- package/dist/effects/blob-button.js +1 -1
- package/dist/effects/bloom.cjs +1 -1
- package/dist/effects/bloom.js +1 -1
- package/dist/effects/breathe.cjs +1 -1
- package/dist/effects/breathe.js +1 -1
- package/dist/effects/brushed-metal.cjs +1 -1
- package/dist/effects/brushed-metal.js +1 -1
- package/dist/effects/camera-dolly.cjs +1 -1
- package/dist/effects/camera-dolly.js +1 -1
- package/dist/effects/card-flip-3d.cjs +1 -1
- package/dist/effects/card-flip-3d.js +1 -1
- package/dist/effects/chest-open.cjs +1 -1
- package/dist/effects/chest-open.js +1 -1
- package/dist/effects/cloth.cjs +1 -1
- package/dist/effects/cloth.js +1 -1
- package/dist/effects/coin-burst.cjs +1 -1
- package/dist/effects/coin-burst.js +1 -1
- package/dist/effects/color-pulse.cjs +1 -1
- package/dist/effects/color-pulse.js +1 -1
- package/dist/effects/crt-power.cjs +1 -1
- package/dist/effects/crt-power.js +1 -1
- package/dist/effects/crumple.cjs +1 -1
- package/dist/effects/crumple.js +1 -1
- package/dist/effects/data-decode.cjs +1 -1
- package/dist/effects/data-decode.js +1 -1
- package/dist/effects/day-cycle.cjs +1 -1
- package/dist/effects/day-cycle.js +1 -1
- package/dist/effects/depth-in.cjs +1 -1
- package/dist/effects/depth-in.js +1 -1
- package/dist/effects/depth-pop.cjs +1 -1
- package/dist/effects/depth-pop.js +1 -1
- package/dist/effects/depth-stack.cjs +1 -1
- package/dist/effects/depth-stack.js +1 -1
- package/dist/effects/dolly-in.cjs +1 -1
- package/dist/effects/dolly-in.js +1 -1
- package/dist/effects/dots-pop.cjs +1 -1
- package/dist/effects/dots-pop.js +1 -1
- package/dist/effects/field-shake.cjs +1 -1
- package/dist/effects/field-shake.js +1 -1
- package/dist/effects/field-success.cjs +1 -1
- package/dist/effects/field-success.js +1 -1
- package/dist/effects/film-burn.cjs +1 -1
- package/dist/effects/film-burn.js +1 -1
- package/dist/effects/fire.cjs +1 -1
- package/dist/effects/fire.js +1 -1
- package/dist/effects/fireflies.cjs +1 -1
- package/dist/effects/fireflies.js +1 -1
- package/dist/effects/firework-burst.cjs +1 -1
- package/dist/effects/firework-burst.js +1 -1
- package/dist/effects/flip-chars.cjs +1 -1
- package/dist/effects/flip-chars.js +1 -1
- package/dist/effects/fluid.cjs +1 -1
- package/dist/effects/fluid.js +1 -1
- package/dist/effects/fly-to-cart.cjs +1 -1
- package/dist/effects/fly-to-cart.js +1 -1
- package/dist/effects/focus-draw.cjs +1 -1
- package/dist/effects/focus-draw.js +1 -1
- package/dist/effects/focus-glow.cjs +1 -1
- package/dist/effects/focus-glow.js +1 -1
- package/dist/effects/fog.cjs +1 -1
- package/dist/effects/fog.js +1 -1
- package/dist/effects/font-breathe.cjs +1 -1
- package/dist/effects/font-breathe.js +1 -1
- package/dist/effects/form-cascade.cjs +1 -1
- package/dist/effects/form-cascade.js +1 -1
- package/dist/effects/gen-skeleton.cjs +1 -1
- package/dist/effects/gen-skeleton.js +1 -1
- package/dist/effects/glass-frost.cjs +1 -1
- package/dist/effects/glass-frost.js +1 -1
- package/dist/effects/glitch-text.cjs +1 -1
- package/dist/effects/glitch-text.js +1 -1
- package/dist/effects/globe-spin.cjs +1 -1
- package/dist/effects/globe-spin.js +1 -1
- package/dist/effects/god-rays.cjs +1 -1
- package/dist/effects/god-rays.js +1 -1
- package/dist/effects/gpu-lift.cjs +1 -1
- package/dist/effects/gpu-lift.js +1 -1
- package/dist/effects/grain-flicker.cjs +1 -1
- package/dist/effects/grain-flicker.js +1 -1
- package/dist/effects/halftone-in.cjs +1 -1
- package/dist/effects/halftone-in.js +1 -1
- package/dist/effects/highlight-sweep.cjs +1 -1
- package/dist/effects/highlight-sweep.js +1 -1
- package/dist/effects/hologram.cjs +1 -1
- package/dist/effects/hologram.js +1 -1
- package/dist/effects/hud-frame.cjs +1 -1
- package/dist/effects/hud-frame.js +1 -1
- package/dist/effects/icon-pop.cjs +1 -1
- package/dist/effects/icon-pop.js +1 -1
- package/dist/effects/icon-swap.cjs +1 -1
- package/dist/effects/icon-swap.js +1 -1
- package/dist/effects/idle-reveal.cjs +1 -1
- package/dist/effects/idle-reveal.js +1 -1
- package/dist/effects/ink.cjs +1 -1
- package/dist/effects/ink.js +1 -1
- package/dist/effects/jump-cut.cjs +1 -1
- package/dist/effects/jump-cut.js +1 -1
- package/dist/effects/kaleido.cjs +1 -1
- package/dist/effects/kaleido.js +1 -1
- package/dist/effects/label-float.cjs +1 -1
- package/dist/effects/label-float.js +1 -1
- package/dist/effects/lantern-rise.cjs +1 -1
- package/dist/effects/lantern-rise.js +1 -1
- package/dist/effects/leaves.cjs +1 -1
- package/dist/effects/leaves.js +1 -1
- package/dist/effects/letterbox.cjs +1 -1
- package/dist/effects/letterbox.js +1 -1
- package/dist/effects/level-up.cjs +1 -1
- package/dist/effects/level-up.js +1 -1
- package/dist/effects/light-follow.cjs +1 -1
- package/dist/effects/light-follow.js +1 -1
- package/dist/effects/lightning.cjs +1 -1
- package/dist/effects/lightning.js +1 -1
- package/dist/effects/line-draw.cjs +1 -1
- package/dist/effects/line-draw.js +1 -1
- package/dist/effects/liquid-text.cjs +1 -1
- package/dist/effects/liquid-text.js +1 -1
- package/dist/effects/liquid-wipe.cjs +1 -1
- package/dist/effects/liquid-wipe.js +1 -1
- package/dist/effects/lottie-play.cjs +1 -1
- package/dist/effects/lottie-play.js +1 -1
- package/dist/effects/magnet.cjs +1 -1
- package/dist/effects/magnet.js +1 -1
- package/dist/effects/marching-ants.cjs +1 -1
- package/dist/effects/marching-ants.js +1 -1
- package/dist/effects/marker-pulse.cjs +1 -1
- package/dist/effects/marker-pulse.js +1 -1
- package/dist/effects/mention-glow.cjs +1 -1
- package/dist/effects/mention-glow.js +1 -1
- package/dist/effects/mesh-drift.cjs +1 -1
- package/dist/effects/mesh-drift.js +1 -1
- package/dist/effects/message-in.cjs +1 -1
- package/dist/effects/message-in.js +1 -1
- package/dist/effects/mosaic-flip.cjs +1 -1
- package/dist/effects/mosaic-flip.js +1 -1
- package/dist/effects/neon-ignite.cjs +1 -1
- package/dist/effects/neon-ignite.js +1 -1
- package/dist/effects/neon-pulse.cjs +1 -1
- package/dist/effects/neon-pulse.js +1 -1
- package/dist/effects/neon-write.cjs +1 -1
- package/dist/effects/neon-write.js +1 -1
- package/dist/effects/neu-press.cjs +1 -1
- package/dist/effects/neu-press.js +1 -1
- package/dist/effects/noise-reveal.cjs +1 -1
- package/dist/effects/noise-reveal.js +1 -1
- package/dist/effects/number-roll.cjs +1 -1
- package/dist/effects/number-roll.js +1 -1
- package/dist/effects/orbit-camera.cjs +1 -1
- package/dist/effects/orbit-camera.js +1 -1
- package/dist/effects/orbit-in.cjs +1 -1
- package/dist/effects/orbit-in.js +1 -1
- package/dist/effects/origami.cjs +1 -1
- package/dist/effects/origami.js +1 -1
- package/dist/effects/page-curl.cjs +1 -1
- package/dist/effects/page-curl.js +1 -1
- package/dist/effects/pan-reveal.cjs +1 -1
- package/dist/effects/pan-reveal.js +1 -1
- package/dist/effects/paper-unfold.cjs +1 -1
- package/dist/effects/paper-unfold.js +1 -1
- package/dist/effects/particle-text.cjs +1 -1
- package/dist/effects/particle-text.js +1 -1
- package/dist/effects/path-morph.cjs +1 -1
- package/dist/effects/path-morph.js +1 -1
- package/dist/effects/pearlescent.cjs +1 -1
- package/dist/effects/pearlescent.js +1 -1
- package/dist/effects/pencil-sketch.cjs +1 -1
- package/dist/effects/pencil-sketch.js +1 -1
- package/dist/effects/pin-drop.cjs +1 -1
- package/dist/effects/pin-drop.js +1 -1
- package/dist/effects/pinball.cjs +1 -1
- package/dist/effects/pinball.js +1 -1
- package/dist/effects/pinch-hint.cjs +1 -1
- package/dist/effects/pinch-hint.js +1 -1
- package/dist/effects/pixelate-in.cjs +1 -1
- package/dist/effects/pixelate-in.js +1 -1
- package/dist/effects/pointer-shadow.cjs +1 -1
- package/dist/effects/pointer-shadow.js +1 -1
- package/dist/effects/portal-open.cjs +1 -1
- package/dist/effects/portal-open.js +1 -1
- package/dist/effects/price-flip.cjs +1 -1
- package/dist/effects/price-flip.js +1 -1
- package/dist/effects/product-spin.cjs +1 -1
- package/dist/effects/product-spin.js +1 -1
- package/dist/effects/rack-focus.cjs +1 -1
- package/dist/effects/rack-focus.js +1 -1
- package/dist/effects/radial-spectrum.cjs +1 -1
- package/dist/effects/radial-spectrum.js +1 -1
- package/dist/effects/rain-glass.cjs +1 -1
- package/dist/effects/rain-glass.js +1 -1
- package/dist/effects/reaction-burst.cjs +1 -1
- package/dist/effects/reaction-burst.js +1 -1
- package/dist/effects/read-receipt.cjs +1 -1
- package/dist/effects/read-receipt.js +1 -1
- package/dist/effects/refraction.cjs +1 -1
- package/dist/effects/refraction.js +1 -1
- package/dist/effects/ring-sweep.cjs +1 -1
- package/dist/effects/ring-sweep.js +1 -1
- package/dist/effects/ripple-dissolve.cjs +1 -1
- package/dist/effects/ripple-dissolve.js +1 -1
- package/dist/effects/rope.cjs +1 -1
- package/dist/effects/rope.js +1 -1
- package/dist/effects/route-draw.cjs +1 -1
- package/dist/effects/route-draw.js +1 -1
- package/dist/effects/safe-fade.cjs +1 -1
- package/dist/effects/safe-fade.js +1 -1
- package/dist/effects/sakura.cjs +1 -1
- package/dist/effects/sakura.js +1 -1
- package/dist/effects/sale-shine.cjs +1 -1
- package/dist/effects/sale-shine.js +1 -1
- package/dist/effects/sankey-flow.cjs +1 -1
- package/dist/effects/sankey-flow.js +1 -1
- package/dist/effects/scanline-sweep.cjs +1 -1
- package/dist/effects/scanline-sweep.js +1 -1
- package/dist/effects/shatter.cjs +1 -1
- package/dist/effects/shatter.js +1 -1
- package/dist/effects/smoke.cjs +1 -1
- package/dist/effects/smoke.js +1 -1
- package/dist/effects/snowfall.cjs +1 -1
- package/dist/effects/snowfall.js +1 -1
- package/dist/effects/soft-body.cjs +1 -1
- package/dist/effects/soft-body.js +1 -1
- package/dist/effects/sound-particles.cjs +1 -1
- package/dist/effects/sound-particles.js +1 -1
- package/dist/effects/spatial-float.cjs +1 -1
- package/dist/effects/spatial-float.js +1 -1
- package/dist/effects/spectrum-mirror.cjs +1 -1
- package/dist/effects/spectrum-mirror.js +1 -1
- package/dist/effects/splash.cjs +1 -1
- package/dist/effects/splash.js +1 -1
- package/dist/effects/spooky-float.cjs +1 -1
- package/dist/effects/spooky-float.js +1 -1
- package/dist/effects/stock-pulse.cjs +1 -1
- package/dist/effects/stock-pulse.js +1 -1
- package/dist/effects/stream-text.cjs +1 -1
- package/dist/effects/stream-text.js +1 -1
- package/dist/effects/stroke-draw.cjs +1 -1
- package/dist/effects/stroke-draw.js +1 -1
- package/dist/effects/success-check.cjs +1 -1
- package/dist/effects/success-check.js +1 -1
- package/dist/effects/swipe-hint.cjs +1 -1
- package/dist/effects/swipe-hint.js +1 -1
- package/dist/effects/text-trail.cjs +1 -1
- package/dist/effects/text-trail.js +1 -1
- package/dist/effects/thinking-glow.cjs +1 -1
- package/dist/effects/thinking-glow.js +1 -1
- package/dist/effects/tilt-wobble.cjs +1 -1
- package/dist/effects/tilt-wobble.js +1 -1
- package/dist/effects/typing-dots.cjs +1 -1
- package/dist/effects/typing-dots.js +1 -1
- package/dist/effects/underline-sweep.cjs +1 -1
- package/dist/effects/underline-sweep.js +1 -1
- package/dist/effects/vhs-glitch.cjs +1 -1
- package/dist/effects/vhs-glitch.js +1 -1
- package/dist/effects/vine-grow.cjs +1 -1
- package/dist/effects/vine-grow.js +1 -1
- package/dist/effects/vinyl-spin.cjs +1 -1
- package/dist/effects/vinyl-spin.js +1 -1
- package/dist/effects/voice-wave.cjs +1 -1
- package/dist/effects/voice-wave.js +1 -1
- package/dist/effects/water-drop.cjs +1 -1
- package/dist/effects/water-drop.js +1 -1
- package/dist/effects/watercolor.cjs +1 -1
- package/dist/effects/watercolor.js +1 -1
- package/dist/effects/waveform-scope.cjs +1 -1
- package/dist/effects/waveform-scope.js +1 -1
- package/dist/effects/xmas-snow.cjs +1 -1
- package/dist/effects/xmas-snow.js +1 -1
- package/dist/effects/xp-gain.cjs +1 -1
- package/dist/effects/xp-gain.js +1 -1
- package/dist/effects/y2k-shine.cjs +1 -1
- package/dist/effects/y2k-shine.js +1 -1
- package/dist/element.cjs +1 -1
- package/dist/element.js +1 -1
- package/dist/element.umd.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/llms-full.txt +4 -4
- package/dist/llms.txt +1 -1
- package/dist/manifest.json +29 -14
- package/dist/presets/extended.cjs +1 -1
- package/dist/presets/extended.js +1 -1
- package/dist/presets-extended.umd.js +1 -1
- package/dist/react.cjs +1 -1
- package/dist/react.js +1 -1
- package/dist/runtime/drag-snap.cjs +2 -2
- package/dist/runtime/drag-snap.iife.js +1 -1
- package/dist/runtime/drag-snap.js +2 -2
- package/dist/runtime/format-apng.cjs +5 -5
- package/dist/runtime/format-apng.iife.js +1 -1
- package/dist/runtime/format-apng.js +5 -5
- package/dist/runtime/format-css.cjs +5 -5
- package/dist/runtime/format-css.iife.js +1 -1
- package/dist/runtime/format-css.js +5 -5
- package/dist/runtime/format-gif.cjs +5 -5
- package/dist/runtime/format-gif.iife.js +1 -1
- package/dist/runtime/format-gif.js +5 -5
- package/dist/runtime/format-gltf.cjs +2 -2
- package/dist/runtime/format-gltf.iife.js +1 -1
- package/dist/runtime/format-gltf.js +2 -2
- package/dist/runtime/format-motion.cjs +5 -5
- package/dist/runtime/format-motion.iife.js +1 -1
- package/dist/runtime/format-motion.js +5 -5
- package/dist/runtime/format-obj.cjs +2 -2
- package/dist/runtime/format-obj.iife.js +1 -1
- package/dist/runtime/format-obj.js +2 -2
- package/dist/runtime/format-scene.cjs +2 -2
- package/dist/runtime/format-scene.iife.js +1 -1
- package/dist/runtime/format-scene.js +2 -2
- package/dist/runtime/format-sprite.cjs +4 -4
- package/dist/runtime/format-sprite.iife.js +1 -1
- package/dist/runtime/format-sprite.js +4 -4
- package/dist/runtime/format-svg.cjs +4 -4
- package/dist/runtime/format-svg.iife.js +1 -1
- package/dist/runtime/format-svg.js +4 -4
- package/dist/runtime/format-webp.cjs +5 -5
- package/dist/runtime/format-webp.iife.js +1 -1
- package/dist/runtime/format-webp.js +5 -5
- package/dist/runtime/gl.cjs +2 -2
- package/dist/runtime/gl.iife.js +1 -1
- package/dist/runtime/gl.js +2 -2
- package/dist/runtime/gltf-anim.cjs +2 -2
- package/dist/runtime/gltf-anim.iife.js +1 -1
- package/dist/runtime/gltf-anim.js +2 -2
- package/dist/runtime/gltf-decoders.cjs +2 -2
- package/dist/runtime/gltf-decoders.iife.js +1 -1
- package/dist/runtime/gltf-decoders.js +2 -2
- package/dist/runtime/lottie-state.cjs +2 -2
- package/dist/runtime/lottie-state.iife.js +1 -1
- package/dist/runtime/lottie-state.js +2 -2
- package/dist/runtime/physics.cjs +2 -2
- package/dist/runtime/physics.iife.js +1 -1
- package/dist/runtime/physics.js +2 -2
- package/dist/runtime/scroll.cjs +3 -3
- package/dist/runtime/scroll.iife.js +1 -1
- package/dist/runtime/scroll.js +3 -3
- package/dist/runtime/smooth.cjs +2 -2
- package/dist/runtime/smooth.iife.js +1 -1
- package/dist/runtime/smooth.js +2 -2
- package/dist/runtime/text.cjs +2 -2
- package/dist/runtime/text.iife.js +1 -1
- package/dist/runtime/text.js +2 -2
- package/dist/runtime/vector.cjs +4 -4
- package/dist/runtime/vector.iife.js +1 -1
- package/dist/runtime/vector.js +4 -4
- package/dist/runtime.cjs +4 -4
- package/dist/runtime.d.cts +1 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.iife.js +2 -2
- package/dist/runtime.js +6 -6
- package/dist/solid.cjs +1 -1
- package/dist/solid.js +1 -1
- package/dist/svelte.cjs +1 -1
- package/dist/svelte.js +1 -1
- package/dist/vue.cjs +1 -1
- package/dist/vue.js +1 -1
- package/dist/widgets/add-to-cart.cjs +1 -1
- package/dist/widgets/add-to-cart.js +1 -1
- package/dist/widgets/badge-wall.cjs +1 -1
- package/dist/widgets/badge-wall.js +1 -1
- package/dist/widgets/bar-chart.cjs +1 -1
- package/dist/widgets/bar-chart.js +1 -1
- package/dist/widgets/bg-generator.cjs +1 -1
- package/dist/widgets/bg-generator.js +1 -1
- package/dist/widgets/carousel.cjs +1 -1
- package/dist/widgets/carousel.js +1 -1
- package/dist/widgets/cart-drawer.cjs +1 -1
- package/dist/widgets/cart-drawer.js +1 -1
- package/dist/widgets/chapter-nav.cjs +1 -1
- package/dist/widgets/chapter-nav.js +1 -1
- package/dist/widgets/chat-composer.cjs +1 -1
- package/dist/widgets/chat-composer.js +1 -1
- package/dist/widgets/clock-control.cjs +1 -1
- package/dist/widgets/clock-control.js +1 -1
- package/dist/widgets/code-export.cjs +1 -1
- package/dist/widgets/code-export.js +1 -1
- package/dist/widgets/color-picker.cjs +1 -1
- package/dist/widgets/color-picker.js +1 -1
- package/dist/widgets/command-palette.cjs +1 -1
- package/dist/widgets/command-palette.js +1 -1
- package/dist/widgets/compare.cjs +1 -1
- package/dist/widgets/compare.js +1 -1
- package/dist/widgets/countdown.cjs +1 -1
- package/dist/widgets/countdown.js +1 -1
- package/dist/widgets/cube-gallery.cjs +1 -1
- package/dist/widgets/cube-gallery.js +1 -1
- package/dist/widgets/date-picker.cjs +1 -1
- package/dist/widgets/date-picker.js +1 -1
- package/dist/widgets/disclosure.cjs +1 -1
- package/dist/widgets/disclosure.js +1 -1
- package/dist/widgets/dock.cjs +1 -1
- package/dist/widgets/dock.js +1 -1
- package/dist/widgets/dotlottie.cjs +4 -4
- package/dist/widgets/dotlottie.js +4 -4
- package/dist/widgets/equalizer.cjs +1 -1
- package/dist/widgets/equalizer.js +1 -1
- package/dist/widgets/festival-banner.cjs +1 -1
- package/dist/widgets/festival-banner.js +1 -1
- package/dist/widgets/field.cjs +1 -1
- package/dist/widgets/field.js +1 -1
- package/dist/widgets/file-drop.cjs +1 -1
- package/dist/widgets/file-drop.js +1 -1
- package/dist/widgets/gauge.cjs +1 -1
- package/dist/widgets/gauge.js +1 -1
- package/dist/widgets/gen-art.cjs +1 -1
- package/dist/widgets/gen-art.js +1 -1
- package/dist/widgets/gesture-sticker.cjs +1 -1
- package/dist/widgets/gesture-sticker.js +1 -1
- package/dist/widgets/gl-model.cjs +4 -4
- package/dist/widgets/gl-model.js +4 -4
- package/dist/widgets/gl-scene.cjs +4 -4
- package/dist/widgets/gl-scene.js +4 -4
- package/dist/widgets/globe.cjs +1 -1
- package/dist/widgets/globe.js +1 -1
- package/dist/widgets/gpu-particles.cjs +1 -1
- package/dist/widgets/gpu-particles.js +1 -1
- package/dist/widgets/gyro-card.cjs +1 -1
- package/dist/widgets/gyro-card.js +1 -1
- package/dist/widgets/hero-video.cjs +1 -1
- package/dist/widgets/hero-video.js +1 -1
- package/dist/widgets/hud-panel.cjs +1 -1
- package/dist/widgets/hud-panel.js +1 -1
- package/dist/widgets/hydrate.cjs +1 -1
- package/dist/widgets/hydrate.js +1 -1
- package/dist/widgets/install-button.cjs +1 -1
- package/dist/widgets/install-button.js +1 -1
- package/dist/widgets/kanban.cjs +1 -1
- package/dist/widgets/kanban.js +1 -1
- package/dist/widgets/keyframe-editor.cjs +1 -1
- package/dist/widgets/keyframe-editor.js +1 -1
- package/dist/widgets/kpi.cjs +1 -1
- package/dist/widgets/kpi.js +1 -1
- package/dist/widgets/leaderboard.cjs +1 -1
- package/dist/widgets/leaderboard.js +1 -1
- package/dist/widgets/liquid-nav.cjs +1 -1
- package/dist/widgets/liquid-nav.js +1 -1
- package/dist/widgets/location-card.cjs +1 -1
- package/dist/widgets/location-card.js +1 -1
- package/dist/widgets/lottie-icon.cjs +1 -1
- package/dist/widgets/lottie-icon.js +1 -1
- package/dist/widgets/lottie-player.cjs +4 -4
- package/dist/widgets/lottie-player.js +4 -4
- package/dist/widgets/lottie.cjs +1 -1
- package/dist/widgets/lottie.js +1 -1
- package/dist/widgets/lyrics.cjs +1 -1
- package/dist/widgets/lyrics.js +1 -1
- package/dist/widgets/masonry-flow.cjs +1 -1
- package/dist/widgets/masonry-flow.js +1 -1
- package/dist/widgets/menu-toggle.cjs +1 -1
- package/dist/widgets/menu-toggle.js +1 -1
- package/dist/widgets/menu.cjs +1 -1
- package/dist/widgets/menu.js +1 -1
- package/dist/widgets/message-list.cjs +1 -1
- package/dist/widgets/message-list.js +1 -1
- package/dist/widgets/milestones.cjs +1 -1
- package/dist/widgets/milestones.js +1 -1
- package/dist/widgets/modal.cjs +3 -2
- package/dist/widgets/modal.js +3 -2
- package/dist/widgets/motion-inspector.cjs +2 -2
- package/dist/widgets/motion-inspector.js +2 -2
- package/dist/widgets/motion-prefs.cjs +1 -1
- package/dist/widgets/motion-prefs.js +1 -1
- package/dist/widgets/motion-prompt.cjs +1 -1
- package/dist/widgets/motion-prompt.js +1 -1
- package/dist/widgets/motion-spec.cjs +1 -1
- package/dist/widgets/motion-spec.js +1 -1
- package/dist/widgets/motion.cjs +1 -1
- package/dist/widgets/motion.js +1 -1
- package/dist/widgets/music-player.cjs +1 -1
- package/dist/widgets/music-player.js +1 -1
- package/dist/widgets/native-preview.cjs +1 -1
- package/dist/widgets/native-preview.js +1 -1
- package/dist/widgets/nav-morph.cjs +1 -1
- package/dist/widgets/nav-morph.js +1 -1
- package/dist/widgets/notification-bell.cjs +1 -1
- package/dist/widgets/notification-bell.js +1 -1
- package/dist/widgets/odometer.cjs +1 -1
- package/dist/widgets/odometer.js +1 -1
- package/dist/widgets/organic-card.cjs +1 -1
- package/dist/widgets/organic-card.js +1 -1
- package/dist/widgets/otp.cjs +1 -1
- package/dist/widgets/otp.js +1 -1
- package/dist/widgets/pagination.cjs +3 -2
- package/dist/widgets/pagination.js +3 -2
- package/dist/widgets/panorama.cjs +1 -1
- package/dist/widgets/panorama.js +1 -1
- package/dist/widgets/parallax-layers.cjs +1 -1
- package/dist/widgets/parallax-layers.js +1 -1
- package/dist/widgets/pause-all.cjs +1 -1
- package/dist/widgets/pause-all.js +1 -1
- package/dist/widgets/perf-monitor.cjs +1 -1
- package/dist/widgets/perf-monitor.js +1 -1
- package/dist/widgets/physics-playground.cjs +4 -4
- package/dist/widgets/physics-playground.js +4 -4
- package/dist/widgets/plugin-card.cjs +3 -3
- package/dist/widgets/plugin-card.js +3 -3
- package/dist/widgets/plugin-store.cjs +1 -1
- package/dist/widgets/plugin-store.js +1 -1
- package/dist/widgets/presence.cjs +1 -1
- package/dist/widgets/presence.js +1 -1
- package/dist/widgets/prize-wheel.cjs +1 -1
- package/dist/widgets/prize-wheel.js +1 -1
- package/dist/widgets/product-gallery.cjs +1 -1
- package/dist/widgets/product-gallery.js +1 -1
- package/dist/widgets/progress-ring.cjs +1 -1
- package/dist/widgets/progress-ring.js +1 -1
- package/dist/widgets/prop-panel.cjs +1 -1
- package/dist/widgets/prop-panel.js +1 -1
- package/dist/widgets/pull-cord.cjs +1 -1
- package/dist/widgets/pull-cord.js +1 -1
- package/dist/widgets/radar.cjs +1 -1
- package/dist/widgets/radar.js +1 -1
- package/dist/widgets/reactions.cjs +1 -1
- package/dist/widgets/reactions.js +1 -1
- package/dist/widgets/red-envelope.cjs +1 -1
- package/dist/widgets/red-envelope.js +1 -1
- package/dist/widgets/retro-button.cjs +1 -1
- package/dist/widgets/retro-button.js +1 -1
- package/dist/widgets/rive.cjs +1 -1
- package/dist/widgets/rive.js +1 -1
- package/dist/widgets/route-transition.cjs +1 -1
- package/dist/widgets/route-transition.js +1 -1
- package/dist/widgets/scene.cjs +1 -1
- package/dist/widgets/scene.js +1 -1
- package/dist/widgets/scroll-ring.cjs +1 -1
- package/dist/widgets/scroll-ring.js +1 -1
- package/dist/widgets/scroll-scene.cjs +4 -4
- package/dist/widgets/scroll-scene.js +4 -4
- package/dist/widgets/segmented.cjs +1 -1
- package/dist/widgets/segmented.js +1 -1
- package/dist/widgets/shader-backdrop.cjs +1 -1
- package/dist/widgets/shader-backdrop.js +1 -1
- package/dist/widgets/sheet.cjs +3 -2
- package/dist/widgets/sheet.js +3 -2
- package/dist/widgets/shortcut.cjs +1 -1
- package/dist/widgets/shortcut.js +1 -1
- package/dist/widgets/skeleton-reveal.cjs +1 -1
- package/dist/widgets/skeleton-reveal.js +1 -1
- package/dist/widgets/sketch-chart.cjs +1 -1
- package/dist/widgets/sketch-chart.js +1 -1
- package/dist/widgets/smooth-scroll.cjs +3 -3
- package/dist/widgets/smooth-scroll.js +3 -3
- package/dist/widgets/snap-carousel.cjs +3 -3
- package/dist/widgets/snap-carousel.js +3 -3
- package/dist/widgets/sparkline.cjs +1 -1
- package/dist/widgets/sparkline.js +1 -1
- package/dist/widgets/spatial-card.cjs +1 -1
- package/dist/widgets/spatial-card.js +1 -1
- package/dist/widgets/star-rating.cjs +1 -1
- package/dist/widgets/star-rating.js +1 -1
- package/dist/widgets/stepper.cjs +1 -1
- package/dist/widgets/stepper.js +1 -1
- package/dist/widgets/sticky-wall.cjs +1 -1
- package/dist/widgets/sticky-wall.js +1 -1
- package/dist/widgets/stories.cjs +1 -1
- package/dist/widgets/stories.js +1 -1
- package/dist/widgets/suggestion-chips.cjs +1 -1
- package/dist/widgets/suggestion-chips.js +1 -1
- package/dist/widgets/swipe-deck.cjs +1 -1
- package/dist/widgets/swipe-deck.js +1 -1
- package/dist/widgets/switch.cjs +1 -1
- package/dist/widgets/switch.js +1 -1
- package/dist/widgets/tab-bar.cjs +1 -1
- package/dist/widgets/tab-bar.js +1 -1
- package/dist/widgets/terminal.cjs +1 -1
- package/dist/widgets/terminal.js +1 -1
- package/dist/widgets/text-splitter.cjs +3 -3
- package/dist/widgets/text-splitter.js +3 -3
- package/dist/widgets/theme-surface.cjs +1 -1
- package/dist/widgets/theme-surface.js +1 -1
- package/dist/widgets/theme-switcher.cjs +1 -1
- package/dist/widgets/theme-switcher.js +1 -1
- package/dist/widgets/tip.cjs +1 -1
- package/dist/widgets/tip.js +1 -1
- package/dist/widgets/toast-stack.cjs +4 -3
- package/dist/widgets/toast-stack.js +4 -3
- package/dist/widgets/token-editor.cjs +1 -1
- package/dist/widgets/token-editor.js +1 -1
- package/dist/widgets/upload-progress.cjs +1 -1
- package/dist/widgets/upload-progress.js +1 -1
- package/dist/widgets/video-card.cjs +1 -1
- package/dist/widgets/video-card.js +1 -1
- package/dist/widgets/voice-button.cjs +1 -1
- package/dist/widgets/voice-button.js +1 -1
- package/dist/widgets/volume-knob.cjs +1 -1
- package/dist/widgets/volume-knob.js +1 -1
- package/dist/widgets/weather-card.cjs +1 -1
- package/dist/widgets/weather-card.js +1 -1
- package/dist/widgets/worker-canvas.cjs +1 -1
- package/dist/widgets/worker-canvas.js +1 -1
- package/dist/widgets/xp-bar.cjs +1 -1
- package/dist/widgets/xp-bar.js +1 -1
- package/dist/widgets.umd.js +2 -2
- package/docs/ROADMAP.md +1 -1
- package/docs/browser-matrix.md +1 -0
- package/docs/components/usa-bottom-sheet.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-modal.md +1 -1
- package/docs/components/usa-pagination.md +1 -1
- package/docs/components/usa-sheet.md +1 -1
- package/docs/components/usa-snap-carousel.md +2 -2
- package/docs/components/usa-toast-stack.md +1 -1
- package/docs/components.md +18 -2
- package/docs/hybrid-apps.md +3 -0
- package/docs/mobile.md +134 -0
- 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/figma-plugin/ui.html +5 -2
- package/package.json +6 -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
|
|
package/docs/browser-matrix.md
CHANGED
|
@@ -22,6 +22,7 @@ none, such as linux-arm64). Playwright is a devDependency only; nothing in the p
|
|
|
22
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
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
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
|
+
| `mobile.spec.mjs` (13.3.0) | Runs only in the phone projects `mobile-chrome` (Pixel 7 profile on Chromium) and `mobile-safari` (iPhone 14 profile on WebKit), in the `Browser (chromium)` / `Browser (webkit)` CI jobs: touch, rotation, the soft keyboard (a controllable `visualViewport`), sheets / modals / toasts above the keyboard, canvas sizes under DPR > 1, native-bridge message origins, and every component mounted, rotated and touch-cancelled on a phone. Real devices are not used — see [mobile.md](./mobile.md#not-verified). |
|
|
25
26
|
| `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
|
|
|
27
28
|
## GPU capability per browser
|
|
@@ -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 · **changed in** 13.1
|
|
7
|
+
- **Category:** ui · **since** 2.6 · **changed in** 13.1, 13.3
|
|
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,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 · **changed in** 13.1
|
|
7
|
+
- **Category:** ui · **since** 2.6 · **changed in** 13.1, 13.3
|
|
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 · **changed in** 13.1
|
|
7
|
+
- **Category:** ui · **since** 10.9 · **changed in** 13.1, 13.2, 13.3
|
|
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, 13.1
|
|
7
|
+
- **Category:** ui · **since** 10.5 · **changed in** 10.8, 10.9, 11.0, 11.3, 13.1, 13.3
|
|
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
|
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, 13.1
|
|
7
|
+
- **Category:** transitions · **since** 6.3 · **changed in** 6.6, 13.0, 13.1, 13.3
|
|
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
|
6.7: the highlight springs to the chosen page (squashing on the way) and page numbers slide in from the direction of travel when the window shifts. Prev / next, ellipses, aria-current.
|
|
6
6
|
|
|
7
|
-
- **Category:** ui · **since** 6.7
|
|
7
|
+
- **Category:** ui · **since** 6.7 · **changed in** 13.3
|
|
8
8
|
- **Import:** `import { definePagination } from 'motionary/components/widgets'` then `definePagination();`
|
|
9
9
|
- **CDN:** `<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `total`, `siblings`, `label`
|
|
@@ -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, 13.1
|
|
7
|
+
- **Category:** transitions · **since** 6.3 · **changed in** 6.6, 13.0, 13.1, 13.3
|
|
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.3: toasts pile up into a collapsed stack (newest in front, older ones peeking behind), fan out on hover or focus, auto-dismiss (paused while hovered) and swipe away. Six positions, a polite live region, stackToast() helper and data-usa-toast triggers.
|
|
6
6
|
|
|
7
|
-
- **Category:** feedback · **since** 6.3
|
|
7
|
+
- **Category:** feedback · **since** 6.3 · **changed in** 13.3
|
|
8
8
|
- **Import:** `import { defineToastStack } from 'motionary/components/widgets'` then `defineToastStack();`
|
|
9
9
|
- **CDN:** `<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>`
|
|
10
10
|
- **Attributes:** `position`, `duration`, `max`
|
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
|
```
|
package/docs/hybrid-apps.md
CHANGED
|
@@ -9,6 +9,9 @@ General rules for every host:
|
|
|
9
9
|
- **Reduced motion follows the OS** (`prefers-reduced-motion`) inside every web view listed here. To mirror an in-app setting, call `setMotionIntensity('off' | 'low' | 'normal' | 'high')` (or `configureComponents({ reducedMotion: 'reduce' })`) from the native side.
|
|
10
10
|
- **Performance**: canvas / WebGL effects (`<usa-shader>`, `<usa-liquid>`, backgrounds) render only while visible and cap DPR at 2; they fall back to CSS where WebGL is unavailable (some Android web views).
|
|
11
11
|
- **Native ↔ web**: listen to `usa:*` events in JS and forward them over the host bridge (examples below).
|
|
12
|
+
- **Bridge security (13.3.0)**: `connectNativeShell()` accepts `window` messages only from the page itself or from native
|
|
13
|
+
code; other windows need `allowedOrigins` ([mobile.md](./mobile.md#native-bridge-security)). Soft keyboard, rotation and
|
|
14
|
+
touch on phones: [mobile.md](./mobile.md).
|
|
12
15
|
|
|
13
16
|
## .NET MAUI
|
|
14
17
|
|
package/docs/mobile.md
ADDED
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
# Phones and tablets (13.3.0)
|
|
2
|
+
|
|
3
|
+
Motionary runs on mobile browsers and in app web views (Android WebView, WKWebView, MAUI, Flutter). This page lists
|
|
4
|
+
what the components do for touch, the soft keyboard and screen rotation, how that is tested, and what is **not**
|
|
5
|
+
verified.
|
|
6
|
+
|
|
7
|
+
## Soft keyboard
|
|
8
|
+
|
|
9
|
+
On iOS Safari and on Chrome for Android (108+), opening the on-screen keyboard shrinks the **visual** viewport but not
|
|
10
|
+
the layout viewport, so `position: fixed; bottom: 0` ends up behind the keyboard. Motionary reads
|
|
11
|
+
[`window.visualViewport`](https://developer.mozilla.org/docs/Web/API/VisualViewport) and, while a component needs it,
|
|
12
|
+
sets two CSS variables on `<html>`:
|
|
13
|
+
|
|
14
|
+
| Variable | Meaning |
|
|
15
|
+
|---|---|
|
|
16
|
+
| `--usa-kb` | Height (px) the keyboard covers at the bottom of the layout viewport: `innerHeight − visualViewport.height − visualViewport.offsetTop`. `0px` while pinch-zoomed (a zoom is not a keyboard). |
|
|
17
|
+
| `--usa-vvh` | Height (px) of the visible area. |
|
|
18
|
+
|
|
19
|
+
Both are removed when the last component that needs them closes or disconnects. Components that use them:
|
|
20
|
+
|
|
21
|
+
| Component | On phones |
|
|
22
|
+
|---|---|
|
|
23
|
+
| `<usa-bottom-sheet>`, `<usa-drawer>` | Sit on top of the keyboard (`bottom: var(--usa-kb)`); the sheet's height and snap points are fractions of the **visible** height, so a focused input stays in view. |
|
|
24
|
+
| `<usa-sheet side="bottom">` | Sits on top of the keyboard; `max-height` is 85 % of the visible height. |
|
|
25
|
+
| `<usa-modal>` | Centres in the area the keyboard leaves visible; `max-height` follows the visible height. |
|
|
26
|
+
| `<usa-toast-stack position="bottom-…">` | Moves up above the keyboard. |
|
|
27
|
+
|
|
28
|
+
Use the same variables in your own CSS — `bottom: var(--usa-kb, 0px)` — and start the watcher yourself when no
|
|
29
|
+
component does:
|
|
30
|
+
|
|
31
|
+
```js
|
|
32
|
+
import { watchViewport } from 'motionary/components/widgets';
|
|
33
|
+
|
|
34
|
+
const stop = watchViewport(() => console.log('keyboard or rotation changed'));
|
|
35
|
+
// … later
|
|
36
|
+
stop();
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
`watchViewport(fn?)` is shared and reference-counted (one set of listeners for the page): listeners are added
|
|
40
|
+
while at least one overlay is open (or a `<usa-pagination>` is mounted) and removed with the last one. The lite bundle
|
|
41
|
+
stays within its 70 KB budget.
|
|
42
|
+
|
|
43
|
+
## Rotation
|
|
44
|
+
|
|
45
|
+
`resize`, `orientationchange` and `visualViewport` `resize` all trigger the same update. What follows rotation:
|
|
46
|
+
|
|
47
|
+
- An open `<usa-bottom-sheet>` stays on the snap point it was on (its height and offset are recomputed for the new
|
|
48
|
+
viewport); an open `<usa-drawer>` re-measures.
|
|
49
|
+
- `<usa-pagination>` re-places its ink on the current page (its buttons change size at the 420 px breakpoint).
|
|
50
|
+
- `<usa-gl-model>` now gets the same box styles as `<usa-gl-scene>`. Before, its canvas had no CSS width, so on a
|
|
51
|
+
device with `devicePixelRatio` > 1 every resize made the canvas — and the element — wider (19 200 px wide at DPR 2.625
|
|
52
|
+
in the mobile Chrome emulation), allocating ever larger GPU buffers.
|
|
53
|
+
|
|
54
|
+
## Touch
|
|
55
|
+
|
|
56
|
+
- Components use Pointer Events. A gesture the browser takes over ends with `pointercancel`: the browser suite checks
|
|
57
|
+
that a cancelled touch on `<usa-bottom-sheet>` springs back to its snap point, and that a cancelled touch drag on every
|
|
58
|
+
component leaves no uncaught error.
|
|
59
|
+
- `touch-action`: a bottom sheet whose content is longer than the sheet scrolls with a finger (`data-scrollable` →
|
|
60
|
+
`touch-action: pan-y`), and the grab handle keeps the drag (`touch-action: none`); a sheet whose content fits keeps
|
|
61
|
+
drag-anywhere. The `<usa-sheet side="bottom">` body scrolls with a finger; only its grab handle (`.usa-ov-grab` /
|
|
62
|
+
`[data-handle]`) captures the gesture. (Before 13.3.0 both sheets set `touch-action: none` on the whole body, so long
|
|
63
|
+
content could not be scrolled by touch.)
|
|
64
|
+
- Hover effects such as `<usa-cursor>`, `<usa-magnetic>` and the ripple / press handlers check `pointerType` and skip
|
|
65
|
+
hover-only behaviour for touch.
|
|
66
|
+
|
|
67
|
+
## Native bridge security
|
|
68
|
+
|
|
69
|
+
`connectNativeShell()` (`motionary/components/bridge`) applies `usa:settings` messages from the host app. Since 13.3.0
|
|
70
|
+
a `window` `message` is accepted only when
|
|
71
|
+
|
|
72
|
+
- it comes from **this window** (script the host injected that calls `window.postMessage`), or
|
|
73
|
+
- it has **no source window** (native code, e.g. Android `postWebMessage`), or
|
|
74
|
+
- its exact origin is listed in `allowedOrigins`.
|
|
75
|
+
|
|
76
|
+
Messages from any other window — a cross-origin iframe, the opener, an embedding parent — are dropped. WebView2 host
|
|
77
|
+
messages arrive on `chrome.webview` and are not affected; `window.usaNative.apply()` (the recommended path for MAUI and
|
|
78
|
+
Flutter) is unchanged. String payloads over 8 KB are rejected before `JSON.parse`, and every field is still validated
|
|
79
|
+
(unknown fields dropped, colors / themes / levels checked).
|
|
80
|
+
|
|
81
|
+
```js
|
|
82
|
+
import { connectNativeShell, isTrustedMessage } from 'motionary/components/bridge';
|
|
83
|
+
|
|
84
|
+
// a page embedded by your own app shell at https://app.example
|
|
85
|
+
connectNativeShell({ allowedOrigins: ['https://app.example'] });
|
|
86
|
+
|
|
87
|
+
// the same rule for your own listeners
|
|
88
|
+
addEventListener('message', (e) => {
|
|
89
|
+
if (!isTrustedMessage(e, ['https://app.example'])) return;
|
|
90
|
+
// …
|
|
91
|
+
});
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
Opaque origins (`"null"`: sandboxed iframes, `file:` documents in some engines) never match an entry; `'*'` trusts
|
|
95
|
+
every window and is only for setups where every frame is yours. The Figma plugin UI likewise accepts messages only from
|
|
96
|
+
its parent (Figma) and escapes layer names and tags; the component playground already checked that messages come from its
|
|
97
|
+
own preview frame.
|
|
98
|
+
|
|
99
|
+
## How this is tested
|
|
100
|
+
|
|
101
|
+
- **Unit** (`test/mobile-security-13-3.test.ts`, jsdom): the watcher (variables, keyboard inset, pinch-zoom, reference
|
|
102
|
+
counting, cleanup, no `visualViewport`), sheets on rotation and with the keyboard, the overlay / toast CSS, pagination,
|
|
103
|
+
the bridge origin rules, and a scan that every `window` `message` listener in shipped code checks the sender.
|
|
104
|
+
- **Browser** (`test/browser/mobile.spec.mjs`, Playwright device emulation, CI jobs `Browser (chromium)` and
|
|
105
|
+
`Browser (webkit)`):
|
|
106
|
+
- `mobile-chrome` — Pixel 7 profile on Chromium: touch, `isMobile`, DPR 2.625, 412 × 839.
|
|
107
|
+
- `mobile-safari` — iPhone 14 profile on **WebKit** (Playwright's WebKit build, the engine of iOS Safari): touch,
|
|
108
|
+
`isMobile`, DPR 3, 390 × 664.
|
|
109
|
+
- Covered: phone environment (coarse pointer, touch, DPR), tap, touch drag + `pointercancel` on the bottom sheet,
|
|
110
|
+
`touch-action` of the sheets, rotation of an open sheet / pagination / every canvas component (no canvas or element
|
|
111
|
+
growing past the screen under DPR > 1), the soft keyboard for `<usa-bottom-sheet>`, `<usa-sheet>`, `<usa-modal>` and
|
|
112
|
+
bottom toasts, the bridge origin rules in a real engine (a sandboxed cross-origin iframe cannot change settings), and
|
|
113
|
+
a sweep that mounts every manifest component on the phone, rotates it twice and cancels a touch drag on it without an
|
|
114
|
+
uncaught error.
|
|
115
|
+
|
|
116
|
+
## Not verified
|
|
117
|
+
|
|
118
|
+
- **Real devices.** No physical Android or iOS device and no device cloud (BrowserStack / Sauce Labs / LambdaTest /
|
|
119
|
+
AWS Device Farm need paid accounts) were used. Emulation gives the mobile viewport, DPR, touch events, `isMobile` and the
|
|
120
|
+
mobile user agent, but **not** the real browsers' UI (address bar collapse), a real on-screen keyboard, real
|
|
121
|
+
`orientationchange` timing, hardware GPUs, or iOS Safari itself — Playwright's WebKit is the same engine but not the
|
|
122
|
+
shipped Safari app, and the Chromium build is desktop Chromium in mobile emulation, not Chrome for Android.
|
|
123
|
+
- **The soft keyboard** is simulated: the browser spec replaces `window.visualViewport` with a controllable one before
|
|
124
|
+
the page loads. The arithmetic (`innerHeight − height − offsetTop`) matches what iOS Safari and Chrome for Android
|
|
125
|
+
report, but the real keyboard was not opened.
|
|
126
|
+
- **Native hosts** (WebView2, MAUI, Flutter, Android WebView `postWebMessage`, WKWebView) were not run; the bridge rules
|
|
127
|
+
are tested with the message shapes those hosts produce. The Figma plugin's `e.source === parent` check was not run
|
|
128
|
+
inside Figma.
|
|
129
|
+
- Firefox for Android: Playwright has no Firefox mobile emulation; desktop Firefox runs the rest of the browser suite.
|
|
130
|
+
- **WebKit emulation quirks.** Playwright's WebKit reports `navigator.maxTouchPoints = 0` with touch enabled (touch events
|
|
131
|
+
and `pointer: coarse` work), so that one check runs on mobile Chrome only. When a rotation resizes every component at
|
|
132
|
+
once, WebKit reports "ResizeObserver loop completed with undelivered notifications." as a page error; the spec delivers
|
|
133
|
+
those notifications in the next frame, so the every-component sweep ignores exactly that message. Which component's
|
|
134
|
+
resize callback triggers it was not narrowed down.
|
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
|