styleguidekit-assets-default icon indicating copy to clipboard operation
styleguidekit-assets-default copied to clipboard

Patterns with styleModifiers not showing up in lineage

Open bradfrost opened this issue 9 years ago • 3 comments

When patterns are included using a styleModifier, the included pattern no longer appears in the lineage.

{{> atoms-square }} without any styleModifier shows up correctly:

pattern lab - molecules-media-block

But {{> atoms-square:c-block-media__img }} doesn't display in the lineage: pattern lab - molecules-media-block

I also tested including pattern parameters, and those behave normally.

bradfrost avatar Aug 10 '16 15:08 bradfrost

Will look into this tonight.

dmolsen avatar Aug 10 '16 15:08 dmolsen

I can confirm this is working properly in PL Node. Will check on PHP in a bit.

bradfrost avatar Oct 09 '17 21:10 bradfrost

I can reproduce this bug in PL PHP using the Mustache engine. Not sure the scope of the bug (is it all PHP? Just Mustache? Something else?) but I trust @EvanLovely can better answer that.

bradfrost avatar Oct 09 '17 22:10 bradfrost