Skip to content

Conversation

@aaronccasanova
Copy link
Member

Continuation of PR# 9556 applying the quick fix to all :not psuedo-classes with a selector list.

Non-exhaustive pattern to find :not psuedo-classes with a selector list:
image

Before After
Screenshot 2023-06-28 at 2 23 07 PM Screenshot 2023-06-28 at 2 26 13 PM
Before After
Screenshot 2023-06-28 at 2 32 06 PM Screenshot 2023-06-28 at 2 30 37 PM
Before After
Screenshot 2023-06-28 at 2 34 29 PM Screenshot 2023-06-28 at 2 36 17 PM

@aaronccasanova aaronccasanova self-assigned this Jun 28, 2023
@aaronccasanova aaronccasanova added the 🤖Skip Changelog Causes CI to ignore changelog update check. label Jun 28, 2023
}
}

&:not(.hasBulkActions, .selectMode) {
Copy link
Member Author

@aaronccasanova aaronccasanova Jun 28, 2023

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)

@aaronccasanova aaronccasanova added the 🤖Skip Comment Check Skip the migrator comment CI check label Jun 28, 2023
@aaronccasanova
Copy link
Member Author

/snapit

@aaronccasanova
Copy link
Member Author

/snapit

@github-actions
Copy link
Contributor

🫰✨ Thanks @aaronccasanova! Your snapshots have been published to npm.

Test the snapshots by updating your package.json with the newly published versions:

yarn add @shopify/polaris-cli@0.0.0-snapshot-release-20230629184630
yarn add @shopify/polaris@0.0.0-snapshot-release-20230629184630

Copy link
Member

@chloerice chloerice left a 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!!

Copy link
Member

@sam-b-rose sam-b-rose left a 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) {
Copy link
Member

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 💯

Screenshot 2023-06-29 at 4 52 35 PM

}

&:not(.hasBulkActions, .selectMode) {
&:not(.hasBulkActions):not(.selectMode) {
Copy link
Member

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 👍🏽

Screenshot 2023-06-29 at 6 47 24 PM

@aaronccasanova
Copy link
Member Author

Thanks for the tophatting assistance @chloerice ❤️

@aaronccasanova aaronccasanova merged commit f03a84a into main Jun 29, 2023
@aaronccasanova aaronccasanova deleted the fix-not-selector-lists branch June 29, 2023 23:02

#{$se23} &:hover,
#{$se23} &:focus:not(:active, .pressed, .disabled) {
#{$se23} &:focus:not(:active):not(.pressed):not(.disabled) {
Copy link
Member

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 🥇

Screenshot 2023-06-29 at 6 57 18 PM

juzser pushed a commit to juzser/polaris that referenced this pull request Jul 27, 2023
AnnaCheba pushed a commit to AnnaCheba/polaris that referenced this pull request Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🤖Skip Changelog Causes CI to ignore changelog update check. 🤖Skip Comment Check Skip the migrator comment CI check

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants