-
-
Notifications
You must be signed in to change notification settings - Fork 48.9k
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
ConfigProvider support prefixCls #13389
Conversation
Deploy preview for ant-design ready! Built with commit 0bc93a3 |
Codecov Report
@@ Coverage Diff @@
## feature #13389 +/- ##
===========================================
- Coverage 92.78% 92.55% -0.24%
===========================================
Files 222 222
Lines 5810 5830 +20
Branches 1680 1681 +1
===========================================
+ Hits 5391 5396 +5
- Misses 412 429 +17
+ Partials 7 5 -2
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## feature #13389 +/- ##
===========================================
+ Coverage 92.78% 93.21% +0.42%
===========================================
Files 222 221 -1
Lines 5810 6070 +260
Branches 1680 1672 -8
===========================================
+ Hits 5391 5658 +267
+ Misses 414 407 -7
Partials 5 5
Continue to review full report at Codecov.
|
写的 👁 都要弹出来了,文件很多,大家直接看看预览对现有的样式有没有影响。没有就合了,以后有 ConfigProvider 的 issue 再单独处理。 |
貌似没啥问题。 |
review 的眼睛也很疼 |
这么多提交,要 squash 么? |
嗯,会 squash 掉。改动文件比较多,尽快合进去,免得一直要处理冲突。 |
do not merge
Note
this.prefixCls
to save current renderedprefixCls
.Divider
prefix isant
. Change toant-divider
to keep all the prefixCls same pattern.Menu
passrootPrefixCls
in MenuItem & SubMenu. Use ConfigProvider also.Not change
Dropdown.Button
originprefixCls
not change button under groupprefixCls
.Notification.xxx
don't have context.Message.xxx
don't have context.Modal.xxx
don't have context.UploadList
ofUpload
not change prefixCls whenprefixCls
set.