Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: [v6] Retire deprecated api for cascader #52203

Merged
merged 1 commit into from
Jan 2, 2025

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 cascader
🇨🇳 Chinese Cascader 废弃 api 退休

Copy link

stackblitz bot commented Jan 1, 2025

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

Walkthrough

This pull request removes the deprecated dropdownClassName API from the Cascader component, replacing it with popupClassName. The changes involve updating the component's implementation and removing related test cases.

Changes

Files Summary
components/cascader/tests/index.test.tsx Removed test case for deprecated dropdownClassName.
components/cascader/index.tsx Removed dropdownClassName property and related logic, updated to use popupClassName.

Copy link
Contributor

github-actions bot commented Jan 1, 2025

👁 Visual Regression Report for PR #52203 Passed ✅

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

🎊 Congrats! No visual-regression diff found.

Copy link
Contributor

github-actions bot commented Jan 1, 2025

size-limit report 📦

Path Size
dist/antd.min.js 442.37 KB (-8 B 🔽)
dist/antd-with-locales.min.js 510.47 KB (-10 B 🔽)

Copy link

pkg-pr-new bot commented Jan 1, 2025

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 (564598d).
Report is 2 commits behind head on next.

Additional details and impacted files
@@            Coverage Diff            @@
##              next    #52203   +/-   ##
=========================================
  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.

Copy link

Deploying ant-design with  Cloudflare Pages  Cloudflare Pages

Latest commit: 564598d
Status: ✅  Deploy successful!
Preview URL: https://e6a022dd.ant-design.pages.dev
Branch Preview URL: https://v6-kiner-retire-deprecated-a-ihhi.ant-design.pages.dev

View logs

@zombieJ zombieJ merged commit ed76bc7 into next Jan 2, 2025
46 checks passed
@zombieJ zombieJ deleted the v6-kiner-retire-deprecated-api-cascader branch January 2, 2025 03:10
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