diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d1b53d3159..13aa52752dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ ## [`master`](https://github.com/elastic/eui/tree/master) +- Added `infraApp` icon ([#1161](https://github.com/elastic/eui/pull/1161)) - Added sizes to `EuiButtonIcon` ([#1145](https://github.com/elastic/eui/pull/1145)) - Added `singleSelection.asPlainText` prop to `EuiComboBox` ([#1139](https://github.com/elastic/eui/pull/1139)) diff --git a/src-docs/src/views/icon/apps.js b/src-docs/src/views/icon/apps.js index ee3a86ac574..67c53849ded 100644 --- a/src-docs/src/views/icon/apps.js +++ b/src-docs/src/views/icon/apps.js @@ -21,6 +21,7 @@ const iconTypes = [ 'grokApp', 'indexManagementApp', 'indexPatternApp', + 'infraApp', 'loggingApp', 'machineLearningApp', 'managementApp', diff --git a/src/components/icon/__snapshots__/icon.test.js.snap b/src/components/icon/__snapshots__/icon.test.js.snap index 8b60efc7fec..3fae8cdcc3c 100644 --- a/src/components/icon/__snapshots__/icon.test.js.snap +++ b/src/components/icon/__snapshots__/icon.test.js.snap @@ -2254,6 +2254,87 @@ exports[`EuiIcon props type indexSettings is rendered 1`] = ` `; +exports[`EuiIcon props type infraApp is rendered 1`] = ` + + + + + + + + + + + + + +`; + exports[`EuiIcon props type inputOutput is rendered 1`] = ` + + + + + + + + + + + + diff --git a/src/components/icon/icon.js b/src/components/icon/icon.js index e33de4d5bd0..bfd1325a8a8 100644 --- a/src/components/icon/icon.js +++ b/src/components/icon/icon.js @@ -86,6 +86,7 @@ import indexOpen from './assets/index_open.svg'; import indexPatternApp from './assets/app_index_pattern.svg'; import indexSettings from './assets/index_settings.svg'; import inputOutput from './assets/inputOutput.svg'; +import infraApp from './assets/app_infra.svg'; import inspect from './assets/inspect.svg'; import invert from './assets/invert.svg'; import kqlField from './assets/kql_field.svg'; @@ -300,6 +301,7 @@ const typeToIconMap = { indexOpen, indexPatternApp, indexSettings, + infraApp, inputOutput, inspect, invert, diff --git a/src/components/icon/index.d.ts b/src/components/icon/index.d.ts index ccb7ad5cbe8..c1c5f33c9ed 100644 --- a/src/components/icon/index.d.ts +++ b/src/components/icon/index.d.ts @@ -92,6 +92,7 @@ declare module '@elastic/eui' { | 'indexOpen' | 'indexPatternApp' | 'indexSettings' + | 'infraApp' | 'inputOutput' | 'inspect' | 'invert'