Skip to content
This repository has been archived by the owner on Feb 9, 2023. It is now read-only.

Fix computed property name in Object Styles #53

Closed
wants to merge 4 commits into from

Conversation

occar421
Copy link

Which issue, if any, is this issue related to?

Closes #36.

Is there anything in the PR that needs further explanation?

  • Add new tests for glamourous & emotion fixtures with Object Styles(Style Objects)
  • Add special case for ComputedPropertyName to save prefix/postfix info

Actually, the result goes wrong when the property key looks like [Identifier].
The keys such as [`${Identifier} > span`] and "&:before" have been parsed correctly already (tested in glamorous test fixture).

@tpict
Copy link

tpict commented Sep 25, 2020

Thanks so much for this!

@mattxwang
Copy link
Member

Oops looks like we've dropped the ball on merging this PR - @stylelint/css-in-js I'm not as familiar with the codebase, any thoughts?

@jeddy3
Copy link
Member

jeddy3 commented Feb 4, 2021

There's an investigative piece going on around updating to PostCSS 8. It might be that this pull request needs to wait until after that.

@jeddy3 jeddy3 closed this Feb 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
4 participants