diff --git a/CHANGELOG.md b/CHANGELOG.md index 617cac92363..1d07af83676 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - Changed look and feel of pagination. Added compressed prop for smaller footprint pagination. ([#380](https://github.com/elastic/eui/pull/380)) - Added `EuiBasicTable` as an opinionated, high level component for constructing tables. Its addition deprecates `EuiTableOfRecords` which is still avaiable, but now marked for removal. ([#377](https://github.com/elastic/eui/pull/377)) - Add styles for `readOnly` states of form controls. ([#391](https://github.com/elastic/eui/pull/391)) +- Added importAction and exportAction icons ([#394](https://github.com/elastic/eui/pull/394)) **Bug fixes** diff --git a/src-docs/src/views/icon/icons.js b/src-docs/src/views/icon/icons.js index bf238a3a081..73f9bce0ce5 100644 --- a/src-docs/src/views/icon/icons.js +++ b/src-docs/src/views/icon/icons.js @@ -37,6 +37,7 @@ const iconTypes = [ 'empty', 'exit', 'expand', + 'exportAction', 'faceHappy', 'faceNeutral', 'faceSad', @@ -44,6 +45,7 @@ const iconTypes = [ 'gear', 'grid', 'help', + 'importAction', 'iInCircle', 'indexClose', 'indexEdit', diff --git a/src/components/icon/__snapshots__/icon.test.js.snap b/src/components/icon/__snapshots__/icon.test.js.snap index 6844e68a603..00a6b7566ee 100644 --- a/src/components/icon/__snapshots__/icon.test.js.snap +++ b/src/components/icon/__snapshots__/icon.test.js.snap @@ -1210,6 +1210,20 @@ exports[`EuiIcon renders type expand 1`] = ` `; +exports[`EuiIcon renders type exportAction 1`] = ` + + + +`; + exports[`EuiIcon renders type faceHappy 1`] = ` `; +exports[`EuiIcon renders type importAction 1`] = ` + + + +`; + exports[`EuiIcon renders type indexClose 1`] = ` + + diff --git a/src/components/icon/assets/import.svg b/src/components/icon/assets/import.svg new file mode 100644 index 00000000000..d2e9e46ec25 --- /dev/null +++ b/src/components/icon/assets/import.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/components/icon/icon.js b/src/components/icon/icon.js index 0a95bbd15da..38bb6ae9ece 100644 --- a/src/components/icon/icon.js +++ b/src/components/icon/icon.js @@ -42,6 +42,7 @@ import dot from './assets/dot.svg'; import empty from './assets/empty.svg'; import exit from './assets/exit.svg'; import expand from './assets/expand.svg'; +import exportAction from './assets/export.svg'; import faceHappy from './assets/face_happy.svg'; import faceNeutral from './assets/faceNeutral.svg'; import faceSad from './assets/face_sad.svg'; @@ -51,6 +52,7 @@ import graphApp from './assets/app_graph.svg'; import grid from './assets/grid.svg'; import grokApp from './assets/app_grok.svg'; import help from './assets/help.svg'; +import importAction from './assets/import.svg'; import iInCircle from './assets/iInCircle.svg'; import indexPatternApp from './assets/app_index_pattern.svg'; import indexClose from './assets/index_close.svg'; @@ -167,6 +169,7 @@ const typeToIconMap = { empty, exit, expand, + exportAction, faceHappy, faceNeutral, faceSad, @@ -176,6 +179,7 @@ const typeToIconMap = { grid, grokApp, help, + importAction, iInCircle, indexClose, indexEdit,