Skip to content

[VR] Update first batch of icons#8530

Merged
ryankeairns merged 3 commits intomainfrom
rk/hold-onto-your-icons
Apr 2, 2025
Merged

[VR] Update first batch of icons#8530
ryankeairns merged 3 commits intomainfrom
rk/hold-onto-your-icons

Conversation

@ryankeairns
Copy link
Copy Markdown
Contributor

@ryankeairns ryankeairns commented Apr 1, 2025

Summary

Updates 78 exsiting and adds 2 new icons.

Rollout approach

To make progress and ease the burden on downstream teams, this PR avoids renames, deprecations, and the updating of icons that have outstanding questions. Subsequent PRs will continue with this iterative approach and may focus on renames, deprecations, or additional icon updates.

Note

160 of the 165 Files changed are simply for the updated svg and asset/tsx files (x80 icons) 😬

Notes

  • Updates 80 svgs including changes to both legacy and new docs sites
  • Adds new icon checkCircle (to be used in buttons)
  • Adds new icon for code; updated visVega and editorCodeBlock with same same svg
  • visVega and editorCodeBlock will be deprecated in subsequent PR
  • user and userAvatar are the same svg; will deprecate the latter in subsequent PR
    -controlsHorizontal and controlsVertical are the same svg; will deprecate both in favor of a single controls icon in subsequent PR

QA

Remove or strikethrough items that do not apply to your PR.

General checklist

  • Browser QA
    • Checked in both light and dark modes
    • Checked in both MacOS and Windows high contrast modes
    • Checked in mobile
    • Checked in Chrome, Safari, Edge, and Firefox
    • Checked for accessibility including keyboard-only and screenreader modes
  • Docs site QA
  • 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
    • If applicable, file an issue to update EUI's Figma library with any corresponding UI changes. (This is an internal repo, if you are external to Elastic, ask a maintainer to submit this request)

@kibanamachine
Copy link
Copy Markdown

Preview staging links for this PR:

@elasticmachine
Copy link
Copy Markdown
Collaborator

💚 Build Succeeded

@ryankeairns ryankeairns marked this pull request as ready for review April 1, 2025 23:27
@ryankeairns ryankeairns requested a review from a team as a code owner April 1, 2025 23:27
@tkajtoch
Copy link
Copy Markdown
Member

tkajtoch commented Apr 2, 2025

@ryankeairns Is there a final decision on how we want to roll this change out?

@weronikaolejniczak weronikaolejniczak self-requested a review April 2, 2025 12:11
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Perfection!

Copy link
Copy Markdown
Member

@tkajtoch tkajtoch left a comment

Choose a reason for hiding this comment

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

The changes look great. I verified that the icons match their names and are rendered as expected.

I'm happy to approve as soon as we're certain we want to include this in the next EUI release 👍🏻

@weronikaolejniczak weronikaolejniczak removed their request for review April 2, 2025 13:01
@ryankeairns
Copy link
Copy Markdown
Contributor Author

Yes, we discussed several approaches - @JasonStoltz @yanwalton @MichaelMarcialis were included - and settled on this incremental rollout to a) get updates into the product sooner than later and b) minimize disruption to downstream teams.

For those following along, the icons in this PR were reviewed:

  • at the design/Figma stage
  • in a Kibana POC
  • and do not have outstanding feedback/questions

To reiterate, for all, there are no breaking changes and thus no changes will be asked of downstream teams. (until the next icons PR 😜 )

@tkajtoch I will stand by and monitor the upgrade PR in Kibana for any late feedback.

@JasonStoltz
Copy link
Copy Markdown
Member

JasonStoltz commented Apr 2, 2025

@tkajtoch I can confirm that I've personally thought about this at length 😅. These should be good to ship.

@JasonStoltz
Copy link
Copy Markdown
Member

Approving, since it sounds like Tomasz has already performed QA.

@ryankeairns ryankeairns merged commit 0110c27 into main Apr 2, 2025
8 checks passed
@ryankeairns ryankeairns deleted the rk/hold-onto-your-icons branch April 2, 2025 20:05
weronikaolejniczak pushed a commit to weronikaolejniczak/eui that referenced this pull request Apr 4, 2025
weronikaolejniczak added a commit to elastic/kibana that referenced this pull request Apr 9, 2025
`101.2.0` ⏩ `101.3.0`

[Questions? Please see our Kibana upgrade
FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams)

## Package updates

### `@elastic/eui`

#### [`v101.3.0`](https://github.com/elastic/eui/releases/v101.3.0)

