linkedin / css-blocks

High performance, maintainable stylesheets.
http://css-blocks.com/
BSD 2-Clause "Simplified" License
6.33k stars 152 forks source link

Ember splat attributes support #392

Open chriseppstein opened 4 years ago

chriseppstein commented 4 years ago

The rewriter will put the class attribute on the component invocation side, if the component is a css-blocks component, we should merge the invocations that have block styles with that component's analysis so conflict detection and declaration optimization work correctly.

chriseppstein commented 4 years ago

Note: that block styles cannot straddle the splat. they must all be on one side or the other. The rewriter should ensure the rewritten class attribute is on the same side as those.

chriseppstein commented 3 years ago

Also: Block styles after the splat seem to be ignored.