Skip to content

Commit

Permalink
Add new bell icon (#1447)
Browse files Browse the repository at this point in the history
  • Loading branch information
formgeist authored Jan 23, 2019
1 parent 2786ce5 commit 45d59e7
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

- 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))
- Added `bell` icon ([#1447](https://github.com/elastic/eui/pull/1447))

**Bug fixes**

Expand Down
1 change: 1 addition & 0 deletions src-docs/src/views/icon/icons.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ const iconTypes = [
'arrowUp',
'asterisk',
'beaker',
'bell',
'bolt',
'boxesHorizontal',
'boxesVertical',
Expand Down
16 changes: 16 additions & 0 deletions src/components/icon/__snapshots__/icon.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,22 @@ exports[`EuiIcon props type beaker is rendered 1`] = `
</svg>
`;

exports[`EuiIcon props type bell is rendered 1`] = `
<svg
class="euiIcon euiIcon--medium"
focusable="false"
height="16"
viewBox="0 0 16 16"
width="16"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M2.316 12h10.368c-.188-.704-.28-1.691-.348-3.037-.07-1.382-.103-1.888-.19-2.612-.028-.236-.06-.462-.096-.68-.31-1.892-1.506-2.923-3.708-3.131a1 1 0 1 0-1.684 0c-2.202.208-3.397 1.24-3.708 3.13a16.01 16.01 0 0 0-.096.68c-.087.725-.12 1.23-.19 2.613-.068 1.346-.16 2.333-.348 3.037zm10.843 1H1.84c-.308.353-.737.5-1.341.5a.5.5 0 1 1 0-1c.786 0 1.024-.783 1.166-3.587.07-1.407.105-1.926.196-2.681.03-.25.063-.49.102-.724.334-2.041 1.546-3.313 3.556-3.792a2 2 0 0 1 3.96 0c2.01.479 3.222 1.75 3.557 3.792a17 17 0 0 1 .102.724c.09.755.125 1.274.196 2.681.14 2.804.379 3.587 1.165 3.587a.5.5 0 1 1 0 1c-.604 0-1.033-.147-1.341-.5zM5.5 14h4a2 2 0 1 1-4 0z"
fill-rule="evenodd"
/>
</svg>
`;

exports[`EuiIcon props type bolt is rendered 1`] = `
<svg
class="euiIcon euiIcon--medium"
Expand Down
3 changes: 3 additions & 0 deletions src/components/icon/assets/bell.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions src/components/icon/icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import arrowUp from './assets/arrow_up.svg';
import asterisk from './assets/asterisk.svg';
import auditbeatApp from './assets/app_auditbeat.svg';
import beaker from './assets/beaker.svg';
import bell from './assets/bell.svg';
import bolt from './assets/bolt.svg';
import boxesHorizontal from './assets/boxes_horizontal.svg';
import boxesVertical from './assets/boxes_vertical.svg';
Expand Down Expand Up @@ -308,6 +309,7 @@ const typeToIconMap = {
asterisk,
auditbeatApp,
beaker,
bell,
bolt,
boxesHorizontal,
boxesVertical,
Expand Down

0 comments on commit 45d59e7

Please sign in to comment.