style-elements
style-elements copied to clipboard
style-elements 5.0.0 misses function to make unguarded option
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?
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!