-
Notifications
You must be signed in to change notification settings - Fork 353
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
fix(inline-styles): remove inject and Stylesheet.parse inline references #2653
Conversation
PatternFly-React preview: https://patternfly-react-pr-2653.surge.sh |
cwd: srcDir | ||
}); | ||
|
||
files.forEach(file => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm concerned about adding any support for inline/required css directly to react-core. Maybe we can consider the use of CSS directly an antipattern and make sure we don't make it easy for people to do. For now, can we put this CSS directly into react-styles instead so we don't add the ability for direct inclusion through react-core?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, will try changing this to something more like:
import '@patternfly/react-styles/css/components/Tooltip/popover-base-styles.css';
as a next step...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated! PTAL @dgutride
5da69d5
to
d363290
Compare
d363290
to
43bcfed
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love it - nice job!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Your changes have been released in:
Thanks for your contribution! 🎉 |
What:
Closes #2606
cc: @redallen
Additional issues: