Skip to content

Conversation

kiner-tang
Copy link
Member

中文版模板 / Chinese template

🤔 This is a ...

  • 🆕 New feature
  • 🐞 Bug fix
  • 📝 Site / documentation improvement
  • 📽️ Demo improvement
  • 💄 Component style improvement
  • 🤖 TypeScript definition improvement
  • 📦 Bundle size optimization
  • ⚡️ Performance optimization
  • ⭐️ Feature enhancement
  • 🌐 Internationalization
  • 🛠 Refactoring
  • 🎨 Code style optimization
  • ✅ Test Case
  • 🔀 Branch merge
  • ⏩ Workflow
  • ❓ Other (about what?)

🔗 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 Retire deprecated api for AutoComplete
🇨🇳 Chinese AutoComplete 废弃 api 退休

Copy link

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

Copy link
Contributor

github-actions bot commented Jan 1, 2025

Preview is ready

Copy link
Contributor

github-actions bot commented Jan 1, 2025

👁 Visual Regression Report for PR #52198 Passed ✅

🎯 Target branch: next (a8a7f31)
📖 View Full Report ↗︎

🎊 Congrats! No visual-regression diff found.

Copy link

Walkthrough

This pull request removes deprecated APIs related to the AutoComplete component in the Ant Design library. Specifically, it retires the dropdownClassName property in favor of popupClassName, and updates the associated tests and component logic accordingly.

Changes

File Summary
components/auto-complete/tests/index.test.tsx Removed tests related to the deprecated dropdownClassName property.
components/auto-complete/index.tsx Removed the dropdownClassName property and its usage in favor of popupClassName. Updated component logic to reflect this change.

@@ -135,9 +124,9 @@ const AutoComplete: React.ForwardRefRenderFunction<RefSelectProps, AutoCompleteP
<Select

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The removal of dropdownClassName in favor of popupClassName is a breaking change. Ensure that all dependent code and documentation are updated accordingly to prevent any unexpected behavior.

Copy link
Contributor

github-actions bot commented Jan 1, 2025

size-limit report 📦

Path Size
dist/antd.min.js 442.37 KB (-13 B 🔽)
dist/antd-with-locales.min.js 510.46 KB (-13 B 🔽)

Copy link

pkg-pr-new bot commented Jan 1, 2025

Copy link

Deploying ant-design with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7a44c37
Status: ✅  Deploy successful!
Preview URL: https://50660d4c.ant-design.pages.dev
Branch Preview URL: https://v6-kiner-retire-deprecated-a.ant-design.pages.dev

View logs

Copy link

codecov bot commented Jan 1, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (a8a7f31) to head (7a44c37).
Report is 4 commits behind head on next.

Additional details and impacted files
@@            Coverage Diff            @@
##              next    #52198   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          763       763           
  Lines        13650     13648    -2     
  Branches      3563      3562    -1     
=========================================
- Hits         13650     13648    -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@zombieJ zombieJ merged commit 8e8f4e7 into next Jan 2, 2025
46 checks passed
@zombieJ zombieJ deleted the v6-kiner-retire-deprecated-api-auto-complete branch January 2, 2025 03:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants