Repository navigation
[New Nav Feature] Move collapsible nav toggle button to be part of EuiCollapsibleNav - #3168
Conversation
|
Preview documentation changes for this PR: https://eui.elastic.co/pr_3168/ |
|
Do you still want to make this change then? |
|
Yes because at the very least it allows us to control the aria-labels for the toggle button and anything else that might be drummed up in implementation. |
myasonik
left a comment
There was a problem hiding this comment.
LGTM! One small change that's not even directly related to this work...
|
Preview documentation changes for this PR: https://eui.elastic.co/pr_3168/ |
|
Preview documentation changes for this PR: https://eui.elastic.co/pr_3168/ |
ryankeairns
left a comment
There was a problem hiding this comment.
Text looks good, ty!
Co-Authored-By: Greg Thompson <[email protected]>
|
Preview documentation changes for this PR: https://eui.elastic.co/pr_3168/ |
…iCollapsibleNav (#3168) * Move collapsible nav toggle button to be part of EuiCollapsibleNav * No role group * Alterations to top links and added `pinnable` prop to pinnable list items
* [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)
* [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)
Better for accessibility
Instead of forcing the consumer to remember all the
aria-bits that the toggle button needs, the EuiCollapsibleNav component now behaves similar to the EuiPopover component where it accepts abuttonandisOpenprops.It can then also handle the visibility of the button when docked internally.
Checklist
[ ] Checked for breaking changes and labeled appropriately[ ] A changelog entry exists and is marked appropriately