Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Infra app icon #1161

Merged
merged 3 commits into from
Sep 4, 2018
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src-docs/src/views/icon/apps.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const iconTypes = [
'grokApp',
'indexManagementApp',
'indexPatternApp',
'infraApp',
'loggingApp',
'machineLearningApp',
'managementApp',
Expand Down
81 changes: 81 additions & 0 deletions src/components/icon/__snapshots__/icon.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2254,6 +2254,87 @@ exports[`EuiIcon props type indexSettings is rendered 1`] = `
</svg>
`;

exports[`EuiIcon props type infraApp is rendered 1`] = `
<svg
class="euiIcon euiIcon--medium"
focusable="false"
height="32"
viewBox="0 0 32 32"
width="32"
xmlns="http://www.w3.org/2000/svg"
>
<g
fill="none"
transform="translate(1 3)"
>
<rect
fill="#00BFB3"
height="7"
rx="2"
width="21"
x="9"
y="11"
/>
<rect
fill="#00BFB3"
height="7"
rx="2"
width="21"
x="9"
y="20"
/>
<circle
cx="26.5"
cy="23.5"
fill="#0078A0"
r="1.5"
/>
<circle
cx="26.5"
cy="14.5"
fill="#0078A0"
r="1.5"
/>
<rect
fill="#0078A0"
height="4"
rx="1"
width="2"
x="11"
y="12.5"
/>
<rect
fill="#0078A0"
height="4"
rx="1"
width="2"
x="11"
y="21.5"
/>
<rect
fill="#0078A0"
height="4"
rx="1"
width="2"
x="14"
y="12.5"
/>
<rect
fill="#0078A0"
height="4"
rx="1"
width="2"
x="14"
y="21.5"
/>
<path
d="M7 19.975A5.506 5.506 0 0 1 2 14.5a5.505 5.505 0 0 1 5-5.474V9h2.031l.165-.741c.806-3.627 4.088-6.26 7.804-6.26 4.071 0 7.436 3.06 7.931 7h2.018C26.446 3.955 22.177 0 17 0c-4.359 0-8.24 2.898-9.535 7C3.345 7.02 0 10.377 0 14.5c0 3.968 3.097 7.217 7 7.476v-2z"
fill="#00A9E4"
/>
</g>
</svg>
`;

exports[`EuiIcon props type inputOutput is rendered 1`] = `
<svg
class="euiIcon euiIcon--medium"
Expand Down
13 changes: 13 additions & 0 deletions src/components/icon/assets/app_infra.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 @@ -86,6 +86,7 @@ import indexOpen from './assets/index_open.svg';
import indexPatternApp from './assets/app_index_pattern.svg';
import indexSettings from './assets/index_settings.svg';
import inputOutput from './assets/inputOutput.svg';
import infraApp from './assets/app_infra.svg';
import inspect from './assets/inspect.svg';
import invert from './assets/invert.svg';
import kqlField from './assets/kql_field.svg';
Expand Down Expand Up @@ -300,6 +301,7 @@ const typeToIconMap = {
indexOpen,
indexPatternApp,
indexSettings,
infraApp,
inputOutput,
inspect,
invert,
Expand Down
1 change: 1 addition & 0 deletions src/components/icon/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ declare module '@elastic/eui' {
| 'indexOpen'
| 'indexPatternApp'
| 'indexSettings'
| 'infraApp'
| 'inputOutput'
| 'inspect'
| 'invert'
Expand Down