style-elements icon indicating copy to clipboard operation
style-elements copied to clipboard

style-elements 5.0.0 misses function to make unguarded option

Open JDemler opened this issue 7 years ago • 1 comments

The new style-elements still allows Style.styleSheetWith to be called with a list of options.

The only way to make an option though was Style.unguarded. This function was commented out, but the code around it stayed the same. code

Is this an intentional change? How can I achieve unguarded styles in 5.0.0?

JDemler avatar Aug 30 '18 13:08 JDemler

Unguarded styles became very tricky to implement in 0.19 because toString can't be used in a package or code compiled with --optimize.

So, I removed it when doing the upgrade, but I forgot that it was the only option for styleSheetWith!

mdgriffith avatar Aug 30 '18 14:08 mdgriffith