-
Notifications
You must be signed in to change notification settings - Fork 844
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
[EuiHorizontalRule] convert horizontal rule to emotion #5815
[EuiHorizontalRule] convert horizontal rule to emotion #5815
Conversation
component | ||
.find('EuiButtonIcon.euiMarkdownEditorFooter__helpButton') | ||
.simulate('click'); | ||
|
||
expect(component).toMatchSnapshot(); | ||
expect(component.find('EuiModal').length).toBe(1); |
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.
Preview documentation changes for this PR: https://eui.elastic.co/pr_5815/ |
Co-authored-by: Constance <[email protected]>
Preview documentation changes for this PR: https://eui.elastic.co/pr_5815/ |
Co-authored-by: Caroline Horn <[email protected]>
Co-authored-by: Caroline Horn <[email protected]>
Co-authored-by: Caroline Horn <[email protected]>
Co-authored-by: Caroline Horn <[email protected]>
Preview documentation changes for this PR: https://eui.elastic.co/pr_5815/ |
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.
Wahoo!
Summary
Converts EuiHorizontalRule to Emotion. diff'd full-page screen shots with no difference.
This required updating a markdown editor test to check for an element existence instead of taking a full snapshot.
Things to look out for when moving styles
- [ ] Anything in the backlog that could be a quick fix for that component?- [ ] Convert component-specific Sass vars to exported JS versions-inline
and-block
(Logical properties)- [ ] Usegap
property to add margin between items if using flex- [ ] Can any still existing.js
files be converted to TS?QA
className
,css
, andstyle
props work properly when passed by the consumerChecklist
- [ ] Props have proper autodocs and playground toggles- [ ] Added documentation- [ ] Checked Code Sandbox works for any docs examples- [ ] Added or updated jest and cypress tests- [ ] Checked for accessibility including keyboard-only and screenreader modes- [ ] Updated the Figma library counterpart