From 32b7bef42dcda60caadb357610ede7fdee6dc51a Mon Sep 17 00:00:00 2001 From: Caroline Horn <549577+cchaos@users.noreply.github.com> Date: Fri, 20 Dec 2019 10:36:35 -0500 Subject: [PATCH] Added nested glyph to EuiIcon (#2707) --- CHANGELOG.md | 2 +- src-docs/src/views/icon/icons.js | 1 + .../icon/__snapshots__/icon.test.tsx.snap | 18 ++++++++++++++++++ src/components/icon/assets/nested.js | 15 +++++++++++++++ src/components/icon/assets/nested.svg | 3 +++ src/components/icon/icon.tsx | 3 ++- 6 files changed, 40 insertions(+), 2 deletions(-) create mode 100644 src/components/icon/assets/nested.js create mode 100644 src/components/icon/assets/nested.svg diff --git a/CHANGELOG.md b/CHANGELOG.md index 08bf2afce36..16c6178c980 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ ## [`master`](https://github.com/elastic/eui/tree/master) -No public interface changes since `17.3.1`. +- Added `nested` glyph to `EuiIcon` ([#2707](https://github.com/elastic/eui/pull/2707)) ## [`17.3.1`](https://github.com/elastic/eui/tree/v17.3.1) diff --git a/src-docs/src/views/icon/icons.js b/src-docs/src/views/icon/icons.js index ea6b263f2a1..3cffbcd17a4 100644 --- a/src-docs/src/views/icon/icons.js +++ b/src-docs/src/views/icon/icons.js @@ -129,6 +129,7 @@ export const iconTypes = [ 'minusInCircle', 'minusInCircleFilled', 'moon', + 'nested', 'node', 'number', 'offline', diff --git a/src/components/icon/__snapshots__/icon.test.tsx.snap b/src/components/icon/__snapshots__/icon.test.tsx.snap index e76285b2af3..e046dfe8452 100644 --- a/src/components/icon/__snapshots__/icon.test.tsx.snap +++ b/src/components/icon/__snapshots__/icon.test.tsx.snap @@ -5825,6 +5825,24 @@ exports[`EuiIcon props type moon is rendered 1`] = ` `; +exports[`EuiIcon props type nested is rendered 1`] = ` + +`; + exports[`EuiIcon props type node is rendered 1`] = `