motionary 17.2.1 → 17.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +7 -5
- package/CHANGELOG.md +62 -0
- package/README.md +25 -22
- package/README_ja.md +20 -17
- package/README_zh.md +20 -17
- package/bin/mo-codemod.mjs +68 -3
- package/bin/motionary-mcp.mjs +4 -3
- package/dist/chunks/{anim-image-Cdqo9ARg.js → anim-image-C2E-0IHe.js} +2 -2
- package/dist/chunks/{anim-image-BumBKRpk.cjs → anim-image-DUp41p_J.cjs} +2 -2
- package/dist/chunks/{audio-D0LwPShE.cjs → audio-BYC54FVb.cjs} +4 -4
- package/dist/chunks/{audio-AtLkHgFE.js → audio-C1nRN28K.js} +4 -4
- package/dist/chunks/{badge-wall-Cl_xT9TD.js → badge-wall-CHVGI6ZX.js} +2 -2
- package/dist/chunks/{badge-wall-CITexuW7.cjs → badge-wall-nHmls1DJ.cjs} +2 -2
- package/dist/chunks/{base-BQmWYlDq.js → base-DRZOlKiI.js} +25 -8
- package/dist/chunks/{base-BvH4nAcv.cjs → base-DzZEJhQB.cjs} +24 -7
- package/dist/chunks/{bg-generator-DoLaSG2a.js → bg-generator-BceRQLoK.js} +2 -2
- package/dist/chunks/{bg-generator-CML8tPN8.cjs → bg-generator-D4ssmvZk.cjs} +2 -2
- package/dist/chunks/bind-B_CTL6Qn.js +1 -1
- package/dist/chunks/bind-Ui43-n2d.cjs +1 -1
- package/dist/chunks/{builtins-BYmVxuUA.js → builtins-BIFIhepe.js} +3 -3
- package/dist/chunks/{builtins-fp4MVfE-.cjs → builtins-Cp5v4424.cjs} +3 -3
- package/dist/chunks/{carousel-DU3rHTq0.cjs → carousel-CtzI1LxO.cjs} +2 -2
- package/dist/chunks/{carousel-Cl5uOQMI.js → carousel-DeCCp97t.js} +2 -2
- package/dist/chunks/{cart-drawer-DYcTBtqX.js → cart-drawer-CdVTa9ic.js} +2 -2
- package/dist/chunks/{cart-drawer-CkFMKMhx.cjs → cart-drawer-DSPlj8F4.cjs} +2 -2
- package/dist/chunks/category-for-tag-D_QJPwpZ.cjs +1 -1
- package/dist/chunks/category-for-tag-WK7MtB-K.js +1 -1
- package/dist/chunks/{code-export-F5ajFBWV.js → code-export-BAYvizw5.js} +2 -2
- package/dist/chunks/{code-export-PdGSl9WE.cjs → code-export-ZWiwLw-H.cjs} +2 -2
- package/dist/chunks/{color-picker-B_xWVH8H.cjs → color-picker-8N-NOvcQ.cjs} +2 -2
- package/dist/chunks/{color-picker-DfAShjuU.js → color-picker-DL8WAdgj.js} +2 -2
- package/dist/chunks/{command-palette-B_sdGBkB.cjs → command-palette-CF3b-53a.cjs} +2 -2
- package/dist/chunks/{command-palette-D3BLEWg1.js → command-palette-CmYGwCis.js} +2 -2
- package/dist/chunks/core-BjcOCpJt.cjs +1 -1
- package/dist/chunks/{core-DbAYRKnS.cjs → core-CLKnlWY8.cjs} +2 -2
- package/dist/chunks/{core-DjjKLmZ6.cjs → core-D6--jjZC.cjs} +2 -2
- package/dist/chunks/{core-DISdVBH1.js → core-D9fzpWWF.js} +2 -2
- package/dist/chunks/core-Dj6iomdc.js +1 -1
- package/dist/chunks/{core-CxbMpBNZ.js → core-cXxctm3i.js} +2 -2
- package/dist/chunks/{countdown-RQViryt7.cjs → countdown-B3c7zXfX.cjs} +2 -2
- package/dist/chunks/{countdown-Bx3drDeE.js → countdown-DkX9uSX8.js} +2 -2
- package/dist/chunks/{date-picker-BgApzPNn.cjs → date-picker-DBlxYEY6.cjs} +2 -2
- package/dist/chunks/{date-picker-zwkly5SQ.js → date-picker-DJw-F-Wb.js} +2 -2
- package/dist/chunks/ease-HwYZnZat.cjs +1 -1
- package/dist/chunks/ease-XN8_0sXu.js +1 -1
- package/dist/chunks/{equalizer-DUDHQUHB.js → equalizer-3UOx6J5X.js} +2 -2
- package/dist/chunks/{equalizer-_eD_ZdCl.cjs → equalizer-DbABxC9W.cjs} +2 -2
- package/dist/chunks/{festival-banner-Bs18K0MJ.cjs → festival-banner-DOMDAkz8.cjs} +2 -2
- package/dist/chunks/{festival-banner-BhdjV0fp.js → festival-banner-ixk-a3W6.js} +2 -2
- package/dist/chunks/{field-BTSpoQcd.js → field-BSfzSa6C.js} +2 -2
- package/dist/chunks/{field-Dwq8-CLN.cjs → field-C_ODaCJ5.cjs} +2 -2
- package/dist/chunks/{format-b5fQz-vc.cjs → format-CcfR6-Jx.cjs} +2 -2
- package/dist/chunks/{format-CI6Vx9Ui.js → format-CqOIfdW_.js} +2 -2
- package/dist/chunks/{fx-DEhvlMn6.cjs → fx-BLAi-SpO.cjs} +2 -2
- package/dist/chunks/{fx-C9Bq8hdA.js → fx-BSLLiegk.js} +2 -2
- package/dist/chunks/{generative-BFR11LSL.js → generative-CMp5pE9Y.js} +2 -2
- package/dist/chunks/{generative-BKoxWOSP.cjs → generative-DkuaIgER.cjs} +2 -2
- package/dist/chunks/{gl-scene-1lC5gjPF.cjs → gl-scene-C9pBV4jG.cjs} +3 -3
- package/dist/chunks/{gl-scene-B2dWjiWi.js → gl-scene-CMC04FGd.js} +3 -3
- package/dist/chunks/{globe-DA0jyb6s.cjs → globe-BMVmAz1A.cjs} +2 -2
- package/dist/chunks/{globe-B6GMkhIi.js → globe-M_ojLZnP.js} +2 -2
- package/dist/chunks/{gpu-C2C6iBQC.cjs → gpu-B7egA-fl.cjs} +4 -4
- package/dist/chunks/{gpu-Bl7ZKR8x.js → gpu-gejIQCMt.js} +4 -4
- package/dist/chunks/{gpu-particles-dIxou1C7.js → gpu-particles-CquYk8lp.js} +2 -2
- package/dist/chunks/{gpu-particles-wEO_rds1.cjs → gpu-particles-DGwFsyz_.cjs} +2 -2
- package/dist/chunks/{history-DtNn2Q0g.js → history-CTLhjhlC.js} +2 -2
- package/dist/chunks/{history-B0Ml40k1.cjs → history-rim_8RCX.cjs} +2 -2
- package/dist/chunks/{index-C9_FEsfz.cjs → index-Ci8k-y1X.cjs} +4 -4
- package/dist/chunks/{index-C0j-oCw2.js → index-Cx-NVSlj.js} +4 -4
- 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-UgAQUE_D.cjs → keyframes-C38Ftq1B.cjs} +2 -2
- package/dist/chunks/{keyframes-CiWxmMa0.js → keyframes-CwhOVuO5.js} +2 -2
- package/dist/chunks/{leaderboard-CfgRxbeu.js → leaderboard-CbjrxexL.js} +2 -2
- package/dist/chunks/{leaderboard-DvSSQ8o3.cjs → leaderboard-DAxGz-Bv.cjs} +2 -2
- package/dist/chunks/{location-card-BP7JLDLo.js → location-card-BqWM1-UQ.js} +2 -2
- package/dist/chunks/{location-card-DSPTApUe.cjs → location-card-ChfmioKU.cjs} +2 -2
- package/dist/chunks/{lottie-icon-BxIqK7q7.js → lottie-icon-BYzLLASp.js} +2 -2
- package/dist/chunks/{lottie-icon-BoxkukMd.cjs → lottie-icon-tbOmn1bQ.cjs} +2 -2
- package/dist/chunks/{lottie-player-CM0ATY3F.js → lottie-player-BdgHpKiX.js} +3 -3
- package/dist/chunks/{lottie-player-C8NxAf1o.cjs → lottie-player-kQ9J05on.cjs} +3 -3
- package/dist/chunks/{lyrics-D4zARPqR.js → lyrics-C4G2M58i.js} +2 -2
- package/dist/chunks/{lyrics-CRB7dA1j.cjs → lyrics-CchUHmvY.cjs} +2 -2
- package/dist/chunks/{manifest-EZTGWMQl.js → manifest-C-95Gckp.js} +2 -2
- package/dist/chunks/{manifest-xr3WET80.cjs → manifest-DWZv7bHQ.cjs} +2 -2
- package/dist/chunks/{menu-CZ1zHTT9.cjs → menu-9GcThZZr.cjs} +2 -2
- package/dist/chunks/{menu-EOQH7vNp.js → menu-D0jo561j.js} +2 -2
- package/dist/chunks/{menu-toggle-DGXN4VsN.cjs → menu-toggle-DcMQeRDt.cjs} +2 -2
- package/dist/chunks/{menu-toggle-BaP8UQtW.js → menu-toggle-DfImd7GH.js} +2 -2
- package/dist/chunks/mo-name-DR9ysd5S.cjs +18 -0
- package/dist/chunks/mo-name-DT5wwaGR.js +16 -0
- package/dist/chunks/nav-flyout-BklGeZ6_.js +254 -0
- package/dist/chunks/nav-flyout-CrLUC54W.cjs +257 -0
- package/dist/chunks/{nav-morph-Bl7rQGXg.js → nav-morph-DbPrhAZe.js} +2 -2
- package/dist/chunks/{nav-morph-C4rD3wrU.cjs → nav-morph-DuNCH5WQ.cjs} +2 -2
- package/dist/chunks/{otp-CImvDHhN.js → otp-BicHkNV7.js} +2 -2
- package/dist/chunks/{otp-DUyEWYMi.cjs → otp-W5drE539.cjs} +2 -2
- package/dist/chunks/{pagination-DHmYZZU9.cjs → pagination-BH2ngIJB.cjs} +2 -2
- package/dist/chunks/{pagination-D8OldTKt.js → pagination-YhHT5Tu2.js} +2 -2
- package/dist/chunks/{physics-playground-CNtgXtV_.js → physics-playground-Cxcj4i13.js} +3 -3
- package/dist/chunks/{physics-playground-Ez5RAyMN.cjs → physics-playground-m9zHsri6.cjs} +3 -3
- package/dist/chunks/{play-U4-l22wu.js → play-B1V6ejr7.js} +2 -2
- package/dist/chunks/{play-D9Utt9rO.cjs → play-CTz93Nas.cjs} +2 -2
- package/dist/chunks/{player-core-S0Fqtlfd.js → player-core-BeC-5HSm.js} +4 -4
- package/dist/chunks/{player-core-wSp7kDYd.cjs → player-core-CqR6WVaL.cjs} +4 -4
- package/dist/chunks/{presence-DAthlALi.cjs → presence-DKDktgSJ.cjs} +2 -2
- package/dist/chunks/{presence-DKAp51JY.js → presence-DP4MWxbz.js} +2 -2
- package/dist/chunks/presets-BYBVJVeP.js +1 -1
- package/dist/chunks/presets-CUHys3sK.cjs +1 -1
- package/dist/chunks/{preview-DW0zh_0c.js → preview-C0sWbNsF.js} +3 -3
- package/dist/chunks/{preview-kiMCBqSF.cjs → preview-DGpXA2hJ.cjs} +3 -3
- package/dist/chunks/{prize-wheel-CYG2gNtL.js → prize-wheel-CQdle8sb.js} +2 -2
- package/dist/chunks/{prize-wheel-emDopI5c.cjs → prize-wheel-W_4Wvldc.cjs} +2 -2
- package/dist/chunks/{product-gallery-CKtSVhZk.cjs → product-gallery-B5ra4XHf.cjs} +8 -3
- package/dist/chunks/{product-gallery-Dn7yr7N9.js → product-gallery-DkLx-GA5.js} +8 -3
- package/dist/chunks/{progress-ring-DfUcJbXm.js → progress-ring-BBsjkFf2.js} +2 -2
- package/dist/chunks/{progress-ring-C75O4MUi.cjs → progress-ring-YtKPU2jM.cjs} +2 -2
- package/dist/chunks/{project-DiTOvzic.cjs → project-DIZ0UqvG.cjs} +4 -4
- package/dist/chunks/{project-9WDl1Fyq.js → project-Sa13fIXw.js} +4 -4
- package/dist/chunks/{prop-panel-DFqga6H5.cjs → prop-panel-CaR91ZOI.cjs} +2 -2
- package/dist/chunks/{prop-panel-DvkXyt8q.js → prop-panel-DlHuRGMl.js} +2 -2
- package/dist/chunks/{radar-D-bZRrgs.cjs → radar-CGKx_0Ug.cjs} +2 -2
- package/dist/chunks/{radar-D7LzLQJX.js → radar-CPk16rh6.js} +2 -2
- package/dist/chunks/{reactions-BL2iO8iy.cjs → reactions-C8aoxmBM.cjs} +2 -2
- package/dist/chunks/{reactions-S_dsxBY8.js → reactions-CgytEgcC.js} +2 -2
- package/dist/chunks/{registry-BLXPhfJd.js → registry-CWI1ob40.js} +2 -2
- package/dist/chunks/{registry-DphPB165.cjs → registry-CYm_Tb0w.cjs} +2 -2
- package/dist/chunks/{registry-BdSDdeL7.js → registry-Di_8M2Md.js} +2 -2
- package/dist/chunks/{registry-CibnX7Ui.cjs → registry-_XKU28ZC.cjs} +2 -2
- package/dist/chunks/{retro-button-DrrBZ6w8.cjs → retro-button-CFu0VcvW.cjs} +2 -2
- package/dist/chunks/{retro-button-2x9sOTBI.js → retro-button-DZmsOnQZ.js} +2 -2
- package/dist/chunks/{rive-wdC-DTmT.js → rive-CuQrXqPv.js} +2 -2
- package/dist/chunks/{rive-D6X4J0Mi.cjs → rive-xzduMxFp.cjs} +2 -2
- package/dist/chunks/{runtime-link-JzguK1oG.js → runtime-link-BepzGCtu.js} +2 -2
- package/dist/chunks/{runtime-link-B9ya8z4g.cjs → runtime-link-CdvAFKsO.cjs} +2 -2
- package/dist/chunks/{scene-U2YkjCm0.cjs → scene-C_jNHfn4.cjs} +2 -2
- package/dist/chunks/{scene-WZLES-B0.js → scene-DWRlvQ00.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-DdQaP6I0.js → scroll-scene-B9TSwnRw.js} +4 -4
- package/dist/chunks/{scroll-scene-BxR8jL68.cjs → scroll-scene-BRnibjdP.cjs} +4 -4
- package/dist/chunks/{segmented-BCajObgE.js → segmented-DV3fsjZA.js} +2 -2
- package/dist/chunks/{segmented-CpB4mKIn.cjs → segmented-JA4E5-4e.cjs} +2 -2
- package/dist/chunks/{shader-backdrop-BodjXMhw.cjs → shader-backdrop-Ct8UIKNL.cjs} +2 -2
- package/dist/chunks/{shader-backdrop-Ccg25dLQ.js → shader-backdrop-DCUYQZs4.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-B38ylIEW.cjs → sheet-BzJEwGbk.cjs} +2 -2
- package/dist/chunks/{sheet-B2r33Isp.js → sheet-syGvz3gI.js} +2 -2
- package/dist/chunks/sign-DvZ1jHxE.js +1 -1
- package/dist/chunks/sign-RAkQIWrM.cjs +1 -1
- package/dist/chunks/{skeleton-reveal-Dsd3Wp0n.cjs → skeleton-reveal-04UV72HA.cjs} +2 -2
- package/dist/chunks/{skeleton-reveal-D2uMxKHC.js → skeleton-reveal-B3MJyXtU.js} +2 -2
- package/dist/chunks/{sparkline-C3SGIIax.js → sparkline-B6i28zLO.js} +2 -2
- package/dist/chunks/{sparkline-DeKhZpVo.cjs → sparkline-b6jIA0JR.cjs} +2 -2
- package/dist/chunks/{spring-BOKyL1Rj.js → spring-Ddhxb3nO.js} +2 -2
- package/dist/chunks/{spring-XEl_diDJ.cjs → spring-DoapHVAk.cjs} +2 -2
- package/dist/chunks/stagger-B9sKPwQB.js +1 -1
- package/dist/chunks/stagger-DFKwqOQG.cjs +1 -1
- package/dist/chunks/{suggestion-chips-FMxruJG4.js → suggestion-chips-BSTTrsXU.js} +2 -2
- package/dist/chunks/{suggestion-chips-CAcbFTr4.cjs → suggestion-chips-a0-diVWW.cjs} +2 -2
- package/dist/chunks/{switch-BdGuLQpo.js → switch-B5ACriSq.js} +2 -2
- package/dist/chunks/{switch-DiTlApGd.cjs → switch-Cs6mszUY.cjs} +2 -2
- package/dist/chunks/{tab-bar-rGOs5uh4.js → tab-bar-B9EIsSde.js} +2 -2
- package/dist/chunks/{tab-bar-BBlVAqbq.cjs → tab-bar-BvRhwu_Z.cjs} +2 -2
- package/dist/chunks/{ticker-jyIEXMb4.js → ticker-CEWigMxm.js} +2 -2
- package/dist/chunks/{ticker-CHmOOPC3.cjs → ticker-D22gBWhA.cjs} +2 -2
- package/dist/chunks/{tip-VGS3qAUm.cjs → tip-C4ZmZX3u.cjs} +2 -2
- package/dist/chunks/{tip-VhV9WI93.js → tip-L4bEg80R.js} +2 -2
- package/dist/chunks/{toast-stack-BMStleeh.js → toast-stack-BAZcQeG8.js} +3 -3
- package/dist/chunks/{toast-stack-DprisNp_.cjs → toast-stack-CvhLNj0o.cjs} +3 -3
- package/dist/chunks/{tween-c-N2zbMP.cjs → tween-C0Vcrivp.cjs} +2 -2
- package/dist/chunks/{tween-5WKUj3Ev.js → tween-DBr6c0Np.js} +2 -2
- package/dist/chunks/{upload-progress-5FPam2SV.js → upload-progress-DHuh8F0L.js} +2 -2
- package/dist/chunks/{upload-progress-CEAWkP-p.cjs → upload-progress-Dw3IXtf8.cjs} +2 -2
- package/dist/chunks/{v2-BN000nHo.js → v2-BGAJ5peo.js} +3 -3
- package/dist/chunks/{v2-El9dfBqV.cjs → v2-Z2M3Ef0Y.cjs} +3 -3
- package/dist/chunks/v3-read-BNhrN3tL.cjs +1 -1
- package/dist/chunks/v3-read-BqgIjLQP.js +1 -1
- package/dist/chunks/{variants-DWeKzYPo.js → variants-DGFs5iIp.js} +2 -2
- package/dist/chunks/{variants-BtqEJuki.cjs → variants-OGnKHKwT.cjs} +2 -2
- package/dist/chunks/viewport-BAXHhZLV.js +1 -1
- package/dist/chunks/viewport-EFYGqMNa.cjs +1 -1
- package/dist/chunks/{voice-button-BsYkfXZ8.js → voice-button-B_ursjZX.js} +2 -2
- package/dist/chunks/{voice-button-9UauxvT9.cjs → voice-button-CjB9Skfp.cjs} +2 -2
- package/dist/chunks/{weather-card-B5ZBoxiD.js → weather-card-Bro03MyD.js} +4 -3
- package/dist/chunks/{weather-card-4Eg6e43D.cjs → weather-card-DjTGZGrl.cjs} +4 -3
- package/dist/chunks/{worker-canvas-DwniXjtc.js → worker-canvas-BQ31D84x.js} +16 -15
- package/dist/chunks/{worker-canvas-BMBXAFWp.cjs → worker-canvas-DgGkosGe.cjs} +16 -15
- package/dist/chunks/{xp-bar-DFdhs9RQ.js → xp-bar-CIdfQQOK.js} +2 -2
- package/dist/chunks/{xp-bar-DkWfCTfB.cjs → xp-bar-CgH7Z424.cjs} +2 -2
- package/dist/components/a11y.cjs +2 -2
- package/dist/components/a11y.js +3 -3
- package/dist/components/ai.cjs +1 -1
- package/dist/components/ai.js +1 -1
- package/dist/components/angular.cjs +1 -1
- package/dist/components/angular.d.cts +37 -0
- package/dist/components/angular.d.ts +37 -0
- package/dist/components/angular.js +1 -1
- package/dist/components/background.cjs +3 -3
- package/dist/components/background.js +3 -3
- package/dist/components/bridge.cjs +2 -2
- package/dist/components/bridge.js +2 -2
- package/dist/components/cards.cjs +3 -3
- package/dist/components/cards.js +3 -3
- package/dist/components/click.cjs +4 -4
- package/dist/components/click.js +4 -4
- package/dist/components/core.cjs +1 -1
- package/dist/components/core.js +1 -1
- package/dist/components/depth.cjs +4 -4
- package/dist/components/depth.js +4 -4
- package/dist/components/design.cjs +2 -2
- package/dist/components/design.js +2 -2
- package/dist/components/dotlottie.cjs +4 -4
- package/dist/components/dotlottie.js +4 -4
- package/dist/components/dsl.cjs +2 -2
- package/dist/components/dsl.js +2 -2
- package/dist/components/effects.cjs +7 -7
- package/dist/components/effects.js +10 -10
- package/dist/components/engine.cjs +2 -2
- package/dist/components/engine.js +3 -3
- package/dist/components/feedback.cjs +2 -2
- package/dist/components/feedback.js +2 -2
- package/dist/components/fx-3d.cjs +3 -3
- package/dist/components/fx-3d.js +3 -3
- package/dist/components/fx-ai.cjs +2 -2
- package/dist/components/fx-ai.js +2 -2
- package/dist/components/fx-chart.cjs +2 -2
- package/dist/components/fx-chart.js +2 -2
- package/dist/components/fx-cinema.cjs +2 -2
- package/dist/components/fx-cinema.js +2 -2
- package/dist/components/fx-cyber.cjs +2 -2
- package/dist/components/fx-cyber.js +2 -2
- package/dist/components/fx-festival.cjs +2 -2
- package/dist/components/fx-festival.js +2 -2
- package/dist/components/fx-focus.cjs +4 -3
- package/dist/components/fx-focus.js +4 -3
- package/dist/components/fx-form.cjs +2 -2
- package/dist/components/fx-form.js +2 -2
- package/dist/components/fx-game.cjs +2 -2
- package/dist/components/fx-game.js +2 -2
- package/dist/components/fx-genart.cjs +2 -2
- package/dist/components/fx-genart.js +2 -2
- package/dist/components/fx-geo.cjs +2 -2
- package/dist/components/fx-geo.js +2 -2
- package/dist/components/fx-gesture.cjs +2 -2
- package/dist/components/fx-gesture.js +2 -2
- package/dist/components/fx-gpu.cjs +4 -4
- package/dist/components/fx-gpu.js +4 -4
- package/dist/components/fx-hover.cjs +317 -0
- package/dist/components/fx-hover.d.cts +65 -0
- package/dist/components/fx-hover.d.ts +65 -0
- package/dist/components/fx-hover.js +314 -0
- package/dist/components/fx-light.cjs +4 -4
- package/dist/components/fx-light.js +4 -4
- package/dist/components/fx-lottie.cjs +2 -2
- package/dist/components/fx-lottie.js +2 -2
- package/dist/components/fx-morph.cjs +2 -2
- package/dist/components/fx-morph.js +2 -2
- package/dist/components/fx-music.cjs +5 -5
- package/dist/components/fx-music.js +5 -5
- package/dist/components/fx-organic.cjs +2 -2
- package/dist/components/fx-organic.js +2 -2
- package/dist/components/fx-paper.cjs +2 -2
- package/dist/components/fx-paper.js +2 -2
- package/dist/components/fx-perf.cjs +69 -19
- package/dist/components/fx-perf.d.cts +1 -0
- package/dist/components/fx-perf.d.ts +1 -0
- package/dist/components/fx-perf.js +69 -19
- package/dist/components/fx-physics.cjs +4 -4
- package/dist/components/fx-physics.js +4 -4
- package/dist/components/fx-retro.cjs +2 -2
- package/dist/components/fx-retro.js +2 -2
- package/dist/components/fx-safe.cjs +3 -3
- package/dist/components/fx-safe.js +3 -3
- package/dist/components/fx-shop.cjs +2 -2
- package/dist/components/fx-shop.js +2 -2
- package/dist/components/fx-social.cjs +2 -2
- package/dist/components/fx-social.js +2 -2
- package/dist/components/fx-spatial.cjs +2 -2
- package/dist/components/fx-spatial.js +2 -2
- package/dist/components/fx-surface.cjs +2 -2
- package/dist/components/fx-surface.js +2 -2
- package/dist/components/fx-text.cjs +3 -3
- package/dist/components/fx-text.js +3 -3
- package/dist/components/fx-transitions.cjs +4 -4
- package/dist/components/fx-transitions.js +4 -4
- package/dist/components/fx-video.cjs +3 -3
- package/dist/components/fx-video.js +3 -3
- package/dist/components/fx-weather.cjs +3 -3
- package/dist/components/fx-weather.js +3 -3
- package/dist/components/fx.cjs +4 -4
- package/dist/components/fx.js +5 -5
- package/dist/components/fx2.cjs +9 -4
- package/dist/components/fx2.d.cts +23 -1
- package/dist/components/fx2.d.ts +23 -1
- package/dist/components/fx2.js +9 -6
- package/dist/components/gesture.cjs +4 -4
- package/dist/components/gesture.js +5 -5
- package/dist/components/gl-model.cjs +4 -4
- package/dist/components/gl-model.js +4 -4
- package/dist/components/gl-pool.cjs +1 -1
- package/dist/components/gl-pool.js +1 -1
- package/dist/components/interaction.cjs +2 -2
- package/dist/components/interaction.js +2 -2
- package/dist/components/jsx.cjs +1 -1
- package/dist/components/jsx.d.cts +37 -0
- package/dist/components/jsx.d.ts +37 -0
- package/dist/components/jsx.js +1 -1
- package/dist/components/layout.cjs +2 -2
- package/dist/components/layout.js +2 -2
- package/dist/components/lazy.cjs +1 -1
- package/dist/components/lazy.js +1 -1
- package/dist/components/lite.cjs +174 -26
- package/dist/components/lite.js +174 -26
- package/dist/components/marketplace.cjs +2 -2
- package/dist/components/marketplace.js +3 -3
- package/dist/components/mo.cjs +2 -2
- package/dist/components/mo.js +2 -2
- package/dist/components/motion-layout.cjs +3 -3
- package/dist/components/motion-layout.js +3 -3
- package/dist/components/motion-scene.cjs +3 -3
- 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 +5 -5
- 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 +2 -2
- package/dist/components/offscreen.js +3 -3
- package/dist/components/packs.cjs +2 -2
- package/dist/components/packs.js +2 -2
- package/dist/components/page.cjs +6 -4
- package/dist/components/page.js +7 -5
- package/dist/components/perf-tasks.cjs +2 -2
- package/dist/components/perf-tasks.js +2 -2
- package/dist/components/perf.cjs +2 -2
- package/dist/components/perf.js +3 -3
- package/dist/components/physics.cjs +3 -3
- package/dist/components/physics.js +4 -4
- package/dist/components/plugins.cjs +7 -3
- package/dist/components/plugins.d.cts +3 -1
- package/dist/components/plugins.d.ts +3 -1
- package/dist/components/plugins.js +7 -4
- package/dist/components/react.cjs +1 -1
- package/dist/components/react.js +1 -1
- package/dist/components/reveal.cjs +2 -2
- 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.js +2 -2
- package/dist/components/scene-v3.cjs +2 -2
- package/dist/components/scene-v3.js +2 -2
- package/dist/components/snap-carousel.cjs +3 -3
- package/dist/components/snap-carousel.js +3 -3
- package/dist/components/solid.cjs +1 -1
- package/dist/components/solid.d.cts +22 -0
- package/dist/components/solid.d.ts +22 -0
- 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 +4 -4
- package/dist/components/studio-ai.js +4 -4
- package/dist/components/studio-app.cjs +4 -4
- package/dist/components/studio-app.js +4 -4
- package/dist/components/studio-assets.cjs +3 -3
- 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 +3 -3
- package/dist/components/studio-canvas.js +3 -3
- package/dist/components/studio-export.cjs +4 -4
- package/dist/components/studio-export.js +4 -4
- package/dist/components/studio-native.cjs +3 -3
- package/dist/components/studio-native.js +3 -3
- package/dist/components/studio-plugins.cjs +61 -31
- package/dist/components/studio-plugins.d.cts +3 -3
- package/dist/components/studio-plugins.d.ts +3 -3
- package/dist/components/studio-plugins.js +61 -31
- package/dist/components/studio-provenance.cjs +1 -1
- package/dist/components/studio-provenance.js +1 -1
- package/dist/components/studio-store.cjs +25 -17
- package/dist/components/studio-store.js +25 -17
- package/dist/components/studio-templates.cjs +4 -3
- package/dist/components/studio-templates.js +4 -3
- package/dist/components/studio.cjs +6 -6
- package/dist/components/studio.js +7 -7
- package/dist/components/svelte.cjs +1 -1
- package/dist/components/svelte.d.cts +37 -0
- package/dist/components/svelte.d.ts +37 -0
- package/dist/components/svelte.js +1 -1
- package/dist/components/svg.cjs +2 -2
- package/dist/components/svg.js +2 -2
- package/dist/components/text.cjs +3 -3
- package/dist/components/text.js +3 -3
- package/dist/components/timeline-editor.cjs +5 -5
- package/dist/components/timeline-editor.js +5 -5
- package/dist/components/timeline.cjs +3 -3
- package/dist/components/timeline.js +4 -4
- package/dist/components/tokens.cjs +1 -1
- package/dist/components/tokens.js +1 -1
- package/dist/components/transitions.cjs +2 -2
- package/dist/components/transitions.js +2 -2
- package/dist/components/ui.cjs +4 -4
- package/dist/components/ui.js +5 -5
- package/dist/components/vue.cjs +1 -1
- package/dist/components/vue.d.cts +37 -0
- package/dist/components/vue.d.ts +37 -0
- package/dist/components/vue.js +1 -1
- package/dist/components/webgl.cjs +2 -2
- package/dist/components/webgl.js +2 -2
- package/dist/components/widgets.cjs +66 -53
- package/dist/components/widgets.d.cts +92 -5
- package/dist/components/widgets.d.ts +92 -5
- package/dist/components/widgets.js +112 -103
- package/dist/components.cjs +13 -10
- package/dist/components.d.cts +2 -1
- package/dist/components.d.ts +2 -1
- package/dist/components.js +15 -12
- package/dist/components.umd.js +3 -3
- package/dist/effects/achievement-unlock.cjs +2 -2
- package/dist/effects/achievement-unlock.js +2 -2
- package/dist/effects/aurora-veil.cjs +2 -2
- package/dist/effects/aurora-veil.js +2 -2
- package/dist/effects/badge-pop.cjs +2 -2
- package/dist/effects/badge-pop.js +2 -2
- package/dist/effects/bars-grow.cjs +2 -2
- package/dist/effects/bars-grow.js +2 -2
- package/dist/effects/beat-bounce.cjs +2 -2
- package/dist/effects/beat-bounce.js +2 -2
- package/dist/effects/blob-button.cjs +2 -2
- package/dist/effects/blob-button.js +2 -2
- package/dist/effects/bloom.cjs +2 -2
- package/dist/effects/bloom.js +2 -2
- package/dist/effects/breathe.cjs +2 -2
- package/dist/effects/breathe.js +2 -2
- package/dist/effects/brushed-metal.cjs +2 -2
- package/dist/effects/brushed-metal.js +2 -2
- package/dist/effects/camera-dolly.cjs +2 -2
- package/dist/effects/camera-dolly.js +2 -2
- package/dist/effects/card-flip-3d.cjs +2 -2
- package/dist/effects/card-flip-3d.js +2 -2
- package/dist/effects/chest-open.cjs +2 -2
- package/dist/effects/chest-open.js +2 -2
- package/dist/effects/cloth.cjs +2 -2
- package/dist/effects/cloth.js +2 -2
- package/dist/effects/coin-burst.cjs +2 -2
- package/dist/effects/coin-burst.js +2 -2
- package/dist/effects/color-pulse.cjs +2 -2
- package/dist/effects/color-pulse.js +2 -2
- package/dist/effects/crt-power.cjs +2 -2
- package/dist/effects/crt-power.js +2 -2
- package/dist/effects/crumple.cjs +2 -2
- package/dist/effects/crumple.js +2 -2
- package/dist/effects/data-decode.cjs +2 -2
- package/dist/effects/data-decode.js +2 -2
- package/dist/effects/day-cycle.cjs +2 -2
- package/dist/effects/day-cycle.js +2 -2
- package/dist/effects/depth-in.cjs +2 -2
- package/dist/effects/depth-in.js +2 -2
- package/dist/effects/depth-pop.cjs +2 -2
- package/dist/effects/depth-pop.js +2 -2
- package/dist/effects/depth-stack.cjs +2 -2
- package/dist/effects/depth-stack.js +2 -2
- package/dist/effects/dolly-in.cjs +2 -2
- package/dist/effects/dolly-in.js +2 -2
- package/dist/effects/dots-pop.cjs +2 -2
- package/dist/effects/dots-pop.js +2 -2
- package/dist/effects/field-shake.cjs +2 -2
- package/dist/effects/field-shake.js +2 -2
- package/dist/effects/field-success.cjs +2 -2
- package/dist/effects/field-success.js +2 -2
- package/dist/effects/film-burn.cjs +2 -2
- package/dist/effects/film-burn.js +2 -2
- package/dist/effects/fire.cjs +3 -3
- package/dist/effects/fire.js +3 -3
- package/dist/effects/fireflies.cjs +3 -3
- package/dist/effects/fireflies.js +3 -3
- package/dist/effects/firework-burst.cjs +2 -2
- package/dist/effects/firework-burst.js +2 -2
- package/dist/effects/flip-chars.cjs +2 -2
- package/dist/effects/flip-chars.js +2 -2
- package/dist/effects/fluid.cjs +3 -3
- package/dist/effects/fluid.js +3 -3
- package/dist/effects/fly-to-cart.cjs +2 -2
- package/dist/effects/fly-to-cart.js +2 -2
- package/dist/effects/focus-draw.cjs +2 -2
- package/dist/effects/focus-draw.js +2 -2
- package/dist/effects/focus-glow.cjs +2 -2
- package/dist/effects/focus-glow.js +2 -2
- package/dist/effects/focus-reveal.cjs +18 -0
- package/dist/effects/focus-reveal.d.cts +4 -0
- package/dist/effects/focus-reveal.d.ts +4 -0
- package/dist/effects/focus-reveal.js +14 -0
- package/dist/effects/fog.cjs +2 -2
- package/dist/effects/fog.js +2 -2
- package/dist/effects/font-breathe.cjs +2 -2
- package/dist/effects/font-breathe.js +2 -2
- package/dist/effects/form-cascade.cjs +2 -2
- package/dist/effects/form-cascade.js +2 -2
- package/dist/effects/gen-skeleton.cjs +2 -2
- package/dist/effects/gen-skeleton.js +2 -2
- package/dist/effects/glass-frost.cjs +2 -2
- package/dist/effects/glass-frost.js +2 -2
- package/dist/effects/glitch-text.cjs +2 -2
- package/dist/effects/glitch-text.js +2 -2
- package/dist/effects/globe-spin.cjs +2 -2
- package/dist/effects/globe-spin.js +2 -2
- package/dist/effects/god-rays.cjs +2 -2
- package/dist/effects/god-rays.js +2 -2
- package/dist/effects/googly-eyes.cjs +18 -0
- package/dist/effects/googly-eyes.d.cts +4 -0
- package/dist/effects/googly-eyes.d.ts +4 -0
- package/dist/effects/googly-eyes.js +14 -0
- package/dist/effects/gpu-lift.cjs +2 -2
- package/dist/effects/gpu-lift.js +2 -2
- package/dist/effects/grain-flicker.cjs +2 -2
- package/dist/effects/grain-flicker.js +2 -2
- package/dist/effects/grid-warp.cjs +18 -0
- package/dist/effects/grid-warp.d.cts +4 -0
- package/dist/effects/grid-warp.d.ts +4 -0
- package/dist/effects/grid-warp.js +14 -0
- package/dist/effects/halftone-in.cjs +2 -2
- package/dist/effects/halftone-in.js +2 -2
- package/dist/effects/highlight-sweep.cjs +2 -2
- package/dist/effects/highlight-sweep.js +2 -2
- package/dist/effects/hologram.cjs +2 -2
- package/dist/effects/hologram.js +2 -2
- package/dist/effects/hud-frame.cjs +2 -2
- package/dist/effects/hud-frame.js +2 -2
- package/dist/effects/icon-pop.cjs +2 -2
- package/dist/effects/icon-pop.js +2 -2
- package/dist/effects/icon-swap.cjs +2 -2
- package/dist/effects/icon-swap.js +2 -2
- package/dist/effects/idle-reveal.cjs +2 -2
- package/dist/effects/idle-reveal.js +2 -2
- package/dist/effects/image-swap.cjs +18 -0
- package/dist/effects/image-swap.d.cts +4 -0
- package/dist/effects/image-swap.d.ts +4 -0
- package/dist/effects/image-swap.js +14 -0
- package/dist/effects/ink.cjs +3 -3
- package/dist/effects/ink.js +3 -3
- package/dist/effects/jump-cut.cjs +2 -2
- package/dist/effects/jump-cut.js +2 -2
- package/dist/effects/kaleido.cjs +2 -2
- package/dist/effects/kaleido.js +2 -2
- package/dist/effects/label-float.cjs +2 -2
- package/dist/effects/label-float.js +2 -2
- package/dist/effects/lantern-rise.cjs +2 -2
- package/dist/effects/lantern-rise.js +2 -2
- package/dist/effects/leaves.cjs +3 -3
- package/dist/effects/leaves.js +3 -3
- package/dist/effects/letterbox.cjs +2 -2
- package/dist/effects/letterbox.js +2 -2
- package/dist/effects/level-up.cjs +2 -2
- package/dist/effects/level-up.js +2 -2
- package/dist/effects/light-follow.cjs +2 -2
- package/dist/effects/light-follow.js +2 -2
- package/dist/effects/lightning.cjs +2 -2
- package/dist/effects/lightning.js +2 -2
- package/dist/effects/line-draw.cjs +2 -2
- package/dist/effects/line-draw.js +2 -2
- package/dist/effects/liquid-text.cjs +2 -2
- package/dist/effects/liquid-text.js +2 -2
- package/dist/effects/liquid-wipe.cjs +2 -2
- package/dist/effects/liquid-wipe.js +2 -2
- package/dist/effects/lottie-play.cjs +2 -2
- package/dist/effects/lottie-play.js +2 -2
- package/dist/effects/magnet.cjs +2 -2
- package/dist/effects/magnet.js +2 -2
- package/dist/effects/marching-ants.cjs +2 -2
- package/dist/effects/marching-ants.js +2 -2
- package/dist/effects/marker-pulse.cjs +2 -2
- package/dist/effects/marker-pulse.js +2 -2
- package/dist/effects/mention-glow.cjs +2 -2
- package/dist/effects/mention-glow.js +2 -2
- package/dist/effects/mesh-drift.cjs +2 -2
- package/dist/effects/mesh-drift.js +2 -2
- package/dist/effects/message-in.cjs +2 -2
- package/dist/effects/message-in.js +2 -2
- package/dist/effects/mosaic-flip.cjs +2 -2
- package/dist/effects/mosaic-flip.js +2 -2
- package/dist/effects/neon-ignite.cjs +2 -2
- package/dist/effects/neon-ignite.js +2 -2
- package/dist/effects/neon-pulse.cjs +2 -2
- package/dist/effects/neon-pulse.js +2 -2
- package/dist/effects/neon-write.cjs +2 -2
- package/dist/effects/neon-write.js +2 -2
- package/dist/effects/neu-press.cjs +2 -2
- package/dist/effects/neu-press.js +2 -2
- package/dist/effects/noise-reveal.cjs +2 -2
- package/dist/effects/noise-reveal.js +2 -2
- package/dist/effects/number-roll.cjs +2 -2
- package/dist/effects/number-roll.js +2 -2
- package/dist/effects/orbit-camera.cjs +2 -2
- package/dist/effects/orbit-camera.js +2 -2
- package/dist/effects/orbit-in.cjs +2 -2
- package/dist/effects/orbit-in.js +2 -2
- package/dist/effects/origami.cjs +2 -2
- package/dist/effects/origami.js +2 -2
- package/dist/effects/page-curl.cjs +2 -2
- package/dist/effects/page-curl.js +2 -2
- package/dist/effects/pan-reveal.cjs +2 -2
- package/dist/effects/pan-reveal.js +2 -2
- package/dist/effects/paper-unfold.cjs +2 -2
- package/dist/effects/paper-unfold.js +2 -2
- package/dist/effects/particle-text.cjs +2 -2
- package/dist/effects/particle-text.js +2 -2
- package/dist/effects/path-morph.cjs +2 -2
- package/dist/effects/path-morph.js +2 -2
- package/dist/effects/pearlescent.cjs +2 -2
- package/dist/effects/pearlescent.js +2 -2
- package/dist/effects/pencil-sketch.cjs +2 -2
- package/dist/effects/pencil-sketch.js +2 -2
- package/dist/effects/pin-drop.cjs +2 -2
- package/dist/effects/pin-drop.js +2 -2
- package/dist/effects/pinball.cjs +2 -2
- package/dist/effects/pinball.js +2 -2
- package/dist/effects/pinch-hint.cjs +2 -2
- package/dist/effects/pinch-hint.js +2 -2
- package/dist/effects/pixelate-in.cjs +2 -2
- package/dist/effects/pixelate-in.js +2 -2
- package/dist/effects/pointer-shadow.cjs +2 -2
- package/dist/effects/pointer-shadow.js +2 -2
- package/dist/effects/portal-open.cjs +2 -2
- package/dist/effects/portal-open.js +2 -2
- package/dist/effects/price-flip.cjs +2 -2
- package/dist/effects/price-flip.js +2 -2
- package/dist/effects/product-spin.cjs +2 -2
- package/dist/effects/product-spin.js +2 -2
- package/dist/effects/rack-focus.cjs +2 -2
- package/dist/effects/rack-focus.js +2 -2
- package/dist/effects/radial-spectrum.cjs +2 -2
- package/dist/effects/radial-spectrum.js +2 -2
- package/dist/effects/rain-glass.cjs +2 -2
- package/dist/effects/rain-glass.js +2 -2
- package/dist/effects/reaction-burst.cjs +2 -2
- package/dist/effects/reaction-burst.js +2 -2
- package/dist/effects/read-receipt.cjs +2 -2
- package/dist/effects/read-receipt.js +2 -2
- package/dist/effects/refraction.cjs +2 -2
- package/dist/effects/refraction.js +2 -2
- package/dist/effects/ring-sweep.cjs +2 -2
- package/dist/effects/ring-sweep.js +2 -2
- package/dist/effects/ripple-dissolve.cjs +2 -2
- package/dist/effects/ripple-dissolve.js +2 -2
- package/dist/effects/rope.cjs +2 -2
- package/dist/effects/rope.js +2 -2
- package/dist/effects/route-draw.cjs +2 -2
- package/dist/effects/route-draw.js +2 -2
- package/dist/effects/safe-fade.cjs +2 -2
- package/dist/effects/safe-fade.js +2 -2
- package/dist/effects/sakura.cjs +3 -3
- package/dist/effects/sakura.js +3 -3
- package/dist/effects/sale-shine.cjs +2 -2
- package/dist/effects/sale-shine.js +2 -2
- package/dist/effects/sankey-flow.cjs +2 -2
- package/dist/effects/sankey-flow.js +2 -2
- package/dist/effects/scanline-sweep.cjs +2 -2
- package/dist/effects/scanline-sweep.js +2 -2
- package/dist/effects/shatter.cjs +2 -2
- package/dist/effects/shatter.js +2 -2
- package/dist/effects/smoke.cjs +3 -3
- package/dist/effects/smoke.js +3 -3
- package/dist/effects/snowfall.cjs +2 -2
- package/dist/effects/snowfall.js +2 -2
- package/dist/effects/soft-body.cjs +2 -2
- package/dist/effects/soft-body.js +2 -2
- package/dist/effects/sound-particles.cjs +2 -2
- package/dist/effects/sound-particles.js +2 -2
- package/dist/effects/spatial-float.cjs +2 -2
- package/dist/effects/spatial-float.js +2 -2
- package/dist/effects/spectrum-mirror.cjs +2 -2
- package/dist/effects/spectrum-mirror.js +2 -2
- package/dist/effects/splash.cjs +3 -3
- package/dist/effects/splash.js +3 -3
- package/dist/effects/spooky-float.cjs +2 -2
- package/dist/effects/spooky-float.js +2 -2
- package/dist/effects/stock-pulse.cjs +2 -2
- package/dist/effects/stock-pulse.js +2 -2
- package/dist/effects/stream-text.cjs +2 -2
- package/dist/effects/stream-text.js +2 -2
- package/dist/effects/stroke-draw.cjs +2 -2
- package/dist/effects/stroke-draw.js +2 -2
- package/dist/effects/success-check.cjs +2 -2
- package/dist/effects/success-check.js +2 -2
- package/dist/effects/swipe-hint.cjs +2 -2
- package/dist/effects/swipe-hint.js +2 -2
- package/dist/effects/text-roll.cjs +18 -0
- package/dist/effects/text-roll.d.cts +4 -0
- package/dist/effects/text-roll.d.ts +4 -0
- package/dist/effects/text-roll.js +14 -0
- package/dist/effects/text-trail.cjs +2 -2
- package/dist/effects/text-trail.js +2 -2
- package/dist/effects/thinking-glow.cjs +2 -2
- package/dist/effects/thinking-glow.js +2 -2
- package/dist/effects/tilt-wobble.cjs +2 -2
- package/dist/effects/tilt-wobble.js +2 -2
- package/dist/effects/typing-dots.cjs +2 -2
- package/dist/effects/typing-dots.js +2 -2
- package/dist/effects/underline-sweep.cjs +2 -2
- package/dist/effects/underline-sweep.js +2 -2
- package/dist/effects/vhs-glitch.cjs +2 -2
- package/dist/effects/vhs-glitch.js +2 -2
- package/dist/effects/vine-grow.cjs +2 -2
- package/dist/effects/vine-grow.js +2 -2
- package/dist/effects/vinyl-spin.cjs +2 -2
- package/dist/effects/vinyl-spin.js +2 -2
- package/dist/effects/voice-wave.cjs +2 -2
- package/dist/effects/voice-wave.js +2 -2
- package/dist/effects/water-drop.cjs +2 -2
- package/dist/effects/water-drop.js +2 -2
- package/dist/effects/watercolor.cjs +2 -2
- package/dist/effects/watercolor.js +2 -2
- package/dist/effects/waveform-scope.cjs +2 -2
- package/dist/effects/waveform-scope.js +2 -2
- package/dist/effects/xmas-snow.cjs +2 -2
- package/dist/effects/xmas-snow.js +2 -2
- package/dist/effects/xp-gain.cjs +2 -2
- package/dist/effects/xp-gain.js +2 -2
- package/dist/effects/y2k-shine.cjs +2 -2
- 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 +2 -2
- package/dist/index.js +2 -2
- package/dist/index.umd.js +2 -2
- package/dist/llms.txt +216 -212
- package/dist/manifest.json +1 -1
- package/dist/manifest.schema.json +5 -0
- 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 +1 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.iife.js +2 -2
- package/dist/runtime.js +6 -6
- package/dist/solid.cjs +1 -1
- package/dist/solid.js +1 -1
- package/dist/svelte.cjs +1 -1
- package/dist/svelte.js +1 -1
- package/dist/vue.cjs +1 -1
- package/dist/vue.js +1 -1
- package/dist/widgets/add-to-cart.cjs +4 -4
- package/dist/widgets/add-to-cart.js +4 -4
- package/dist/widgets/badge-wall.cjs +2 -2
- package/dist/widgets/badge-wall.js +2 -2
- package/dist/widgets/bar-chart.cjs +2 -2
- package/dist/widgets/bar-chart.js +2 -2
- package/dist/widgets/bg-generator.cjs +2 -2
- package/dist/widgets/bg-generator.js +2 -2
- package/dist/widgets/breadcrumbs.cjs +145 -0
- package/dist/widgets/breadcrumbs.d.cts +2 -0
- package/dist/widgets/breadcrumbs.d.ts +2 -0
- package/dist/widgets/breadcrumbs.js +143 -0
- package/dist/widgets/carousel.cjs +2 -2
- package/dist/widgets/carousel.js +2 -2
- package/dist/widgets/cart-drawer.cjs +2 -2
- package/dist/widgets/cart-drawer.js +2 -2
- package/dist/widgets/chapter-nav.cjs +2 -2
- package/dist/widgets/chapter-nav.js +2 -2
- package/dist/widgets/chat-composer.cjs +2 -2
- package/dist/widgets/chat-composer.js +2 -2
- package/dist/widgets/clock-control.cjs +2 -2
- package/dist/widgets/clock-control.js +2 -2
- package/dist/widgets/code-export.cjs +2 -2
- package/dist/widgets/code-export.js +2 -2
- package/dist/widgets/color-picker.cjs +2 -2
- package/dist/widgets/color-picker.js +2 -2
- package/dist/widgets/command-palette.cjs +2 -2
- package/dist/widgets/command-palette.js +2 -2
- package/dist/widgets/compare.cjs +2 -2
- package/dist/widgets/compare.js +2 -2
- package/dist/widgets/countdown.cjs +2 -2
- package/dist/widgets/countdown.js +2 -2
- package/dist/widgets/cube-gallery.cjs +2 -2
- package/dist/widgets/cube-gallery.js +2 -2
- package/dist/widgets/date-picker.cjs +2 -2
- package/dist/widgets/date-picker.js +2 -2
- package/dist/widgets/disclosure.cjs +3 -3
- package/dist/widgets/disclosure.js +3 -3
- package/dist/widgets/dock.cjs +2 -2
- 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 +2 -2
- package/dist/widgets/equalizer.js +2 -2
- package/dist/widgets/festival-banner.cjs +2 -2
- package/dist/widgets/festival-banner.js +2 -2
- package/dist/widgets/field.cjs +2 -2
- package/dist/widgets/field.js +2 -2
- package/dist/widgets/file-drop.cjs +2 -2
- package/dist/widgets/file-drop.js +2 -2
- package/dist/widgets/fullscreen-menu.cjs +177 -0
- package/dist/widgets/fullscreen-menu.d.cts +2 -0
- package/dist/widgets/fullscreen-menu.d.ts +2 -0
- package/dist/widgets/fullscreen-menu.js +175 -0
- package/dist/widgets/gauge.cjs +2 -2
- package/dist/widgets/gauge.js +2 -2
- package/dist/widgets/gen-art.cjs +2 -2
- package/dist/widgets/gen-art.js +2 -2
- package/dist/widgets/gesture-sticker.cjs +2 -2
- 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 +2 -2
- package/dist/widgets/globe.js +2 -2
- package/dist/widgets/gpu-particles.cjs +2 -2
- package/dist/widgets/gpu-particles.js +2 -2
- package/dist/widgets/gyro-card.cjs +2 -2
- package/dist/widgets/gyro-card.js +2 -2
- package/dist/widgets/hero-video.cjs +2 -2
- package/dist/widgets/hero-video.js +2 -2
- package/dist/widgets/hud-panel.cjs +2 -2
- package/dist/widgets/hud-panel.js +2 -2
- package/dist/widgets/hydrate.cjs +2 -2
- package/dist/widgets/hydrate.js +2 -2
- package/dist/widgets/install-button.cjs +2 -2
- package/dist/widgets/install-button.js +2 -2
- package/dist/widgets/kanban.cjs +2 -2
- package/dist/widgets/kanban.js +2 -2
- package/dist/widgets/keyframe-editor.cjs +3 -3
- package/dist/widgets/keyframe-editor.js +3 -3
- package/dist/widgets/kpi.cjs +2 -2
- package/dist/widgets/kpi.js +2 -2
- package/dist/widgets/leaderboard.cjs +2 -2
- package/dist/widgets/leaderboard.js +2 -2
- package/dist/widgets/liquid-nav.cjs +2 -2
- package/dist/widgets/liquid-nav.js +2 -2
- package/dist/widgets/location-card.cjs +2 -2
- package/dist/widgets/location-card.js +2 -2
- package/dist/widgets/lottie-icon.cjs +2 -2
- 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 +2 -2
- package/dist/widgets/lottie.js +2 -2
- package/dist/widgets/lyrics.cjs +2 -2
- package/dist/widgets/lyrics.js +2 -2
- package/dist/widgets/masonry-flow.cjs +2 -2
- package/dist/widgets/masonry-flow.js +2 -2
- package/dist/widgets/mega-menu.cjs +8 -0
- package/dist/widgets/mega-menu.d.cts +2 -0
- package/dist/widgets/mega-menu.d.ts +2 -0
- package/dist/widgets/mega-menu.js +2 -0
- package/dist/widgets/menu-toggle.cjs +2 -2
- package/dist/widgets/menu-toggle.js +2 -2
- package/dist/widgets/menu.cjs +2 -2
- package/dist/widgets/menu.js +2 -2
- package/dist/widgets/message-list.cjs +2 -2
- package/dist/widgets/message-list.js +2 -2
- package/dist/widgets/milestones.cjs +2 -2
- package/dist/widgets/milestones.js +2 -2
- package/dist/widgets/modal.cjs +2 -2
- package/dist/widgets/modal.js +2 -2
- package/dist/widgets/motion-inspector.cjs +3 -3
- package/dist/widgets/motion-inspector.js +3 -3
- package/dist/widgets/motion-prefs.cjs +2 -2
- package/dist/widgets/motion-prefs.js +2 -2
- package/dist/widgets/motion-prompt.cjs +2 -2
- package/dist/widgets/motion-prompt.js +2 -2
- package/dist/widgets/motion-spec.cjs +2 -2
- package/dist/widgets/motion-spec.js +2 -2
- package/dist/widgets/motion.cjs +2 -2
- package/dist/widgets/motion.js +2 -2
- package/dist/widgets/music-player.cjs +2 -2
- package/dist/widgets/music-player.js +2 -2
- package/dist/widgets/native-preview.cjs +2 -2
- package/dist/widgets/native-preview.js +2 -2
- package/dist/widgets/nav-flyout.cjs +8 -0
- package/dist/widgets/nav-flyout.d.cts +2 -0
- package/dist/widgets/nav-flyout.d.ts +2 -0
- package/dist/widgets/nav-flyout.js +2 -0
- package/dist/widgets/nav-morph.cjs +2 -2
- package/dist/widgets/nav-morph.js +2 -2
- package/dist/widgets/notification-bell.cjs +2 -2
- package/dist/widgets/notification-bell.js +2 -2
- package/dist/widgets/odometer.cjs +2 -2
- package/dist/widgets/odometer.js +2 -2
- package/dist/widgets/organic-card.cjs +2 -2
- package/dist/widgets/organic-card.js +2 -2
- package/dist/widgets/otp.cjs +2 -2
- package/dist/widgets/otp.js +2 -2
- package/dist/widgets/pagination.cjs +2 -2
- package/dist/widgets/pagination.js +2 -2
- package/dist/widgets/panorama.cjs +2 -2
- package/dist/widgets/panorama.js +2 -2
- package/dist/widgets/parallax-layers.cjs +2 -2
- package/dist/widgets/parallax-layers.js +2 -2
- package/dist/widgets/pause-all.cjs +2 -2
- package/dist/widgets/pause-all.js +2 -2
- package/dist/widgets/perf-monitor.cjs +2 -2
- 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 +4 -4
- package/dist/widgets/plugin-card.js +4 -4
- package/dist/widgets/plugin-store.cjs +2 -2
- package/dist/widgets/plugin-store.js +2 -2
- package/dist/widgets/presence.cjs +2 -2
- package/dist/widgets/presence.js +2 -2
- package/dist/widgets/prize-wheel.cjs +2 -2
- package/dist/widgets/prize-wheel.js +2 -2
- package/dist/widgets/product-gallery.cjs +2 -2
- package/dist/widgets/product-gallery.js +2 -2
- package/dist/widgets/progress-ring.cjs +2 -2
- package/dist/widgets/progress-ring.js +2 -2
- package/dist/widgets/prop-panel.cjs +2 -2
- package/dist/widgets/prop-panel.js +2 -2
- package/dist/widgets/pull-cord.cjs +2 -2
- package/dist/widgets/pull-cord.js +2 -2
- package/dist/widgets/radar.cjs +2 -2
- package/dist/widgets/radar.js +2 -2
- package/dist/widgets/reactions.cjs +2 -2
- package/dist/widgets/reactions.js +2 -2
- package/dist/widgets/red-envelope.cjs +2 -2
- package/dist/widgets/red-envelope.js +2 -2
- package/dist/widgets/retro-button.cjs +2 -2
- package/dist/widgets/retro-button.js +2 -2
- package/dist/widgets/rive.cjs +2 -2
- package/dist/widgets/rive.js +2 -2
- package/dist/widgets/route-transition.cjs +60 -23
- package/dist/widgets/route-transition.js +60 -23
- package/dist/widgets/scene.cjs +2 -2
- package/dist/widgets/scene.js +2 -2
- package/dist/widgets/scroll-ring.cjs +2 -2
- 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 +2 -2
- package/dist/widgets/segmented.js +2 -2
- package/dist/widgets/shader-backdrop.cjs +2 -2
- package/dist/widgets/shader-backdrop.js +2 -2
- package/dist/widgets/sheet.cjs +2 -2
- package/dist/widgets/sheet.js +2 -2
- package/dist/widgets/shortcut.cjs +3 -3
- package/dist/widgets/shortcut.js +3 -3
- package/dist/widgets/skeleton-reveal.cjs +2 -2
- package/dist/widgets/skeleton-reveal.js +2 -2
- package/dist/widgets/sketch-chart.cjs +2 -2
- package/dist/widgets/sketch-chart.js +2 -2
- package/dist/widgets/smooth-scroll.cjs +3 -3
- 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 +2 -2
- package/dist/widgets/sparkline.js +2 -2
- package/dist/widgets/spatial-card.cjs +2 -2
- package/dist/widgets/spatial-card.js +2 -2
- package/dist/widgets/star-rating.cjs +2 -2
- package/dist/widgets/star-rating.js +2 -2
- package/dist/widgets/stepper.cjs +2 -2
- package/dist/widgets/stepper.js +2 -2
- package/dist/widgets/sticky-wall.cjs +2 -2
- package/dist/widgets/sticky-wall.js +2 -2
- package/dist/widgets/stories.cjs +2 -2
- package/dist/widgets/stories.js +2 -2
- package/dist/widgets/suggestion-chips.cjs +2 -2
- package/dist/widgets/suggestion-chips.js +2 -2
- package/dist/widgets/swipe-deck.cjs +2 -2
- package/dist/widgets/swipe-deck.js +2 -2
- package/dist/widgets/switch.cjs +2 -2
- package/dist/widgets/switch.js +2 -2
- package/dist/widgets/tab-bar.cjs +2 -2
- package/dist/widgets/tab-bar.js +2 -2
- package/dist/widgets/terminal.cjs +2 -2
- package/dist/widgets/terminal.js +2 -2
- package/dist/widgets/text-splitter.cjs +4 -4
- package/dist/widgets/text-splitter.js +4 -4
- package/dist/widgets/theme-surface.cjs +2 -2
- package/dist/widgets/theme-surface.js +2 -2
- package/dist/widgets/theme-switcher.cjs +2 -2
- package/dist/widgets/theme-switcher.js +2 -2
- package/dist/widgets/tip.cjs +2 -2
- package/dist/widgets/tip.js +2 -2
- package/dist/widgets/toast-stack.cjs +2 -2
- package/dist/widgets/toast-stack.js +2 -2
- package/dist/widgets/token-editor.cjs +2 -2
- package/dist/widgets/token-editor.js +2 -2
- package/dist/widgets/upload-progress.cjs +2 -2
- package/dist/widgets/upload-progress.js +2 -2
- package/dist/widgets/video-card.cjs +4 -3
- package/dist/widgets/video-card.js +4 -3
- package/dist/widgets/voice-button.cjs +2 -2
- package/dist/widgets/voice-button.js +2 -2
- package/dist/widgets/volume-knob.cjs +2 -2
- package/dist/widgets/volume-knob.js +2 -2
- package/dist/widgets/weather-card.cjs +2 -2
- package/dist/widgets/weather-card.js +2 -2
- package/dist/widgets/worker-canvas.cjs +2 -2
- package/dist/widgets/worker-canvas.js +2 -2
- package/dist/widgets/xp-bar.cjs +2 -2
- 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/README.md +214 -210
- package/docs/components/usa-accordion.md +8 -4
- package/docs/components/usa-acrylic.md +9 -5
- package/docs/components/usa-add-to-cart.md +8 -4
- package/docs/components/usa-ambient.md +7 -3
- package/docs/components/usa-anim-icon.md +8 -4
- package/docs/components/usa-audio.md +8 -4
- package/docs/components/usa-aurora.md +8 -4
- package/docs/components/usa-auto-animate.md +8 -4
- package/docs/components/usa-auto-skeleton.md +8 -4
- package/docs/components/usa-avatar-stack.md +8 -4
- package/docs/components/usa-back-to-top.md +7 -3
- package/docs/components/usa-badge-wall.md +8 -4
- package/docs/components/usa-badge.md +8 -4
- package/docs/components/usa-bar-chart.md +7 -3
- package/docs/components/usa-bg-generator.md +7 -3
- package/docs/components/usa-blobs.md +7 -3
- package/docs/components/usa-bottom-sheet.md +7 -3
- package/docs/components/usa-breadcrumbs.md +48 -0
- package/docs/components/usa-button.md +10 -6
- package/docs/components/usa-card-stack.md +8 -4
- package/docs/components/usa-card.md +12 -8
- package/docs/components/usa-carousel-3d.md +8 -4
- package/docs/components/usa-carousel.md +8 -4
- package/docs/components/usa-cart-drawer.md +7 -3
- package/docs/components/usa-chapter-nav.md +7 -3
- package/docs/components/usa-chat-composer.md +7 -3
- package/docs/components/usa-check.md +7 -3
- package/docs/components/usa-checkbox.md +7 -3
- package/docs/components/usa-click.md +8 -4
- package/docs/components/usa-clock-control.md +7 -3
- package/docs/components/usa-code-export.md +9 -5
- package/docs/components/usa-color-picker.md +7 -3
- package/docs/components/usa-command-palette.md +8 -4
- package/docs/components/usa-compare.md +8 -4
- package/docs/components/usa-countdown.md +7 -3
- package/docs/components/usa-counter.md +7 -3
- package/docs/components/usa-cube-gallery.md +8 -4
- package/docs/components/usa-cube.md +8 -4
- package/docs/components/usa-cursor.md +7 -3
- package/docs/components/usa-date-picker.md +7 -3
- package/docs/components/usa-depth.md +8 -4
- package/docs/components/usa-dialog.md +8 -4
- package/docs/components/usa-disclosure.md +8 -4
- package/docs/components/usa-distort.md +8 -4
- package/docs/components/usa-dock.md +8 -4
- package/docs/components/usa-dot-network.md +7 -3
- package/docs/components/usa-dotlottie.md +7 -3
- package/docs/components/usa-double-tap.md +8 -4
- package/docs/components/usa-draggable.md +9 -5
- package/docs/components/usa-draw.md +8 -4
- package/docs/components/usa-drawer.md +7 -3
- package/docs/components/usa-equalizer.md +7 -3
- package/docs/components/usa-fab.md +8 -4
- package/docs/components/usa-festival-banner.md +7 -3
- package/docs/components/usa-field.md +8 -4
- package/docs/components/usa-file-drop.md +7 -3
- package/docs/components/usa-fullpage.md +8 -4
- package/docs/components/usa-fullscreen-menu.md +44 -0
- package/docs/components/usa-fx.md +18 -4
- package/docs/components/usa-gauge.md +7 -3
- package/docs/components/usa-gen-art.md +7 -3
- package/docs/components/usa-gesture-fx.md +8 -4
- package/docs/components/usa-gesture-sticker.md +8 -4
- package/docs/components/usa-gl-model.md +7 -3
- package/docs/components/usa-gl-scene.md +7 -3
- package/docs/components/usa-glitch.md +7 -3
- package/docs/components/usa-globe.md +7 -3
- package/docs/components/usa-gpu-particles.md +7 -3
- package/docs/components/usa-gradient-text.md +7 -3
- package/docs/components/usa-grain.md +8 -4
- package/docs/components/usa-grid-glow.md +8 -4
- package/docs/components/usa-gyro-card.md +8 -4
- package/docs/components/usa-handwriting.md +7 -3
- package/docs/components/usa-hero-video.md +8 -4
- package/docs/components/usa-hold.md +7 -3
- package/docs/components/usa-hud-panel.md +8 -4
- package/docs/components/usa-hydrate.md +8 -4
- package/docs/components/usa-icon-morph.md +8 -4
- package/docs/components/usa-install-button.md +7 -3
- package/docs/components/usa-kanban.md +8 -4
- package/docs/components/usa-keyframe-editor.md +7 -3
- package/docs/components/usa-kpi.md +7 -3
- package/docs/components/usa-leaderboard.md +8 -4
- package/docs/components/usa-like.md +7 -3
- package/docs/components/usa-liquid-nav.md +8 -4
- package/docs/components/usa-liquid.md +8 -4
- package/docs/components/usa-loading-bar.md +6 -2
- package/docs/components/usa-location-card.md +8 -4
- package/docs/components/usa-lottie-icon.md +8 -4
- package/docs/components/usa-lottie-player.md +7 -3
- package/docs/components/usa-lottie.md +7 -3
- package/docs/components/usa-lyrics.md +8 -4
- package/docs/components/usa-magnetic.md +7 -3
- package/docs/components/usa-marquee.md +8 -4
- package/docs/components/usa-mask-reveal.md +8 -4
- package/docs/components/usa-masonry-flow.md +8 -4
- package/docs/components/usa-masonry.md +8 -4
- package/docs/components/usa-mega-menu.md +54 -0
- package/docs/components/usa-menu-toggle.md +7 -3
- package/docs/components/usa-menu.md +8 -4
- package/docs/components/usa-message-list.md +8 -4
- package/docs/components/usa-milestones.md +8 -4
- package/docs/components/usa-modal.md +8 -4
- package/docs/components/usa-morph.md +8 -4
- package/docs/components/usa-motion-inspector.md +7 -3
- package/docs/components/usa-motion-prefs.md +7 -3
- package/docs/components/usa-motion-prompt.md +7 -3
- package/docs/components/usa-motion-spec.md +7 -3
- package/docs/components/usa-motion-switch.md +7 -3
- package/docs/components/usa-motion-theme.md +8 -4
- package/docs/components/usa-motion.md +8 -4
- package/docs/components/usa-music-player.md +8 -4
- package/docs/components/usa-native-preview.md +8 -4
- package/docs/components/usa-nav-flyout.md +44 -0
- package/docs/components/usa-nav-morph.md +8 -4
- package/docs/components/usa-navbar.md +8 -4
- package/docs/components/usa-notification-bell.md +8 -4
- package/docs/components/usa-odometer.md +7 -3
- package/docs/components/usa-organic-card.md +8 -4
- package/docs/components/usa-otp.md +7 -3
- package/docs/components/usa-overscroll.md +8 -4
- package/docs/components/usa-pack.md +8 -4
- package/docs/components/usa-pagination.md +7 -3
- package/docs/components/usa-panorama.md +7 -3
- package/docs/components/usa-parallax-layers.md +8 -4
- package/docs/components/usa-particles.md +7 -3
- package/docs/components/usa-pause-all.md +7 -3
- package/docs/components/usa-perf-monitor.md +7 -3
- package/docs/components/usa-physics-playground.md +7 -3
- package/docs/components/usa-pinch-zoom.md +8 -4
- package/docs/components/usa-player.md +8 -4
- package/docs/components/usa-plugin-card.md +8 -4
- package/docs/components/usa-plugin-store.md +7 -3
- package/docs/components/usa-popover.md +8 -4
- package/docs/components/usa-post-fx.md +8 -4
- package/docs/components/usa-presence.md +9 -5
- package/docs/components/usa-press.md +7 -3
- package/docs/components/usa-prize-wheel.md +7 -3
- package/docs/components/usa-product-gallery.md +8 -4
- package/docs/components/usa-progress-ring.md +9 -5
- package/docs/components/usa-progress.md +8 -4
- package/docs/components/usa-prop-panel.md +8 -4
- package/docs/components/usa-pull-cord.md +7 -3
- package/docs/components/usa-pull-refresh.md +8 -4
- package/docs/components/usa-radar.md +7 -3
- package/docs/components/usa-reactions.md +7 -3
- package/docs/components/usa-red-envelope.md +7 -3
- package/docs/components/usa-retro-button.md +8 -4
- package/docs/components/usa-reveal.md +8 -4
- package/docs/components/usa-ripple.md +7 -3
- package/docs/components/usa-rive.md +7 -3
- package/docs/components/usa-route-transition.md +8 -4
- package/docs/components/usa-scene.md +8 -4
- package/docs/components/usa-scramble.md +7 -3
- package/docs/components/usa-scroll-highlight.md +8 -4
- package/docs/components/usa-scroll-progress.md +8 -4
- package/docs/components/usa-scroll-ring.md +7 -3
- package/docs/components/usa-scroll-scene.md +8 -4
- package/docs/components/usa-scrolly.md +8 -4
- package/docs/components/usa-segmented.md +8 -4
- package/docs/components/usa-shader-backdrop.md +8 -4
- package/docs/components/usa-shader.md +10 -6
- package/docs/components/usa-sheet.md +8 -4
- package/docs/components/usa-shimmer-text.md +7 -3
- package/docs/components/usa-shortcut.md +8 -4
- package/docs/components/usa-skeleton-reveal.md +8 -4
- package/docs/components/usa-skeleton.md +8 -4
- package/docs/components/usa-sketch-chart.md +7 -3
- package/docs/components/usa-slider.md +7 -3
- package/docs/components/usa-smooth-scroll.md +7 -3
- package/docs/components/usa-snap-carousel.md +8 -4
- package/docs/components/usa-sparkline.md +7 -3
- package/docs/components/usa-spatial-card.md +8 -4
- package/docs/components/usa-spinner.md +8 -4
- package/docs/components/usa-splash.md +8 -4
- package/docs/components/usa-split-text.md +7 -3
- package/docs/components/usa-spotlight.md +8 -4
- package/docs/components/usa-spring.md +10 -6
- package/docs/components/usa-stagger.md +8 -4
- package/docs/components/usa-star-rating.md +8 -4
- package/docs/components/usa-stepper.md +8 -4
- package/docs/components/usa-sticky-stack.md +8 -4
- package/docs/components/usa-sticky-wall.md +8 -4
- package/docs/components/usa-stories.md +8 -4
- package/docs/components/usa-story.md +8 -4
- package/docs/components/usa-suggestion-chips.md +7 -3
- package/docs/components/usa-swipe-deck.md +8 -4
- package/docs/components/usa-swipeable.md +8 -4
- package/docs/components/usa-switch.md +7 -3
- package/docs/components/usa-tab-bar.md +8 -4
- package/docs/components/usa-tabs.md +8 -4
- package/docs/components/usa-terminal.md +8 -4
- package/docs/components/usa-text-rotate.md +7 -3
- package/docs/components/usa-text-splitter.md +7 -3
- package/docs/components/usa-theme-surface.md +8 -4
- package/docs/components/usa-theme-switcher.md +7 -3
- package/docs/components/usa-tilt.md +8 -4
- package/docs/components/usa-timeline.md +8 -4
- package/docs/components/usa-tip.md +10 -6
- package/docs/components/usa-toast-stack.md +7 -3
- package/docs/components/usa-toaster.md +7 -3
- package/docs/components/usa-token-editor.md +7 -3
- package/docs/components/usa-typewriter.md +7 -3
- package/docs/components/usa-upload-progress.md +7 -3
- package/docs/components/usa-video-card.md +8 -4
- package/docs/components/usa-view-switch.md +8 -4
- package/docs/components/usa-voice-button.md +7 -3
- package/docs/components/usa-volume-knob.md +7 -3
- package/docs/components/usa-water-ripple.md +8 -4
- package/docs/components/usa-wave-text.md +7 -3
- package/docs/components/usa-weather-card.md +7 -3
- package/docs/components/usa-worker-canvas.md +7 -3
- package/docs/components/usa-xp-bar.md +7 -3
- package/docs/components.md +5 -5
- package/docs/deprecations-v17.md +15 -1
- package/docs/entry-points.md +11 -2
- package/docs/frameworks-ssr.md +1 -1
- package/docs/source-maps.md +2 -1
- package/docs/stability.md +4 -2
- package/docs/studio-plugins.md +7 -5
- package/docs/studio-templates.md +1 -2
- package/docs/versions.md +2 -2
- package/figma-plugin/code.js +1 -1
- package/package.json +114 -2
- package/docs/frameworks-matrix.md +0 -64
- package/docs/release-gate.md +0 -58
package/AGENTS.md
CHANGED
|
@@ -13,12 +13,12 @@ This file tells AI coding agents (and the people prompting them) how to pick and
|
|
|
13
13
|
| Runtime modules (`motionary/runtime/*`) and their compatibility tables | [`docs/runtime/`](docs/runtime/) |
|
|
14
14
|
| Prompting tips and common mistakes | [`docs/ai-prompt-guide.md`](docs/ai-prompt-guide.md) |
|
|
15
15
|
|
|
16
|
-
All of these are generated from the source at build time, so they match the installed version.
|
|
16
|
+
All of these are generated from the source at build time, so they match the installed version. Since 17.3 the default element name is `mo-*` (manifest field `name`); the manifest is keyed by the legacy `usa-*` name (`tag`), which still works as a deprecated alias. Use the attributes documented there.
|
|
17
17
|
|
|
18
18
|
## Rules
|
|
19
19
|
|
|
20
20
|
1. **Install once:** `npm i motionary` (the old name `use-scroll-animate` is a compatibility alias). No other packages are needed except the few components whose manifest entry lists an official third-party runtime under `requires` (e.g. `<usa-rive>` from 10.6 needs `@rive-app/canvas`).
|
|
21
|
-
2. **Register before use.** Each component has a define function: `import { defineX } from '<import.path>'; defineX();` — or load the CDN bundle (`components.umd.js`, plus `widgets.umd.js` for 6.x+ widgets), which registers everything.
|
|
21
|
+
2. **Register before use.** Each component has a define function: `import { defineX } from '<import.path>'; defineX();` — or load the CDN bundle (`components.umd.js`, plus `widgets.umd.js` for 6.x+ widgets), which registers everything under its `mo-*` name. With single-component or category ESM imports, call `defineMoAliases()` from `motionary/components/mo` first (`defineComponents()` / `defineWidgets()` and the 17.3+ widgets do it themselves).
|
|
22
22
|
3. **Prerequisites first.** If a component's `requires` is non-empty, register those modules *before* the component mounts:
|
|
23
23
|
```js
|
|
24
24
|
import { use } from 'motionary/runtime';
|
|
@@ -30,7 +30,7 @@ All of these are generated from the source at build time, so they match the inst
|
|
|
30
30
|
On a plain HTML page load `runtime.iife.js` first, then each `runtime/<module>.iife.js`, then the component bundles. A missing module shows a visible error that names the exact install / import / CDN fix.
|
|
31
31
|
4. **Use only documented attributes, events (`usa:*`) and methods.** Attribute values are strings; boolean attributes are present/absent.
|
|
32
32
|
5. **Accessibility is built in.** Every component honours `prefers-reduced-motion`; do not add your own motion overrides unless asked. Keep real text in the light DOM (components split / animate it accessibly).
|
|
33
|
-
6. **Frameworks:** Web Components work everywhere. React: `motionary/components/react` (`createUsaComponents`); Vue: mark `usa-*` as custom elements; Svelte / Solid / Angular helpers live in `motionary/components/<framework>`.
|
|
33
|
+
6. **Frameworks:** Web Components work everywhere. React: `motionary/components/react` (`createUsaComponents`); Vue: mark the `mo-*` and `usa-*` prefixes as custom elements; Svelte / Solid / Angular helpers live in `motionary/components/<framework>`.
|
|
34
34
|
7. **SSR:** importing any entry is safe on the server (nothing touches `window` at import); call define functions / `use()` on the client.
|
|
35
35
|
8. **Prefer the smallest import:** a single category (`motionary/components/cards`), a single runtime module, or `motionary/core` for presets only.
|
|
36
36
|
|
|
@@ -40,13 +40,15 @@ Plain HTML:
|
|
|
40
40
|
|
|
41
41
|
```html
|
|
42
42
|
<script src="https://unpkg.com/motionary@17/dist/components.umd.js"></script>
|
|
43
|
-
<
|
|
43
|
+
<mo-reveal effect="fade-up"><h2>Hello</h2></mo-reveal>
|
|
44
44
|
```
|
|
45
45
|
|
|
46
46
|
Bundler:
|
|
47
47
|
|
|
48
48
|
```js
|
|
49
|
+
import { defineMoAliases } from 'motionary/components/mo';
|
|
49
50
|
import { defineReveal } from 'motionary/components/reveal';
|
|
51
|
+
defineMoAliases();
|
|
50
52
|
defineReveal();
|
|
51
53
|
```
|
|
52
54
|
|
|
@@ -64,4 +66,4 @@ Declarative motion without components (10.2):
|
|
|
64
66
|
|
|
65
67
|
If your client speaks MCP, add `motionary-mcp` (read-only, ships with the package): `{ "command": "npx", "args": ["-y", "-p", "motionary", "motionary-mcp"] }`. Use `search_components` → `get_component` → `scaffold_snippet` (prerequisites are already in the snippet, in order). See docs/mcp.md.
|
|
66
68
|
|
|
67
|
-
motionary-mcp
|
|
69
|
+
motionary-mcp 3.0: `suggest_motion` turns a description (English or Chinese) into motion code and component suggestions; run `validate_snippet` on any code you write with `<mo-*>` (or legacy `<usa-*>`) components before handing it over — it catches unknown tags / attributes and missing or mis-ordered prerequisites.
|
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,68 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [17.3.0] - 2026-11-10 — Navigation I, `mo-*` by default
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
- **`<mo-mega-menu>`** (`motionary/widgets/mega-menu`): a navigation bar whose items open full-width panels on one shared
|
|
14
|
+
surface that morphs its height between panels. Hover intent (`delay`, `close-delay`), click / tap, ←/→ / Home / End between
|
|
15
|
+
triggers, ↓ into the panel, Esc back to the trigger, Tab out closes. Disclosure pattern (`aria-expanded`,
|
|
16
|
+
`aria-controls`) inside a named `navigation` landmark. `usa:open` / `usa:close` (`{ index }`), `openItem()`, `close()`.
|
|
17
|
+
- **`<mo-nav-flyout>`** (`motionary/widgets/nav-flyout`): dropdown flyouts anchored under their trigger; one background
|
|
18
|
+
slides and resizes from flyout to flyout. Same keyboard, hover intent and events as the mega menu.
|
|
19
|
+
- **`<mo-fullscreen-menu>`** (`motionary/widgets/fullscreen-menu`): a menu button that opens a full-screen modal dialog,
|
|
20
|
+
revealed as a circle from the button (`variant="circle"`) or as a curtain (`variant="curtain"`), with staggered links
|
|
21
|
+
and optional `data-preview` pictures. Focus moves in and stays inside, Esc / the button / a link closes and focus
|
|
22
|
+
returns, page scrolling is locked while open.
|
|
23
|
+
- **`<mo-breadcrumbs>`** (`motionary/widgets/breadcrumbs`): crumbs slide in and out as the trail changes (`set(items)` keeps
|
|
24
|
+
the shared prefix, labels are written as text), a trail longer than `max` collapses its middle into a "…" button that
|
|
25
|
+
expands with a stagger (`usa:expand`). `aria-current="page"` on the last crumb, CSS-only separators.
|
|
26
|
+
- **Hover pack** `motionary/fx/hover` (= `motionary/components/fx-hover`, plus one `motionary/effects/<name>` entry each):
|
|
27
|
+
`text-roll`, `image-swap`, `focus-reveal`, `grid-warp`, `googly-eyes`. Persistent hover / focus effects; text effects
|
|
28
|
+
keep a screen-reader copy of the original text, every layer is `aria-hidden` and removed by the cleanup.
|
|
29
|
+
- **Showcase: select → copy as AI prompt / share link.** Each gallery card has a Select toggle; the tray lists the picks
|
|
30
|
+
(with an optional note each), copies one prompt with every component's import lines and `mo-*` example, or copies a
|
|
31
|
+
`#select=…` link that reopens the same selection.
|
|
32
|
+
- **`mo-codemod tags [--write]`** renames `<usa-*>` elements to `<mo-*>` in markup / JSX / Vue / Svelte / Markdown, CSS tag
|
|
33
|
+
selectors and tag strings passed to `querySelector` / `closest` / `matches` / `createElement` / `customElements.get` /
|
|
34
|
+
`whenDefined` (dry run by default, `.bak` backups).
|
|
35
|
+
- Manifest: every component has `name` (its `mo-*` name) next to the legacy `tag`; `llms.txt` / `llms-full.txt` and the
|
|
36
|
+
component pages lead with the `mo-*` name.
|
|
37
|
+
|
|
38
|
+
### Changed
|
|
39
|
+
- **`<mo-*>` is the default element name for every component.** `defineComponents()` and `defineWidgets()` turn the
|
|
40
|
+
`mo-*` names on (`defineMoAliases()`) before registering; the CDN bundles already did; widgets from 17.3 on register
|
|
41
|
+
their `mo-*` name themselves. README (en / zh / ja), AGENTS.md, docs, showcase snippets and code tabs use `mo-*`.
|
|
42
|
+
Single-component and category entries and lite keep their size: their fixed budgets leave as little as 5 B, and the
|
|
43
|
+
alias code (~1.7 KB) stays in `motionary/components/mo` — call `defineMoAliases()` once with those imports
|
|
44
|
+
(docs/deprecations-v17.md#mo-names). `<usa-*>` remains registered as a deprecated alias for all of 17.x.
|
|
45
|
+
- `motionary-mcp`: `validate_snippet`, `get_component` and the other tag lookups accept `<mo-*>` names.
|
|
46
|
+
- Direction (docs/stability.md, docs/ROADMAP.md): 17.x minors add components and effect packs again, planned 17.3 → 17.12;
|
|
47
|
+
zero dependencies, own size lines; existing limits may be raised when needed (old → new and the measured size noted in
|
|
48
|
+
the changelog, ~10–15% headroom).
|
|
49
|
+
|
|
50
|
+
### Size
|
|
51
|
+
- New budget lines, one per new entry (`motionary/components/fx-hover`, four `motionary/widgets/*`, five `motionary/effects/*`).
|
|
52
|
+
- Raised: `motionary/components/lite` 70.00 kB → 79.00 kB gzip (measured 70.29 kB after the 17.3 additions; ~12% headroom
|
|
53
|
+
for the coming 17.x minors), with the maintainer's approval to raise limits as the component count grows.
|
|
54
|
+
- Raised: npm package unpacked size (`check:pack`) 14.00 MB → 16.00 MB (measured 14.32 MB, 2171 files; packed 3.70 MB
|
|
55
|
+
stays under its unchanged 4.00 MB limit).
|
|
56
|
+
|
|
57
|
+
### Deferred
|
|
58
|
+
- Real physical-device testing (iOS Safari + VoiceOver, Android Chrome + TalkBack, pen / trackpad, Windows forced colors)
|
|
59
|
+
stays deferred by the maintainer's decision: not run and not claimed. CI covers phones only through emulated profiles.
|
|
60
|
+
|
|
61
|
+
## [17.2.2] - 2026-11-09
|
|
62
|
+
|
|
63
|
+
### Fixed
|
|
64
|
+
- Weather, video, gallery, back-to-top and success-check components render user values through DOM text, attributes or CSS properties.
|
|
65
|
+
- Studio plugins use document-bound message ports and launch dedicated Workers from an opaque origin. Supplying template verification keys now requires a valid signature by default.
|
|
66
|
+
- Continuous animation callbacks survive a peer failure. Upgrading a component with preassigned properties mounts it once.
|
|
67
|
+
- Reduced-motion Worker canvases draw a still frame and keep canvas ownership available for fallback when Worker startup fails.
|
|
68
|
+
- Route transitions cancel superseded requests, handle failed fetches, and restore focus and scrolling after a swap.
|
|
69
|
+
- The npm workflow checks the release tag and resumes each package independently after a partial publish.
|
|
70
|
+
- Studio project auto-merge preserves remotely deleted layers and keeps collaborators’ changes on successive saves from the same open editor. Editing a remotely deleted layer reports a conflict.
|
|
71
|
+
|
|
10
72
|
## [17.2.1] - 2026-11-07
|
|
11
73
|
|
|
12
74
|
### Fixed
|
package/README.md
CHANGED
|
@@ -24,7 +24,7 @@ npm i motionary
|
|
|
24
24
|
<script type="module">import ScrollAnimate from 'motionary'; ScrollAnimate.init();</script>
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
-
Motionary reveals content as it scrolls into view and gives you <!--fact:public-->
|
|
27
|
+
Motionary reveals content as it scrolls into view and gives you <!--fact:public-->213<!--/fact--> animated `<mo-*>` custom elements: cards, buttons,
|
|
28
28
|
physics, page transitions, generative backgrounds, Lottie, WebGL and more. It runs in plain HTML, in React, Vue, Svelte,
|
|
29
29
|
Solid and Angular, and in desktop web views (Electron, Tauri, WebView2). It has no runtime dependencies, every entry point
|
|
30
30
|
is tree-shakeable and has a gzip budget checked in CI, and every animation respects `prefers-reduced-motion`.
|
|
@@ -46,8 +46,8 @@ Supply chain: [docs/supply-chain.md](./docs/supply-chain.md) · CDN with SRI has
|
|
|
46
46
|
- **214 scroll-reveal presets** in 14 families (33 in the core, 181 more in `motionary/presets/extended`): fades, zooms,
|
|
47
47
|
3D flips, clip-path shapes, blur and mask, bounce, depth, glitch, and scroll-linked `scrub-*`. Also `timeline()`,
|
|
48
48
|
`staggerChildren()` and `parallax()`.
|
|
49
|
-
- **<!--fact:public-->
|
|
50
|
-
each (`motionary/widgets/<name>`). Plus <!--fact:effects-->
|
|
49
|
+
- **<!--fact:public-->213<!--/fact--> `<mo-*>` Web Components**: <!--fact:core-->91<!--/fact--> core components in `motionary/components` (by category) and <!--fact:widgets-->122<!--/fact--> widgets, one entry point
|
|
50
|
+
each (`motionary/widgets/<name>`). Plus <!--fact:effects-->146<!--/fact--> effects with their own entry points (`motionary/effects/<name>`).
|
|
51
51
|
[How components are counted](./docs/components.md#how-components-are-counted).
|
|
52
52
|
- **Motion Core**: `createMotion()` from `motionary/core`, a plugin-based engine at about 2.5 KB gzip (budget 10 KB).
|
|
53
53
|
- **A runtime of its own**: `motionary/runtime` (ticker, tween, timeline) plus <!--fact:runtimeModules-->20<!--/fact--> modules: scroll scenes, smooth scrolling,
|
|
@@ -73,8 +73,11 @@ No build step? Use the CDN. URLs pin the major version (`@<!--ver:major-->17<!--
|
|
|
73
73
|
<script src="https://unpkg.com/motionary@17/dist/presets-extended.umd.js"></script> <!-- +181 presets -->
|
|
74
74
|
<script src="https://unpkg.com/motionary@17/dist/components.umd.js"></script> <!-- the motionary/components elements: window.UsaComponents -->
|
|
75
75
|
<script src="https://unpkg.com/motionary@17/dist/widgets.umd.js"></script> <!-- the widgets: window.UsaWidgets -->
|
|
76
|
+
<mo-reveal effect="fade-up"><h2>Hello</h2></mo-reveal>
|
|
76
77
|
```
|
|
77
78
|
|
|
79
|
+
Since 17.3 `<mo-*>` is the default element name. The CDN bundles, `defineComponents()` and `defineWidgets()` register it, and so do the 17.3+ widgets by themselves; when you import single components or categories as ES modules, call `defineMoAliases()` from `motionary/components/mo` first (it stays out of the per-component entries so their fixed size budgets hold). The `<usa-*>` names keep working as deprecated aliases (removal not before a future major); `npx -p motionary mo-codemod tags --write` renames them in your code. The `usa:*` event names and `--usa-*` CSS properties work with both tag names. [v17 migration guide](./docs/migrating-to-v17.md)
|
|
80
|
+
|
|
78
81
|
jsDelivr works too: `https://cdn.jsdelivr.net/npm/motionary@17/dist/…`. Already on `use-scroll-animate`? It keeps
|
|
79
82
|
working, at the same versions. To switch, replace the name in imports and URLs ([details](./docs/versions.md)).
|
|
80
83
|
|
|
@@ -129,9 +132,9 @@ More: [docs/core.md](./docs/core.md).
|
|
|
129
132
|
defineComponents(); // or lazyDefine() from 'motionary/components/lazy': loads only the tags on the page
|
|
130
133
|
</script>
|
|
131
134
|
|
|
132
|
-
<
|
|
133
|
-
<
|
|
134
|
-
<
|
|
135
|
+
<mo-card effect="holo">…</mo-card>
|
|
136
|
+
<mo-button deform="gooey">Buy</mo-button>
|
|
137
|
+
<mo-fx effect="confetti" trigger="click"><button>Celebrate</button></mo-fx>
|
|
135
138
|
```
|
|
136
139
|
|
|
137
140
|
### Frameworks
|
|
@@ -177,19 +180,19 @@ export const Card = () => <div use:scrollAnimate={{ animation: 'blur-in-up' }}>H
|
|
|
177
180
|
```
|
|
178
181
|
|
|
179
182
|
```ts
|
|
180
|
-
// Angular (standalone): the <usa-*>
|
|
183
|
+
// Angular (standalone): the <mo-*> elements (and the legacy <usa-*> names)
|
|
181
184
|
import { APP_INITIALIZER, CUSTOM_ELEMENTS_SCHEMA, Component } from '@angular/core';
|
|
182
185
|
import { provideUsa, usaDetail } from 'motionary/angular';
|
|
183
186
|
// app.config.ts: providers: [provideUsa(APP_INITIALIZER, ['click', 'ui'])] (the categories to register)
|
|
184
187
|
// usa:* events: `(usa:change)` does not compile in Angular 17+ — use the 6-line `[usaOn]` directive from docs/frameworks-ssr.md
|
|
185
188
|
@Component({ standalone: true, imports: [UsaOn], schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
186
|
-
template: `<
|
|
189
|
+
template: `<mo-checkbox label="Motion" [checked]="on" [usaOn]="{ change: onChange }"></mo-checkbox>` })
|
|
187
190
|
export class Settings { on = false; onChange = (e: Event) => (this.on = usaDetail(e).checked); }
|
|
188
191
|
```
|
|
189
192
|
|
|
190
193
|
SSR, Next.js, Nuxt and SvelteKit: [docs/frameworks-ssr.md](./docs/frameworks-ssr.md) (React 19 + SSR: bind `usa:*` events with a ref +
|
|
191
194
|
`bindUsa` — React 19 does not attach `onusa:*` props to hydrated elements). Tested framework versions:
|
|
192
|
-
[docs/frameworks-matrix.md](
|
|
195
|
+
[docs/frameworks-matrix.md](https://github.com/HarrisonCN/Motionary/blob/main/docs/frameworks-matrix.md). Every public subpath by layer:
|
|
193
196
|
[docs/public-api.md](./docs/public-api.md).
|
|
194
197
|
|
|
195
198
|
## Runtime and tiers
|
|
@@ -222,10 +225,10 @@ CDN) when the module is missing. Details: [docs/runtime-tiers.md](./docs/runtime
|
|
|
222
225
|
| Page | What it does |
|
|
223
226
|
|---|---|
|
|
224
227
|
| [Animation Store](https://harrisoncn.github.io/Motionary/showcase/) | Preview, tweak and copy every preset and effect at desktop and phone sizes |
|
|
225
|
-
| [Components](https://harrisoncn.github.io/Motionary/showcase/components.html) | The gallery: every `<
|
|
228
|
+
| [Components](https://harrisoncn.github.io/Motionary/showcase/components.html) | The gallery: every `<mo-*>` element with its attributes, prerequisites and tier |
|
|
226
229
|
| [Component playground](https://harrisoncn.github.io/Motionary/showcase/run.html) | Each component as a complete runnable page: edit, **Run**, **Copy** or **Download** — all three use exactly what is in the editor (the download runs on its own). HTML (CDN) runs the whole page; npm + bundler runs the module through an import map. Missing prerequisites and errors show with the line that fixes them; deep links like `run.html#usa-tilt` |
|
|
227
|
-
| [Timeline playground](https://harrisoncn.github.io/Motionary/showcase/playground.html) | Visual keyframe editor; exports JSON for `<
|
|
228
|
-
| [Scroll story](https://harrisoncn.github.io/Motionary/showcase/story.html) | `<
|
|
230
|
+
| [Timeline playground](https://harrisoncn.github.io/Motionary/showcase/playground.html) | Visual keyframe editor; exports JSON for `<mo-player>` |
|
|
231
|
+
| [Scroll story](https://harrisoncn.github.io/Motionary/showcase/story.html) | `<mo-story>` scroll-storytelling templates |
|
|
229
232
|
| [Cross-platform previewer](https://harrisoncn.github.io/Motionary/showcase/xplat.html) | One preset on the web, in a mini program and in HarmonyOS ArkUI |
|
|
230
233
|
| [demo/index.html](./demo/index.html) | Every preset, no build step (open it locally) |
|
|
231
234
|
|
|
@@ -326,8 +329,8 @@ never edits the document. For the full Motion Tokens 2.0 set (distances, semanti
|
|
|
326
329
|
|
|
327
330
|
Motionary's focus is **zero dependencies, fixed size budgets and accessible motion**. The stable core is the scroll API
|
|
328
331
|
(`motionary`), `motionary/core`, `motionary/presets/*`, `motionary/motion`, `motionary/scene`, `motionary/runtime/*`,
|
|
329
|
-
the `<
|
|
330
|
-
|
|
332
|
+
the `<mo-*>` components and widgets, the framework adapters and the CLI. 17.x minors add components and effects
|
|
333
|
+
(zero dependencies, own size budget lines, the same accessibility contract) and improve what exists; no new major is planned.
|
|
331
334
|
|
|
332
335
|
**Experimental** (may change in a minor release, not covered by the stability promise):
|
|
333
336
|
Motion Studio (`motionary/studio/*`, including the 16.2 plugin API and the 16.3 performance budget), the AI assistant
|
|
@@ -339,7 +342,7 @@ cross-platform exporters (`npx motionary export`). See [docs/stability.md](./doc
|
|
|
339
342
|
- With `prefers-reduced-motion: reduce`, scroll reveals show content right away (no entrance, parallax or scrub), and
|
|
340
343
|
components switch to calm states (`staticAlternative()`, `adaptKeyframes()`).
|
|
341
344
|
- `motionary/components/a11y`: `setMotionSensitivity()` lets users turn off flashes, loops or parallax. It also has `announce()`
|
|
342
|
-
for live regions, `auditMotionA11y()` and `baselineReport()`. `<
|
|
345
|
+
for live regions, `auditMotionA11y()` and `baselineReport()`. `<mo-motion-switch>` is a ready-made motion toggle for users.
|
|
343
346
|
- Every element follows one [component contract](./docs/component-contract.md) (keyboard, focus, events, lifecycle,
|
|
344
347
|
reduced motion), and `npm run check:contract` enforces it in CI.
|
|
345
348
|
- More: [docs/accessibility.md](./docs/accessibility.md).
|
|
@@ -350,7 +353,7 @@ Every entry point has a fixed gzip budget in [`size-budget.json`](./size-budget.
|
|
|
350
353
|
entry goes over its budget, and budgets are never raised automatically.
|
|
351
354
|
|
|
352
355
|
<!-- size-table:start -->
|
|
353
|
-
Measured on the 17.
|
|
356
|
+
Measured on the 17.3.0 build (minified + gzip), generated by `scripts/size.mjs --report`:
|
|
354
357
|
|
|
355
358
|
| What you import | gzip | Budget |
|
|
356
359
|
|---|---:|---:|
|
|
@@ -362,9 +365,9 @@ Measured on the 17.2.1 build (minified + gzip), generated by `scripts/size.mjs -
|
|
|
362
365
|
| `motionary/presets/extended` (181 presets) | 4.69 KB | 5.25 KB |
|
|
363
366
|
| `motionary/runtime` (runtime core) | 5.42 KB | 5.50 KB |
|
|
364
367
|
| `motionary/components/reveal` | 4.47 KB | 5.00 KB |
|
|
365
|
-
| `motionary/components/lite` (every element, CSS on demand) |
|
|
366
|
-
| `motionary/components` (every element + CSS) | 86.
|
|
367
|
-
| `dist/components.umd.js` (CDN, everything) | 110.
|
|
368
|
+
| `motionary/components/lite` (every element, CSS on demand) | 70.29 KB | 79.00 KB |
|
|
369
|
+
| `motionary/components` (every element + CSS) | 86.72 KB | 93.75 KB |
|
|
370
|
+
| `dist/components.umd.js` (CDN, everything) | 110.11 KB | 115.75 KB |
|
|
368
371
|
<!-- size-table:end -->
|
|
369
372
|
|
|
370
373
|
By default there are no scroll listeners (IntersectionObserver is used instead). Animations stay on the compositor
|
|
@@ -392,7 +395,7 @@ npx motionary migrate src/motion/*.json --write # optional: motion JSON → sc
|
|
|
392
395
|
|
|
393
396
|
| Removed from the main entries | Keep it (compat) | Move to |
|
|
394
397
|
|---|---|---|
|
|
395
|
-
| playground documents / animation JSON without `format` in `<
|
|
398
|
+
| playground documents / animation JSON without `format` in `<mo-player>` | `installCompatV13()` from `motionary/compat-v13` | scene v2 (`npx motionary migrate`) |
|
|
396
399
|
| `normalizeAnimation()` (`motionary/components/effects`) | `motionary/compat-v13` | `validateSceneV2()` / `migrateToSceneV2()` (`motionary/scene`) |
|
|
397
400
|
| `usa-codemod-5` … `usa-codemod-10` bins | `npx motionary codemod <n>` | — |
|
|
398
401
|
|
|
@@ -405,7 +408,7 @@ Coming from another library: [AOS](./docs/migration-from-aos.md) · [GSAP Scroll
|
|
|
405
408
|
|
|
406
409
|
## Versions and compatibility
|
|
407
410
|
|
|
408
|
-
- **npm dist-tags:** `latest` is the newest release of the current major (<!--ver:version-->17.
|
|
411
|
+
- **npm dist-tags:** `latest` is the newest release of the current major (<!--ver:version-->17.3.0<!--/ver-->; minors move it since 14.1). Each minor release also gets its own tag `v<major>-<minor>`
|
|
409
412
|
(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.
|
|
410
413
|
- **CDN:** URLs pin a major (`motionary@<!--ver:major-->17<!--/ver-->`). Exact pins (`motionary@12.4.0`) keep working.
|
|
411
414
|
- **Semver:** breaking changes come only in majors, each with a guide and a codemod. Deprecations stay in place until the
|
|
@@ -420,7 +423,7 @@ Coming from another library: [AOS](./docs/migration-from-aos.md) · [GSAP Scroll
|
|
|
420
423
|
|---|---|
|
|
421
424
|
| Reference | [API](./docs/API.md) · [Presets](./docs/presets.md) (all 214) · [Components](./docs/components.md) · [Entry points](./docs/entry-points.md) · [Public API by layer](./docs/public-api.md) · [Motion Core](./docs/core.md) · [Timeline editor model](./docs/timeline-editor.md) |
|
|
422
425
|
| Runtime | [Runtime tiers](./docs/runtime-tiers.md) · [Modules](./docs/runtime/) · [Compatibility matrix](./docs/compat-matrix.md) |
|
|
423
|
-
| Platforms | [Frameworks & SSR](./docs/frameworks-ssr.md) · [Framework matrix](
|
|
426
|
+
| Platforms | [Frameworks & SSR](./docs/frameworks-ssr.md) · [Framework matrix](https://github.com/HarrisonCN/Motionary/blob/main/docs/frameworks-matrix.md) · [Windows apps](./docs/windows-apps.md) · [Hybrid apps (MAUI, Flutter, Electron, Tauri)](./docs/hybrid-apps.md) · [Cross-platform export](./docs/cross-platform.md) · [Examples](./examples/) |
|
|
424
427
|
| Design & AI | [Motion Studio 2.0 app](./docs/studio-app.md) · [Motion Studio](./docs/studio.md) · [Studio export](./docs/studio-export.md) · [Studio templates](./docs/studio-templates.md) · [Studio AI assistant](./docs/studio-ai.md) · [Studio assets](./docs/studio-assets.md) · [Studio canvas](./docs/studio-canvas.md) · [Layout motion 2.0](./docs/layout-motion.md) · [Motion tokens 2.0](./docs/motion-tokens.md) · [Figma plugin](./figma-plugin/README.md) · [MCP server](./docs/mcp.md) · [AI provider](./docs/ai-provider.md) · [Prompt guide](./docs/ai-prompt-guide.md) |
|
|
425
428
|
| Quality | [Accessibility](./docs/accessibility.md) · [Component contract](./docs/component-contract.md) · [Performance](./docs/performance.md) · [Perf CI](./docs/perf-ci.md) · [Scheduling](./docs/scheduling.md) · [Tree-shaking](./docs/tree-shaking.md) · [Source maps](./docs/source-maps.md) |
|
|
426
429
|
| Project | [Architecture](./docs/architecture.md) · [Roadmap](./docs/ROADMAP.md) · [Versions](./docs/versions.md) · [Changelog](./CHANGELOG.md) |
|
package/README_ja.md
CHANGED
|
@@ -24,7 +24,7 @@ npm i motionary
|
|
|
24
24
|
<script type="module">import ScrollAnimate from 'motionary'; ScrollAnimate.init();</script>
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
-
Motionary は、スクロールして画面に入ってきたコンテンツをアニメーションで表示し、さらに <!--fact:public-->
|
|
27
|
+
Motionary は、スクロールして画面に入ってきたコンテンツをアニメーションで表示し、さらに <!--fact:public-->213<!--/fact--> 個の `<mo-*>` カスタム要素を提供します。カード、ボタン、物理演算、ページ遷移、ジェネレーティブ背景、Lottie、WebGL などがそろっています。素の HTML でも、React・Vue・Svelte・Solid・Angular でも、Electron・Tauri・WebView2 といったデスクトップの Web ビューでも、そのまま動きます。ランタイム依存はゼロ。すべてのエントリポイントは tree-shaking でき、CI で gzip サイズの上限がチェックされます。どのアニメーションも `prefers-reduced-motion` を尊重します。
|
|
28
28
|
|
|
29
29
|
各バージョンのリリースノートは [CHANGELOG.md](./CHANGELOG.md) にあります。
|
|
30
30
|
|
|
@@ -37,7 +37,7 @@ Motionary は、スクロールして画面に入ってきたコンテンツを
|
|
|
37
37
|
## 特長
|
|
38
38
|
|
|
39
39
|
- **スクロール表示プリセット 214 種**を 14 のファミリーで提供(コアに 33 種、`motionary/presets/extended` にさらに 181 種)。フェード、ズーム、3D フリップ、clip-path の図形、ブラーとマスク、バウンス、奥行き、グリッチ、スクロール量に連動する `scrub-*` など。`timeline()`、`staggerChildren()`、`parallax()` もあります。
|
|
40
|
-
- **`<
|
|
40
|
+
- **`<mo-*>` Web Components <!--fact:public-->213<!--/fact--> 個**:`motionary/components` にカテゴリ別で <!--fact:core-->91<!--/fact--> 個のコアコンポーネント、さらにウィジェットが <!--fact:widgets-->122<!--/fact--> 個あり、それぞれ専用のエントリポイント(`motionary/widgets/<name>`)を持ちます。加えて、専用エントリ(`motionary/effects/<name>`)を持つエフェクトが <!--fact:effects-->146<!--/fact--> 種あります。数え方は [docs/components.md](./docs/components.md#how-components-are-counted) を参照。
|
|
41
41
|
- **Motion Core**:`motionary/core` の `createMotion()`。プラグイン方式のエンジンで、gzip 後およそ 2.5 KB(上限 10 KB)です。
|
|
42
42
|
- **独自のランタイム**:`motionary/runtime`(ticker・tween・timeline)と <!--fact:runtimeModules-->20<!--/fact--> のモジュール。スクロールシーン、スムーズスクロール、テキスト分割、SVG モーフィング、スプライト、GIF / APNG / WebP、Lottie と dotLottie、WebGL2、glTF / OBJ、2D 物理演算をカバーします。モジュールは 3 つの階層に分かれていて、インポートした分だけのサイズで済みます。
|
|
43
43
|
- **どのフレームワークでも**:`motionary/react`、`motionary/vue`、`motionary/svelte`、`motionary/solid`、`motionary/angular`。要素用のラッパー `motionary/components/react` · `vue` · `svelte` · `solid` もあります。サーバー側でインポートしても何も起きません。
|
|
@@ -57,8 +57,11 @@ npm i motionary
|
|
|
57
57
|
<script src="https://unpkg.com/motionary@17/dist/presets-extended.umd.js"></script> <!-- プリセット +181 種 -->
|
|
58
58
|
<script src="https://unpkg.com/motionary@17/dist/components.umd.js"></script> <!-- motionary/components の要素:window.UsaComponents -->
|
|
59
59
|
<script src="https://unpkg.com/motionary@17/dist/widgets.umd.js"></script> <!-- ウィジェット:window.UsaWidgets -->
|
|
60
|
+
<mo-reveal effect="fade-up"><h2>Hello</h2></mo-reveal>
|
|
60
61
|
```
|
|
61
62
|
|
|
63
|
+
17.3 から `<mo-*>` が既定の要素名です。CDN バンドル、`defineComponents()`、`defineWidgets()` が登録し、17.3 以降の新しいウィジェットは自分で登録します。単一のコンポーネントやカテゴリを ES モジュールで読み込む場合は、先に `motionary/components/mo` の `defineMoAliases()` を呼び出してください(固定サイズ予算を守るため、コンポーネント単位のエントリには含めていません)。`<usa-*>` 名は非推奨の別名として引き続き動作します(削除は将来のメジャー以降)。`npx -p motionary mo-codemod tags --write` でコード内の名前を一括変更できます。どちらのタグ名でも `usa:*` イベントと `--usa-*` CSS カスタムプロパティを使えます。[v17 移行ガイド](./docs/migrating-to-v17.md)
|
|
64
|
+
|
|
62
65
|
jsDelivr も使えます:`https://cdn.jsdelivr.net/npm/motionary@17/dist/…`。`use-scroll-animate` をお使いの場合も、同じバージョンで引き続き公開されます。乗り換えるときは、import と URL のパッケージ名を置き換えるだけです([詳細](./docs/versions.md))。
|
|
63
66
|
|
|
64
67
|
## クイックスタート
|
|
@@ -112,9 +115,9 @@ await motion.play(hero, 'dolly-in', { duration: 900 }); // 1 回再生して
|
|
|
112
115
|
defineComponents(); // または 'motionary/components/lazy' の lazyDefine():ページにあるタグだけを読み込む
|
|
113
116
|
</script>
|
|
114
117
|
|
|
115
|
-
<
|
|
116
|
-
<
|
|
117
|
-
<
|
|
118
|
+
<mo-card effect="holo">…</mo-card>
|
|
119
|
+
<mo-button deform="gooey">Buy</mo-button>
|
|
120
|
+
<mo-fx effect="confetti" trigger="click"><button>Celebrate</button></mo-fx>
|
|
118
121
|
```
|
|
119
122
|
|
|
120
123
|
### フレームワーク
|
|
@@ -165,7 +168,7 @@ import { APP_INITIALIZER, CUSTOM_ELEMENTS_SCHEMA, Component } from '@angular/cor
|
|
|
165
168
|
import { provideUsa } from 'motionary/angular';
|
|
166
169
|
// app.config.ts:providers: [provideUsa(APP_INITIALIZER, ['click', 'ui'])] (登録するカテゴリ)
|
|
167
170
|
@Component({ standalone: true, schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
168
|
-
template: `<
|
|
171
|
+
template: `<mo-checkbox label="Motion" [checked]="on" (usa:change)="on = $any($event).detail.checked"></mo-checkbox>` })
|
|
169
172
|
export class Settings { on = false; }
|
|
170
173
|
```
|
|
171
174
|
|
|
@@ -197,10 +200,10 @@ defineScrollScene(); // そのあとで、それを使うコンポーネント
|
|
|
197
200
|
| ページ | 内容 |
|
|
198
201
|
|---|---|
|
|
199
202
|
| [アニメーションストア](https://harrisoncn.github.io/Motionary/showcase/) | すべてのプリセットとエフェクトを、デスクトップとスマホのサイズでプレビュー・調整・コピー |
|
|
200
|
-
| [コンポーネント](https://harrisoncn.github.io/Motionary/showcase/components.html) | ギャラリー:各 `<
|
|
203
|
+
| [コンポーネント](https://harrisoncn.github.io/Motionary/showcase/components.html) | ギャラリー:各 `<mo-*>` 要素の属性、前提モジュール、階層 |
|
|
201
204
|
| [コンポーネントプレイグラウンド](https://harrisoncn.github.io/Motionary/showcase/run.html) | コンポーネントごとに動く完全なページ。編集して **Run**、**Copy**、**Download** — 3 つともエディタの内容そのものを使います(ダウンロードしたファイルは単体で動作)。HTML (CDN) はページ全体を実行し、npm + bundler はインポートマップでモジュールを実行。前提モジュールの不足やエラーは修正方法付きで表示。`run.html#usa-tilt` のようなディープリンクにも対応 |
|
|
202
|
-
| [タイムラインエディタ](https://harrisoncn.github.io/Motionary/showcase/playground.html) | ビジュアルなキーフレーム編集。`<
|
|
203
|
-
| [スクロールストーリー](https://harrisoncn.github.io/Motionary/showcase/story.html) | `<
|
|
205
|
+
| [タイムラインエディタ](https://harrisoncn.github.io/Motionary/showcase/playground.html) | ビジュアルなキーフレーム編集。`<mo-player>` 用の JSON を書き出せます |
|
|
206
|
+
| [スクロールストーリー](https://harrisoncn.github.io/Motionary/showcase/story.html) | `<mo-story>` のスクロールストーリーテンプレート |
|
|
204
207
|
| [クロスプラットフォームプレビュー](https://harrisoncn.github.io/Motionary/showcase/xplat.html) | 1 つのプリセットを Web・ミニプログラム・HarmonyOS ArkUI で見比べる |
|
|
205
208
|
| [demo/index.html](./demo/index.html) | 全プリセット。ビルド不要(ローカルで開くだけ) |
|
|
206
209
|
|
|
@@ -281,8 +284,8 @@ el.animate(intent.keyframes, intent.options);
|
|
|
281
284
|
## 安定コアと実験的な機能
|
|
282
285
|
|
|
283
286
|
Motionary の方針は **依存ゼロ・固定サイズ上限・アクセシブルなモーション** です。安定コアは、スクロール API(`motionary`)、
|
|
284
|
-
`motionary/core`、`motionary/presets/*`、`motionary/motion`、`motionary/scene`、`motionary/runtime/*`、`<
|
|
285
|
-
ウィジェット、フレームワークアダプター、CLI
|
|
287
|
+
`motionary/core`、`motionary/presets/*`、`motionary/motion`、`motionary/scene`、`motionary/runtime/*`、`<mo-*>` コンポーネントと
|
|
288
|
+
ウィジェット、フレームワークアダプター、CLI です。17.x のマイナーリリースでコンポーネントとエフェクトを追加し(依存ゼロ、個別のサイズ予算、同じアクセシビリティ規約)、既存の機能も磨いていきます。新しいメジャーは予定していません。
|
|
286
289
|
|
|
287
290
|
**実験的**(マイナーリリースで変わる可能性があり、安定性の約束の対象外):Motion Studio(`motionary/studio/*`、16.2 のプラグイン API と
|
|
288
291
|
16.3 のパフォーマンス予算を含む)、AI アシスタントとプロバイダー(`motionary/studio/ai`、`motionary/ai*`)、MCP サーバー(`motionary-mcp`)、
|
|
@@ -291,7 +294,7 @@ Figma プラグイン、クロスプラットフォーム書き出し(`npx mot
|
|
|
291
294
|
## アクセシビリティ
|
|
292
295
|
|
|
293
296
|
- `prefers-reduced-motion: reduce` のときは、スクロール表示がすぐにコンテンツを表示し(登場・パララックス・scrub の動きなし)、コンポーネントも落ち着いた状態に切り替わります(`staticAlternative()`、`adaptKeyframes()`)。
|
|
294
|
-
- `motionary/components/a11y`:`setMotionSensitivity()` でユーザーが点滅・ループ・パララックスをオフにできます。ライブリージョン用の `announce()`、`auditMotionA11y()`、`baselineReport()` もあります。`<
|
|
297
|
+
- `motionary/components/a11y`:`setMotionSensitivity()` でユーザーが点滅・ループ・パララックスをオフにできます。ライブリージョン用の `announce()`、`auditMotionA11y()`、`baselineReport()` もあります。`<mo-motion-switch>` はすぐに使えるモーション切り替えスイッチです。
|
|
295
298
|
- すべての要素が同じ[コンポーネント規約](./docs/component-contract.md)(キーボード、フォーカス、イベント、ライフサイクル、reduced motion)に従い、CI の `npm run check:contract` で検証されます。
|
|
296
299
|
- 詳しくは [docs/accessibility.md](./docs/accessibility.md)。
|
|
297
300
|
|
|
@@ -300,7 +303,7 @@ Figma プラグイン、クロスプラットフォーム書き出し(`npx mot
|
|
|
300
303
|
すべてのエントリポイントに、[`size-budget.json`](./size-budget.json) で固定の gzip 上限が設定されています(全 401 項目)。上限を超えるエントリがあれば CI は失敗し、上限が自動で引き上げられることはありません。
|
|
301
304
|
|
|
302
305
|
<!-- size-table:start -->
|
|
303
|
-
17.
|
|
306
|
+
17.3.0 ビルドでの実測値(minify + gzip、`scripts/size.mjs --report` で生成):
|
|
304
307
|
|
|
305
308
|
| インポートするもの | gzip | 上限 |
|
|
306
309
|
|---|---:|---:|
|
|
@@ -312,9 +315,9 @@ Figma プラグイン、クロスプラットフォーム書き出し(`npx mot
|
|
|
312
315
|
| `motionary/presets/extended`(181 プリセット) | 4.69 KB | 5.25 KB |
|
|
313
316
|
| `motionary/runtime`(ランタイムのコア) | 5.42 KB | 5.50 KB |
|
|
314
317
|
| `motionary/components/reveal` | 4.47 KB | 5.00 KB |
|
|
315
|
-
| `motionary/components/lite`(全要素、CSS はオンデマンド) |
|
|
316
|
-
| `motionary/components`(全要素 + CSS) | 86.
|
|
317
|
-
| `dist/components.umd.js`(CDN、すべて) | 110.
|
|
318
|
+
| `motionary/components/lite`(全要素、CSS はオンデマンド) | 70.29 KB | 79.00 KB |
|
|
319
|
+
| `motionary/components`(全要素 + CSS) | 86.72 KB | 93.75 KB |
|
|
320
|
+
| `dist/components.umd.js`(CDN、すべて) | 110.11 KB | 115.75 KB |
|
|
318
321
|
<!-- size-table:end -->
|
|
319
322
|
|
|
320
323
|
既定ではスクロールイベントを監視せず(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)。
|
|
@@ -342,7 +345,7 @@ npx usa-codemod-13 --write # まとめて書き換え。@10 / @11 / @12 に
|
|
|
342
345
|
|
|
343
346
|
## バージョンと互換性
|
|
344
347
|
|
|
345
|
-
- **npm の dist-tag:** `latest` は現在のメジャーの最新リリース(<!--ver:version-->17.
|
|
348
|
+
- **npm の dist-tag:** `latest` は現在のメジャーの最新リリース(<!--ver:version-->17.3.0<!--/ver-->)を指します。14.1 からはマイナーリリースでも移動します。マイナーリリースにはそれぞれ `v<major>-<minor>` のタグも付きます(例:`v15-0`)。`v15-line` は 15.x を追い、`v14-lts` は 14.9.x です。`motionary` と `use-scroll-animate` は常に同じバージョンで同時に公開されます。
|
|
346
349
|
- **CDN:** URL はメジャーで固定します(`motionary@<!--ver:major-->17<!--/ver-->`)。正確なバージョン指定(`motionary@12.4.0`)もそのまま使えます。
|
|
347
350
|
- **セマンティックバージョニング:** 破壊的変更はメジャーだけで行い、毎回ガイドと codemod を用意します。非推奨になったものは次のメジャーまで残り、その間は型に `@deprecated` が付くだけで、実行時の警告は出ません。
|
|
348
351
|
- **各バージョンに含まれるもの:** コンポーネントとランタイムモジュールごとの `since` / `changed`([docs/version-compat.md](./docs/version-compat.md))、機能ごとの対応状況([docs/compat-matrix.md](./docs/compat-matrix.md))。
|
package/README_zh.md
CHANGED
|
@@ -24,7 +24,7 @@ npm i motionary
|
|
|
24
24
|
<script type="module">import ScrollAnimate from 'motionary'; ScrollAnimate.init();</script>
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
-
Motionary 让内容在滚入视口时自然登场,并提供 <!--fact:public-->
|
|
27
|
+
Motionary 让内容在滚入视口时自然登场,并提供 <!--fact:public-->213<!--/fact--> 个开箱即用的 `<mo-*>` 动画自定义元素:卡片、按钮、物理效果、页面转场、生成式背景、Lottie、WebGL 等等。无论是纯 HTML,还是 React、Vue、Svelte、Solid、Angular,乃至 Electron、Tauri、WebView2 这类桌面 Web 视图,都能直接使用。运行时零依赖,每个入口都可 tree-shaking,并在 CI 中有固定的 gzip 体积预算;所有动画都遵循 `prefers-reduced-motion`。
|
|
28
28
|
|
|
29
29
|
各版本的更新说明见 [CHANGELOG.md](./CHANGELOG.md)。
|
|
30
30
|
|
|
@@ -37,7 +37,7 @@ Motionary 让内容在滚入视口时自然登场,并提供 <!--fact:public-->
|
|
|
37
37
|
## 特性
|
|
38
38
|
|
|
39
39
|
- **214 个滚动显现预设**,分为 14 个系列(核心内置 33 个,`motionary/presets/extended` 再提供 181 个):淡入、缩放、3D 翻转、clip-path 形状、模糊与遮罩、弹跳、景深、故障风,以及随滚动进度变化的 `scrub-*`。另有 `timeline()`、`staggerChildren()` 和 `parallax()`。
|
|
40
|
-
- **<!--fact:public-->
|
|
40
|
+
- **<!--fact:public-->213<!--/fact--> 个 `<mo-*>` Web Components**:`motionary/components` 中按分类提供 <!--fact:core-->91<!--/fact--> 个核心组件,另有 <!--fact:widgets-->122<!--/fact--> 个小部件,每个都有独立入口(`motionary/widgets/<name>`)。此外还有 <!--fact:effects-->146<!--/fact--> 个效果,同样各有独立入口(`motionary/effects/<name>`)。统计口径见 [docs/components.md](./docs/components.md#how-components-are-counted)。
|
|
41
41
|
- **Motion Core**:`motionary/core` 提供的 `createMotion()`,插件化引擎,gzip 后约 2.5 KB(预算 10 KB)。
|
|
42
42
|
- **自研运行时**:`motionary/runtime`(ticker、tween、timeline)加 <!--fact:runtimeModules-->20<!--/fact--> 个模块,覆盖滚动场景、平滑滚动、文字拆分、SVG 变形、精灵图、GIF / APNG / WebP、Lottie 与 dotLottie、WebGL2、glTF / OBJ、2D 物理。模块分为三个等级,只为实际导入的部分付出体积。
|
|
43
43
|
- **适配所有框架**:`motionary/react`、`motionary/vue`、`motionary/svelte`、`motionary/solid`、`motionary/angular`,以及元素封装 `motionary/components/react` · `vue` · `svelte` · `solid`。在服务端导入不会产生任何副作用。
|
|
@@ -57,8 +57,11 @@ npm i motionary
|
|
|
57
57
|
<script src="https://unpkg.com/motionary@17/dist/presets-extended.umd.js"></script> <!-- 再加 181 个预设 -->
|
|
58
58
|
<script src="https://unpkg.com/motionary@17/dist/components.umd.js"></script> <!-- motionary/components 的元素:window.UsaComponents -->
|
|
59
59
|
<script src="https://unpkg.com/motionary@17/dist/widgets.umd.js"></script> <!-- 小部件:window.UsaWidgets -->
|
|
60
|
+
<mo-reveal effect="fade-up"><h2>Hello</h2></mo-reveal>
|
|
60
61
|
```
|
|
61
62
|
|
|
63
|
+
自 17.3 起 `<mo-*>` 是默认元素名。CDN 包、`defineComponents()` 与 `defineWidgets()` 会注册它,17.3 起的新组件也会自行注册;按单个组件或分类以 ES 模块引入时,请先从 `motionary/components/mo` 调用 `defineMoAliases()`(它不放进单组件入口,以保持固定体积预算)。`<usa-*>` 名称作为已弃用的别名继续可用(最早在未来某个大版本移除);`npx -p motionary mo-codemod tags --write` 可在代码中批量改名。两套标签都使用 `usa:*` 事件和 `--usa-*` CSS 自定义属性。[v17 迁移指南](./docs/migrating-to-v17.md)
|
|
64
|
+
|
|
62
65
|
也可以用 jsDelivr:`https://cdn.jsdelivr.net/npm/motionary@17/dist/…`。还在用 `use-scroll-animate`?它会继续以相同版本发布;要切换,只需在 import 和 URL 中替换包名([详情](./docs/versions.md))。
|
|
63
66
|
|
|
64
67
|
## 快速上手
|
|
@@ -112,9 +115,9 @@ await motion.play(hero, 'dolly-in', { duration: 900 }); // 播放一次并等
|
|
|
112
115
|
defineComponents(); // 或使用 'motionary/components/lazy' 的 lazyDefine():只加载页面上出现的标签
|
|
113
116
|
</script>
|
|
114
117
|
|
|
115
|
-
<
|
|
116
|
-
<
|
|
117
|
-
<
|
|
118
|
+
<mo-card effect="holo">…</mo-card>
|
|
119
|
+
<mo-button deform="gooey">Buy</mo-button>
|
|
120
|
+
<mo-fx effect="confetti" trigger="click"><button>Celebrate</button></mo-fx>
|
|
118
121
|
```
|
|
119
122
|
|
|
120
123
|
### 框架
|
|
@@ -165,7 +168,7 @@ import { APP_INITIALIZER, CUSTOM_ELEMENTS_SCHEMA, Component } from '@angular/cor
|
|
|
165
168
|
import { provideUsa } from 'motionary/angular';
|
|
166
169
|
// app.config.ts:providers: [provideUsa(APP_INITIALIZER, ['click', 'ui'])] (要注册的分类)
|
|
167
170
|
@Component({ standalone: true, schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
168
|
-
template: `<
|
|
171
|
+
template: `<mo-checkbox label="Motion" [checked]="on" (usa:change)="on = $any($event).detail.checked"></mo-checkbox>` })
|
|
169
172
|
export class Settings { on = false; }
|
|
170
173
|
```
|
|
171
174
|
|
|
@@ -197,10 +200,10 @@ defineScrollScene(); // 再注册依赖它的组件
|
|
|
197
200
|
| 页面 | 用途 |
|
|
198
201
|
|---|---|
|
|
199
202
|
| [动画商店](https://harrisoncn.github.io/Motionary/showcase/) | 在桌面和手机尺寸下预览、调整并复制所有预设与效果 |
|
|
200
|
-
| [组件库](https://harrisoncn.github.io/Motionary/showcase/components.html) | 每个 `<
|
|
203
|
+
| [组件库](https://harrisoncn.github.io/Motionary/showcase/components.html) | 每个 `<mo-*>` 元素的属性、前置依赖与等级 |
|
|
201
204
|
| [组件演练场](https://harrisoncn.github.io/Motionary/showcase/run.html) | 每个组件都是一个完整可运行的页面:编辑、**Run**、**Copy** 或 **Download** —— 三者都使用编辑器中的当前代码(下载的文件可独立运行)。HTML (CDN) 运行整个页面,npm + bundler 通过 import map 运行模块;缺少前置模块或运行出错时显示具体修复说明;支持 `run.html#usa-tilt` 这样的深链接 |
|
|
202
|
-
| [时间线编辑器](https://harrisoncn.github.io/Motionary/showcase/playground.html) | 可视化关键帧编辑,导出 `<
|
|
203
|
-
| [滚动叙事](https://harrisoncn.github.io/Motionary/showcase/story.html) | `<
|
|
205
|
+
| [时间线编辑器](https://harrisoncn.github.io/Motionary/showcase/playground.html) | 可视化关键帧编辑,导出 `<mo-player>` 可播放的 JSON |
|
|
206
|
+
| [滚动叙事](https://harrisoncn.github.io/Motionary/showcase/story.html) | `<mo-story>` 滚动叙事模板 |
|
|
204
207
|
| [跨平台预览](https://harrisoncn.github.io/Motionary/showcase/xplat.html) | 同一个预设在 Web、小程序与鸿蒙 ArkUI 中的效果对比 |
|
|
205
208
|
| [demo/index.html](./demo/index.html) | 所有预设,无需构建(本地打开即可) |
|
|
206
209
|
|
|
@@ -281,8 +284,8 @@ el.animate(intent.keyframes, intent.options);
|
|
|
281
284
|
## 稳定核心与实验性功能
|
|
282
285
|
|
|
283
286
|
Motionary 的定位是 **零依赖、固定体积预算、无障碍动效**。稳定核心包括滚动 API(`motionary`)、`motionary/core`、
|
|
284
|
-
`motionary/presets/*`、`motionary/motion`、`motionary/scene`、`motionary/runtime/*`、`<
|
|
285
|
-
|
|
287
|
+
`motionary/presets/*`、`motionary/motion`、`motionary/scene`、`motionary/runtime/*`、`<mo-*>` 组件与小部件、框架适配层和 CLI。
|
|
288
|
+
17.x 的小版本会新增组件与效果(零依赖、各自的体积预算、同样的无障碍约定),并持续打磨已有功能;不再计划新的大版本。
|
|
286
289
|
|
|
287
290
|
**实验性**(次版本中可能变化,不在稳定性承诺之内):Motion Studio(`motionary/studio/*`,包括 16.2 插件 API 与 16.3 性能预算)、
|
|
288
291
|
AI 助手与 provider(`motionary/studio/ai`、`motionary/ai*`)、MCP 服务器(`motionary-mcp`)、Figma 插件,以及跨平台导出
|
|
@@ -291,7 +294,7 @@ AI 助手与 provider(`motionary/studio/ai`、`motionary/ai*`)、MCP 服务
|
|
|
291
294
|
## 无障碍
|
|
292
295
|
|
|
293
296
|
- 当系统设置为 `prefers-reduced-motion: reduce` 时,滚动显现会直接显示内容(没有入场、视差或 scrub 动效),组件也会切换到平静的状态(`staticAlternative()`、`adaptKeyframes()`)。
|
|
294
|
-
- `motionary/components/a11y`:`setMotionSensitivity()` 让用户关闭闪烁、循环或视差;另有用于实时区域的 `announce()`,以及 `auditMotionA11y()` 和 `baselineReport()`。`<
|
|
297
|
+
- `motionary/components/a11y`:`setMotionSensitivity()` 让用户关闭闪烁、循环或视差;另有用于实时区域的 `announce()`,以及 `auditMotionA11y()` 和 `baselineReport()`。`<mo-motion-switch>` 是现成的用户动效开关。
|
|
295
298
|
- 所有元素遵循同一份[组件契约](./docs/component-contract.md)(键盘、焦点、事件、生命周期、减少动态效果),由 CI 中的 `npm run check:contract` 强制执行。
|
|
296
299
|
- 更多:[docs/accessibility.md](./docs/accessibility.md)。
|
|
297
300
|
|
|
@@ -300,7 +303,7 @@ AI 助手与 provider(`motionary/studio/ai`、`motionary/ai*`)、MCP 服务
|
|
|
300
303
|
每个入口在 [`size-budget.json`](./size-budget.json) 中都有固定的 gzip 预算(共 401 项)。任何入口超出预算,CI 就会失败,预算也从不自动上调。
|
|
301
304
|
|
|
302
305
|
<!-- size-table:start -->
|
|
303
|
-
17.
|
|
306
|
+
17.3.0 构建的实测值(minify + gzip),由 `scripts/size.mjs --report` 生成:
|
|
304
307
|
|
|
305
308
|
| 导入内容 | gzip | 上限 |
|
|
306
309
|
|---|---:|---:|
|
|
@@ -312,9 +315,9 @@ AI 助手与 provider(`motionary/studio/ai`、`motionary/ai*`)、MCP 服务
|
|
|
312
315
|
| `motionary/presets/extended`(181 个预设) | 4.69 KB | 5.25 KB |
|
|
313
316
|
| `motionary/runtime`(运行时核心) | 5.42 KB | 5.50 KB |
|
|
314
317
|
| `motionary/components/reveal` | 4.47 KB | 5.00 KB |
|
|
315
|
-
| `motionary/components/lite`(全部元素,CSS 按需) |
|
|
316
|
-
| `motionary/components`(全部元素 + CSS) | 86.
|
|
317
|
-
| `dist/components.umd.js`(CDN,全部) | 110.
|
|
318
|
+
| `motionary/components/lite`(全部元素,CSS 按需) | 70.29 KB | 79.00 KB |
|
|
319
|
+
| `motionary/components`(全部元素 + CSS) | 86.72 KB | 93.75 KB |
|
|
320
|
+
| `dist/components.umd.js`(CDN,全部) | 110.11 KB | 115.75 KB |
|
|
318
321
|
<!-- size-table:end -->
|
|
319
322
|
|
|
320
323
|
默认不监听 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)。
|
|
@@ -342,7 +345,7 @@ npx usa-codemod-13 --write # 一并改写,并把固定在 @10 / @11 / @12
|
|
|
342
345
|
|
|
343
346
|
## 版本与兼容性
|
|
344
347
|
|
|
345
|
-
- **npm dist-tags:** `latest` 指向当前大版本的最新版本(<!--ver:version-->17.
|
|
348
|
+
- **npm dist-tags:** `latest` 指向当前大版本的最新版本(<!--ver:version-->17.3.0<!--/ver-->;从 14.1 起次版本也会移动它)。每个次版本另有自己的标签 `v<major>-<minor>`(例如 `v15-0`),`v15-line` 跟随 15.x,`v14-lts` 为 14.9.x。`motionary` 与 `use-scroll-animate` 总是以相同版本一起发布。
|
|
346
349
|
- **CDN:** URL 固定到大版本(`motionary@<!--ver:major-->17<!--/ver-->`);固定到具体版本(`motionary@12.4.0`)的链接也继续可用。
|
|
347
350
|
- **语义化版本:** 破坏性变更只出现在大版本,每次都附带升级指南和 codemod。弃用的内容会保留到下一个大版本,期间类型标记为 `@deprecated`,运行时不输出警告。
|
|
348
351
|
- **各版本包含什么:** 每个组件和运行时模块的 `since` / `changed`([docs/version-compat.md](./docs/version-compat.md)),以及逐项功能支持([docs/compat-matrix.md](./docs/compat-matrix.md))。
|