Skip to content

Icon Additions for Upcoming Lens Features#4779

Merged
MichaelMarcialis merged 7 commits intoelastic:masterfrom
MichaelMarcialis:lens-icons
May 5, 2021
Merged

Icon Additions for Upcoming Lens Features#4779
MichaelMarcialis merged 7 commits intoelastic:masterfrom
MichaelMarcialis:lens-icons

Conversation

@MichaelMarcialis
Copy link
Copy Markdown
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
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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
Copy Markdown

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

Copy link
Copy Markdown
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