From 9605f20aa5e743397a18d0c4011d1b30fbe8ba01 Mon Sep 17 00:00:00 2001
From: Caroline Horn <549577+cchaos@users.noreply.github.com>
Date: Mon, 12 Feb 2018 22:10:32 -0500
Subject: [PATCH] Added importAction and exportAction icons (#394)
---
CHANGELOG.md | 1 +
src-docs/src/views/icon/icons.js | 2 ++
.../icon/__snapshots__/icon.test.js.snap | 28 +++++++++++++++++++
src/components/icon/assets/export.svg | 3 ++
src/components/icon/assets/import.svg | 3 ++
src/components/icon/icon.js | 4 +++
6 files changed, 41 insertions(+)
create mode 100644 src/components/icon/assets/export.svg
create mode 100644 src/components/icon/assets/import.svg
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`] = `