ant-design / ant-design

An enterprise-class UI design language and React UI library
https://ant.design
MIT License
93.72k stars 51.17k forks source link

docs: update Modal mousePosition docs #52612

Closed li-jia-nan closed 2 weeks ago

li-jia-nan commented 2 weeks ago

中文版模板 / Chinese template

🤔 This is a ...

🔗 Related Issues

  • Describe the source of related requirements, such as links to relevant issue discussions.
  • For example: close #xxxx, fix #xxxx

💡 Background and Solution

  • The specific problem to be addressed.
  • List the final API implementation and usage if needed.
  • If there are UI/interaction changes, consider providing screenshots or GIFs.

📝 Change Log

Language Changelog
🇺🇸 English -
🇨🇳 Chinese -
stackblitz[bot] commented 2 weeks ago

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

github-actions[bot] commented 2 weeks ago

👁 Visual Regression Report for PR #52612 Failed ❌

🎯 Target branch: master (2de4cb20ac25745a7d84a133a3fed0e0ecbf7f23) 📖 View Full Report ↗︎ 📊 Summary: 🔄 1 changed

Expected (Branch master) Actual (Current PR) Diff
input-group.compact.png input-group.compact.png input-group.compact.css-var.png input-group.compact.css-var.png

[!IMPORTANT] There are 1 diffs found in this PR: 🔄 1 changed. Please check all items:

  • [x] Visual diff is acceptable
github-actions[bot] commented 2 weeks ago

Preview is ready

petercat-assistant[bot] commented 2 weeks ago

Walkthrough

This pull request updates the documentation for the Modal component in both English and Chinese. It introduces a new property mousePosition to set the animation position of the Modal, providing a default value based on the event's page coordinates.

Changes

Files Summary
components/modal/index.en-US.md Added documentation for the mousePosition property to set the animation position of the Modal.
components/modal/index.zh-CN.md Added documentation for the mousePosition property to set the animation position of the Modal in Chinese.
github-actions[bot] commented 2 weeks ago

size-limit report 📦

Path Size
dist/antd.min.js 441.71 KB
dist/antd-with-locales.min.js 509.91 KB
pkg-pr-new[bot] commented 2 weeks ago

Open in Stackblitz

More templates

- [farm-normal](https://pkg.pr.new/template/9f4985d1-3815-4032-8871-ac224777bf49) - [umi-normal](https://pkg.pr.new/template/40973c9b-8496-44e7-9ef5-f8f4660bf284) - [rsbuild-normal](https://pkg.pr.new/template/398f1f89-d626-45ae-a763-d01ec903cf90) - [vite-normal](https://pkg.pr.new/template/39130b6d-53d3-48f9-9f28-131195a39ad8) - [vite-practice](https://pkg.pr.new/template/99ba0f0a-5add-4f61-9a9b-4fdfb4b45b30) - [with-nextjs-app-router-inline-style](https://pkg.pr.new/template/d9a43b46-049a-4136-9901-ce366df1b309) - [with-nextjs-extract-style](https://pkg.pr.new/template/ccfb0be8-57b8-44f0-ae18-28ee9189e508) - [with-nextjs-inline-style](https://pkg.pr.new/template/607058b7-e5b7-41f3-bf05-eb5979d12707) - [with-nextjs-generate-css-on-demand](https://pkg.pr.new/template/57fa450e-4756-48c8-954a-a23aba550c6c)

npm i https://pkg.pr.new/ant-design/ant-design/antd@52612

commit: ee891ed

cloudflare-workers-and-pages[bot] commented 2 weeks ago

Deploying ant-design with  Cloudflare Pages  Cloudflare Pages

Latest commit: ee891ed
Status:🚫  Build failed.

View logs

codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (2de4cb2) to head (ee891ed).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #52612 +/- ## =========================================== Coverage 100.00% 100.00% =========================================== Files 769 763 -6 Lines 15086 13780 -1306 Branches 4138 3609 -529 =========================================== - Hits 15086 13780 -1306 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.