-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Convert :not pseudo-class selector list to chained
#9561
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
Conversation
| } | ||
| } | ||
|
|
||
| &:not(.hasBulkActions, .selectMode) { |
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.
Note: This PR updates a mainline :not psuedo-class (e.g. not beta-flagged) (Screenshot in PR description)
|
/snapit |
…t-selector-lists
|
/snapit |
|
🫰✨ Thanks @aaronccasanova! Your snapshots have been published to npm. Test the snapshots by updating your yarn add @shopify/polaris-cli@0.0.0-snapshot-release-20230629184630yarn add @shopify/polaris@0.0.0-snapshot-release-20230629184630 |
chloerice
left a comment
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.
Thank you so much for flagging and fixing this Aaron!!
sam-b-rose
left a comment
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.
I do:not:not approve this PR 👍 💯 nice work catching this
| } | ||
|
|
||
| #{$se23} &:not(.focused, .isDisabled) { | ||
| #{$se23} &:not(.focused):not(.isDisabled) { |
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.
Tophat of the ProductDetails DropZone looks good 💯
| } | ||
|
|
||
| &:not(.hasBulkActions, .selectMode) { | ||
| &:not(.hasBulkActions):not(.selectMode) { |
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.
Tophat of ProductDetails OptionsAndVariantsCard with multi-location looks good 👍🏽
|
Thanks for the tophatting assistance @chloerice ❤️ |
|
|
||
| #{$se23} &:hover, | ||
| #{$se23} &:focus:not(:active, .pressed, .disabled) { | ||
| #{$se23} &:focus:not(:active):not(.pressed):not(.disabled) { |
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.
Tophat of AppIndexResourceListItem looks good 🥇
Continuation of PR# 9556 applying the quick fix to all
:notpsuedo-classes with a selector list.Non-exhaustive pattern to find

:notpsuedo-classes with a selector list: