-
Notifications
You must be signed in to change notification settings - Fork 816
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
[EuiBreadcrumb] Apply new visual design changes #7615
[EuiBreadcrumb] Apply new visual design changes #7615
Conversation
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.
Thanks for putting this together, @mgadewoll! It looks great. I've left a few small comments for my initial review. Let me know if you have any questions.
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.
Thanks so much for making those changes, @mgadewoll! I left two small comments after re-reviewing. After these are addressed, I think it's good to go from my perspective.
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.
Super sorry for the last minute annoying nits/comments, feel free to skip them if you'd rather get this merged! Changes & QA look great to me, although of course feel free to double check me @MichaelMarcialis!
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! Thanks, @mgadewoll!
- update font-weight and color - add permanent underline to interactive breadcrumbs
- exclude interactive styles being applied to deprecated custom color variant cleanup obsolete EuiText wrapper
…nteractive styles applied
fcbf0fd
to
ca4c418
Compare
Preview staging links for this PR:
|
💚 Build Succeeded
History
|
`v93.5.2` ⏩ `v93.6.0` --- ## [`v93.6.0`](https://github.com/elastic/eui/releases/v93.6.0) - Updated `EuiBreadcrumb` styles to improve visual distinction of clickable breadcrumbs ([#7615](elastic/eui#7615)) **Deprecations** - Deprecated `color` prop on `EuiBreadcrumb` ([#7615](elastic/eui#7615)) **Bug fixes** - Fixed `EuiComboBox` to correctly select full matches within groups via the `Enter` key ([#7658](elastic/eui#7658)) **Accessibility** - Updated `EuiHeaderBreadcrumb` styles to ensure min. required color contrast ([#7643](elastic/eui#7643)) - `EuiSuperSelect` now correctly reads out parent `EuiFormRow` labels to screen readers ([#7650](elastic/eui#7650)) - `EuiSuperSelect` now more closely mimics native `<select>` behavior in its keyboard behavior and navigation ([#7650](elastic/eui#7650)) - `EuiSuperSelect` no longer strands keyboard focus on close ([#7650](elastic/eui#7650)) - `EuiSuperSelect` now correctly allows keyboard navigating past disabled options in the middle of the options list ([#7650](elastic/eui#7650))
Summary
closes #7384
This PR updates
EuiBreadcrumb
to apply style changes outlined here.euiTheme.font.weight.regular
(400
)color
of all breadcrumb items tocolors.subduedText
href
oronClick
) to havetext-decoration: underline
color
of valuecolors.text
Additionally this PR deprecates the
color
prop for breadcrumbs. As part of this deprecation the new hover/focus styles are not applied when customcolor
is used.before
after
QA
General checklist
- [ ] Checked in mobile- [ ] Checked for accessibility including keyboard-only and screenreader modes- [ ] If applicable, added the breaking change issue label (and filled out the breaking change checklist)