chromaui / storybook-addon-pseudo-states

CSS pseudo-classes for Storybook
MIT License
88 stars 28 forks source link

fix: only generate pseudo selector when the selector has a match #30

Closed tobi-or-not-tobi closed 2 years ago

tobi-or-not-tobi commented 2 years ago

With this change, a pseudo state selector is no longer generated for each selector inside a group. Previously, if there was a single match from a group, all selectors from the group would result in a generated pseudo state class. This would cause errors since incorrect CSS was generated.

fixes #29

github-actions[bot] commented 2 years ago

:rocket: PR was released in v1.14.0 :rocket: