Skip to content

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

Merged
cchaos merged 2 commits into
elastic:feature/collapsible_navfrom
cchaos:into-feature/nav_icons
Mar 17, 2020
Merged

cchaos merged 2 commits into
elastic:feature/collapsible_navfrom
cchaos:into-feature/nav_icons

Conversation

@cchaos

@cchaos cchaos commented Mar 17, 2020 •

Copy link
Copy Markdown
Contributor

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

@andreadelrio andreadelrio left a comment

Copy link
Copy Markdown
Contributor

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.

Comment thread src/components/icon/assets/menu.svg Outdated
@@ -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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor

@kibanamachine

Copy link
Copy Markdown
Contributor

@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