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

fix: Compatible with v4 logic #47612

Merged
merged 1 commit into from Feb 27, 2024
Merged

fix: Compatible with v4 logic #47612

merged 1 commit into from Feb 27, 2024

Conversation

zombieJ
Copy link
Member

@zombieJ zombieJ commented Feb 27, 2024

[中文版模板 / Chinese template]

🤔 This is a ...

  • New feature
  • Bug fix
  • Site / documentation update
  • Demo update
  • Component style update
  • TypeScript definition update
  • Bundle size optimization
  • Performance optimization
  • Enhancement feature
  • Internationalization
  • Refactoring
  • Code style optimization
  • Test Case
  • Branch merge
  • Workflow
  • Other (about what?)

🔗 Related issue link

resolve #47605

💡 Background and solution

📝 Changelog

Language Changelog
🇺🇸 English Button compatible with v4 type='' case to show as default type.
🇨🇳 Chinese Button 兼容 v4 type='' 的表现,默认为 default 类型。

☑️ Self-Check before Merge

⚠️ Please check all items below before requesting a reviewing. ⚠️

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Changelog is provided or not needed

Copy link

stackblitz bot commented Feb 27, 2024

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

Copy link
Contributor

github-actions bot commented Feb 27, 2024

Preview is ready

Copy link
Contributor

github-actions bot commented Feb 27, 2024

👁 Visual Regression Report for PR #47612 Passed ✅

🎯 Target branch: master (72ee451)
📖 View Full Report ↗︎

🎊 Congrats! No visual-regression diff found.

Copy link
Contributor

size-limit report 📦

Path Size
./dist/antd.min.js 333.86 KB (+306 B 🔺)
./dist/antd-with-locales.min.js 379.37 KB (-336 B 🔽)

Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Copy link

codecov bot commented Feb 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (dd0104f) to head (0336cb8).
Report is 76 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##            master    #47612    +/-   ##
==========================================
  Coverage   100.00%   100.00%            
==========================================
  Files          734       736     +2     
  Lines        12590     13011   +421     
  Branches      3295      3498   +203     
==========================================
+ Hits         12590     13011   +421     

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

@zombieJ zombieJ merged commit 01f923e into master Feb 27, 2024
111 checks passed
@zombieJ zombieJ deleted the compatible-btn branch February 27, 2024 11:11
Copy link
Contributor

🎉 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 链接)。

tanzhenyun pushed a commit to DraculaPrince/mark15 that referenced this pull request Mar 29, 2024
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.

antd 4 -> 5 之后按钮组件的类型属性值为空字符串时表现效果变了
3 participants