diff --git a/CHANGELOG.md b/CHANGELOG.md index 3999a0683cf..68ad1a3bfe8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ ## [`master`](https://github.com/elastic/eui/tree/master) - Migrate `EuiEmptyPrompt`and `EuiCard` to TS ([#2387](https://github.com/elastic/eui/pull/2387)) +- Added Lens app `lensApp` icon ([#2389](https://github.com/elastic/eui/pull/2389)) ## [`14.3.0`](https://github.com/elastic/eui/tree/v14.3.0) diff --git a/src-docs/src/views/icon/apps.js b/src-docs/src/views/icon/apps.js index 58e00694ecd..120cedaaf99 100644 --- a/src-docs/src/views/icon/apps.js +++ b/src-docs/src/views/icon/apps.js @@ -42,6 +42,7 @@ const iconTypes = [ 'indexPatternApp', 'indexRollupApp', 'infraApp', + 'lensApp', 'loggingApp', 'machineLearningApp', 'managementApp', diff --git a/src/components/icon/__snapshots__/icon.test.tsx.snap b/src/components/icon/__snapshots__/icon.test.tsx.snap index 2a95d870ab9..c493f93fc0e 100644 --- a/src/components/icon/__snapshots__/icon.test.tsx.snap +++ b/src/components/icon/__snapshots__/icon.test.tsx.snap @@ -2599,6 +2599,25 @@ exports[`EuiIcon props type kqlValue is rendered 1`] = ` `; +exports[`EuiIcon props type lensApp is rendered 1`] = ` + + + + +`; + exports[`EuiIcon props type link is rendered 1`] = ` `; diff --git a/src/components/icon/assets/app_lens.js b/src/components/icon/assets/app_lens.js new file mode 100644 index 00000000000..32c6599f700 --- /dev/null +++ b/src/components/icon/assets/app_lens.js @@ -0,0 +1,18 @@ +import React from 'react'; + +const EuiIconAppLens = props => ( + + + + +); + +export const icon = EuiIconAppLens; diff --git a/src/components/icon/assets/app_lens.svg b/src/components/icon/assets/app_lens.svg new file mode 100644 index 00000000000..fe33252f38d --- /dev/null +++ b/src/components/icon/assets/app_lens.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/components/icon/assets/package.js b/src/components/icon/assets/package.js index f92c8b02e2f..b2903b87247 100644 --- a/src/components/icon/assets/package.js +++ b/src/components/icon/assets/package.js @@ -7,7 +7,7 @@ const EuiIconPackage = props => ( viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" {...props}> - + ); diff --git a/src/components/icon/icon.tsx b/src/components/icon/icon.tsx index b6948005b91..2bbd24dec00 100644 --- a/src/components/icon/icon.tsx +++ b/src/components/icon/icon.tsx @@ -152,6 +152,7 @@ const typeToPathMap = { kqlOperand: 'kql_operand', kqlSelector: 'kql_selector', kqlValue: 'kql_value', + lensApp: 'app_lens', link: 'link', list: 'list', listAdd: 'list_add',