- Updated 78 existing and added two new glyphs (`code` and
`checkCircle`) for `EuiIcon`
([#8530](elastic/eui#8530))
- Changed `gutterSize` to `m` between right side items on
`EuiPageHeader` ([#8529](elastic/eui#8529))

**Bug fixes**

- Fixed a visual bug on disabled `EuiButton` in high contrast mode where
wrong text colors were applied
([#8550](elastic/eui#8550))
weronikaolejniczak added a commit to weronikaolejniczak/kibana that referenced this pull request Apr 9, 2025
`101.2.0` ⏩ `101.3.0`

[Questions? Please see our Kibana upgrade
FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams)

## Package updates

### `@elastic/eui`

#### [`v101.3.0`](https://github.com/elastic/eui/releases/v101.3.0)

- Updated 78 existing and added two new glyphs (`code` and
`checkCircle`) for `EuiIcon`
([elastic#8530](elastic/eui#8530))
- Changed `gutterSize` to `m` between right side items on
`EuiPageHeader` ([elastic#8529](elastic/eui#8529))

**Bug fixes**

- Fixed a visual bug on disabled `EuiButton` in high contrast mode where
wrong text colors were applied
([elastic#8550](elastic/eui#8550))

(cherry picked from commit 1204458)

# Conflicts:
#	package.json
#	src/dev/license_checker/config.ts
#	yarn.lock
weronikaolejniczak added a commit to weronikaolejniczak/kibana that referenced this pull request Apr 10, 2025
`101.2.0` ⏩ `101.3.0`

[Questions? Please see our Kibana upgrade
FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams)

- Updated 78 existing and added two new glyphs (`code` and
`checkCircle`) for `EuiIcon`
([elastic#8530](elastic/eui#8530))
- Changed `gutterSize` to `m` between right side items on
`EuiPageHeader` ([elastic#8529](elastic/eui#8529))

**Bug fixes**

- Fixed a visual bug on disabled `EuiButton` in high contrast mode where
wrong text colors were applied
([elastic#8550](elastic/eui#8550))

(cherry picked from commit 1204458)
weronikaolejniczak added a commit to elastic/kibana that referenced this pull request Apr 10, 2025
> [!Note]
> This PR is a manual backport of the already merged
#217491

`101.0.1` ⏩ `101.3.0-classic.0`

[Questions? Please see our Kibana upgrade
FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams)

## Package updates

### `@elastic/eui`

#### [`v101.3.0`](https://github.com/elastic/eui/releases/v101.3.0)

- Updated 78 existing and added two new glyphs (`code` and
`checkCircle`) for `EuiIcon`
([#8530](elastic/eui#8530))
- Changed `gutterSize` to `m` between right side items on
`EuiPageHeader` ([#8529](elastic/eui#8529))

**Bug fixes**

- Fixed a visual bug on disabled `EuiButton` in high contrast mode where
wrong text colors were applied
([#8550](elastic/eui#8550))

#### [`v101.2.0`](https://github.com/elastic/eui/releases/v101.2.0)

- Added `showToolTip` prop on `EuiColorPickerSwatch`
([#8512](elastic/eui#8512))

**Bug fixes**

- Fixed a visual issue of overlapping borders for layered `EuiPanel`s
([#8519](elastic/eui#8519))
- Fixes wrong `colorMode` styling for the search in `EuiHeader` with
`theme="dark"` ([#8496](elastic/eui#8496))

**Accessibility**

- Improved the accessibility of `EuiColorPicker` by adding color label
tooltips on hover and focus for color swatches
([#8512](elastic/eui#8512))
- Added `disableScreenReaderOutput` prop on `EuiToolTip` to manually
control if the tooltip content should be read when focusing the trigger.
This prevents duplicate screen reader output when the tooltip content
and `aria-label` on the trigger element have the same text content.
([#8508](elastic/eui#8508))
- Improves text color contrast for `EuiButton` with `color="warning"` in
high contrast mode ([#8496](elastic/eui#8496))
- Improves contrast and visible distinction of the following components
in high contrast mode:
([#8496](elastic/eui#8496))
  - `EuiCode`
  - `EuiBadge`
  - `EuiBetaBadge`
  - `EuiNotificationBadge`

**Dependency updates**

- Updated `prismjs` to v1.30.0
([#8506](elastic/eui#8506))

#### [`v101.1.0`](https://github.com/elastic/eui/releases/v101.1.0)

- Updates `EuiTableRow` styles to check support for `:has(+)` selector
([#8498](elastic/eui#8498))


<!--ONMERGE {"backportTargets":["9.0"]} ONMERGE-->

---------

Co-authored-by: Weronika Olejniczak <weronika.olejniczak@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants