motionary 16.3.0 → 17.0.0-rc.1
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/AGENTS.md +1 -1
- package/CHANGELOG.md +77 -0
- package/README.md +82 -80
- package/README_ja.md +13 -11
- package/README_zh.md +13 -11
- package/bin/mo-codemod.mjs +8 -0
- package/bin/motionary-mcp.mjs +1 -1
- package/bin/motionary.mjs +98 -128
- package/bin/public-paths.mjs +1 -3
- package/dist/chunks/{anim-image-BJgW6MC0.cjs → anim-image-PrxCAkWs.cjs} +2 -2
- package/dist/chunks/{anim-image-C3DWnEgP.js → anim-image-zIdnrLfJ.js} +2 -2
- package/dist/chunks/{audio-CWxlWX4e.js → audio-AtLkHgFE.js} +4 -4
- package/dist/chunks/audio-D0LwPShE.cjs +1 -1
- package/dist/chunks/badge-wall-CITexuW7.cjs +1 -1
- package/dist/chunks/{badge-wall-Bj-RRR7j.js → badge-wall-Cl_xT9TD.js} +2 -2
- package/dist/chunks/{base-QrtwTUOO.js → base-BQmWYlDq.js} +2 -2
- package/dist/chunks/base-BvH4nAcv.cjs +1 -1
- package/dist/chunks/bg-generator-CML8tPN8.cjs +1 -1
- package/dist/chunks/{bg-generator-Dj1hH67O.js → bg-generator-DoLaSG2a.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-DQ_KD-84.js → builtins-BYmVxuUA.js} +4 -4
- package/dist/chunks/{builtins-DweCp29Z.cjs → builtins-fp4MVfE-.cjs} +3 -3
- package/dist/chunks/{carousel-DEgoYGFx.js → carousel-Cl5uOQMI.js} +2 -2
- package/dist/chunks/carousel-DU3rHTq0.cjs +1 -1
- package/dist/chunks/cart-drawer-CkFMKMhx.cjs +1 -1
- package/dist/chunks/{cart-drawer-C0pY0dmc.js → cart-drawer-DYcTBtqX.js} +2 -2
- package/dist/chunks/{code-export-B-eHxa4Z.js → code-export-F5ajFBWV.js} +2 -2
- package/dist/chunks/code-export-PdGSl9WE.cjs +1 -1
- package/dist/chunks/color-picker-B_xWVH8H.cjs +1 -1
- package/dist/chunks/{color-picker-D15wk7nJ.js → color-picker-DfAShjuU.js} +2 -2
- package/dist/chunks/{command-palette-BDNe1gMK.js → command-palette-Clx0HR4L.js} +2 -2
- package/dist/chunks/command-palette-ISetAeX1.cjs +1 -1
- package/dist/chunks/core-BjcOCpJt.cjs +1 -1
- package/dist/chunks/{core-CC1UXXEC.js → core-CxbMpBNZ.js} +2 -2
- package/dist/chunks/{core-BgR-tTTI.js → core-DISdVBH1.js} +2 -2
- package/dist/chunks/core-DbAYRKnS.cjs +1 -1
- package/dist/chunks/core-Dj6iomdc.js +1 -1
- package/dist/chunks/core-DjjKLmZ6.cjs +1 -1
- package/dist/chunks/{countdown-CG0Ihedq.js → countdown-Bx3drDeE.js} +2 -2
- package/dist/chunks/countdown-RQViryt7.cjs +1 -1
- package/dist/chunks/date-picker-BgApzPNn.cjs +1 -1
- package/dist/chunks/{date-picker-DdlDcukY.js → date-picker-zwkly5SQ.js} +2 -2
- package/dist/chunks/ease-HwYZnZat.cjs +1 -1
- package/dist/chunks/ease-XN8_0sXu.js +1 -1
- package/dist/chunks/{equalizer--Sk1CWfZ.js → equalizer-DUDHQUHB.js} +2 -2
- package/dist/chunks/equalizer-_eD_ZdCl.cjs +1 -1
- package/dist/chunks/{festival-banner-BBqV8cdf.js → festival-banner-BhdjV0fp.js} +2 -2
- package/dist/chunks/festival-banner-Bs18K0MJ.cjs +1 -1
- package/dist/chunks/{field-DDv6HlpL.js → field-BTSpoQcd.js} +2 -2
- package/dist/chunks/field-Dwq8-CLN.cjs +1 -1
- package/dist/chunks/{format-BSTz6pm_.js → format-CI6Vx9Ui.js} +2 -2
- package/dist/chunks/format-b5fQz-vc.cjs +1 -1
- package/dist/chunks/{fx-cO_b2EVv.js → fx-C9Bq8hdA.js} +4 -4
- package/dist/chunks/{fx-DaVuB89C.cjs → fx-DEhvlMn6.cjs} +3 -3
- package/dist/chunks/{generative-BNmS-QUD.js → generative-BFR11LSL.js} +2 -2
- package/dist/chunks/generative-BKoxWOSP.cjs +1 -1
- package/dist/chunks/{gl-scene-Cd-dBI-k.js → gl-scene-Cr86WAnc.js} +3 -3
- package/dist/chunks/{gl-scene-DeYpgl2q.cjs → gl-scene-CzKaU6uH.cjs} +2 -2
- package/dist/chunks/{globe-l0QidRYi.js → globe-B6GMkhIi.js} +2 -2
- package/dist/chunks/globe-DA0jyb6s.cjs +1 -1
- package/dist/chunks/{gpu-B5AZJvCt.js → gpu-Bl7ZKR8x.js} +4 -4
- package/dist/chunks/gpu-C2C6iBQC.cjs +1 -1
- package/dist/chunks/{gpu-particles-BCpT6_0b.js → gpu-particles-dIxou1C7.js} +2 -2
- package/dist/chunks/gpu-particles-wEO_rds1.cjs +1 -1
- package/dist/chunks/history-B0Ml40k1.cjs +1 -1
- package/dist/chunks/{history-W7ot2kyl.js → history-DtNn2Q0g.js} +2 -2
- package/dist/chunks/{index-Pkno706C.js → index-C0j-oCw2.js} +4 -4
- package/dist/chunks/index-C9_FEsfz.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-DwGEdwwg.cjs → keyframes-C1axZOCV.cjs} +2 -2
- package/dist/chunks/{keyframes-Dibk7A9I.js → keyframes-D0Xnlood.js} +2 -2
- package/dist/chunks/{leaderboard-CbiWHJt6.js → leaderboard-CfgRxbeu.js} +2 -2
- package/dist/chunks/leaderboard-DvSSQ8o3.cjs +1 -1
- package/dist/chunks/{location-card-BZn9anlf.js → location-card-BP7JLDLo.js} +2 -2
- package/dist/chunks/location-card-DSPTApUe.cjs +1 -1
- package/dist/chunks/lottie-icon-BoxkukMd.cjs +1 -1
- package/dist/chunks/{lottie-icon-DeHawSTn.js → lottie-icon-BxIqK7q7.js} +2 -2
- package/dist/chunks/{lottie-player-CO4PLSBa.js → lottie-player-DECN9Nbu.js} +3 -3
- package/dist/chunks/{lottie-player-vMLHnuH_.cjs → lottie-player-DpIz3Lil.cjs} +2 -2
- package/dist/chunks/lyrics-CRB7dA1j.cjs +1 -1
- package/dist/chunks/{lyrics-DVbmLBlN.js → lyrics-D4zARPqR.js} +2 -2
- package/dist/chunks/{manifest-B0WJg6hn.js → manifest-EZTGWMQl.js} +2 -2
- package/dist/chunks/manifest-xr3WET80.cjs +1 -1
- package/dist/chunks/menu-CZ1zHTT9.cjs +1 -1
- package/dist/chunks/{menu-CnQ_M2MQ.js → menu-EOQH7vNp.js} +2 -2
- package/dist/chunks/{menu-toggle-5XOYiIyd.js → menu-toggle-BaP8UQtW.js} +2 -2
- package/dist/chunks/menu-toggle-DGXN4VsN.cjs +1 -1
- package/dist/chunks/{nav-morph-ziuI5hHS.js → nav-morph-Bl7rQGXg.js} +2 -2
- package/dist/chunks/nav-morph-C4rD3wrU.cjs +1 -1
- package/dist/chunks/{otp-Cb48zoUe.js → otp-CImvDHhN.js} +2 -2
- package/dist/chunks/otp-DUyEWYMi.cjs +1 -1
- package/dist/chunks/{pagination-BIufB-g3.js → pagination-D8OldTKt.js} +2 -2
- package/dist/chunks/pagination-DHmYZZU9.cjs +1 -1
- package/dist/chunks/{physics-playground-Bewa75WW.cjs → physics-playground-BeQH0q6Z.cjs} +2 -2
- package/dist/chunks/{physics-playground-HbhOTyEH.js → physics-playground-LpYz0eAx.js} +3 -3
- package/dist/chunks/play-D9Utt9rO.cjs +1 -1
- package/dist/chunks/{play-DZ_ho9zJ.js → play-U4-l22wu.js} +2 -2
- package/dist/chunks/{player-core-DAEKafsQ.js → player-core-S0Fqtlfd.js} +5 -5
- package/dist/chunks/{player-core-CeaR3esR.cjs → player-core-wSp7kDYd.cjs} +2 -2
- package/dist/chunks/presence-DAthlALi.cjs +1 -1
- package/dist/chunks/{presence-C-dO1CU4.js → presence-DKAp51JY.js} +2 -2
- package/dist/chunks/presets-BYBVJVeP.js +1 -1
- package/dist/chunks/presets-CUHys3sK.cjs +1 -1
- package/dist/chunks/{preview-DdgqW96I.js → preview-DW0zh_0c.js} +3 -3
- package/dist/chunks/preview-kiMCBqSF.cjs +1 -1
- package/dist/chunks/{prize-wheel-xiuulNSI.js → prize-wheel-CYG2gNtL.js} +2 -2
- package/dist/chunks/prize-wheel-emDopI5c.cjs +1 -1
- package/dist/chunks/product-gallery-CKtSVhZk.cjs +1 -1
- package/dist/chunks/{product-gallery-BoiBGX9H.js → product-gallery-Dn7yr7N9.js} +2 -2
- package/dist/chunks/progress-ring-C75O4MUi.cjs +1 -1
- package/dist/chunks/{progress-ring-BsEz1MN3.js → progress-ring-DfUcJbXm.js} +2 -2
- package/dist/chunks/{project-CCfILvjg.js → project-9WDl1Fyq.js} +4 -4
- package/dist/chunks/project-DiTOvzic.cjs +1 -1
- package/dist/chunks/prop-panel-DFqga6H5.cjs +1 -1
- package/dist/chunks/{prop-panel-DqIbmWmc.js → prop-panel-DvkXyt8q.js} +2 -2
- package/dist/chunks/radar-D-bZRrgs.cjs +1 -1
- package/dist/chunks/{radar-t201zj2r.js → radar-D7LzLQJX.js} +2 -2
- package/dist/chunks/reactions-BL2iO8iy.cjs +1 -1
- package/dist/chunks/{reactions-CX-_6Suh.js → reactions-S_dsxBY8.js} +2 -2
- package/dist/chunks/{registry-B1ipgYF7.js → registry-BdSDdeL7.js} +2 -2
- package/dist/chunks/registry-CibnX7Ui.cjs +1 -1
- package/dist/chunks/{registry-B6XX3AVt.cjs → registry-CwNAUn9i.cjs} +3 -3
- package/dist/chunks/{registry-B3Ju6m4w.js → registry-D_uCJfI_.js} +3 -3
- package/dist/chunks/{retro-button-CPAMUUZ2.js → retro-button-2x9sOTBI.js} +2 -2
- package/dist/chunks/retro-button-DrrBZ6w8.cjs +1 -1
- package/dist/chunks/rive-D6X4J0Mi.cjs +1 -1
- package/dist/chunks/{rive-uSPb8arE.js → rive-wdC-DTmT.js} +2 -2
- package/dist/chunks/{runtime-link-Bqd4WMil.js → runtime-link-BZNS3wd5.js} +2 -2
- package/dist/chunks/{runtime-link-cSmP9oK2.cjs → runtime-link-D8m3c_eo.cjs} +2 -2
- package/dist/chunks/scene-U2YkjCm0.cjs +1 -1
- package/dist/chunks/{scene-C7-PUIZK.js → scene-WZLES-B0.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-Qt7VsuDE.js → scroll-scene-DI8TwEv1.js} +4 -4
- package/dist/chunks/{scroll-scene-COrtHfnK.cjs → scroll-scene-rNh_d83u.cjs} +3 -3
- package/dist/chunks/{segmented-KPw5KH1W.js → segmented-BCajObgE.js} +2 -2
- package/dist/chunks/segmented-CpB4mKIn.cjs +1 -1
- package/dist/chunks/shader-backdrop-BodjXMhw.cjs +1 -1
- package/dist/chunks/{shader-backdrop-JPI5yk7O.js → shader-backdrop-Ccg25dLQ.js} +2 -2
- 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-CheLvhW_.js → sheet-B2r33Isp.js} +2 -2
- package/dist/chunks/sheet-B38ylIEW.cjs +1 -1
- package/dist/chunks/sign-DvZ1jHxE.js +1 -1
- package/dist/chunks/sign-RAkQIWrM.cjs +1 -1
- package/dist/chunks/{skeleton-reveal-DDDWXmcC.js → skeleton-reveal-D2uMxKHC.js} +2 -2
- package/dist/chunks/skeleton-reveal-Dsd3Wp0n.cjs +1 -1
- package/dist/chunks/{sparkline-u-Oxv7YR.js → sparkline-C3SGIIax.js} +2 -2
- package/dist/chunks/sparkline-DeKhZpVo.cjs +1 -1
- package/dist/chunks/{spring-YKWCyYGf.js → spring-BOKyL1Rj.js} +2 -2
- package/dist/chunks/spring-XEl_diDJ.cjs +1 -1
- package/dist/chunks/stagger-B9sKPwQB.js +1 -1
- package/dist/chunks/stagger-DFKwqOQG.cjs +1 -1
- package/dist/chunks/suggestion-chips-CAcbFTr4.cjs +1 -1
- package/dist/chunks/{suggestion-chips-BlX6Fmt-.js → suggestion-chips-FMxruJG4.js} +2 -2
- package/dist/chunks/{switch-kilxiPM3.js → switch-BdGuLQpo.js} +2 -2
- package/dist/chunks/switch-DiTlApGd.cjs +1 -1
- package/dist/chunks/tab-bar-BBlVAqbq.cjs +1 -1
- package/dist/chunks/{tab-bar-CBtsdbcT.js → tab-bar-rGOs5uh4.js} +2 -2
- package/dist/chunks/{ticker-Cy386cSs.cjs → ticker-CMYHvK4b.cjs} +2 -2
- package/dist/chunks/{ticker-DH1XbUNF.js → ticker-qwzRa-JM.js} +2 -2
- package/dist/chunks/tip-VGS3qAUm.cjs +1 -1
- package/dist/chunks/{tip-UhHR-P4Q.js → tip-VhV9WI93.js} +2 -2
- package/dist/chunks/{toast-stack-B_bO4fVO.js → toast-stack-BMStleeh.js} +3 -3
- package/dist/chunks/toast-stack-DprisNp_.cjs +1 -1
- package/dist/chunks/{tween-CDPoQTsq.js → tween-B-wK3IZA.js} +2 -2
- package/dist/chunks/{tween-BxJQy5VJ.cjs → tween-Z70_b9pi.cjs} +2 -2
- package/dist/chunks/{upload-progress-kJz9Mw10.js → upload-progress-5FPam2SV.js} +2 -2
- package/dist/chunks/upload-progress-CEAWkP-p.cjs +1 -1
- package/dist/chunks/{v2-C_rZCsjr.js → v2-BN000nHo.js} +3 -3
- package/dist/chunks/v2-El9dfBqV.cjs +1 -1
- package/dist/chunks/v3-read-BNhrN3tL.cjs +1 -1
- package/dist/chunks/v3-read-BqgIjLQP.js +1 -1
- package/dist/chunks/variants-BtqEJuki.cjs +1 -1
- package/dist/chunks/{variants-CDG1W49e.js → variants-DWeKzYPo.js} +2 -2
- package/dist/chunks/viewport-BAXHhZLV.js +1 -1
- package/dist/chunks/viewport-EFYGqMNa.cjs +1 -1
- package/dist/chunks/voice-button-9UauxvT9.cjs +1 -1
- package/dist/chunks/{voice-button-leTq2whK.js → voice-button-BsYkfXZ8.js} +2 -2
- package/dist/chunks/weather-card-4Eg6e43D.cjs +1 -1
- package/dist/chunks/{weather-card-CL5yJ4rw.js → weather-card-B5ZBoxiD.js} +2 -2
- package/dist/chunks/worker-canvas-BMBXAFWp.cjs +1 -1
- package/dist/chunks/{worker-canvas-RGGXvIxH.js → worker-canvas-DwniXjtc.js} +2 -2
- package/dist/chunks/{xp-bar-DgVUXJYh.js → xp-bar-DFdhs9RQ.js} +2 -2
- package/dist/chunks/xp-bar-DkWfCTfB.cjs +1 -1
- package/dist/components/a11y.cjs +1 -1
- package/dist/components/a11y.js +3 -3
- package/dist/components/ai.cjs +1 -1
- package/dist/components/ai.js +1 -1
- package/dist/components/angular.cjs +1 -1
- package/dist/components/angular.js +1 -1
- package/dist/components/background.cjs +1 -1
- package/dist/components/background.js +3 -3
- package/dist/components/bridge.cjs +1 -1
- package/dist/components/bridge.js +2 -2
- package/dist/components/cards.cjs +1 -1
- package/dist/components/cards.js +3 -3
- package/dist/components/click.cjs +3 -3
- package/dist/components/click.js +5 -5
- 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 +4 -4
- package/dist/components/design.cjs +1 -1
- package/dist/components/design.js +2 -2
- package/dist/components/dotlottie.cjs +3 -3
- package/dist/components/dotlottie.js +4 -4
- package/dist/components/dsl.cjs +1 -1
- package/dist/components/dsl.js +2 -2
- package/dist/components/effects.cjs +2 -2
- package/dist/components/effects.js +10 -10
- package/dist/components/engine.cjs +1 -1
- package/dist/components/engine.js +3 -3
- package/dist/components/feedback.cjs +2 -2
- package/dist/components/feedback.js +3 -3
- package/dist/components/fx-3d.cjs +1 -1
- package/dist/components/fx-3d.js +3 -3
- package/dist/components/fx-ai.cjs +1 -1
- package/dist/components/fx-ai.js +2 -2
- package/dist/components/fx-chart.cjs +1 -1
- package/dist/components/fx-chart.js +2 -2
- package/dist/components/fx-cinema.cjs +1 -1
- package/dist/components/fx-cinema.js +2 -2
- package/dist/components/fx-cyber.cjs +1 -1
- package/dist/components/fx-cyber.js +2 -2
- package/dist/components/fx-festival.cjs +1 -1
- package/dist/components/fx-festival.js +2 -2
- package/dist/components/fx-focus.cjs +1 -1
- package/dist/components/fx-focus.js +2 -2
- package/dist/components/fx-form.cjs +1 -1
- package/dist/components/fx-form.js +2 -2
- package/dist/components/fx-game.cjs +1 -1
- package/dist/components/fx-game.js +2 -2
- package/dist/components/fx-genart.cjs +1 -1
- package/dist/components/fx-genart.js +2 -2
- package/dist/components/fx-geo.cjs +1 -1
- package/dist/components/fx-geo.js +2 -2
- package/dist/components/fx-gesture.cjs +1 -1
- package/dist/components/fx-gesture.js +2 -2
- package/dist/components/fx-gpu.cjs +1 -1
- package/dist/components/fx-gpu.js +4 -4
- package/dist/components/fx-light.cjs +1 -1
- package/dist/components/fx-light.js +4 -4
- package/dist/components/fx-lottie.cjs +2 -2
- package/dist/components/fx-lottie.js +3 -3
- package/dist/components/fx-morph.cjs +1 -1
- package/dist/components/fx-morph.js +2 -2
- package/dist/components/fx-music.cjs +1 -1
- package/dist/components/fx-music.js +5 -5
- package/dist/components/fx-organic.cjs +1 -1
- package/dist/components/fx-organic.js +2 -2
- package/dist/components/fx-paper.cjs +1 -1
- package/dist/components/fx-paper.js +2 -2
- package/dist/components/fx-perf.cjs +1 -1
- package/dist/components/fx-perf.js +3 -3
- package/dist/components/fx-physics.cjs +1 -1
- package/dist/components/fx-physics.js +4 -4
- package/dist/components/fx-retro.cjs +1 -1
- package/dist/components/fx-retro.js +2 -2
- package/dist/components/fx-safe.cjs +1 -1
- package/dist/components/fx-safe.js +3 -3
- package/dist/components/fx-shop.cjs +1 -1
- package/dist/components/fx-shop.js +2 -2
- package/dist/components/fx-social.cjs +1 -1
- package/dist/components/fx-social.js +2 -2
- package/dist/components/fx-spatial.cjs +1 -1
- package/dist/components/fx-spatial.js +2 -2
- package/dist/components/fx-surface.cjs +1 -1
- package/dist/components/fx-surface.js +2 -2
- package/dist/components/fx-text.cjs +1 -1
- package/dist/components/fx-text.js +3 -3
- package/dist/components/fx-transitions.cjs +1 -1
- package/dist/components/fx-transitions.js +4 -4
- package/dist/components/fx-video.cjs +1 -1
- package/dist/components/fx-video.js +3 -3
- package/dist/components/fx-weather.cjs +1 -1
- package/dist/components/fx-weather.js +3 -3
- package/dist/components/fx.cjs +2 -2
- package/dist/components/fx.js +5 -5
- package/dist/components/fx2.cjs +1 -1
- package/dist/components/fx2.js +5 -5
- package/dist/components/gesture.cjs +1 -1
- package/dist/components/gesture.js +5 -5
- package/dist/components/gl-model.cjs +3 -3
- package/dist/components/gl-model.js +4 -4
- package/dist/components/gl-pool.cjs +2 -2
- package/dist/components/gl-pool.js +2 -2
- package/dist/components/interaction.cjs +1 -1
- 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 +3 -3
- package/dist/components/lazy.cjs +3 -3
- package/dist/components/lazy.js +3 -3
- package/dist/components/lite.cjs +11 -11
- package/dist/components/lite.js +11 -11
- package/dist/components/marketplace.cjs +1 -1
- package/dist/components/marketplace.js +3 -3
- package/dist/components/mo.cjs +118 -0
- package/dist/components/mo.d.cts +14 -0
- package/dist/components/mo.d.ts +14 -0
- package/dist/components/mo.js +114 -0
- package/dist/components/motion-layout.cjs +1 -1
- package/dist/components/motion-layout.js +3 -3
- package/dist/components/motion-scene.cjs +1 -1
- package/dist/components/motion-scene.js +3 -3
- package/dist/components/motion-tokens.cjs +1 -1
- package/dist/components/motion-tokens.js +1 -1
- package/dist/components/motion.cjs +1 -1
- package/dist/components/motion.js +5 -5
- package/dist/components/native.cjs +1 -1
- package/dist/components/native.js +1 -1
- package/dist/components/offscreen.cjs +1 -1
- package/dist/components/offscreen.js +3 -3
- package/dist/components/packs.cjs +2 -2
- package/dist/components/packs.js +3 -3
- package/dist/components/page.cjs +3 -3
- package/dist/components/page.js +6 -6
- package/dist/components/perf-tasks.cjs +1 -1
- package/dist/components/perf-tasks.js +2 -2
- package/dist/components/perf.cjs +2 -2
- package/dist/components/perf.js +4 -4
- package/dist/components/physics.cjs +1 -1
- package/dist/components/physics.js +4 -4
- package/dist/components/plugins.cjs +1 -1
- package/dist/components/plugins.js +2 -2
- 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 +2 -2
- package/dist/components/scene-symbols.cjs +1 -1
- package/dist/components/scene-symbols.js +1 -1
- package/dist/components/scene-v2.cjs +2 -2
- package/dist/components/scene-v2.d.cts +1 -1
- package/dist/components/scene-v2.d.ts +1 -1
- package/dist/components/scene-v2.js +3 -3
- package/dist/components/scene-v3.cjs +2 -2
- package/dist/components/scene-v3.js +3 -3
- package/dist/components/snap-carousel.cjs +2 -2
- package/dist/components/snap-carousel.js +3 -3
- package/dist/components/solid.cjs +1 -1
- package/dist/components/solid.js +1 -1
- package/dist/components/studio-a11y.cjs +1 -1
- package/dist/components/studio-a11y.js +1 -1
- package/dist/components/studio-ai.cjs +1 -1
- package/dist/components/studio-ai.js +4 -4
- package/dist/components/studio-app.cjs +1 -1
- package/dist/components/studio-app.js +4 -4
- package/dist/components/studio-assets.cjs +1 -1
- package/dist/components/studio-assets.js +3 -3
- package/dist/components/studio-budget.cjs +1 -1
- package/dist/components/studio-budget.js +1 -1
- package/dist/components/studio-canvas.cjs +1 -1
- package/dist/components/studio-canvas.js +3 -3
- package/dist/components/studio-export.cjs +1 -1
- package/dist/components/studio-export.js +4 -4
- package/dist/components/studio-native.cjs +1 -1
- package/dist/components/studio-native.js +3 -3
- package/dist/components/studio-plugins.cjs +5 -2
- package/dist/components/studio-plugins.d.cts +4 -2
- package/dist/components/studio-plugins.d.ts +4 -2
- package/dist/components/studio-plugins.js +5 -3
- package/dist/components/studio-provenance.cjs +1 -1
- package/dist/components/studio-provenance.js +1 -1
- package/dist/components/studio-store.cjs +1 -1
- package/dist/components/studio-store.js +1 -1
- package/dist/components/studio-templates.cjs +1 -1
- package/dist/components/studio-templates.js +2 -2
- package/dist/components/studio.cjs +1 -1
- package/dist/components/studio.js +7 -7
- package/dist/components/svelte.cjs +1 -1
- package/dist/components/svelte.js +1 -1
- package/dist/components/svg.cjs +1 -1
- package/dist/components/svg.js +2 -2
- package/dist/components/text.cjs +1 -1
- package/dist/components/text.js +3 -3
- package/dist/components/timeline-editor.cjs +2 -2
- package/dist/components/timeline-editor.d.cts +1 -1
- package/dist/components/timeline-editor.d.ts +1 -1
- package/dist/components/timeline-editor.js +6 -6
- package/dist/components/timeline.cjs +1 -1
- 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 +1 -1
- package/dist/components/transitions.js +2 -2
- package/dist/components/ui.cjs +1 -1
- package/dist/components/ui.js +5 -5
- package/dist/components/vue.cjs +1 -1
- package/dist/components/vue.js +1 -1
- package/dist/components/webgl.cjs +1 -1
- package/dist/components/webgl.js +2 -2
- package/dist/components/widgets.cjs +5 -5
- package/dist/components/widgets.d.cts +1 -1
- package/dist/components/widgets.d.ts +1 -1
- package/dist/components/widgets.js +101 -101
- package/dist/components.cjs +3 -3
- package/dist/components.js +11 -11
- package/dist/components.umd.js +3 -3
- package/dist/effects/achievement-unlock.cjs +1 -1
- package/dist/effects/achievement-unlock.js +2 -2
- package/dist/effects/aurora-veil.cjs +1 -1
- package/dist/effects/aurora-veil.js +2 -2
- package/dist/effects/badge-pop.cjs +1 -1
- package/dist/effects/badge-pop.js +2 -2
- package/dist/effects/bars-grow.cjs +1 -1
- package/dist/effects/bars-grow.js +2 -2
- package/dist/effects/beat-bounce.cjs +1 -1
- package/dist/effects/beat-bounce.js +2 -2
- package/dist/effects/blob-button.cjs +1 -1
- package/dist/effects/blob-button.js +2 -2
- package/dist/effects/bloom.cjs +1 -1
- package/dist/effects/bloom.js +2 -2
- package/dist/effects/breathe.cjs +1 -1
- package/dist/effects/breathe.js +2 -2
- package/dist/effects/brushed-metal.cjs +1 -1
- package/dist/effects/brushed-metal.js +2 -2
- package/dist/effects/camera-dolly.cjs +1 -1
- package/dist/effects/camera-dolly.js +2 -2
- package/dist/effects/card-flip-3d.cjs +1 -1
- package/dist/effects/card-flip-3d.js +2 -2
- package/dist/effects/chest-open.cjs +1 -1
- package/dist/effects/chest-open.js +2 -2
- package/dist/effects/cloth.cjs +1 -1
- package/dist/effects/cloth.js +2 -2
- package/dist/effects/coin-burst.cjs +1 -1
- package/dist/effects/coin-burst.js +2 -2
- package/dist/effects/color-pulse.cjs +1 -1
- package/dist/effects/color-pulse.js +2 -2
- package/dist/effects/crt-power.cjs +1 -1
- package/dist/effects/crt-power.js +2 -2
- package/dist/effects/crumple.cjs +1 -1
- package/dist/effects/crumple.js +2 -2
- package/dist/effects/data-decode.cjs +1 -1
- package/dist/effects/data-decode.js +2 -2
- package/dist/effects/day-cycle.cjs +1 -1
- package/dist/effects/day-cycle.js +2 -2
- package/dist/effects/depth-in.cjs +1 -1
- package/dist/effects/depth-in.js +2 -2
- package/dist/effects/depth-pop.cjs +1 -1
- package/dist/effects/depth-pop.js +2 -2
- package/dist/effects/depth-stack.cjs +1 -1
- package/dist/effects/depth-stack.js +2 -2
- package/dist/effects/dolly-in.cjs +1 -1
- package/dist/effects/dolly-in.js +2 -2
- package/dist/effects/dots-pop.cjs +1 -1
- package/dist/effects/dots-pop.js +2 -2
- package/dist/effects/field-shake.cjs +1 -1
- package/dist/effects/field-shake.js +2 -2
- package/dist/effects/field-success.cjs +1 -1
- package/dist/effects/field-success.js +2 -2
- package/dist/effects/film-burn.cjs +1 -1
- package/dist/effects/film-burn.js +2 -2
- package/dist/effects/fire.cjs +1 -1
- package/dist/effects/fire.js +3 -3
- package/dist/effects/fireflies.cjs +1 -1
- package/dist/effects/fireflies.js +3 -3
- package/dist/effects/firework-burst.cjs +1 -1
- package/dist/effects/firework-burst.js +2 -2
- package/dist/effects/flip-chars.cjs +1 -1
- package/dist/effects/flip-chars.js +2 -2
- package/dist/effects/fluid.cjs +1 -1
- package/dist/effects/fluid.js +3 -3
- package/dist/effects/fly-to-cart.cjs +1 -1
- package/dist/effects/fly-to-cart.js +2 -2
- package/dist/effects/focus-draw.cjs +1 -1
- package/dist/effects/focus-draw.js +2 -2
- package/dist/effects/focus-glow.cjs +1 -1
- package/dist/effects/focus-glow.js +2 -2
- package/dist/effects/fog.cjs +1 -1
- package/dist/effects/fog.js +2 -2
- package/dist/effects/font-breathe.cjs +1 -1
- package/dist/effects/font-breathe.js +2 -2
- package/dist/effects/form-cascade.cjs +1 -1
- package/dist/effects/form-cascade.js +2 -2
- package/dist/effects/gen-skeleton.cjs +1 -1
- package/dist/effects/gen-skeleton.js +2 -2
- package/dist/effects/glass-frost.cjs +1 -1
- package/dist/effects/glass-frost.js +2 -2
- package/dist/effects/glitch-text.cjs +1 -1
- package/dist/effects/glitch-text.js +2 -2
- package/dist/effects/globe-spin.cjs +1 -1
- package/dist/effects/globe-spin.js +2 -2
- package/dist/effects/god-rays.cjs +1 -1
- package/dist/effects/god-rays.js +2 -2
- package/dist/effects/gpu-lift.cjs +1 -1
- package/dist/effects/gpu-lift.js +2 -2
- package/dist/effects/grain-flicker.cjs +1 -1
- package/dist/effects/grain-flicker.js +2 -2
- package/dist/effects/halftone-in.cjs +1 -1
- package/dist/effects/halftone-in.js +2 -2
- package/dist/effects/highlight-sweep.cjs +1 -1
- package/dist/effects/highlight-sweep.js +2 -2
- package/dist/effects/hologram.cjs +1 -1
- package/dist/effects/hologram.js +2 -2
- package/dist/effects/hud-frame.cjs +1 -1
- package/dist/effects/hud-frame.js +2 -2
- package/dist/effects/icon-pop.cjs +1 -1
- package/dist/effects/icon-pop.js +2 -2
- package/dist/effects/icon-swap.cjs +1 -1
- package/dist/effects/icon-swap.js +2 -2
- package/dist/effects/idle-reveal.cjs +1 -1
- package/dist/effects/idle-reveal.js +2 -2
- package/dist/effects/ink.cjs +1 -1
- package/dist/effects/ink.js +3 -3
- package/dist/effects/jump-cut.cjs +1 -1
- package/dist/effects/jump-cut.js +2 -2
- package/dist/effects/kaleido.cjs +1 -1
- package/dist/effects/kaleido.js +2 -2
- package/dist/effects/label-float.cjs +1 -1
- package/dist/effects/label-float.js +2 -2
- package/dist/effects/lantern-rise.cjs +1 -1
- package/dist/effects/lantern-rise.js +2 -2
- package/dist/effects/leaves.cjs +1 -1
- package/dist/effects/leaves.js +3 -3
- package/dist/effects/letterbox.cjs +1 -1
- package/dist/effects/letterbox.js +2 -2
- package/dist/effects/level-up.cjs +1 -1
- package/dist/effects/level-up.js +2 -2
- package/dist/effects/light-follow.cjs +1 -1
- package/dist/effects/light-follow.js +2 -2
- package/dist/effects/lightning.cjs +1 -1
- package/dist/effects/lightning.js +2 -2
- package/dist/effects/line-draw.cjs +1 -1
- package/dist/effects/line-draw.js +2 -2
- package/dist/effects/liquid-text.cjs +1 -1
- package/dist/effects/liquid-text.js +2 -2
- package/dist/effects/liquid-wipe.cjs +1 -1
- package/dist/effects/liquid-wipe.js +2 -2
- package/dist/effects/lottie-play.cjs +1 -1
- package/dist/effects/lottie-play.js +2 -2
- package/dist/effects/magnet.cjs +1 -1
- package/dist/effects/magnet.js +2 -2
- package/dist/effects/marching-ants.cjs +1 -1
- package/dist/effects/marching-ants.js +2 -2
- package/dist/effects/marker-pulse.cjs +1 -1
- package/dist/effects/marker-pulse.js +2 -2
- package/dist/effects/mention-glow.cjs +1 -1
- package/dist/effects/mention-glow.js +2 -2
- package/dist/effects/mesh-drift.cjs +1 -1
- package/dist/effects/mesh-drift.js +2 -2
- package/dist/effects/message-in.cjs +1 -1
- package/dist/effects/message-in.js +2 -2
- package/dist/effects/mosaic-flip.cjs +1 -1
- package/dist/effects/mosaic-flip.js +2 -2
- package/dist/effects/neon-ignite.cjs +1 -1
- package/dist/effects/neon-ignite.js +2 -2
- package/dist/effects/neon-pulse.cjs +1 -1
- package/dist/effects/neon-pulse.js +2 -2
- package/dist/effects/neon-write.cjs +1 -1
- package/dist/effects/neon-write.js +2 -2
- package/dist/effects/neu-press.cjs +1 -1
- package/dist/effects/neu-press.js +2 -2
- package/dist/effects/noise-reveal.cjs +1 -1
- package/dist/effects/noise-reveal.js +2 -2
- package/dist/effects/number-roll.cjs +1 -1
- package/dist/effects/number-roll.js +2 -2
- package/dist/effects/orbit-camera.cjs +1 -1
- package/dist/effects/orbit-camera.js +2 -2
- package/dist/effects/orbit-in.cjs +1 -1
- package/dist/effects/orbit-in.js +2 -2
- package/dist/effects/origami.cjs +1 -1
- package/dist/effects/origami.js +2 -2
- package/dist/effects/page-curl.cjs +1 -1
- package/dist/effects/page-curl.js +2 -2
- package/dist/effects/pan-reveal.cjs +1 -1
- package/dist/effects/pan-reveal.js +2 -2
- package/dist/effects/paper-unfold.cjs +1 -1
- package/dist/effects/paper-unfold.js +2 -2
- package/dist/effects/particle-text.cjs +1 -1
- package/dist/effects/particle-text.js +2 -2
- package/dist/effects/path-morph.cjs +1 -1
- package/dist/effects/path-morph.js +2 -2
- package/dist/effects/pearlescent.cjs +1 -1
- package/dist/effects/pearlescent.js +2 -2
- package/dist/effects/pencil-sketch.cjs +1 -1
- package/dist/effects/pencil-sketch.js +2 -2
- package/dist/effects/pin-drop.cjs +1 -1
- package/dist/effects/pin-drop.js +2 -2
- package/dist/effects/pinball.cjs +1 -1
- package/dist/effects/pinball.js +2 -2
- package/dist/effects/pinch-hint.cjs +1 -1
- package/dist/effects/pinch-hint.js +2 -2
- package/dist/effects/pixelate-in.cjs +1 -1
- package/dist/effects/pixelate-in.js +2 -2
- package/dist/effects/pointer-shadow.cjs +1 -1
- package/dist/effects/pointer-shadow.js +2 -2
- package/dist/effects/portal-open.cjs +1 -1
- package/dist/effects/portal-open.js +2 -2
- package/dist/effects/price-flip.cjs +1 -1
- package/dist/effects/price-flip.js +2 -2
- package/dist/effects/product-spin.cjs +1 -1
- package/dist/effects/product-spin.js +2 -2
- package/dist/effects/rack-focus.cjs +1 -1
- package/dist/effects/rack-focus.js +2 -2
- package/dist/effects/radial-spectrum.cjs +1 -1
- package/dist/effects/radial-spectrum.js +2 -2
- package/dist/effects/rain-glass.cjs +1 -1
- package/dist/effects/rain-glass.js +2 -2
- package/dist/effects/reaction-burst.cjs +1 -1
- package/dist/effects/reaction-burst.js +2 -2
- package/dist/effects/read-receipt.cjs +1 -1
- package/dist/effects/read-receipt.js +2 -2
- package/dist/effects/refraction.cjs +1 -1
- package/dist/effects/refraction.js +2 -2
- package/dist/effects/ring-sweep.cjs +1 -1
- package/dist/effects/ring-sweep.js +2 -2
- package/dist/effects/ripple-dissolve.cjs +1 -1
- package/dist/effects/ripple-dissolve.js +2 -2
- package/dist/effects/rope.cjs +1 -1
- package/dist/effects/rope.js +2 -2
- package/dist/effects/route-draw.cjs +1 -1
- package/dist/effects/route-draw.js +2 -2
- package/dist/effects/safe-fade.cjs +1 -1
- package/dist/effects/safe-fade.js +2 -2
- package/dist/effects/sakura.cjs +1 -1
- package/dist/effects/sakura.js +3 -3
- package/dist/effects/sale-shine.cjs +1 -1
- package/dist/effects/sale-shine.js +2 -2
- package/dist/effects/sankey-flow.cjs +1 -1
- package/dist/effects/sankey-flow.js +2 -2
- package/dist/effects/scanline-sweep.cjs +1 -1
- package/dist/effects/scanline-sweep.js +2 -2
- package/dist/effects/shatter.cjs +1 -1
- package/dist/effects/shatter.js +2 -2
- package/dist/effects/smoke.cjs +1 -1
- package/dist/effects/smoke.js +3 -3
- package/dist/effects/snowfall.cjs +1 -1
- package/dist/effects/snowfall.js +2 -2
- package/dist/effects/soft-body.cjs +1 -1
- package/dist/effects/soft-body.js +2 -2
- package/dist/effects/sound-particles.cjs +1 -1
- package/dist/effects/sound-particles.js +2 -2
- package/dist/effects/spatial-float.cjs +1 -1
- package/dist/effects/spatial-float.js +2 -2
- package/dist/effects/spectrum-mirror.cjs +1 -1
- package/dist/effects/spectrum-mirror.js +2 -2
- package/dist/effects/splash.cjs +1 -1
- package/dist/effects/splash.js +3 -3
- package/dist/effects/spooky-float.cjs +1 -1
- package/dist/effects/spooky-float.js +2 -2
- package/dist/effects/stock-pulse.cjs +1 -1
- package/dist/effects/stock-pulse.js +2 -2
- package/dist/effects/stream-text.cjs +1 -1
- package/dist/effects/stream-text.js +2 -2
- package/dist/effects/stroke-draw.cjs +1 -1
- package/dist/effects/stroke-draw.js +2 -2
- package/dist/effects/success-check.cjs +1 -1
- package/dist/effects/success-check.js +2 -2
- package/dist/effects/swipe-hint.cjs +1 -1
- package/dist/effects/swipe-hint.js +2 -2
- package/dist/effects/text-trail.cjs +1 -1
- package/dist/effects/text-trail.js +2 -2
- package/dist/effects/thinking-glow.cjs +1 -1
- package/dist/effects/thinking-glow.js +2 -2
- package/dist/effects/tilt-wobble.cjs +1 -1
- package/dist/effects/tilt-wobble.js +2 -2
- package/dist/effects/typing-dots.cjs +1 -1
- package/dist/effects/typing-dots.js +2 -2
- package/dist/effects/underline-sweep.cjs +1 -1
- package/dist/effects/underline-sweep.js +2 -2
- package/dist/effects/vhs-glitch.cjs +1 -1
- package/dist/effects/vhs-glitch.js +2 -2
- package/dist/effects/vine-grow.cjs +1 -1
- package/dist/effects/vine-grow.js +2 -2
- package/dist/effects/vinyl-spin.cjs +1 -1
- package/dist/effects/vinyl-spin.js +2 -2
- package/dist/effects/voice-wave.cjs +1 -1
- package/dist/effects/voice-wave.js +2 -2
- package/dist/effects/water-drop.cjs +1 -1
- package/dist/effects/water-drop.js +2 -2
- package/dist/effects/watercolor.cjs +1 -1
- package/dist/effects/watercolor.js +2 -2
- package/dist/effects/waveform-scope.cjs +1 -1
- package/dist/effects/waveform-scope.js +2 -2
- package/dist/effects/xmas-snow.cjs +1 -1
- package/dist/effects/xmas-snow.js +2 -2
- package/dist/effects/xp-gain.cjs +1 -1
- package/dist/effects/xp-gain.js +2 -2
- package/dist/effects/y2k-shine.cjs +1 -1
- package/dist/effects/y2k-shine.js +2 -2
- 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 +2 -2
- package/dist/index.umd.js +1 -1
- package/dist/llms.txt +2 -2
- package/dist/manifest.json +1 -1
- 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 +3 -3
- package/dist/runtime/format-apng.iife.js +1 -1
- package/dist/runtime/format-apng.js +3 -3
- package/dist/runtime/format-css.cjs +3 -3
- package/dist/runtime/format-css.iife.js +1 -1
- package/dist/runtime/format-css.js +3 -3
- package/dist/runtime/format-gif.cjs +3 -3
- package/dist/runtime/format-gif.iife.js +1 -1
- package/dist/runtime/format-gif.js +3 -3
- package/dist/runtime/format-gltf.cjs +2 -2
- package/dist/runtime/format-gltf.iife.js +1 -1
- package/dist/runtime/format-gltf.js +2 -2
- package/dist/runtime/format-motion.cjs +4 -4
- package/dist/runtime/format-motion.iife.js +1 -1
- package/dist/runtime/format-motion.js +4 -4
- package/dist/runtime/format-obj.cjs +2 -2
- package/dist/runtime/format-obj.iife.js +1 -1
- package/dist/runtime/format-obj.js +2 -2
- package/dist/runtime/format-scene.cjs +2 -2
- package/dist/runtime/format-scene.iife.js +1 -1
- package/dist/runtime/format-scene.js +2 -2
- package/dist/runtime/format-sprite.cjs +3 -3
- package/dist/runtime/format-sprite.iife.js +1 -1
- package/dist/runtime/format-sprite.js +3 -3
- package/dist/runtime/format-svg.cjs +3 -3
- package/dist/runtime/format-svg.iife.js +1 -1
- package/dist/runtime/format-svg.js +3 -3
- package/dist/runtime/format-webp.cjs +3 -3
- package/dist/runtime/format-webp.iife.js +1 -1
- package/dist/runtime/format-webp.js +3 -3
- package/dist/runtime/gl.cjs +2 -2
- package/dist/runtime/gl.iife.js +1 -1
- package/dist/runtime/gl.js +2 -2
- package/dist/runtime/gltf-anim.cjs +2 -2
- package/dist/runtime/gltf-anim.iife.js +1 -1
- package/dist/runtime/gltf-anim.js +2 -2
- package/dist/runtime/gltf-decoders.cjs +2 -2
- package/dist/runtime/gltf-decoders.iife.js +1 -1
- package/dist/runtime/gltf-decoders.js +2 -2
- package/dist/runtime/lottie-state.cjs +2 -2
- package/dist/runtime/lottie-state.iife.js +1 -1
- package/dist/runtime/lottie-state.js +2 -2
- package/dist/runtime/physics.cjs +2 -2
- package/dist/runtime/physics.iife.js +1 -1
- package/dist/runtime/physics.js +2 -2
- package/dist/runtime/scroll.cjs +3 -3
- package/dist/runtime/scroll.iife.js +1 -1
- package/dist/runtime/scroll.js +3 -3
- package/dist/runtime/smooth.cjs +2 -2
- package/dist/runtime/smooth.iife.js +1 -1
- package/dist/runtime/smooth.js +2 -2
- package/dist/runtime/text.cjs +2 -2
- package/dist/runtime/text.iife.js +1 -1
- package/dist/runtime/text.js +2 -2
- package/dist/runtime/vector.cjs +3 -3
- package/dist/runtime/vector.iife.js +1 -1
- package/dist/runtime/vector.js +3 -3
- package/dist/runtime.cjs +4 -4
- package/dist/runtime.d.cts +2 -2
- package/dist/runtime.d.ts +2 -2
- 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 +3 -3
- package/dist/widgets/add-to-cart.js +5 -5
- package/dist/widgets/badge-wall.cjs +1 -1
- package/dist/widgets/badge-wall.js +2 -2
- package/dist/widgets/bar-chart.cjs +1 -1
- package/dist/widgets/bar-chart.js +2 -2
- package/dist/widgets/bg-generator.cjs +1 -1
- package/dist/widgets/bg-generator.js +2 -2
- package/dist/widgets/carousel.cjs +1 -1
- package/dist/widgets/carousel.js +2 -2
- package/dist/widgets/cart-drawer.cjs +1 -1
- package/dist/widgets/cart-drawer.js +2 -2
- package/dist/widgets/chapter-nav.cjs +1 -1
- package/dist/widgets/chapter-nav.js +2 -2
- package/dist/widgets/chat-composer.cjs +1 -1
- package/dist/widgets/chat-composer.js +2 -2
- package/dist/widgets/clock-control.cjs +1 -1
- package/dist/widgets/clock-control.js +2 -2
- package/dist/widgets/code-export.cjs +1 -1
- package/dist/widgets/code-export.js +2 -2
- package/dist/widgets/color-picker.cjs +1 -1
- package/dist/widgets/color-picker.js +2 -2
- package/dist/widgets/command-palette.cjs +1 -1
- package/dist/widgets/command-palette.js +2 -2
- package/dist/widgets/compare.cjs +1 -1
- package/dist/widgets/compare.js +2 -2
- package/dist/widgets/countdown.cjs +1 -1
- package/dist/widgets/countdown.js +2 -2
- package/dist/widgets/cube-gallery.cjs +1 -1
- package/dist/widgets/cube-gallery.js +2 -2
- package/dist/widgets/date-picker.cjs +1 -1
- package/dist/widgets/date-picker.js +2 -2
- package/dist/widgets/disclosure.cjs +1 -1
- package/dist/widgets/disclosure.js +3 -3
- package/dist/widgets/dock.cjs +1 -1
- package/dist/widgets/dock.js +2 -2
- package/dist/widgets/dotlottie.cjs +1 -1
- package/dist/widgets/dotlottie.js +1 -1
- package/dist/widgets/equalizer.cjs +1 -1
- package/dist/widgets/equalizer.js +2 -2
- package/dist/widgets/festival-banner.cjs +1 -1
- package/dist/widgets/festival-banner.js +2 -2
- package/dist/widgets/field.cjs +1 -1
- package/dist/widgets/field.js +2 -2
- package/dist/widgets/file-drop.cjs +1 -1
- package/dist/widgets/file-drop.js +2 -2
- package/dist/widgets/gauge.cjs +1 -1
- package/dist/widgets/gauge.js +2 -2
- package/dist/widgets/gen-art.cjs +1 -1
- package/dist/widgets/gen-art.js +2 -2
- package/dist/widgets/gesture-sticker.cjs +1 -1
- package/dist/widgets/gesture-sticker.js +2 -2
- package/dist/widgets/gl-model.cjs +1 -1
- package/dist/widgets/gl-model.js +1 -1
- package/dist/widgets/gl-scene.cjs +2 -2
- package/dist/widgets/gl-scene.js +2 -2
- package/dist/widgets/globe.cjs +1 -1
- package/dist/widgets/globe.js +2 -2
- package/dist/widgets/gpu-particles.cjs +1 -1
- package/dist/widgets/gpu-particles.js +2 -2
- package/dist/widgets/gyro-card.cjs +1 -1
- package/dist/widgets/gyro-card.js +2 -2
- package/dist/widgets/hero-video.cjs +1 -1
- package/dist/widgets/hero-video.js +2 -2
- package/dist/widgets/hud-panel.cjs +1 -1
- package/dist/widgets/hud-panel.js +2 -2
- package/dist/widgets/hydrate.cjs +1 -1
- package/dist/widgets/hydrate.js +2 -2
- package/dist/widgets/install-button.cjs +1 -1
- package/dist/widgets/install-button.js +2 -2
- package/dist/widgets/kanban.cjs +1 -1
- package/dist/widgets/kanban.js +2 -2
- package/dist/widgets/keyframe-editor.cjs +2 -2
- package/dist/widgets/keyframe-editor.js +3 -3
- package/dist/widgets/kpi.cjs +1 -1
- package/dist/widgets/kpi.js +2 -2
- package/dist/widgets/leaderboard.cjs +1 -1
- package/dist/widgets/leaderboard.js +2 -2
- package/dist/widgets/liquid-nav.cjs +1 -1
- package/dist/widgets/liquid-nav.js +2 -2
- package/dist/widgets/location-card.cjs +1 -1
- package/dist/widgets/location-card.js +2 -2
- package/dist/widgets/lottie-icon.cjs +1 -1
- package/dist/widgets/lottie-icon.js +2 -2
- package/dist/widgets/lottie-player.cjs +2 -2
- package/dist/widgets/lottie-player.js +2 -2
- package/dist/widgets/lottie.cjs +1 -1
- package/dist/widgets/lottie.js +2 -2
- package/dist/widgets/lyrics.cjs +1 -1
- package/dist/widgets/lyrics.js +2 -2
- package/dist/widgets/masonry-flow.cjs +1 -1
- package/dist/widgets/masonry-flow.js +2 -2
- package/dist/widgets/menu-toggle.cjs +1 -1
- package/dist/widgets/menu-toggle.js +2 -2
- package/dist/widgets/menu.cjs +1 -1
- package/dist/widgets/menu.js +2 -2
- package/dist/widgets/message-list.cjs +1 -1
- package/dist/widgets/message-list.js +2 -2
- package/dist/widgets/milestones.cjs +1 -1
- package/dist/widgets/milestones.js +2 -2
- package/dist/widgets/modal.cjs +1 -1
- package/dist/widgets/modal.js +2 -2
- package/dist/widgets/motion-inspector.cjs +2 -2
- package/dist/widgets/motion-inspector.js +3 -3
- package/dist/widgets/motion-prefs.cjs +1 -1
- package/dist/widgets/motion-prefs.js +2 -2
- package/dist/widgets/motion-prompt.cjs +1 -1
- package/dist/widgets/motion-prompt.js +2 -2
- package/dist/widgets/motion-spec.cjs +1 -1
- package/dist/widgets/motion-spec.js +2 -2
- package/dist/widgets/motion.cjs +1 -1
- package/dist/widgets/motion.js +2 -2
- package/dist/widgets/music-player.cjs +1 -1
- package/dist/widgets/music-player.js +2 -2
- package/dist/widgets/native-preview.cjs +1 -1
- package/dist/widgets/native-preview.js +2 -2
- package/dist/widgets/nav-morph.cjs +1 -1
- package/dist/widgets/nav-morph.js +2 -2
- package/dist/widgets/notification-bell.cjs +1 -1
- package/dist/widgets/notification-bell.js +2 -2
- package/dist/widgets/odometer.cjs +1 -1
- package/dist/widgets/odometer.js +2 -2
- package/dist/widgets/organic-card.cjs +1 -1
- package/dist/widgets/organic-card.js +2 -2
- package/dist/widgets/otp.cjs +1 -1
- package/dist/widgets/otp.js +2 -2
- package/dist/widgets/pagination.cjs +1 -1
- package/dist/widgets/pagination.js +2 -2
- package/dist/widgets/panorama.cjs +1 -1
- package/dist/widgets/panorama.js +2 -2
- package/dist/widgets/parallax-layers.cjs +1 -1
- package/dist/widgets/parallax-layers.js +2 -2
- package/dist/widgets/pause-all.cjs +1 -1
- package/dist/widgets/pause-all.js +2 -2
- package/dist/widgets/perf-monitor.cjs +1 -1
- package/dist/widgets/perf-monitor.js +2 -2
- package/dist/widgets/physics-playground.cjs +2 -2
- package/dist/widgets/physics-playground.js +2 -2
- package/dist/widgets/plugin-card.cjs +3 -3
- package/dist/widgets/plugin-card.js +4 -4
- package/dist/widgets/plugin-store.cjs +1 -1
- package/dist/widgets/plugin-store.js +2 -2
- package/dist/widgets/presence.cjs +1 -1
- package/dist/widgets/presence.js +2 -2
- package/dist/widgets/prize-wheel.cjs +1 -1
- package/dist/widgets/prize-wheel.js +2 -2
- package/dist/widgets/product-gallery.cjs +1 -1
- package/dist/widgets/product-gallery.js +2 -2
- package/dist/widgets/progress-ring.cjs +1 -1
- package/dist/widgets/progress-ring.js +2 -2
- package/dist/widgets/prop-panel.cjs +1 -1
- package/dist/widgets/prop-panel.js +2 -2
- package/dist/widgets/pull-cord.cjs +1 -1
- package/dist/widgets/pull-cord.js +2 -2
- package/dist/widgets/radar.cjs +1 -1
- package/dist/widgets/radar.js +2 -2
- package/dist/widgets/reactions.cjs +1 -1
- package/dist/widgets/reactions.js +2 -2
- package/dist/widgets/red-envelope.cjs +1 -1
- package/dist/widgets/red-envelope.js +2 -2
- package/dist/widgets/retro-button.cjs +1 -1
- package/dist/widgets/retro-button.js +2 -2
- package/dist/widgets/rive.cjs +1 -1
- package/dist/widgets/rive.js +2 -2
- package/dist/widgets/route-transition.cjs +1 -1
- package/dist/widgets/route-transition.js +2 -2
- package/dist/widgets/scene.cjs +1 -1
- package/dist/widgets/scene.js +2 -2
- package/dist/widgets/scroll-ring.cjs +1 -1
- package/dist/widgets/scroll-ring.js +2 -2
- package/dist/widgets/scroll-scene.cjs +2 -2
- package/dist/widgets/scroll-scene.js +2 -2
- package/dist/widgets/segmented.cjs +1 -1
- package/dist/widgets/segmented.js +2 -2
- package/dist/widgets/shader-backdrop.cjs +1 -1
- package/dist/widgets/shader-backdrop.js +2 -2
- package/dist/widgets/sheet.cjs +1 -1
- package/dist/widgets/sheet.js +2 -2
- package/dist/widgets/shortcut.cjs +1 -1
- package/dist/widgets/shortcut.js +3 -3
- package/dist/widgets/skeleton-reveal.cjs +1 -1
- package/dist/widgets/skeleton-reveal.js +2 -2
- package/dist/widgets/sketch-chart.cjs +1 -1
- package/dist/widgets/sketch-chart.js +2 -2
- package/dist/widgets/smooth-scroll.cjs +2 -2
- package/dist/widgets/smooth-scroll.js +3 -3
- package/dist/widgets/snap-carousel.cjs +1 -1
- package/dist/widgets/snap-carousel.js +1 -1
- package/dist/widgets/sparkline.cjs +1 -1
- package/dist/widgets/sparkline.js +2 -2
- package/dist/widgets/spatial-card.cjs +1 -1
- package/dist/widgets/spatial-card.js +2 -2
- package/dist/widgets/star-rating.cjs +1 -1
- package/dist/widgets/star-rating.js +2 -2
- package/dist/widgets/stepper.cjs +1 -1
- package/dist/widgets/stepper.js +2 -2
- package/dist/widgets/sticky-wall.cjs +1 -1
- package/dist/widgets/sticky-wall.js +2 -2
- package/dist/widgets/stories.cjs +1 -1
- package/dist/widgets/stories.js +2 -2
- package/dist/widgets/suggestion-chips.cjs +1 -1
- package/dist/widgets/suggestion-chips.js +2 -2
- package/dist/widgets/swipe-deck.cjs +1 -1
- package/dist/widgets/swipe-deck.js +2 -2
- package/dist/widgets/switch.cjs +1 -1
- package/dist/widgets/switch.js +2 -2
- package/dist/widgets/tab-bar.cjs +1 -1
- package/dist/widgets/tab-bar.js +2 -2
- package/dist/widgets/terminal.cjs +1 -1
- package/dist/widgets/terminal.js +2 -2
- package/dist/widgets/text-splitter.cjs +3 -3
- package/dist/widgets/text-splitter.js +4 -4
- package/dist/widgets/theme-surface.cjs +1 -1
- package/dist/widgets/theme-surface.js +2 -2
- package/dist/widgets/theme-switcher.cjs +1 -1
- package/dist/widgets/theme-switcher.js +2 -2
- package/dist/widgets/tip.cjs +1 -1
- package/dist/widgets/tip.js +2 -2
- package/dist/widgets/toast-stack.cjs +1 -1
- package/dist/widgets/toast-stack.js +2 -2
- package/dist/widgets/token-editor.cjs +1 -1
- package/dist/widgets/token-editor.js +2 -2
- package/dist/widgets/upload-progress.cjs +1 -1
- package/dist/widgets/upload-progress.js +2 -2
- package/dist/widgets/video-card.cjs +1 -1
- package/dist/widgets/video-card.js +2 -2
- package/dist/widgets/voice-button.cjs +1 -1
- package/dist/widgets/voice-button.js +2 -2
- package/dist/widgets/volume-knob.cjs +1 -1
- package/dist/widgets/volume-knob.js +2 -2
- package/dist/widgets/weather-card.cjs +1 -1
- package/dist/widgets/weather-card.js +2 -2
- package/dist/widgets/worker-canvas.cjs +1 -1
- package/dist/widgets/worker-canvas.js +2 -2
- package/dist/widgets/xp-bar.cjs +1 -1
- package/dist/widgets/xp-bar.js +2 -2
- package/dist/widgets.umd.js +2 -2
- package/docs/cdn-sri.md +9 -9
- package/docs/components/usa-accordion.md +1 -1
- package/docs/components/usa-acrylic.md +1 -1
- package/docs/components/usa-add-to-cart.md +1 -1
- package/docs/components/usa-ambient.md +1 -1
- package/docs/components/usa-anim-icon.md +1 -1
- package/docs/components/usa-audio.md +1 -1
- package/docs/components/usa-aurora.md +1 -1
- package/docs/components/usa-auto-animate.md +1 -1
- package/docs/components/usa-auto-skeleton.md +1 -1
- package/docs/components/usa-avatar-stack.md +1 -1
- package/docs/components/usa-back-to-top.md +1 -1
- package/docs/components/usa-badge-wall.md +1 -1
- package/docs/components/usa-badge.md +1 -1
- package/docs/components/usa-bar-chart.md +1 -1
- package/docs/components/usa-bg-generator.md +1 -1
- package/docs/components/usa-blobs.md +1 -1
- package/docs/components/usa-bottom-sheet.md +1 -1
- package/docs/components/usa-button.md +1 -1
- package/docs/components/usa-card-stack.md +1 -1
- package/docs/components/usa-card.md +1 -1
- package/docs/components/usa-carousel-3d.md +1 -1
- package/docs/components/usa-carousel.md +1 -1
- package/docs/components/usa-cart-drawer.md +1 -1
- package/docs/components/usa-chapter-nav.md +1 -1
- package/docs/components/usa-chat-composer.md +1 -1
- package/docs/components/usa-check.md +1 -1
- package/docs/components/usa-checkbox.md +1 -1
- package/docs/components/usa-click.md +1 -1
- package/docs/components/usa-clock-control.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-command-palette.md +1 -1
- package/docs/components/usa-compare.md +1 -1
- package/docs/components/usa-countdown.md +1 -1
- package/docs/components/usa-counter.md +1 -1
- package/docs/components/usa-cube-gallery.md +1 -1
- package/docs/components/usa-cube.md +1 -1
- package/docs/components/usa-cursor.md +1 -1
- package/docs/components/usa-date-picker.md +1 -1
- package/docs/components/usa-depth.md +1 -1
- package/docs/components/usa-dialog.md +1 -1
- package/docs/components/usa-disclosure.md +1 -1
- package/docs/components/usa-distort.md +1 -1
- package/docs/components/usa-dock.md +1 -1
- package/docs/components/usa-dot-network.md +1 -1
- package/docs/components/usa-dotlottie.md +6 -6
- package/docs/components/usa-double-tap.md +1 -1
- package/docs/components/usa-draggable.md +1 -1
- package/docs/components/usa-draw.md +1 -1
- package/docs/components/usa-drawer.md +1 -1
- package/docs/components/usa-equalizer.md +1 -1
- package/docs/components/usa-fab.md +1 -1
- package/docs/components/usa-festival-banner.md +1 -1
- package/docs/components/usa-field.md +1 -1
- package/docs/components/usa-file-drop.md +1 -1
- package/docs/components/usa-fullpage.md +1 -1
- package/docs/components/usa-fx.md +1 -1
- package/docs/components/usa-gauge.md +1 -1
- package/docs/components/usa-gen-art.md +1 -1
- package/docs/components/usa-gesture-fx.md +1 -1
- package/docs/components/usa-gesture-sticker.md +1 -1
- package/docs/components/usa-gl-model.md +7 -7
- package/docs/components/usa-gl-scene.md +8 -8
- package/docs/components/usa-glitch.md +1 -1
- package/docs/components/usa-globe.md +1 -1
- package/docs/components/usa-gpu-particles.md +1 -1
- package/docs/components/usa-gradient-text.md +1 -1
- package/docs/components/usa-grain.md +1 -1
- package/docs/components/usa-grid-glow.md +1 -1
- package/docs/components/usa-gyro-card.md +1 -1
- package/docs/components/usa-handwriting.md +1 -1
- package/docs/components/usa-hero-video.md +1 -1
- package/docs/components/usa-hold.md +1 -1
- package/docs/components/usa-hud-panel.md +1 -1
- package/docs/components/usa-hydrate.md +1 -1
- package/docs/components/usa-icon-morph.md +1 -1
- package/docs/components/usa-install-button.md +3 -3
- package/docs/components/usa-kanban.md +1 -1
- package/docs/components/usa-keyframe-editor.md +1 -1
- package/docs/components/usa-kpi.md +1 -1
- package/docs/components/usa-leaderboard.md +1 -1
- package/docs/components/usa-like.md +1 -1
- package/docs/components/usa-liquid-nav.md +1 -1
- package/docs/components/usa-liquid.md +1 -1
- package/docs/components/usa-loading-bar.md +1 -1
- package/docs/components/usa-location-card.md +1 -1
- package/docs/components/usa-lottie-icon.md +1 -1
- package/docs/components/usa-lottie-player.md +5 -5
- package/docs/components/usa-lottie.md +1 -1
- package/docs/components/usa-lyrics.md +1 -1
- package/docs/components/usa-magnetic.md +1 -1
- package/docs/components/usa-marquee.md +1 -1
- package/docs/components/usa-mask-reveal.md +1 -1
- package/docs/components/usa-masonry-flow.md +1 -1
- package/docs/components/usa-masonry.md +1 -1
- package/docs/components/usa-menu-toggle.md +1 -1
- package/docs/components/usa-menu.md +1 -1
- package/docs/components/usa-message-list.md +1 -1
- package/docs/components/usa-milestones.md +1 -1
- package/docs/components/usa-modal.md +1 -1
- package/docs/components/usa-morph.md +1 -1
- package/docs/components/usa-motion-inspector.md +1 -1
- package/docs/components/usa-motion-prefs.md +1 -1
- package/docs/components/usa-motion-prompt.md +1 -1
- package/docs/components/usa-motion-spec.md +1 -1
- package/docs/components/usa-motion-switch.md +1 -1
- package/docs/components/usa-motion-theme.md +1 -1
- package/docs/components/usa-motion.md +1 -1
- package/docs/components/usa-music-player.md +1 -1
- package/docs/components/usa-native-preview.md +1 -1
- package/docs/components/usa-nav-morph.md +1 -1
- package/docs/components/usa-navbar.md +1 -1
- package/docs/components/usa-notification-bell.md +1 -1
- package/docs/components/usa-odometer.md +1 -1
- package/docs/components/usa-organic-card.md +1 -1
- package/docs/components/usa-otp.md +1 -1
- package/docs/components/usa-overscroll.md +1 -1
- package/docs/components/usa-pack.md +1 -1
- package/docs/components/usa-pagination.md +1 -1
- package/docs/components/usa-panorama.md +1 -1
- package/docs/components/usa-parallax-layers.md +1 -1
- package/docs/components/usa-particles.md +1 -1
- package/docs/components/usa-pause-all.md +1 -1
- package/docs/components/usa-perf-monitor.md +1 -1
- package/docs/components/usa-physics-playground.md +6 -6
- package/docs/components/usa-pinch-zoom.md +1 -1
- package/docs/components/usa-player.md +1 -1
- package/docs/components/usa-plugin-card.md +4 -4
- package/docs/components/usa-plugin-store.md +1 -1
- package/docs/components/usa-popover.md +1 -1
- package/docs/components/usa-post-fx.md +1 -1
- package/docs/components/usa-presence.md +1 -1
- package/docs/components/usa-press.md +1 -1
- package/docs/components/usa-prize-wheel.md +1 -1
- package/docs/components/usa-product-gallery.md +1 -1
- package/docs/components/usa-progress-ring.md +1 -1
- package/docs/components/usa-progress.md +1 -1
- package/docs/components/usa-prop-panel.md +1 -1
- package/docs/components/usa-pull-cord.md +1 -1
- package/docs/components/usa-pull-refresh.md +1 -1
- package/docs/components/usa-radar.md +1 -1
- package/docs/components/usa-reactions.md +1 -1
- package/docs/components/usa-red-envelope.md +1 -1
- package/docs/components/usa-retro-button.md +1 -1
- package/docs/components/usa-reveal.md +1 -1
- package/docs/components/usa-ripple.md +1 -1
- package/docs/components/usa-rive.md +3 -3
- package/docs/components/usa-route-transition.md +1 -1
- package/docs/components/usa-scene.md +1 -1
- package/docs/components/usa-scramble.md +1 -1
- package/docs/components/usa-scroll-highlight.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 +5 -5
- package/docs/components/usa-scrolly.md +1 -1
- package/docs/components/usa-segmented.md +1 -1
- package/docs/components/usa-shader-backdrop.md +1 -1
- package/docs/components/usa-shader.md +1 -1
- package/docs/components/usa-sheet.md +1 -1
- package/docs/components/usa-shimmer-text.md +1 -1
- package/docs/components/usa-shortcut.md +1 -1
- package/docs/components/usa-skeleton-reveal.md +1 -1
- package/docs/components/usa-skeleton.md +1 -1
- package/docs/components/usa-sketch-chart.md +1 -1
- package/docs/components/usa-slider.md +1 -1
- package/docs/components/usa-smooth-scroll.md +5 -5
- package/docs/components/usa-snap-carousel.md +5 -5
- package/docs/components/usa-sparkline.md +1 -1
- package/docs/components/usa-spatial-card.md +1 -1
- package/docs/components/usa-spinner.md +1 -1
- package/docs/components/usa-splash.md +1 -1
- package/docs/components/usa-split-text.md +1 -1
- package/docs/components/usa-spotlight.md +1 -1
- package/docs/components/usa-spring.md +1 -1
- package/docs/components/usa-stagger.md +1 -1
- package/docs/components/usa-star-rating.md +1 -1
- package/docs/components/usa-stepper.md +1 -1
- package/docs/components/usa-sticky-stack.md +1 -1
- package/docs/components/usa-sticky-wall.md +1 -1
- package/docs/components/usa-stories.md +1 -1
- package/docs/components/usa-story.md +1 -1
- package/docs/components/usa-suggestion-chips.md +1 -1
- package/docs/components/usa-swipe-deck.md +1 -1
- package/docs/components/usa-swipeable.md +1 -1
- package/docs/components/usa-switch.md +1 -1
- package/docs/components/usa-tab-bar.md +1 -1
- package/docs/components/usa-tabs.md +1 -1
- package/docs/components/usa-terminal.md +1 -1
- package/docs/components/usa-text-rotate.md +1 -1
- package/docs/components/usa-text-splitter.md +5 -5
- package/docs/components/usa-theme-surface.md +1 -1
- package/docs/components/usa-theme-switcher.md +1 -1
- package/docs/components/usa-tilt.md +1 -1
- package/docs/components/usa-timeline.md +1 -1
- package/docs/components/usa-tip.md +1 -1
- package/docs/components/usa-toast-stack.md +1 -1
- package/docs/components/usa-toaster.md +1 -1
- package/docs/components/usa-token-editor.md +1 -1
- package/docs/components/usa-typewriter.md +1 -1
- package/docs/components/usa-upload-progress.md +1 -1
- package/docs/components/usa-video-card.md +1 -1
- package/docs/components/usa-view-switch.md +1 -1
- package/docs/components/usa-voice-button.md +1 -1
- package/docs/components/usa-volume-knob.md +1 -1
- package/docs/components/usa-water-ripple.md +1 -1
- package/docs/components/usa-wave-text.md +1 -1
- package/docs/components/usa-weather-card.md +1 -1
- package/docs/components/usa-worker-canvas.md +1 -1
- package/docs/components/usa-xp-bar.md +1 -1
- package/docs/components.md +50 -50
- package/docs/deprecations-v17.md +75 -0
- package/docs/migrating-to-v17.md +26 -0
- package/docs/performance.md +1 -1
- package/docs/presets.md +2 -2
- package/docs/runtime/core.md +2 -2
- package/docs/runtime/drag-snap.md +3 -3
- package/docs/runtime/format-apng.md +3 -3
- package/docs/runtime/format-css.md +3 -3
- package/docs/runtime/format-gif.md +3 -3
- package/docs/runtime/format-gltf.md +3 -3
- package/docs/runtime/format-motion.md +3 -3
- package/docs/runtime/format-obj.md +3 -3
- package/docs/runtime/format-scene.md +3 -3
- package/docs/runtime/format-sprite.md +3 -3
- package/docs/runtime/format-svg.md +3 -3
- package/docs/runtime/format-webp.md +3 -3
- package/docs/runtime/gl.md +3 -3
- package/docs/runtime/gltf-anim.md +3 -3
- package/docs/runtime/gltf-decoders.md +3 -3
- package/docs/runtime/lottie-state.md +3 -3
- package/docs/runtime/physics.md +3 -3
- package/docs/runtime/scroll.md +3 -3
- package/docs/runtime/smooth.md +3 -3
- package/docs/runtime/text.md +3 -3
- package/docs/runtime/vector.md +3 -3
- package/docs/scene-v2.schema.json +1 -1
- package/docs/scene-v3.md +1 -1
- package/docs/stability.md +21 -8
- package/docs/studio-plugins.md +5 -3
- package/docs/supply-chain.md +21 -0
- package/docs/timeline-doc.schema.json +1 -1
- package/docs/versions.md +9 -3
- package/figma-plugin/code.js +1 -1
- package/package.json +17 -23
- package/docs/audit-10.9.md +0 -53
- package/docs/upgrading-3.md +0 -21
- package/docs/upgrading-4.md +0 -65
- package/docs/upgrading-5.md +0 -31
- package/docs/upgrading-6.md +0 -32
- package/docs/upgrading-7.md +0 -43
- package/docs/upgrading-8.md +0 -37
- package/docs/upgrading-9.md +0 -37
package/AGENTS.md
CHANGED
|
@@ -39,7 +39,7 @@ All of these are generated from the source at build time, so they match the inst
|
|
|
39
39
|
Plain HTML:
|
|
40
40
|
|
|
41
41
|
```html
|
|
42
|
-
<script src="https://unpkg.com/motionary@
|
|
42
|
+
<script src="https://unpkg.com/motionary@17/dist/components.umd.js"></script>
|
|
43
43
|
<usa-reveal effect="fade-up"><h2>Hello</h2></usa-reveal>
|
|
44
44
|
```
|
|
45
45
|
|
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,83 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [17.0.0-rc.1] — Removals, mo-* names and LTS (release candidate, npm `next` only)
|
|
11
|
+
|
|
12
|
+
### Removed (announced in 16.9 — docs/deprecations-v17.md)
|
|
13
|
+
- `motionary/scene/v3-preview` and `motionary/components/scene-v3-preview` (the 15.9 preview path; a warn-once
|
|
14
|
+
forwarder in 16.9). Import from `motionary/scene/v3`; `npx motionary migrate --to 17 --write` rewrites the imports.
|
|
15
|
+
- `motionary doctor --v15` / `motionary migrate --to 15` (the 13.x / 14.x → 15 project migration): they exit 2 and
|
|
16
|
+
point to `npx motionary@v16-lts …`, which keeps them. The player's error for 13.x documents points there too.
|
|
17
|
+
|
|
18
|
+
### Added
|
|
19
|
+
- **`mo-*` names:** every `<usa-*>` element is also registered as `<mo-*>` (a subclass: same attributes, properties,
|
|
20
|
+
`usa:*` events; the component's styles are copied for `mo-*` on the first `mo-*` connect). On in the CDN bundles
|
|
21
|
+
(`components.umd.js`, `widgets.umd.js`); with ESM call `defineMoAliases()` from the new entry
|
|
22
|
+
`motionary/components/mo` (own size line). The alias code is not in the component base, so `usa-*` pages, every
|
|
23
|
+
per-component import and lite keep their 16.9 sizes. `window.MotionaryComponents` is the same object as
|
|
24
|
+
`window.UsaComponents`. `mo-codemod <n>` runs the usa-codemod tools. Component lookups (toaster, loading bar, cart
|
|
25
|
+
drawer, Lottie, lazy loading) accept both names.
|
|
26
|
+
|
|
27
|
+
### Deprecated (kept)
|
|
28
|
+
- The `usa-*` element names, `window.UsaComponents` and the `usa-codemod-*` bins: they keep working; removal not
|
|
29
|
+
before a future major (none planned). docs/deprecations-v17.md#mo-names.
|
|
30
|
+
|
|
31
|
+
### Changed
|
|
32
|
+
- **Stability** (docs/stability.md): stable core (scroll API, Motion Core, Scene Format v3, runtime, components, CLI)
|
|
33
|
+
vs experimental surfaces (Studio incl. the plugin API — manifests declare `api: 1` = `PLUGIN_API_VERSION` —, MCP
|
|
34
|
+
3.x, AI, Figma plugin, cross-platform export), which may still change in a minor. 17.0 is the last planned major.
|
|
35
|
+
- CDN major `@17` in docs and generated snippets; `migrate --code` rewrites `@10`…`@16` → `@17`.
|
|
36
|
+
- **LTS policy:** 16.9.x becomes `v16-lts` (security and severe fixes at least until 18.0 ships) when 17.0.0 ships.
|
|
37
|
+
|
|
38
|
+
### Kept
|
|
39
|
+
- `doctor --v17` / `migrate --to 17` (for 16.x projects), `doctor --v16` / `migrate --to 16`, the codemods 11–13 (also as `mo-codemod`).
|
|
40
|
+
- Lite ≤ 70 KB gzip, zero runtime dependencies; no size limit raised.
|
|
41
|
+
|
|
42
|
+
### Deferred
|
|
43
|
+
- Real physical-device testing (iOS Safari + VoiceOver, Android Chrome + TalkBack, pen / trackpad, Windows forced
|
|
44
|
+
colors) — deferred by the maintainer's decision (2026-10-15): not run and not claimed. CI covers phones only through
|
|
45
|
+
the emulated `mobile-chrome` / `mobile-safari` profiles; see docs/mobile.md#not-verified.
|
|
46
|
+
|
|
47
|
+
## [16.9.0] — Getting ready for 17.0
|
|
48
|
+
|
|
49
|
+
Positioning unchanged: zero runtime dependencies · a gzip budget on every entry point · accessible by default. Studio,
|
|
50
|
+
MCP, the Figma plugin and the plugin API stay experimental (docs/stability.md).
|
|
51
|
+
|
|
52
|
+
### Deprecated (removed in 17.0)
|
|
53
|
+
- `motionary/scene/v3-preview` (+ `motionary/components/scene-v3-preview`), the 15.9 preview name of
|
|
54
|
+
`motionary/scene/v3`: now its own small module that forwards everything unchanged and warns once per session on the
|
|
55
|
+
first call (no side effect on import). Import from `motionary/scene/v3` instead.
|
|
56
|
+
- `motionary doctor --v15` / `motionary migrate --to 15` (the 13.x / 14.x → 15 project migration) print a notice on
|
|
57
|
+
stderr: removed in 17.0; `npx motionary@v16-lts migrate --to 15 --write` keeps working after 17.0 ships.
|
|
58
|
+
|
|
59
|
+
### Added
|
|
60
|
+
- `npx motionary doctor --v17 [paths…] [--json]`: every use of what 17.0 removes, with the fix and doc anchor (exit 1
|
|
61
|
+
when something is found). `npx motionary migrate --to 17 [paths…] [--write] [--report file] [--json]`: rewrites the
|
|
62
|
+
alias imports to `motionary/scene/v3` (dry run by default; `--write` writes a `.bak` first, never overwrites a
|
|
63
|
+
backup, idempotent) and lists the v15 commands in scripts as manual work. `DEPRECATIONS_V17` exported from
|
|
64
|
+
`bin/motionary.mjs`.
|
|
65
|
+
- Docs: `docs/deprecations-v17.md` (one anchor per removal), `docs/migrating-to-v17.md`, `docs/versions.md`
|
|
66
|
+
"17.0 and `v16-lts`".
|
|
67
|
+
|
|
68
|
+
- Docs: `docs/compare/` — comparison pages vs AOS, GSAP + ScrollTrigger, Lenis and Motion (size, features,
|
|
69
|
+
accessibility; every claim about another library cites its own docs; where another library is the better choice, the
|
|
70
|
+
page says so). Sizes are measured by `scripts/compare-sizes.mjs` (exact published versions, gzip level 9) and stored in
|
|
71
|
+
`docs/compare/sizes.json`.
|
|
72
|
+
- `examples/stackblitz/` — one Vite project per framework (vanilla, React 19, Vue 3, Svelte 5) with an "Open in
|
|
73
|
+
StackBlitz" link; each was built with `vite build` against the published package.
|
|
74
|
+
- Supply chain: `.github/workflows/scorecard.yml` (OpenSSF Scorecard) + README badge; `.github/workflows/publish.yml`
|
|
75
|
+
(manual, `npm publish --provenance` from GitHub Actions — needs npm trusted publishing or an `NPM_TOKEN` secret set by
|
|
76
|
+
the maintainer, so releases so far carry no provenance); `docs/supply-chain.md` says what is and is not in place.
|
|
77
|
+
READMEs link supply chain, CDN SRI, comparisons and StackBlitz examples.
|
|
78
|
+
|
|
79
|
+
### Size
|
|
80
|
+
- No size line raised; lite unchanged; zero runtime deps.
|
|
81
|
+
|
|
82
|
+
### Deferred
|
|
83
|
+
- Real physical-device testing (iOS Safari + VoiceOver, Android Chrome + TalkBack, pen / trackpad, Windows forced
|
|
84
|
+
colors) — deferred by the maintainer's decision (2026-10-15): not run and not claimed. CI covers phones only through
|
|
85
|
+
the emulated `mobile-chrome` / `mobile-safari` profiles; see docs/mobile.md#not-verified.
|
|
86
|
+
|
|
10
87
|
## [16.3.0] — Performance budget in Studio
|
|
11
88
|
|
|
12
89
|
### Added
|
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
_Formerly **use-scroll-animate**. The old npm package is still published as an alias of the same build._
|
|
8
8
|
|
|
9
|
-
[](https://www.npmjs.com/package/motionary) [](https://github.com/HarrisonCN/Motionary/actions/workflows/ci.yml) [](https://bundlejs.com/?q=motionary/core) [](./LICENSE)
|
|
9
|
+
[](https://www.npmjs.com/package/motionary) [](https://github.com/HarrisonCN/Motionary/actions/workflows/ci.yml) [](https://bundlejs.com/?q=motionary/core) [](./LICENSE) [](https://scorecard.dev/viewer/?uri=github.com/HarrisonCN/Motionary)
|
|
10
10
|
|
|
11
11
|
**English** | [简体中文](./README_zh.md) | [日本語](./README_ja.md)
|
|
12
12
|
|
|
@@ -31,6 +31,8 @@ is tree-shakeable and has a gzip budget checked in CI, and every animation respe
|
|
|
31
31
|
|
|
32
32
|
Release notes for every version are in [CHANGELOG.md](./CHANGELOG.md).
|
|
33
33
|
|
|
34
|
+
Supply chain: [docs/supply-chain.md](./docs/supply-chain.md) · CDN with SRI hashes: [docs/cdn-sri.md](./docs/cdn-sri.md) · Compared with AOS, GSAP, Lenis and Motion: [docs/compare](./docs/compare/README.md) · Try it online: [StackBlitz examples](./examples/stackblitz/README.md).
|
|
35
|
+
|
|
34
36
|
## Contents
|
|
35
37
|
|
|
36
38
|
[Features](#features) · [Install](#install) · [Quick start](#quick-start) · [Runtime tiers](#runtime-and-tiers) ·
|
|
@@ -64,16 +66,16 @@ Release notes for every version are in [CHANGELOG.md](./CHANGELOG.md).
|
|
|
64
66
|
npm i motionary
|
|
65
67
|
```
|
|
66
68
|
|
|
67
|
-
No build step? Use the CDN. URLs pin the major version (`@<!--ver:major-->
|
|
69
|
+
No build step? Use the CDN. URLs pin the major version (`@<!--ver:major-->17<!--/ver-->`). For production, pin the exact version with SRI ([docs/cdn-sri.md](./docs/cdn-sri.md)):
|
|
68
70
|
|
|
69
71
|
```html
|
|
70
|
-
<script src="https://unpkg.com/motionary@
|
|
71
|
-
<script src="https://unpkg.com/motionary@
|
|
72
|
-
<script src="https://unpkg.com/motionary@
|
|
73
|
-
<script src="https://unpkg.com/motionary@
|
|
72
|
+
<script src="https://unpkg.com/motionary@17/dist/index.umd.js"></script> <!-- scroll API: window.ScrollAnimate -->
|
|
73
|
+
<script src="https://unpkg.com/motionary@17/dist/presets-extended.umd.js"></script> <!-- +181 presets -->
|
|
74
|
+
<script src="https://unpkg.com/motionary@17/dist/components.umd.js"></script> <!-- the motionary/components elements: window.UsaComponents -->
|
|
75
|
+
<script src="https://unpkg.com/motionary@17/dist/widgets.umd.js"></script> <!-- the widgets: window.UsaWidgets -->
|
|
74
76
|
```
|
|
75
77
|
|
|
76
|
-
jsDelivr works too: `https://cdn.jsdelivr.net/npm/motionary@
|
|
78
|
+
jsDelivr works too: `https://cdn.jsdelivr.net/npm/motionary@17/dist/…`. Already on `use-scroll-animate`? It keeps
|
|
77
79
|
working, at the same versions. To switch, replace the name in imports and URLs ([details](./docs/versions.md)).
|
|
78
80
|
|
|
79
81
|
## Quick start
|
|
@@ -348,7 +350,7 @@ Every entry point has a fixed gzip budget in [`size-budget.json`](./size-budget.
|
|
|
348
350
|
entry goes over its budget, and budgets are never raised automatically.
|
|
349
351
|
|
|
350
352
|
<!-- size-table:start -->
|
|
351
|
-
Measured on the
|
|
353
|
+
Measured on the 17.0.0-rc.1 build (minified + gzip), generated by `scripts/size.mjs --report`:
|
|
352
354
|
|
|
353
355
|
| What you import | gzip | Budget |
|
|
354
356
|
|---|---:|---:|
|
|
@@ -362,7 +364,7 @@ Measured on the 16.3.0 build (minified + gzip), generated by `scripts/size.mjs -
|
|
|
362
364
|
| `motionary/components/reveal` | 4.47 KB | 5.00 KB |
|
|
363
365
|
| `motionary/components/lite` (every element, CSS on demand) | 69.99 KB | 70.00 KB |
|
|
364
366
|
| `motionary/components` (every element + CSS) | 86.05 KB | 93.75 KB |
|
|
365
|
-
| `dist/components.umd.js` (CDN, everything) | 109.
|
|
367
|
+
| `dist/components.umd.js` (CDN, everything) | 109.92 KB | 115.75 KB |
|
|
366
368
|
<!-- size-table:end -->
|
|
367
369
|
|
|
368
370
|
By default there are no scroll listeners (IntersectionObserver is used instead). Animations stay on the compositor
|
|
@@ -403,9 +405,9 @@ Coming from another library: [AOS](./docs/migration-from-aos.md) · [GSAP Scroll
|
|
|
403
405
|
|
|
404
406
|
## Versions and compatibility
|
|
405
407
|
|
|
406
|
-
- **npm dist-tags:** `latest` is the newest release of the current major (<!--ver:version-->
|
|
408
|
+
- **npm dist-tags:** `latest` is the newest release of the current major (<!--ver:version-->17.0.0-rc.1<!--/ver-->; minors move it since 14.1). Each minor release also gets its own tag `v<major>-<minor>`
|
|
407
409
|
(for example `v15-0`), `v15-line` follows the 15.x line and `v14-lts` is 14.9.x. `motionary` and `use-scroll-animate` are published together at the same versions.
|
|
408
|
-
- **CDN:** URLs pin a major (`motionary@<!--ver:major-->
|
|
410
|
+
- **CDN:** URLs pin a major (`motionary@<!--ver:major-->17<!--/ver-->`). Exact pins (`motionary@12.4.0`) keep working.
|
|
409
411
|
- **Semver:** breaking changes come only in majors, each with a guide and a codemod. Deprecations stay in place until the
|
|
410
412
|
next major, with `@deprecated` types and no runtime warning.
|
|
411
413
|
- **What each version has:** `since` / `changed` for every component and runtime module ([docs/version-compat.md](./docs/version-compat.md)),
|
|
@@ -452,28 +454,28 @@ Motionary ships its own zero-dependency animation runtime — shared ticker, twe
|
|
|
452
454
|
|
|
453
455
|
| Module | Import | CDN (IIFE) | Register | gzip budget |
|
|
454
456
|
|---|---|---|---|---|
|
|
455
|
-
| [Runtime core](docs/runtime/core.md) | `motionary/runtime` | `https://cdn.jsdelivr.net/npm/motionary@
|
|
456
|
-
| [CSS @keyframes & WAAPI keyframes loader](docs/runtime/format-css.md) | `motionary/runtime/format-css` | `https://cdn.jsdelivr.net/npm/motionary@
|
|
457
|
-
| [Motion / Framer keyframe JSON loader](docs/runtime/format-motion.md) | `motionary/runtime/format-motion` | `https://cdn.jsdelivr.net/npm/motionary@
|
|
458
|
-
| [Scroll scenes](docs/runtime/scroll.md) | `motionary/runtime/scroll` | `https://cdn.jsdelivr.net/npm/motionary@
|
|
459
|
-
| [SVG loader: SMIL playback + path morphing](docs/runtime/format-svg.md) | `motionary/runtime/format-svg` | `https://cdn.jsdelivr.net/npm/motionary@
|
|
460
|
-
| [Text splitting](docs/runtime/text.md) | `motionary/runtime/text` | `https://cdn.jsdelivr.net/npm/motionary@
|
|
461
|
-
| [Sprite sheets & image sequences](docs/runtime/format-sprite.md) | `motionary/runtime/format-sprite` | `https://cdn.jsdelivr.net/npm/motionary@
|
|
462
|
-
| [Smooth scrolling](docs/runtime/smooth.md) | `motionary/runtime/smooth` | `https://cdn.jsdelivr.net/npm/motionary@
|
|
463
|
-
| [GIF decoder](docs/runtime/format-gif.md) | `motionary/runtime/format-gif` | `https://cdn.jsdelivr.net/npm/motionary@
|
|
464
|
-
| [APNG loader](docs/runtime/format-apng.md) | `motionary/runtime/format-apng` | `https://cdn.jsdelivr.net/npm/motionary@
|
|
465
|
-
| [Animated WebP loader](docs/runtime/format-webp.md) | `motionary/runtime/format-webp` | `https://cdn.jsdelivr.net/npm/motionary@
|
|
466
|
-
| [WebGL2 scene renderer](docs/runtime/gl.md) | `motionary/runtime/gl` | `https://cdn.jsdelivr.net/npm/motionary@
|
|
467
|
-
| [glTF 2.0 / GLB loader](docs/runtime/format-gltf.md) | `motionary/runtime/format-gltf` | `https://cdn.jsdelivr.net/npm/motionary@
|
|
468
|
-
| [OBJ / MTL loader](docs/runtime/format-obj.md) | `motionary/runtime/format-obj` | `https://cdn.jsdelivr.net/npm/motionary@
|
|
469
|
-
| [Lottie + dotLottie player](docs/runtime/vector.md) | `motionary/runtime/vector` | `https://cdn.jsdelivr.net/npm/motionary@
|
|
457
|
+
| [Runtime core](docs/runtime/core.md) | `motionary/runtime` | `https://cdn.jsdelivr.net/npm/motionary@17/dist/runtime.iife.js` | `use();` | 5.5 KB |
|
|
458
|
+
| [CSS @keyframes & WAAPI keyframes loader](docs/runtime/format-css.md) | `motionary/runtime/format-css` | `https://cdn.jsdelivr.net/npm/motionary@17/dist/runtime/format-css.iife.js` | `use(formatCss);` | 2.5 KB |
|
|
459
|
+
| [Motion / Framer keyframe JSON loader](docs/runtime/format-motion.md) | `motionary/runtime/format-motion` | `https://cdn.jsdelivr.net/npm/motionary@17/dist/runtime/format-motion.iife.js` | `use(formatMotion);` | 2.5 KB |
|
|
460
|
+
| [Scroll scenes](docs/runtime/scroll.md) | `motionary/runtime/scroll` | `https://cdn.jsdelivr.net/npm/motionary@17/dist/runtime/scroll.iife.js` | `use(scroll);` | 4.5 KB |
|
|
461
|
+
| [SVG loader: SMIL playback + path morphing](docs/runtime/format-svg.md) | `motionary/runtime/format-svg` | `https://cdn.jsdelivr.net/npm/motionary@17/dist/runtime/format-svg.iife.js` | `use(formatSvg);` | 5.0 KB |
|
|
462
|
+
| [Text splitting](docs/runtime/text.md) | `motionary/runtime/text` | `https://cdn.jsdelivr.net/npm/motionary@17/dist/runtime/text.iife.js` | `use(text);` | 2.5 KB |
|
|
463
|
+
| [Sprite sheets & image sequences](docs/runtime/format-sprite.md) | `motionary/runtime/format-sprite` | `https://cdn.jsdelivr.net/npm/motionary@17/dist/runtime/format-sprite.iife.js` | `use(formatSprite);` | 3.0 KB |
|
|
464
|
+
| [Smooth scrolling](docs/runtime/smooth.md) | `motionary/runtime/smooth` | `https://cdn.jsdelivr.net/npm/motionary@17/dist/runtime/smooth.iife.js` | `use(smooth);` | 3.5 KB |
|
|
465
|
+
| [GIF decoder](docs/runtime/format-gif.md) | `motionary/runtime/format-gif` | `https://cdn.jsdelivr.net/npm/motionary@17/dist/runtime/format-gif.iife.js` | `use(formatGif);` | 3.0 KB |
|
|
466
|
+
| [APNG loader](docs/runtime/format-apng.md) | `motionary/runtime/format-apng` | `https://cdn.jsdelivr.net/npm/motionary@17/dist/runtime/format-apng.iife.js` | `use(formatApng);` | 3.0 KB |
|
|
467
|
+
| [Animated WebP loader](docs/runtime/format-webp.md) | `motionary/runtime/format-webp` | `https://cdn.jsdelivr.net/npm/motionary@17/dist/runtime/format-webp.iife.js` | `use(formatWebp);` | 3.0 KB |
|
|
468
|
+
| [WebGL2 scene renderer](docs/runtime/gl.md) | `motionary/runtime/gl` | `https://cdn.jsdelivr.net/npm/motionary@17/dist/runtime/gl.iife.js` | `use(gl);` | 9.0 KB |
|
|
469
|
+
| [glTF 2.0 / GLB loader](docs/runtime/format-gltf.md) | `motionary/runtime/format-gltf` | `https://cdn.jsdelivr.net/npm/motionary@17/dist/runtime/format-gltf.iife.js` | `use(formatGltf);` | 6.0 KB |
|
|
470
|
+
| [OBJ / MTL loader](docs/runtime/format-obj.md) | `motionary/runtime/format-obj` | `https://cdn.jsdelivr.net/npm/motionary@17/dist/runtime/format-obj.iife.js` | `use(formatObj);` | 3.0 KB |
|
|
471
|
+
| [Lottie + dotLottie player](docs/runtime/vector.md) | `motionary/runtime/vector` | `https://cdn.jsdelivr.net/npm/motionary@17/dist/runtime/vector.iife.js` | `use(vector);` | 12.0 KB |
|
|
470
472
|
| [Official Rive runtime](docs/runtime/rive.md) | `@rive-app/canvas` | `https://unpkg.com/@rive-app/canvas@2.44.1/rive.js` | `provideRiveRuntime(() => import('@rive-app/canvas')); // lazy: fetched when the first <usa-rive> mounts` | official runtime (not bundled) |
|
|
471
|
-
| [2D rigid-body physics](docs/runtime/physics.md) | `motionary/runtime/physics` | `https://cdn.jsdelivr.net/npm/motionary@
|
|
472
|
-
| [Scene JSON (motionary-scene@1)](docs/runtime/format-scene.md) | `motionary/runtime/format-scene` | `https://cdn.jsdelivr.net/npm/motionary@
|
|
473
|
-
| [Drag, inertia and snap points](docs/runtime/drag-snap.md) | `motionary/runtime/drag-snap` | `https://cdn.jsdelivr.net/npm/motionary@
|
|
474
|
-
| [glTF animation, skinning and morph targets](docs/runtime/gltf-anim.md) | `motionary/runtime/gltf-anim` | `https://cdn.jsdelivr.net/npm/motionary@
|
|
475
|
-
| [dotLottie themes + state machines](docs/runtime/lottie-state.md) | `motionary/runtime/lottie-state` | `https://cdn.jsdelivr.net/npm/motionary@
|
|
476
|
-
| [glTF decoder hooks (Draco, KTX2)](docs/runtime/gltf-decoders.md) | `motionary/runtime/gltf-decoders` | `https://cdn.jsdelivr.net/npm/motionary@
|
|
473
|
+
| [2D rigid-body physics](docs/runtime/physics.md) | `motionary/runtime/physics` | `https://cdn.jsdelivr.net/npm/motionary@17/dist/runtime/physics.iife.js` | `use(physics);` | 10.0 KB |
|
|
474
|
+
| [Scene JSON (motionary-scene@1)](docs/runtime/format-scene.md) | `motionary/runtime/format-scene` | `https://cdn.jsdelivr.net/npm/motionary@17/dist/runtime/format-scene.iife.js` | `use(formatScene);` | 3.0 KB |
|
|
475
|
+
| [Drag, inertia and snap points](docs/runtime/drag-snap.md) | `motionary/runtime/drag-snap` | `https://cdn.jsdelivr.net/npm/motionary@17/dist/runtime/drag-snap.iife.js` | `use(dragSnap);` | 4.0 KB |
|
|
476
|
+
| [glTF animation, skinning and morph targets](docs/runtime/gltf-anim.md) | `motionary/runtime/gltf-anim` | `https://cdn.jsdelivr.net/npm/motionary@17/dist/runtime/gltf-anim.iife.js` | `use(gltfAnim);` | 4.5 KB |
|
|
477
|
+
| [dotLottie themes + state machines](docs/runtime/lottie-state.md) | `motionary/runtime/lottie-state` | `https://cdn.jsdelivr.net/npm/motionary@17/dist/runtime/lottie-state.iife.js` | `use(lottieState);` | 3.5 KB |
|
|
478
|
+
| [glTF decoder hooks (Draco, KTX2)](docs/runtime/gltf-decoders.md) | `motionary/runtime/gltf-decoders` | `https://cdn.jsdelivr.net/npm/motionary@17/dist/runtime/gltf-decoders.iife.js` | `use(gltfDecoders);` | 3.0 KB |
|
|
477
479
|
| [Official Draco decoder (Google)](docs/runtime/draco3d.md) | `draco3d` | `https://www.gstatic.com/draco/versioned/decoders/1.5.7/draco_decoder.js` | `provideGltfDecoder('draco', () => import('draco3d')); // lazy: fetched when the first Draco-compressed model loads` | official runtime (not bundled) |
|
|
478
480
|
| [Official Basis Universal transcoder (Binomial)](docs/runtime/basis-transcoder.md) | `basis_transcoder.js` | `https://cdn.jsdelivr.net/gh/BinomialLLC/basis_universal@1.16.4/webgl/transcoder/build/basis_transcoder.js` | `provideGltfDecoder('ktx2', () => import('/vendor/basis_transcoder.js').then((m) => m.default || window.BASIS)); // lazy: fetched with the first KTX2 texture` | official runtime (not bundled) |
|
|
479
481
|
|
|
@@ -495,10 +497,10 @@ definePluginCard(); // registers <usa-plugin-card> — after the prerequisites
|
|
|
495
497
|
- **CDN:**
|
|
496
498
|
|
|
497
499
|
```html
|
|
498
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
500
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@17/dist/runtime.iife.js"></script>
|
|
499
501
|
<!-- then the component bundles -->
|
|
500
|
-
<script src="https://unpkg.com/motionary@
|
|
501
|
-
<script src="https://unpkg.com/motionary@
|
|
502
|
+
<script src="https://unpkg.com/motionary@17/dist/components.umd.js"></script>
|
|
503
|
+
<script src="https://unpkg.com/motionary@17/dist/widgets.umd.js"></script>
|
|
502
504
|
```
|
|
503
505
|
|
|
504
506
|
- **Minimal example:**
|
|
@@ -526,11 +528,11 @@ defineScrollScene(); // registers <usa-scroll-scene> — after the prerequisites
|
|
|
526
528
|
- **CDN:**
|
|
527
529
|
|
|
528
530
|
```html
|
|
529
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
530
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
531
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@17/dist/runtime.iife.js"></script>
|
|
532
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@17/dist/runtime/scroll.iife.js"></script>
|
|
531
533
|
<!-- then the component bundles -->
|
|
532
|
-
<script src="https://unpkg.com/motionary@
|
|
533
|
-
<script src="https://unpkg.com/motionary@
|
|
534
|
+
<script src="https://unpkg.com/motionary@17/dist/components.umd.js"></script>
|
|
535
|
+
<script src="https://unpkg.com/motionary@17/dist/widgets.umd.js"></script>
|
|
534
536
|
```
|
|
535
537
|
|
|
536
538
|
- **Minimal example:**
|
|
@@ -559,11 +561,11 @@ defineTextSplitter(); // registers <usa-text-splitter> — after the prerequisit
|
|
|
559
561
|
- **CDN:**
|
|
560
562
|
|
|
561
563
|
```html
|
|
562
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
563
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
564
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@17/dist/runtime.iife.js"></script>
|
|
565
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@17/dist/runtime/text.iife.js"></script>
|
|
564
566
|
<!-- then the component bundles -->
|
|
565
|
-
<script src="https://unpkg.com/motionary@
|
|
566
|
-
<script src="https://unpkg.com/motionary@
|
|
567
|
+
<script src="https://unpkg.com/motionary@17/dist/components.umd.js"></script>
|
|
568
|
+
<script src="https://unpkg.com/motionary@17/dist/widgets.umd.js"></script>
|
|
567
569
|
```
|
|
568
570
|
|
|
569
571
|
- **Minimal example:**
|
|
@@ -589,11 +591,11 @@ defineSmoothScroll(); // registers <usa-smooth-scroll> — after the prerequisit
|
|
|
589
591
|
- **CDN:**
|
|
590
592
|
|
|
591
593
|
```html
|
|
592
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
593
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
594
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@17/dist/runtime.iife.js"></script>
|
|
595
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@17/dist/runtime/smooth.iife.js"></script>
|
|
594
596
|
<!-- then the component bundles -->
|
|
595
|
-
<script src="https://unpkg.com/motionary@
|
|
596
|
-
<script src="https://unpkg.com/motionary@
|
|
597
|
+
<script src="https://unpkg.com/motionary@17/dist/components.umd.js"></script>
|
|
598
|
+
<script src="https://unpkg.com/motionary@17/dist/widgets.umd.js"></script>
|
|
597
599
|
```
|
|
598
600
|
|
|
599
601
|
- **Minimal example:**
|
|
@@ -622,14 +624,14 @@ defineGlScene(); // registers <usa-gl-scene> — after the prerequisites
|
|
|
622
624
|
- **CDN:**
|
|
623
625
|
|
|
624
626
|
```html
|
|
625
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
626
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
627
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
628
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
629
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
627
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@17/dist/runtime.iife.js"></script>
|
|
628
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@17/dist/runtime/gl.iife.js"></script>
|
|
629
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@17/dist/runtime/format-gltf.iife.js"></script>
|
|
630
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@17/dist/runtime/format-obj.iife.js"></script>
|
|
631
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@17/dist/runtime/gltf-anim.iife.js"></script>
|
|
630
632
|
<!-- then the component bundles -->
|
|
631
|
-
<script src="https://unpkg.com/motionary@
|
|
632
|
-
<script src="https://unpkg.com/motionary@
|
|
633
|
+
<script src="https://unpkg.com/motionary@17/dist/components.umd.js"></script>
|
|
634
|
+
<script src="https://unpkg.com/motionary@17/dist/widgets.umd.js"></script>
|
|
633
635
|
```
|
|
634
636
|
|
|
635
637
|
- **Minimal example:**
|
|
@@ -655,11 +657,11 @@ defineLottiePlayer(); // registers <usa-lottie-player> — after the prerequisit
|
|
|
655
657
|
- **CDN:**
|
|
656
658
|
|
|
657
659
|
```html
|
|
658
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
659
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
660
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@17/dist/runtime.iife.js"></script>
|
|
661
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@17/dist/runtime/vector.iife.js"></script>
|
|
660
662
|
<!-- then the component bundles -->
|
|
661
|
-
<script src="https://unpkg.com/motionary@
|
|
662
|
-
<script src="https://unpkg.com/motionary@
|
|
663
|
+
<script src="https://unpkg.com/motionary@17/dist/components.umd.js"></script>
|
|
664
|
+
<script src="https://unpkg.com/motionary@17/dist/widgets.umd.js"></script>
|
|
663
665
|
```
|
|
664
666
|
|
|
665
667
|
- **Minimal example:**
|
|
@@ -686,8 +688,8 @@ defineRive(); // registers <usa-rive> — after the prerequisites
|
|
|
686
688
|
```html
|
|
687
689
|
<script src="https://unpkg.com/@rive-app/canvas@2.44.1/rive.js"></script>
|
|
688
690
|
<!-- then the component bundles -->
|
|
689
|
-
<script src="https://unpkg.com/motionary@
|
|
690
|
-
<script src="https://unpkg.com/motionary@
|
|
691
|
+
<script src="https://unpkg.com/motionary@17/dist/components.umd.js"></script>
|
|
692
|
+
<script src="https://unpkg.com/motionary@17/dist/widgets.umd.js"></script>
|
|
691
693
|
```
|
|
692
694
|
|
|
693
695
|
- **Minimal example:**
|
|
@@ -714,12 +716,12 @@ definePhysicsPlayground(); // registers <usa-physics-playground> — after the p
|
|
|
714
716
|
- **CDN:**
|
|
715
717
|
|
|
716
718
|
```html
|
|
717
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
718
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
719
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
719
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@17/dist/runtime.iife.js"></script>
|
|
720
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@17/dist/runtime/physics.iife.js"></script>
|
|
721
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@17/dist/runtime/format-scene.iife.js"></script>
|
|
720
722
|
<!-- then the component bundles -->
|
|
721
|
-
<script src="https://unpkg.com/motionary@
|
|
722
|
-
<script src="https://unpkg.com/motionary@
|
|
723
|
+
<script src="https://unpkg.com/motionary@17/dist/components.umd.js"></script>
|
|
724
|
+
<script src="https://unpkg.com/motionary@17/dist/widgets.umd.js"></script>
|
|
723
725
|
```
|
|
724
726
|
|
|
725
727
|
- **Minimal example:**
|
|
@@ -745,11 +747,11 @@ defineSnapCarousel(); // registers <usa-snap-carousel> — after the prerequisit
|
|
|
745
747
|
- **CDN:**
|
|
746
748
|
|
|
747
749
|
```html
|
|
748
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
749
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
750
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@17/dist/runtime.iife.js"></script>
|
|
751
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@17/dist/runtime/drag-snap.iife.js"></script>
|
|
750
752
|
<!-- then the component bundles -->
|
|
751
|
-
<script src="https://unpkg.com/motionary@
|
|
752
|
-
<script src="https://unpkg.com/motionary@
|
|
753
|
+
<script src="https://unpkg.com/motionary@17/dist/components.umd.js"></script>
|
|
754
|
+
<script src="https://unpkg.com/motionary@17/dist/widgets.umd.js"></script>
|
|
753
755
|
```
|
|
754
756
|
|
|
755
757
|
- **Minimal example:**
|
|
@@ -780,12 +782,12 @@ defineDotLottie(); // registers <usa-dotlottie> — after the prerequisites
|
|
|
780
782
|
- **CDN:**
|
|
781
783
|
|
|
782
784
|
```html
|
|
783
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
784
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
785
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
785
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@17/dist/runtime.iife.js"></script>
|
|
786
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@17/dist/runtime/vector.iife.js"></script>
|
|
787
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@17/dist/runtime/lottie-state.iife.js"></script>
|
|
786
788
|
<!-- then the component bundles -->
|
|
787
|
-
<script src="https://unpkg.com/motionary@
|
|
788
|
-
<script src="https://unpkg.com/motionary@
|
|
789
|
+
<script src="https://unpkg.com/motionary@17/dist/components.umd.js"></script>
|
|
790
|
+
<script src="https://unpkg.com/motionary@17/dist/widgets.umd.js"></script>
|
|
789
791
|
```
|
|
790
792
|
|
|
791
793
|
- **Minimal example:**
|
|
@@ -816,15 +818,15 @@ defineGlModel(); // registers <usa-gl-model> — after the prerequisites
|
|
|
816
818
|
- **CDN:**
|
|
817
819
|
|
|
818
820
|
```html
|
|
819
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
820
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
821
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
822
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
821
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@17/dist/runtime.iife.js"></script>
|
|
822
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@17/dist/runtime/gl.iife.js"></script>
|
|
823
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@17/dist/runtime/format-gltf.iife.js"></script>
|
|
824
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@17/dist/runtime/gltf-decoders.iife.js"></script>
|
|
823
825
|
<script src="https://www.gstatic.com/draco/versioned/decoders/1.5.7/draco_decoder.js"></script>
|
|
824
826
|
<script src="https://cdn.jsdelivr.net/gh/BinomialLLC/basis_universal@1.16.4/webgl/transcoder/build/basis_transcoder.js"></script>
|
|
825
827
|
<!-- then the component bundles -->
|
|
826
|
-
<script src="https://unpkg.com/motionary@
|
|
827
|
-
<script src="https://unpkg.com/motionary@
|
|
828
|
+
<script src="https://unpkg.com/motionary@17/dist/components.umd.js"></script>
|
|
829
|
+
<script src="https://unpkg.com/motionary@17/dist/widgets.umd.js"></script>
|
|
828
830
|
```
|
|
829
831
|
|
|
830
832
|
- **Minimal example:**
|
package/README_ja.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
_旧名 **use-scroll-animate**。旧 npm パッケージも、同じビルドのエイリアスとして引き続き公開しています。_
|
|
8
8
|
|
|
9
|
-
[](https://www.npmjs.com/package/motionary) [](https://github.com/HarrisonCN/Motionary/actions/workflows/ci.yml) [](https://bundlejs.com/?q=motionary/core) [](./LICENSE)
|
|
9
|
+
[](https://www.npmjs.com/package/motionary) [](https://github.com/HarrisonCN/Motionary/actions/workflows/ci.yml) [](https://bundlejs.com/?q=motionary/core) [](./LICENSE) [](https://scorecard.dev/viewer/?uri=github.com/HarrisonCN/Motionary)
|
|
10
10
|
|
|
11
11
|
[English](./README.md) | [简体中文](./README_zh.md) | **日本語**
|
|
12
12
|
|
|
@@ -28,6 +28,8 @@ Motionary は、スクロールして画面に入ってきたコンテンツを
|
|
|
28
28
|
|
|
29
29
|
各バージョンのリリースノートは [CHANGELOG.md](./CHANGELOG.md) にあります。
|
|
30
30
|
|
|
31
|
+
サプライチェーン:[docs/supply-chain.md](./docs/supply-chain.md) · SRI ハッシュ付き CDN:[docs/cdn-sri.md](./docs/cdn-sri.md) · AOS・GSAP・Lenis・Motion との比較:[docs/compare](./docs/compare/README.md) · オンラインで試す:[StackBlitz の例](./examples/stackblitz/README.md)。
|
|
32
|
+
|
|
31
33
|
## 目次
|
|
32
34
|
|
|
33
35
|
[特長](#特長) · [インストール](#インストール) · [クイックスタート](#クイックスタート) · [ランタイムの階層](#ランタイムと階層) · [コンポーネント](#コンポーネントギャラリープレイグラウンド) · [CLI](#cli) · [MCP サーバーと AI](#mcp-サーバーと-ai) · [Figma プラグイン](#figma-プラグイン) · [アクセシビリティ](#アクセシビリティ) · [サイズ上限](#サイズ上限) · [13 へのアップグレード](#13-へのアップグレード) · [バージョン](#バージョンと互換性) · [ドキュメント](#ドキュメント) · [コントリビュート](#コントリビュート) · [リファレンス](#リファレンス)
|
|
@@ -48,16 +50,16 @@ Motionary は、スクロールして画面に入ってきたコンテンツを
|
|
|
48
50
|
npm i motionary
|
|
49
51
|
```
|
|
50
52
|
|
|
51
|
-
ビルドツールを使わない場合は CDN からどうぞ。URL はメジャーバージョン(`@<!--ver:major-->
|
|
53
|
+
ビルドツールを使わない場合は CDN からどうぞ。URL はメジャーバージョン(`@<!--ver:major-->17<!--/ver-->`)で固定します。本番環境では正確なバージョンと SRI を指定してください([docs/cdn-sri.md](./docs/cdn-sri.md))。
|
|
52
54
|
|
|
53
55
|
```html
|
|
54
|
-
<script src="https://unpkg.com/motionary@
|
|
55
|
-
<script src="https://unpkg.com/motionary@
|
|
56
|
-
<script src="https://unpkg.com/motionary@
|
|
57
|
-
<script src="https://unpkg.com/motionary@
|
|
56
|
+
<script src="https://unpkg.com/motionary@17/dist/index.umd.js"></script> <!-- スクロール API:window.ScrollAnimate -->
|
|
57
|
+
<script src="https://unpkg.com/motionary@17/dist/presets-extended.umd.js"></script> <!-- プリセット +181 種 -->
|
|
58
|
+
<script src="https://unpkg.com/motionary@17/dist/components.umd.js"></script> <!-- motionary/components の要素:window.UsaComponents -->
|
|
59
|
+
<script src="https://unpkg.com/motionary@17/dist/widgets.umd.js"></script> <!-- ウィジェット:window.UsaWidgets -->
|
|
58
60
|
```
|
|
59
61
|
|
|
60
|
-
jsDelivr も使えます:`https://cdn.jsdelivr.net/npm/motionary@
|
|
62
|
+
jsDelivr も使えます:`https://cdn.jsdelivr.net/npm/motionary@17/dist/…`。`use-scroll-animate` をお使いの場合も、同じバージョンで引き続き公開されます。乗り換えるときは、import と URL のパッケージ名を置き換えるだけです([詳細](./docs/versions.md))。
|
|
61
63
|
|
|
62
64
|
## クイックスタート
|
|
63
65
|
|
|
@@ -298,7 +300,7 @@ Figma プラグイン、クロスプラットフォーム書き出し(`npx mot
|
|
|
298
300
|
すべてのエントリポイントに、[`size-budget.json`](./size-budget.json) で固定の gzip 上限が設定されています(全 401 項目)。上限を超えるエントリがあれば CI は失敗し、上限が自動で引き上げられることはありません。
|
|
299
301
|
|
|
300
302
|
<!-- size-table:start -->
|
|
301
|
-
|
|
303
|
+
17.0.0-rc.1 ビルドでの実測値(minify + gzip、`scripts/size.mjs --report` で生成):
|
|
302
304
|
|
|
303
305
|
| インポートするもの | gzip | 上限 |
|
|
304
306
|
|---|---:|---:|
|
|
@@ -312,7 +314,7 @@ Figma プラグイン、クロスプラットフォーム書き出し(`npx mot
|
|
|
312
314
|
| `motionary/components/reveal` | 4.47 KB | 5.00 KB |
|
|
313
315
|
| `motionary/components/lite`(全要素、CSS はオンデマンド) | 69.99 KB | 70.00 KB |
|
|
314
316
|
| `motionary/components`(全要素 + CSS) | 86.05 KB | 93.75 KB |
|
|
315
|
-
| `dist/components.umd.js`(CDN、すべて) | 109.
|
|
317
|
+
| `dist/components.umd.js`(CDN、すべて) | 109.92 KB | 115.75 KB |
|
|
316
318
|
<!-- size-table:end -->
|
|
317
319
|
|
|
318
320
|
既定ではスクロールイベントを監視せず(IntersectionObserver を使用)、アニメーションはコンポジタで処理できるプロパティ(`transform`、`opacity`、`filter`、`clip-path`)に限られます。インポート自体に副作用はありません([docs/tree-shaking.md](./docs/tree-shaking.md))。PR ごとに、ヘッドレス Chrome でファーストビューの転送量、スクリプト時間、GPU リソース、フレームの安定性も計測しています([docs/perf-ci.md](./docs/perf-ci.md))。ソースマップは npm には含めません。タグ付きの git ツリーにあり(各ファイルの `sourceMappingURL` がそこを指します)、16.3 からは `sourcemaps` アーカイブとして GitHub の各リリースにも添付します([docs/source-maps.md](./docs/source-maps.md))。詳しくは [docs/performance.md](./docs/performance.md)。
|
|
@@ -340,8 +342,8 @@ npx usa-codemod-13 --write # まとめて書き換え。@10 / @11 / @12 に
|
|
|
340
342
|
|
|
341
343
|
## バージョンと互換性
|
|
342
344
|
|
|
343
|
-
- **npm の dist-tag:** `latest` は現在のメジャーの最新リリース(<!--ver:version-->
|
|
344
|
-
- **CDN:** URL はメジャーで固定します(`motionary@<!--ver:major-->
|
|
345
|
+
- **npm の dist-tag:** `latest` は現在のメジャーの最新リリース(<!--ver:version-->17.0.0-rc.1<!--/ver-->)を指します。14.1 からはマイナーリリースでも移動します。マイナーリリースにはそれぞれ `v<major>-<minor>` のタグも付きます(例:`v15-0`)。`v15-line` は 15.x を追い、`v14-lts` は 14.9.x です。`motionary` と `use-scroll-animate` は常に同じバージョンで同時に公開されます。
|
|
346
|
+
- **CDN:** URL はメジャーで固定します(`motionary@<!--ver:major-->17<!--/ver-->`)。正確なバージョン指定(`motionary@12.4.0`)もそのまま使えます。
|
|
345
347
|
- **セマンティックバージョニング:** 破壊的変更はメジャーだけで行い、毎回ガイドと codemod を用意します。非推奨になったものは次のメジャーまで残り、その間は型に `@deprecated` が付くだけで、実行時の警告は出ません。
|
|
346
348
|
- **各バージョンに含まれるもの:** コンポーネントとランタイムモジュールごとの `since` / `changed`([docs/version-compat.md](./docs/version-compat.md))、機能ごとの対応状況([docs/compat-matrix.md](./docs/compat-matrix.md))。
|
|
347
349
|
- 詳細:[docs/versions.md](./docs/versions.md) · [CHANGELOG.md](./CHANGELOG.md)。
|
package/README_zh.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
_原名 **use-scroll-animate**。旧 npm 包仍会作为别名,与 motionary 同版本、同构建一起发布。_
|
|
8
8
|
|
|
9
|
-
[](https://www.npmjs.com/package/motionary) [](https://github.com/HarrisonCN/Motionary/actions/workflows/ci.yml) [](https://bundlejs.com/?q=motionary/core) [](./LICENSE)
|
|
9
|
+
[](https://www.npmjs.com/package/motionary) [](https://github.com/HarrisonCN/Motionary/actions/workflows/ci.yml) [](https://bundlejs.com/?q=motionary/core) [](./LICENSE) [](https://scorecard.dev/viewer/?uri=github.com/HarrisonCN/Motionary)
|
|
10
10
|
|
|
11
11
|
[English](./README.md) | **简体中文** | [日本語](./README_ja.md)
|
|
12
12
|
|
|
@@ -28,6 +28,8 @@ Motionary 让内容在滚入视口时自然登场,并提供 <!--fact:public-->
|
|
|
28
28
|
|
|
29
29
|
各版本的更新说明见 [CHANGELOG.md](./CHANGELOG.md)。
|
|
30
30
|
|
|
31
|
+
供应链:[docs/supply-chain.md](./docs/supply-chain.md) · 带 SRI 哈希的 CDN 用法:[docs/cdn-sri.md](./docs/cdn-sri.md) · 与 AOS、GSAP、Lenis、Motion 的对比:[docs/compare](./docs/compare/README.md) · 在线试用:[StackBlitz 示例](./examples/stackblitz/README.md)。
|
|
32
|
+
|
|
31
33
|
## 目录
|
|
32
34
|
|
|
33
35
|
[特性](#特性) · [安装](#安装) · [快速上手](#快速上手) · [运行时分级](#运行时与分级) · [组件](#组件演示与演练场) · [CLI](#cli) · [MCP 服务器与 AI](#mcp-服务器与-ai) · [Figma 插件](#figma-插件) · [无障碍](#无障碍) · [体积预算](#体积预算) · [升级到 13](#升级到-13) · [版本](#版本与兼容性) · [文档](#文档) · [参与贡献](#参与贡献) · [参考](#参考)
|
|
@@ -48,16 +50,16 @@ Motionary 让内容在滚入视口时自然登场,并提供 <!--fact:public-->
|
|
|
48
50
|
npm i motionary
|
|
49
51
|
```
|
|
50
52
|
|
|
51
|
-
不想引入构建工具?直接用 CDN。URL 固定到大版本(`@<!--ver:major-->
|
|
53
|
+
不想引入构建工具?直接用 CDN。URL 固定到大版本(`@<!--ver:major-->17<!--/ver-->`)。生产环境请固定到具体版本并加 SRI([docs/cdn-sri.md](./docs/cdn-sri.md)):
|
|
52
54
|
|
|
53
55
|
```html
|
|
54
|
-
<script src="https://unpkg.com/motionary@
|
|
55
|
-
<script src="https://unpkg.com/motionary@
|
|
56
|
-
<script src="https://unpkg.com/motionary@
|
|
57
|
-
<script src="https://unpkg.com/motionary@
|
|
56
|
+
<script src="https://unpkg.com/motionary@17/dist/index.umd.js"></script> <!-- 滚动 API:window.ScrollAnimate -->
|
|
57
|
+
<script src="https://unpkg.com/motionary@17/dist/presets-extended.umd.js"></script> <!-- 再加 181 个预设 -->
|
|
58
|
+
<script src="https://unpkg.com/motionary@17/dist/components.umd.js"></script> <!-- motionary/components 的元素:window.UsaComponents -->
|
|
59
|
+
<script src="https://unpkg.com/motionary@17/dist/widgets.umd.js"></script> <!-- 小部件:window.UsaWidgets -->
|
|
58
60
|
```
|
|
59
61
|
|
|
60
|
-
也可以用 jsDelivr:`https://cdn.jsdelivr.net/npm/motionary@
|
|
62
|
+
也可以用 jsDelivr:`https://cdn.jsdelivr.net/npm/motionary@17/dist/…`。还在用 `use-scroll-animate`?它会继续以相同版本发布;要切换,只需在 import 和 URL 中替换包名([详情](./docs/versions.md))。
|
|
61
63
|
|
|
62
64
|
## 快速上手
|
|
63
65
|
|
|
@@ -298,7 +300,7 @@ AI 助手与 provider(`motionary/studio/ai`、`motionary/ai*`)、MCP 服务
|
|
|
298
300
|
每个入口在 [`size-budget.json`](./size-budget.json) 中都有固定的 gzip 预算(共 401 项)。任何入口超出预算,CI 就会失败,预算也从不自动上调。
|
|
299
301
|
|
|
300
302
|
<!-- size-table:start -->
|
|
301
|
-
|
|
303
|
+
17.0.0-rc.1 构建的实测值(minify + gzip),由 `scripts/size.mjs --report` 生成:
|
|
302
304
|
|
|
303
305
|
| 导入内容 | gzip | 上限 |
|
|
304
306
|
|---|---:|---:|
|
|
@@ -312,7 +314,7 @@ AI 助手与 provider(`motionary/studio/ai`、`motionary/ai*`)、MCP 服务
|
|
|
312
314
|
| `motionary/components/reveal` | 4.47 KB | 5.00 KB |
|
|
313
315
|
| `motionary/components/lite`(全部元素,CSS 按需) | 69.99 KB | 70.00 KB |
|
|
314
316
|
| `motionary/components`(全部元素 + CSS) | 86.05 KB | 93.75 KB |
|
|
315
|
-
| `dist/components.umd.js`(CDN,全部) | 109.
|
|
317
|
+
| `dist/components.umd.js`(CDN,全部) | 109.92 KB | 115.75 KB |
|
|
316
318
|
<!-- size-table:end -->
|
|
317
319
|
|
|
318
320
|
默认不监听 scroll 事件(改用 IntersectionObserver),动画只作用于合成层属性(`transform`、`opacity`、`filter`、`clip-path`),导入本身没有副作用([docs/tree-shaking.md](./docs/tree-shaking.md))。每个 PR 还会在无头 Chrome 中测量首屏传输量、脚本耗时、GPU 资源与帧稳定性([docs/perf-ci.md](./docs/perf-ci.md))。source map 不随 npm 包发布:它们保存在打了标签的 git 树中(每个文件的 `sourceMappingURL` 指向那里),从 16.3 起也作为 `sourcemaps` 压缩包附在每个 GitHub Release 上([docs/source-maps.md](./docs/source-maps.md))。更多:[docs/performance.md](./docs/performance.md)。
|
|
@@ -340,8 +342,8 @@ npx usa-codemod-13 --write # 一并改写,并把固定在 @10 / @11 / @12
|
|
|
340
342
|
|
|
341
343
|
## 版本与兼容性
|
|
342
344
|
|
|
343
|
-
- **npm dist-tags:** `latest` 指向当前大版本的最新版本(<!--ver:version-->
|
|
344
|
-
- **CDN:** URL 固定到大版本(`motionary@<!--ver:major-->
|
|
345
|
+
- **npm dist-tags:** `latest` 指向当前大版本的最新版本(<!--ver:version-->17.0.0-rc.1<!--/ver-->;从 14.1 起次版本也会移动它)。每个次版本另有自己的标签 `v<major>-<minor>`(例如 `v15-0`),`v15-line` 跟随 15.x,`v14-lts` 为 14.9.x。`motionary` 与 `use-scroll-animate` 总是以相同版本一起发布。
|
|
346
|
+
- **CDN:** URL 固定到大版本(`motionary@<!--ver:major-->17<!--/ver-->`);固定到具体版本(`motionary@12.4.0`)的链接也继续可用。
|
|
345
347
|
- **语义化版本:** 破坏性变更只出现在大版本,每次都附带升级指南和 codemod。弃用的内容会保留到下一个大版本,期间类型标记为 `@deprecated`,运行时不输出警告。
|
|
346
348
|
- **各版本包含什么:** 每个组件和运行时模块的 `since` / `changed`([docs/version-compat.md](./docs/version-compat.md)),以及逐项功能支持([docs/compat-matrix.md](./docs/compat-matrix.md))。
|
|
347
349
|
- 详情:[docs/versions.md](./docs/versions.md) · [CHANGELOG.md](./CHANGELOG.md)。
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// 17.0: `mo-codemod` — the Motionary-named alias of the usa-codemod tools (same runner as `npx motionary codemod`).
|
|
3
|
+
// npx -p motionary mo-codemod <11–13> [--write] [paths…]
|
|
4
|
+
// The usa-codemod-<n> bins keep working; usa-* names are deprecated in favour of mo-* (docs/deprecations-v17.md#mo-names),
|
|
5
|
+
// removal not before a future major.
|
|
6
|
+
import { runCodemod } from './motionary.mjs';
|
|
7
|
+
|
|
8
|
+
Promise.resolve(runCodemod(process.argv.slice(2))).then((c) => { process.exitCode = c; });
|
package/bin/motionary-mcp.mjs
CHANGED
|
@@ -271,7 +271,7 @@ export function scenePreviewHtml(scene) {
|
|
|
271
271
|
<div id="stage">${els.map((e) => e.html).join('')}</div>
|
|
272
272
|
<script type="application/json" id="scene">${esc2(JSON.stringify(scene))}</script>
|
|
273
273
|
<script type="module">
|
|
274
|
-
import { renderSceneHeadless } from 'https://cdn.jsdelivr.net/npm/motionary@
|
|
274
|
+
import { renderSceneHeadless } from 'https://cdn.jsdelivr.net/npm/motionary@17/dist/components/studio-ai.js';
|
|
275
275
|
const scene = JSON.parse(document.getElementById('scene').textContent);
|
|
276
276
|
const r = renderSceneHeadless(scene);
|
|
277
277
|
if (!r.ok) throw new Error('[motionary] scene render: ' + r.errors.join('; '));
|