Repository navigation
Adding more props to EuiHeaderSectionItemButton, EuiFieldSearch, and EuiAccordion - #2914
Conversation
Needs some doc something
…nItemButton to automatically add the correct positioning via CSS
This reverts commit 61a3103.
|
Preview documentation changes for this PR: https://eui.elastic.co/pr_2914/ |
|
Preview documentation changes for this PR: https://eui.elastic.co/pr_2914/ |
thompsongl
left a comment
There was a problem hiding this comment.
LGTM; just a couple comment changes
|
Preview documentation changes for this PR: https://eui.elastic.co/pr_2914/ |
elizabetdev
left a comment
There was a problem hiding this comment.
LGTM! 🎉
I looked at the code and tested the build.
|
Preview documentation changes for this PR: https://eui.elastic.co/pr_2914/ |
|
Preview documentation changes for this PR: https://eui.elastic.co/pr_2914/ |
|
Preview documentation changes for this PR: https://eui.elastic.co/pr_2914/ |
Continuing preparation for the new nav drawer
1. Added
arrowDisplayprop to EuiAccordion for changing side or hiding completely2. Added
prependandappendability to EuiFieldSearch3. Added
notificationandnotificationColorprops to EuiHeaderSectionItemButton... to automatically add the correct positioning via CSS. Consumers used to have to supply the
<EuiNotificationBadge className="euiHeaderNotification" />manually as a child of theEuiHeaderSectionItemButton. Instead, I just made it an option ofEuiHeaderSectionItemButtondirectly to make it simpler.This will also then deprecate the need for the class
. euiHeaderNotificationwhich can only be applied manually.4. Extending
divelement in EuiFlyout typeThis is so
idcan properly be passed down without complaint by TS.Checklist