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 index.en-US.md #52614

Closed Muhammad-Taif-Khan closed 2 weeks ago

Muhammad-Taif-Khan commented 2 weeks ago

Fixed misleading description of Input.Search enterButton prop

中文版模板 / Chinese template

🤔 This is a ...

🔗 Related Issues

  • Fix #52603

💡 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

  • Fixed misleading description of Input.Search enterButton prop #52603
Language Changelog
🇺🇸 English Fix the misleading description of the Input.Search enterButton prop to clarify its behavior and interaction with other properties.
🇨🇳 Chinese 修复 Input.Search enterButton 属性的误导性描述,以阐明其行为以及与其他属性的交互。
github-actions[bot] commented 2 weeks ago

Preview is ready

github-actions[bot] commented 2 weeks ago

👁 Visual Regression Report for PR #52614 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:

  • [ ] Visual diff is acceptable
petercat-assistant[bot] commented 2 weeks ago

Walkthrough

This pull request updates the documentation for the Input.Search component in the Ant Design library. The change clarifies the behavior of the enterButton prop, explaining how it affects the button's appearance and its interaction with the addonAfter property.

Changes

File Summary
components/input/index.en-US.md Updated the description of the enterButton prop to clarify its behavior and interaction with other properties.
pkg-pr-new[bot] commented 2 weeks ago

Open in Stackblitz

More templates

- [farm-normal](https://pkg.pr.new/template/506360fc-0dbc-49a3-b138-c6cecd6470d5) - [rsbuild-normal](https://pkg.pr.new/template/d0e34e2b-a41d-4159-a79e-babeea446223) - [vite-normal](https://pkg.pr.new/template/8469193a-7f27-4ea1-989f-43d297012893) - [vite-practice](https://pkg.pr.new/template/82975154-4b62-4ab5-927b-1c2a21fd2f75) - [umi-normal](https://pkg.pr.new/template/a774b6a2-f5f7-4130-9557-a119b5640e46) - [with-nextjs-app-router-inline-style](https://pkg.pr.new/template/090a92d3-4939-4150-9f05-dcaef8f45b0d) - [with-nextjs-extract-style](https://pkg.pr.new/template/962eddf5-d6f9-4603-9f56-9610abc0ae6b) - [with-nextjs-generate-css-on-demand](https://pkg.pr.new/template/59947bd8-892d-4317-a17f-36b4d42a7d79) - [with-nextjs-inline-style](https://pkg.pr.new/template/72cb20aa-910b-41ab-9dd5-63a1e4b583ae)

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

commit: 4edd139

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 (4edd139). Report is 1 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #52614 +/- ## =========================================== 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.

github-actions[bot] commented 2 weeks ago

🎉 Thank you for your contribution! If you have not yet joined our DingTalk community group, please feel free to join us (when joining, please provide the link to this PR).

🎉 感谢您的贡献!如果您还没有加入钉钉社区群,请扫描下方二维码加入我们(加群时请提供此 PR 链接)。

rakleed commented 2 weeks ago

@afc163 I guess you also need to update Chinese docs: https://github.com/ant-design/ant-design/blob/a10d54e7461d3b66eb3ff7d84c8134dfaaefbfb4/components/input/index.zh-CN.md?plain=1#L113