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

Icon Additions for Upcoming Lens Features #4779

Merged
merged 7 commits into from
May 5, 2021

Conversation

MichaelMarcialis
Copy link
Contributor

@MichaelMarcialis MichaelMarcialis commented May 4, 2021

Summary

Added some new icons to EUI to support the needs of upcoming Lens features (dynamic coloring, thresholds, custom formula). This PR includes the following icons:

  • color (was already in Figma; just added to EUI repo)
  • continuityAbove
  • continuityAboveBelow
  • continuityBelow
  • continuityWithin
  • eraser
  • fullScreenExit
  • function (was already in Figma; just added to EUI repo)
  • percent (for use in icon-only elements, such as EuiButtonIcon and icon-only EuiButtonGroup components)
  • wordWrap
  • wordWrapDisabled

image

Checklist

  • Check against all themes for compatibility in both light and dark modes
  • [ ] Checked in mobile
  • Checked in Chrome, Safari, Edge, and Firefox
  • [ ] Props have proper autodocs and playground toggles
  • 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

@kibanamachine
Copy link

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

@cchaos cchaos requested a review from elizabetdev May 4, 2021 21:30
Copy link
Contributor

@elizabetdev elizabetdev left a comment

Choose a reason for hiding this comment

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

Thanks @MichaelMarcialis,

These icons look amazing. 🎉

I look at the code and it looks good. Also tested in light and dark mode, and in Figma using the grid to see the alignments.

One thing that I noticed looking at the documentation and doing my Figma tests is that the eraser icon seems more left-aligned than centered:

Screenshot 2021-05-05 at 12 23 36

I think it seems more centered if we move the icon 1px to the right. What do you think?

lens-icon@2x

@MichaelMarcialis
Copy link
Contributor Author

I think it seems more centered if we move the icon 1px to the right. What do you think?

Good catch! I'll update shortly.

@kibanamachine
Copy link

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

Copy link
Contributor

@elizabetdev elizabetdev left a comment

Choose a reason for hiding this comment

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

Thanks, @MichaelMarcialis for making the changes!

LGTM! 🎉

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