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

[K8 Nav Feature] Added home and menu glyphs to EuiIcon #3109

Merged
merged 2 commits into from
Mar 17, 2020

Conversation

cchaos
Copy link
Contributor

@cchaos cchaos commented Mar 17, 2020

These new icons will support the header toggle and the home navigation item seen here:

Screen Shot 2020-03-17 at 12 35 45 PM

Screen Shot 2020-03-17 at 12 34 20 PM

home

Screen Shot 2020-03-17 at 12 38 18 PMScreen Shot 2020-03-17 at 12 38 23 PM

menu

Screen Shot 2020-03-17 at 12 35 24 PMScreen Shot 2020-03-17 at 12 38 33 PM

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 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 Will be added by the feature branch

@cchaos cchaos requested a review from andreadelrio March 17, 2020 17:47
Copy link
Contributor

@andreadelrio andreadelrio left a comment

Choose a reason for hiding this comment

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

Just one tiny change. Other than that LGTM.

@@ -0,0 +1,3 @@
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M0 2H16V4H0V2ZM0 7H16V9H0V7ZM16 12H0V14H16V12Z" />
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
<path fill-rule="evenodd" clip-rule="evenodd" d="M0 2H16V4H0V2ZM0 7H16V9H0V7ZM16 12H0V14H16V12Z" />
<path d="M0 2H16V4H0V2ZM0 7H16V9H0V7ZM16 12H0V14H16V12Z" />

You can remove fill-rule and clip-rule from here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

👍 I think I can remove these without issue. I should update the MD file, but I think we've been seeing some icons that require these in order to display correctly (especially when exported via Figma) so I've generally let them slide recently.

@kibanamachine
Copy link

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

@kibanamachine
Copy link

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

@cchaos cchaos merged commit 43dab28 into elastic:feature/collapsible_nav Mar 17, 2020
@cchaos cchaos deleted the into-feature/nav_icons branch March 17, 2020 18:49
cchaos added a commit that referenced this pull request Mar 27, 2020
* [Feature] Added `EuiCollapsibleNav` component (#2977)
* [New Nav Feature] Added `ghost` colored EuiListGroupItem (#3018)
* [New Nav Feature] Created `EuiCollapsibleGroup` (#3031)
* [New Nav Feature] EuiPinnableListGroup (#3061)
* [K8 Nav Feature] Added `home` and `menu` glyphs to EuiIcon (#3109)
* [New Nav Feature] Final docs examples and patterns (#3117)
* [New Nav Feature] Move collapsible nav toggle button to be part of EuiCollapsibleNav (#3168)
elizabetdev pushed a commit to elizabetdev/eui that referenced this pull request Mar 30, 2020
* [Feature] Added `EuiCollapsibleNav` component (elastic#2977)
* [New Nav Feature] Added `ghost` colored EuiListGroupItem (elastic#3018)
* [New Nav Feature] Created `EuiCollapsibleGroup` (elastic#3031)
* [New Nav Feature] EuiPinnableListGroup (elastic#3061)
* [K8 Nav Feature] Added `home` and `menu` glyphs to EuiIcon (elastic#3109)
* [New Nav Feature] Final docs examples and patterns (elastic#3117)
* [New Nav Feature] Move collapsible nav toggle button to be part of EuiCollapsibleNav (elastic#3168)
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