wix / stylable

Stylable - CSS for components
https://stylable.io
MIT License
1.27k stars 62 forks source link

chore!: deprecate resolveExtends of custom-selector #2911

Closed idoros closed 1 year ago

idoros commented 1 year ago

This PR removes the optional transformer argument from resolver.resolveExtends function.

Passing the transformer argument currently instructs the resolver to first seek a custom selector before inspecting the stylesheet meta for a class and then determining its type accordingly.

There are several reasons for removing this API:

In the future, there may be a need for a similar method to resolve such issues, and we anticipate reintroducing similar functionality when it becomes necessary.