storybook-addon-pseudo-states
storybook-addon-pseudo-states copied to clipboard
Pseudo classes are generated when pseudo is excluded
When a pseudo selector is used in an exclusion, i.e. :not(:hover)
, it should not be used to generate a pseudo state class.
We've seen this in various rules:
:not(:hover) { ... }
foo > bar :not(:hover) { ... }
foo > bar :not(item:hover) { ... }
The regex to match those pseudo's should be improved to avoid the excluded pseudo's.