diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d6ddce7fa8..e81a5f10312 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ ## [`master`](https://github.com/elastic/eui/tree/master) +- Added `spacesApp` logo to `EuiIcon` set ([#1065](https://github.com/elastic/eui/pull/1065)) + **Bug fixes** - `EuiMutationObserver`'s `children` prop is no longer marked as required ([#1076](https://github.com/elastic/eui/pull/1076)) diff --git a/src-docs/src/views/icon/apps.js b/src-docs/src/views/icon/apps.js index 362b02fc999..ee3a86ac574 100644 --- a/src-docs/src/views/icon/apps.js +++ b/src-docs/src/views/icon/apps.js @@ -30,6 +30,7 @@ const iconTypes = [ 'savedObjectsApp', 'searchProfilerApp', 'securityApp', + 'spacesApp', 'timelionApp', 'upgradeAssistantApp', 'usersRolesApp', diff --git a/src/components/icon/__snapshots__/icon.test.js.snap b/src/components/icon/__snapshots__/icon.test.js.snap index ed574b70a5f..8bee34caa7c 100644 --- a/src/components/icon/__snapshots__/icon.test.js.snap +++ b/src/components/icon/__snapshots__/icon.test.js.snap @@ -4697,6 +4697,59 @@ exports[`EuiIcon props type sortUp is rendered 1`] = ` `; +exports[`EuiIcon props type spacesApp is rendered 1`] = ` + + + + + + + + + + +`; + exports[`EuiIcon props type starEmpty is rendered 1`] = ` + + + + + + + + + diff --git a/src/components/icon/icon.js b/src/components/icon/icon.js index a2697c53817..9cab580f3d3 100644 --- a/src/components/icon/icon.js +++ b/src/components/icon/icon.js @@ -172,6 +172,7 @@ import sortDown from './assets/sort_down.svg'; import sortLeft from './assets/sortLeft.svg'; import sortRight from './assets/sortRight.svg'; import sortUp from './assets/sort_up.svg'; +import spacesApp from './assets/app_spaces.svg'; import starEmpty from './assets/star_empty.svg'; import starPlusFilled from './assets/starPlusFilled.svg'; import stats from './assets/stats.svg'; @@ -382,6 +383,7 @@ const typeToIconMap = { sortLeft, sortRight, sortUp, + spacesApp, starEmpty, starPlusFilled, stats, diff --git a/src/components/icon/index.d.ts b/src/components/icon/index.d.ts index d9b55079209..ae614e5739c 100644 --- a/src/components/icon/index.d.ts +++ b/src/components/icon/index.d.ts @@ -176,6 +176,7 @@ declare module '@elastic/eui' { | 'sortLeft' | 'sortRight' | 'sortUp' + | 'spacesApp' | 'starEmpty' | 'starPlusFilled' | 'stats'