chromaui / storybook-addon-pseudo-states

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

Support `:host-context()` selector #118

Closed m-akinc closed 4 months ago

m-akinc commented 4 months ago

:host-context() works like :host() except that it selects based on the host element's ancestors. So in replacePseudoStatesWithAncestorSelector, if :host-context() is part of the selector, we append the class selectors to it instead of prepending a :host() selector with them.

m-akinc commented 4 months ago

@ghengeveld I think after this goes in, it's release time. 🚀

github-actions[bot] commented 4 months ago

:rocket: PR was released in v3.1.0 :rocket: