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

Add 'sparkles' glyph to EuiIcon #6898

Merged
merged 3 commits into from
Jun 30, 2023
Merged

Add 'sparkles' glyph to EuiIcon #6898

merged 3 commits into from
Jun 30, 2023

Conversation

ryankeairns
Copy link
Contributor

Closes #6875

Summary

Add sparkles glyph to EuiIcon

Figma

Screen Shot 2023-06-30 at 10 25 43 AM
Screen Shot 2023-06-29 at 7 52 12 PM

Docs

Screen Shot 2023-06-30 at 10 12 00 AM Screen Shot 2023-06-30 at 10 12 16 AM

QA

General checklist

  • Checked in both light and dark modes
    - [ ] Checked in mobile
    - [ ] Checked in Chrome, Safari, Edge, and Firefox
    - [ ] Props have proper autodocs (using @default if default values are missing) and playground toggles
  • Added documentation
    - [ ] Checked Code Sandbox works for any docs examples
    - [ ] Added or updated jest and cypress tests
    - [ ] Checked for breaking changes and labeled appropriately
    - [ ] Checked for accessibility including keyboard-only and screenreader modes
  • Updated the Figma library counterpart
  • A changelog entry exists and is marked appropriately

Copy link
Contributor

@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.

BTW, I didn't mean to make my original question sound like a hard request, apologies if it came out that way!

@@ -0,0 +1 @@
- Added `sparkles` glyph to `EuiIcon`
Copy link
Contributor

@cee-chen cee-chen Jun 30, 2023

Choose a reason for hiding this comment

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

Oh, CI is complaining because it wants this filename to match the PR ID, so in this case you'll need to rename this file to 6898.md

@ryankeairns
Copy link
Contributor Author

No worries 😆
I had started as sparkles then Dima referred to it as stardust, and I got a little cute.

@ryankeairns
Copy link
Contributor Author

Fixing changelog...

@ryankeairns ryankeairns force-pushed the rk/add-stardust-glyph branch from 36eb876 to 5e4728e Compare June 30, 2023 17:45
@kibanamachine
Copy link

Preview documentation changes for this PR: https://eui.elastic.co/pr_6898/

@cee-chen cee-chen merged commit a4103fe into main Jun 30, 2023
@cee-chen cee-chen deleted the rk/add-stardust-glyph branch June 30, 2023 18:32
1Copenut added a commit to elastic/kibana that referenced this pull request Jul 11, 2023
`[email protected]` ⏩ `83.1.0`

---

## [`83.1.0`](https://github.com/elastic/eui/tree/v83.1.0)

- Added `placeholder` prop to `EuiInlineEdit`
([#6883](elastic/eui#6883))
- Added `sparkles` glyph to `EuiIcon`
([#6898](elastic/eui#6898))

**Bug fixes**

- Fixed Safari-only bug for single-line row `EuiDataGrid`s, where cell
actions on hover would overlap instead of pushing content to the left
([#6881](elastic/eui#6881))
- Fixed `EuiButton` not correctly merging in passed `className`s with
its base `.euiButton` class
([#6887](elastic/eui#6887))
- Fixed `EuiIcon` not correctly passing the `style` prop custom `img`
icons ([#6888](elastic/eui#6888))
- Fixed multiple components with child props (e.g. `buttonProps`,
`iconProps`, etc.) unsetting EUI's Emotion styling if custom `css` was
passed to the child props object
([#6896](elastic/eui#6896))

**CSS-in-JS conversions**

- Converted `EuiHeader` and `EuiHeaderLogo` to Emotion
([#6878](elastic/eui#6878))
- Removed Sass variables `$euiHeaderDarkBackgroundColor`,
`$euiHeaderBorderColor`, and `$euiHeaderBreadcrumbColor`
([#6878](elastic/eui#6878))
- Removed Sass mixin `@euiHeaderDarkTheme`
([#6878](elastic/eui#6878))
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.

New icon to communicate AI capabilities
3 participants