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
refactor: Drawer styles properties #46858
Conversation
Run & review this pull request in StackBlitz Codeflow. |
Visual Regression Report for PR #46858 Failed ❌
Check Full Report for details |
New dependencies detected. Learn more about Socket for GitHub ↗︎
|
size-limit report 📦
|
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. Latest deployment of this branch, based on commit 5ae5967:
|
footer 样式有问题,待查 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## feature #46858 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 731 731
Lines 12543 12543
Branches 3282 3282
=========================================
Hits 12543 12543 ☔ View full report in Codecov by Sentry. |
现在的 diff 符合预期了。 |
[中文版模板 / Chinese template]
🤔 This is a ...
🔗 Related issue link
💡 Background and solution
https://preview-46858-ant-design.surge.sh/components/drawer 可以帮忙点点看有没有兼容问题。
已废弃:
新用法:
📝 Changelog
styles.wrapper
and deprecatedcontentWrapperStyle
drawerStyle
maskStyle
props, simplify dom structure by removing.ant-drawer-wrapper-body
.styles.wrapper
并废弃contentWrapperStyle
drawerStyle
maskStyle
属性,并简化移除.ant-drawer-wrapper-body
这一层 dom 结构。☑️ Self-Check before Merge