Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support dynamic values (JIT) & add tests #60

Merged
merged 3 commits into from
Oct 31, 2022

Conversation

vltansky
Copy link
Contributor

@vltansky vltansky commented Oct 26, 2022

closes #53 #51

Comment on lines +8 to +10
'[dir="left"] &': {
left: value,
},

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be [dir="ltr"]?

Comment on lines +16 to +18
'[dir="left"] &': {
right: value,
},

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be [dir="ltr"] as well.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this suggestion wasn't fixed? It needs to be ltr instead of left.

"ms-[JIT_VALUE]": `.ms-\\[JIT_VALUE\\] { margin-inline-start: JIT VALUE }`,
"me-[JIT_VALUE]": `.me-\\[JIT_VALUE\\] { margin-inline-end: JIT VALUE }`,
"start-[JIT_VALUE]": `[dir="rtl"] .start-\\[JIT_VALUE\\] { right: JIT VALUE }
[dir="left"] .start-\\[JIT_VALUE\\] { left: JIT VALUE }`,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[dir="ltr"]

"start-[JIT_VALUE]": `[dir="rtl"] .start-\\[JIT_VALUE\\] { right: JIT VALUE }
[dir="left"] .start-\\[JIT_VALUE\\] { left: JIT VALUE }`,
"end-[JIT_VALUE]": `[dir="rtl"] .end-\\[JIT_VALUE\\] { left: JIT VALUE }
[dir="left"] .end-\\[JIT_VALUE\\] { right: JIT VALUE }`,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[dir="ltr"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Negative values not being generated
4 participants