-
-
Notifications
You must be signed in to change notification settings - Fork 927
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
perf(styles): simplify compound selectors over 4 levels #2282
Conversation
This pull request is being automatically deployed with Vercel (learn more). rsuite-v4 – ./docs🔍 Inspect: https://vercel.com/rsuite/rsuite-v4/3mPLp4sE3goGaPCj4CHoh2jpYaEo [Deployment for 616e949 canceled] rsuite-nextjs – ./docs🔍 Inspect: https://vercel.com/rsuite/rsuite-nextjs/BMRozXQVF5nrpkckJrjmR4G2p2ve |
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 616e949:
|
Codecov Report
@@ Coverage Diff @@
## main #2282 +/- ##
==========================================
+ Coverage 85.67% 85.69% +0.01%
==========================================
Files 274 274
Lines 8578 8576 -2
Branches 2381 2379 -2
==========================================
Hits 7349 7349
Misses 666 666
+ Partials 563 561 -2
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
6c86678
to
60ca9d6
Compare
60ca9d6
to
f5073a9
Compare
c11338e
to
a5d240c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
已修复 |
Simplify over-complex compound selectors
Related components
Changed selectors
.rs-check-tree-without-children .rs-check-tree-node-label .rs-check-item .rs-checkbox-checker > label .rs-checkbox-wrapper
.rs-check-tree-without-children .rs-check-item .rs-checkbox-checker .rs-checkbox-wrapper
.rs-check-tree-node-all-uncheckable > .rs-check-tree-node-label .rs-check-item .rs-checkbox-checker > label
.rs-check-tree-node-all-uncheckable > .rs-check-item . rs-checkbox-checker > label
.rs-tree-node>.rs-tree-node-label>.rs-tree-node-label-content
.rs-tree-node-label-content
.rs-tree-node.rs-tree-node-active>.rs-tree-node-label>.rs-tree-node-label-content
.rs-tree-node-active .rs-tree-node-label-content
.rs-picker-input.rs-picker-tag .rs-picker-toggle.rs-btn~.rs-picker-tag-wrapper .rs-picker-search-input input
.rs-picker-toggle.rs-btn ~ .rs-picker-tag-wrapper .rs-picker-search-input input
.rs-sidenav-collapse-in .rs-dropdown-item-submenu>.rs-dropdown-item-toggle>.rs-dropdown-item-toggle-icon
.rs-sidenav-nav > .rs-dropdown .rs-dropdown-item-toggle-icon
.rs-sidenav-collapse-in .rs-dropdown .rs-dropdown-item.rs-dropdown-item-expand > .rs-dropdown-item-toggle > .rs-dropdown-item-toggle-icon
.rs-sidenav-nav > .rs-dropdown .rs-dropdown-item-expand .rs-dropdown-item-toggle-icon