Skip to content
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

Merged
merged 15 commits into from
Apr 3, 2024

Conversation

mgadewoll
Copy link
Contributor

@mgadewoll mgadewoll commented Mar 25, 2024

Summary

closes #7384

This PR updates EuiBreadcrumb to apply style changes outlined here.

  • updates font-weight of all breadcrumb items to use euiTheme.font.weight.regular (400)
  • updates the color of all breadcrumb items to colors.subduedText
  • updates interactive breadcrumb items (with href or onClick) to have text-decoration: underline
  • updates hover/focus states of interactive breadcrumb items to use color of value colors.text

Additionally this PR deprecates the color prop for breadcrumbs. As part of this deprecation the new hover/focus styles are not applied when custom color is used.

before
Screenshot 2024-03-25 at 13 30 11

after
Screenshot 2024-03-25 at 13 28 57

QA

General checklist

  • Browser QA
    • Checked in both light and dark modes
      - [ ] Checked in mobile
    • Checked in Chrome, Safari, Edge, and Firefox
      - [ ] Checked for accessibility including keyboard-only and screenreader modes
  • Docs site QA - N/A
  • Code quality checklist
  • Release checklist
    • A changelog entry exists and is marked appropriately.
      - [ ] If applicable, added the breaking change issue label (and filled out the breaking change checklist)
  • Designer checklist
    • Updated the Figma library counterpart

@mgadewoll mgadewoll marked this pull request as ready for review March 25, 2024 15:38
@mgadewoll mgadewoll requested a review from a team as a code owner March 25, 2024 15:38
Copy link
Contributor

@MichaelMarcialis MichaelMarcialis left a 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.

Copy link
Contributor

@MichaelMarcialis MichaelMarcialis left a 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.

Copy link
Member

@cee-chen cee-chen left a 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!

Copy link
Contributor

@MichaelMarcialis MichaelMarcialis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks, @mgadewoll!

@mgadewoll mgadewoll force-pushed the breadcrumb/7384-new-visual-design branch from fcbf0fd to ca4c418 Compare April 3, 2024 07:25
@kibanamachine
Copy link

Preview staging links for this PR:

@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

History

@mgadewoll mgadewoll merged commit d7feb01 into elastic:main Apr 3, 2024
7 checks passed
cee-chen added a commit to elastic/kibana that referenced this pull request Apr 9, 2024
`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))
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.

[EuiBreadcrumb] Revise CSS to adopt new visual design
5 participants