From 2786ce59fb6bb6b3915333b5c80aaf1f93998b1d Mon Sep 17 00:00:00 2001
From: Caroline Horn <549577+cchaos@users.noreply.github.com>
Date: Fri, 18 Jan 2019 18:11:09 -0500
Subject: [PATCH] Added snowflake icon (#1445)
---
CHANGELOG.md | 2 +-
src-docs/src/views/icon/icons.js | 1 +
.../icon/__snapshots__/icon.test.tsx.snap | 16 ++++++++++++++++
src/components/icon/assets/snowflake.svg | 3 +++
src/components/icon/icon.tsx | 2 ++
5 files changed, 23 insertions(+), 1 deletion(-)
create mode 100644 src/components/icon/assets/snowflake.svg
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d6e2012d8cf..1e9afeeb4fa 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,7 @@
## [`master`](https://github.com/elastic/eui/tree/master)
- Added `inputRef` prop to `EuiFieldNumber` and updated `EuiFieldText`'s to a Ref type ([#1434](https://github.com/elastic/eui/pull/1434))
+- Added `snowflake` icon ([#1445](https://github.com/elastic/eui/pull/1445))
**Bug fixes**
@@ -27,7 +28,6 @@
- Added `legend` for accessibility of `EuiButtonGroup` and fixed opacity of disabled input ([#1444](https://github.com/elastic/eui/pull/1444))
-
## [`6.4.0`](https://github.com/elastic/eui/tree/v6.4.0)
- Added `EuiNavDrawer` side nav component ([#1427](https://github.com/elastic/eui/pull/1427))
diff --git a/src-docs/src/views/icon/icons.js b/src-docs/src/views/icon/icons.js
index 21c15ec1580..9513cc5409b 100644
--- a/src-docs/src/views/icon/icons.js
+++ b/src-docs/src/views/icon/icons.js
@@ -128,6 +128,7 @@ const iconTypes = [
'shard',
'share',
'sortable',
+ 'snowflake',
'sortDown',
'sortLeft',
'sortRight',
diff --git a/src/components/icon/__snapshots__/icon.test.tsx.snap b/src/components/icon/__snapshots__/icon.test.tsx.snap
index 912985bc3f7..6a102885d85 100644
--- a/src/components/icon/__snapshots__/icon.test.tsx.snap
+++ b/src/components/icon/__snapshots__/icon.test.tsx.snap
@@ -5136,6 +5136,22 @@ exports[`EuiIcon props type share is rendered 1`] = `
`;
+exports[`EuiIcon props type snowflake is rendered 1`] = `
+
+`;
+
exports[`EuiIcon props type sortDown is rendered 1`] = `
diff --git a/src/components/icon/icon.tsx b/src/components/icon/icon.tsx
index d3016ef9c02..3e6e1602f08 100644
--- a/src/components/icon/icon.tsx
+++ b/src/components/icon/icon.tsx
@@ -209,6 +209,7 @@ import securityAnalyticsApp from './assets/app_security_analytics.svg';
import securityApp from './assets/app_security.svg';
import shard from './assets/shard.svg';
import share from './assets/share.svg';
+import snowflake from './assets/snowflake.svg';
import sortable from './assets/sortable.svg';
import sortDown from './assets/sort_down.svg';
import sortLeft from './assets/sortLeft.svg';
@@ -499,6 +500,7 @@ const typeToIconMap = {
securityApp,
shard,
share,
+ snowflake,
sortable,
sortDown,
sortLeft,