From f9b864a4695cfe5bfe8b79219dcb535361419bf3 Mon Sep 17 00:00:00 2001 From: Marra Sherrier <45169477+marrasherrier@users.noreply.github.com> Date: Fri, 17 Jul 2020 13:22:54 -0400 Subject: [PATCH] Add analyze event glyph to EuiIcon (#3729) * adding analyze event security icon * updating analyze_event icon * updating again * Update CHANGELOG.md --- CHANGELOG.md | 1 + src-docs/src/views/icon/icons.js | 1 + .../icon/__snapshots__/icon.test.tsx.snap | 18 ++++++++++++++++++ src/components/icon/assets/analyze_event.js | 19 +++++++++++++++++++ src/components/icon/assets/analyze_event.svg | 3 +++ src/components/icon/icon.tsx | 1 + 6 files changed, 43 insertions(+) create mode 100644 src/components/icon/assets/analyze_event.js create mode 100644 src/components/icon/assets/analyze_event.svg diff --git a/CHANGELOG.md b/CHANGELOG.md index c11d7f0a5ff..051223fb642 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ ## [`master`](https://github.com/elastic/eui/tree/master) +- Added `analyzeEvent` glyph in `EuiIcon` ([#3729](https://github.com/elastic/eui/pull/3729)) - Updated `EuiComboBox` to allow the options list to open for single selection custom options ([#3706](https://github.com/elastic/eui/pull/3706)) - Added `useEuiI18n` hook for localization ([#3749](https://github.com/elastic/eui/pull/3749)) diff --git a/src-docs/src/views/icon/icons.js b/src-docs/src/views/icon/icons.js index 09d4ad6f288..180512c64f7 100644 --- a/src-docs/src/views/icon/icons.js +++ b/src-docs/src/views/icon/icons.js @@ -24,6 +24,7 @@ export const iconTypes = [ 'accessibility', 'aggregate', 'alert', + 'analyzeEvent', 'annotation', 'apmTrace', 'apps', diff --git a/src/components/icon/__snapshots__/icon.test.tsx.snap b/src/components/icon/__snapshots__/icon.test.tsx.snap index b5aebaa52b6..f17958fee77 100644 --- a/src/components/icon/__snapshots__/icon.test.tsx.snap +++ b/src/components/icon/__snapshots__/icon.test.tsx.snap @@ -566,6 +566,24 @@ exports[`EuiIcon props type alert is rendered 1`] = ` `; +exports[`EuiIcon props type analyzeEvent is rendered 1`] = ` + +`; + exports[`EuiIcon props type annotation is rendered 1`] = `