Skip to content

Commit

Permalink
add lockOpoen icon
Browse files Browse the repository at this point in the history
  • Loading branch information
ryankeairns committed Sep 26, 2018
1 parent aeeca09 commit e68e126
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 0 deletions.
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 @@ -87,6 +87,7 @@ const iconTypes = [
'list',
'listAdd',
'lock',
'lockOpen',
'logstashFilter',
'logstashIf',
'logstashInput',
Expand Down
23 changes: 23 additions & 0 deletions src/components/icon/__snapshots__/icon.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2547,6 +2547,29 @@ exports[`EuiIcon props type lock is rendered 1`] = `
</svg>
`;

exports[`EuiIcon props type lockOpen is rendered 1`] = `
<svg
class="euiIcon euiIcon--medium"
focusable="false"
height="16"
viewBox="0 0 16 16"
width="16"
xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
>
<defs>
<path
d="M3 5h9c0-2.206-1.794-4-4-4a3.997 3.997 0 0 0-3.246 1.665l-.732-.694A5 5 0 0 1 13 5l1-.001a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h1zm0 1H2v9h12V6H3zm6.33 5.493L10 13H6l.67-1.507a2 2 0 1 1 2.66 0z"
id="lockopen-a"
/>
</defs>
<use
fill-rule="evenodd"
href="#lockopen-a"
/>
</svg>
`;

exports[`EuiIcon props type loggingApp is rendered 1`] = `
<svg
class="euiIcon euiIcon--medium"
Expand Down
8 changes: 8 additions & 0 deletions src/components/icon/assets/lockOpen.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.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ import link from './assets/link.svg';
import list from './assets/list.svg';
import listAdd from './assets/list_add.svg';
import lock from './assets/lock.svg';
import lockOpen from './assets/lockOpen.svg';
import loggingApp from './assets/app_logging.svg';
import logoAerospike from './assets/logo_aerospike.svg';
import logoApache from './assets/logo_apache.svg';
Expand Down Expand Up @@ -315,6 +316,7 @@ const typeToIconMap = {
list,
listAdd,
lock,
lockOpen,
loggingApp,
logoAerospike,
logoApache,
Expand Down

0 comments on commit e68e126

Please sign in to comment.