Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
The
isInline
prop is currently broken forText
components.Inline seems to be some sort of reserved word in
stage 2
ofpostcss-preset-env
. That's as far as my investigation got. If you switch to stage 3, then this doesn't happen. However, this doesn't happen in our webpack build, only in our rollup build.when we build ui-kit with webpack (for storybook), it takes the following css
and it turns it into something like this
when we build ui-kit with webpack (for production), it takes the following css
and it turns it into something like this
It must be some sort of reserved word or something. I don't think it's worth further investigation.
Approach
Rename css class to
text-inline
.