-
Notifications
You must be signed in to change notification settings - Fork 839
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
[EuiListGroup] and [Items] Adds gutterSize
, color
#2980
Conversation
Preview documentation changes for this PR: https://eui.elastic.co/pr_2980/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🎉
(with a CL entry)
Preview documentation changes for this PR: https://eui.elastic.co/pr_2980/ |
Preview documentation changes for this PR: https://eui.elastic.co/pr_2980/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did a quick scan of this one for code and checked the preview.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just noticed a typo and added a question about classnames.
Support for new nav
EuiListGroupItem
color
Currently, the only way to color the text of the list group items was by custom classes. Buttons were inheriting
text
color, while links where inheritingprimary
color. The default is still to inherit, but gives the consumer ways to forces the buttons, text or links to beprimary
,text
orsubdued
.EuiListGroup
gutterSize
A static top margin was added to each item within the list group. Now there's an option to adjust that spacing to
none | s | m
. Default iss
. Andflush
still works appropriately.Tests & snippets
There was a major lacking in the tests for EuiListGroup, so those have been beefed up. And snippets have been added to all the doc examples.
Checklist
[ ] Checked for breaking changes and labeled appropriately[ ] Checked for accessibility including keyboard-only and screenreader modes