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

Add returnKey glyph to EuiIcon #3783

Merged
merged 9 commits into from
Jul 23, 2020
Merged

Conversation

elizabetdev
Copy link
Contributor

@elizabetdev elizabetdev commented Jul 22, 2020

Summary

This PR adds a returnKey glyph to EuiIcon. The icon is a requirement for #3782. The main idea is to use it inside a badge to indicate users that they can press an enter key to perform an action.

Design

Screenshot 2020-07-22 at 19 27 56

Dark and light themes

return-key-icon@2x

Icon being used in a badge

combo@2x

Checklist

  • Check against all themes for compatibility in both light and dark modes
  • [ ] Checked in mobile
  • Checked in IE11 and Firefox
  • [ ] Props have proper autodocs
  • [ ] Added documentation
  • [ ] Checked Code Sandbox works for the any docs examples
  • Added or updated jest tests
  • [ ] Checked for breaking changes and labeled appropriately
  • Checked for accessibility including keyboard-only and screenreader modes
  • A changelog entry exists and is marked appropriately

@elizabetdev elizabetdev requested a review from cchaos July 22, 2020 17:03
@kibanamachine
Copy link

Preview documentation changes for this PR: https://eui.elastic.co/pr_3783/

@kibanamachine
Copy link

Preview documentation changes for this PR: https://eui.elastic.co/pr_3783/

@kibanamachine
Copy link

Preview documentation changes for this PR: https://eui.elastic.co/pr_3783/

@elizabetdev elizabetdev changed the title Add return icon Add return glyph to EuiIcon Jul 22, 2020
@elizabetdev
Copy link
Contributor Author

@chaos the design is now updated with what we discussed:

  • The height is shorter
  • The icon seems more vertically aligned

@kibanamachine
Copy link

Preview documentation changes for this PR: https://eui.elastic.co/pr_3783/

@elizabetdev elizabetdev changed the title Add return glyph to EuiIcon Add returnKey glyph to EuiIcon Jul 23, 2020
Copy link
Contributor

@cchaos cchaos left a comment

Choose a reason for hiding this comment

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

🎉 Looks great. Thanks for making those small changes. Looks like you still have the return.js file lingering, but other than that, 👍

@kibanamachine
Copy link

Preview documentation changes for this PR: https://eui.elastic.co/pr_3783/

@elizabetdev elizabetdev merged commit 602ce3f into elastic:master Jul 23, 2020
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.

3 participants