Skip to content

Commit

Permalink
Added inspect icon (#886)
Browse files Browse the repository at this point in the history
  • Loading branch information
cchaos authored May 29, 2018
1 parent 8f6bb4e commit 250ef4f
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## [`master`](https://github.com/elastic/eui/tree/master)

- Added `textStyle="reverse"` prop to `EuiDescriptionList` as well as a class (`.eui-definitionListReverse`) for `dl`'s within `EuiText` ([#882](https://github.com/elastic/eui/pull/882))
- Added `inspect` icon ([#886](https://github.com/elastic/eui/pull/886))

## [`0.0.50`](https://github.com/elastic/eui/tree/v0.0.50)

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 @@ -72,6 +72,7 @@ const iconTypes = [
'indexMapping',
'indexOpen',
'indexSettings',
'inspect',
'invert',
'inputOutput',
'kqlField',
Expand Down
14 changes: 14 additions & 0 deletions src/components/icon/__snapshots__/icon.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1948,6 +1948,20 @@ exports[`EuiIcon renders type inputOutput 1`] = `
</svg>
`;

exports[`EuiIcon renders type inspect 1`] = `
<svg
class="euiIcon euiIcon--medium"
height="16"
viewBox="0 0 16 16"
width="16"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M15.363 14.658a.5.5 0 1 1-.713.7l-2.97-3.023a.5.5 0 0 1 .001-.7A3.9 3.9 0 1 0 8.9 12.8a.5.5 0 1 1 0 .999 4.9 4.9 0 1 1 3.821-1.833l2.642 2.691zM3.094 13a.5.5 0 1 1 0 1H2.5A2.5 2.5 0 0 1 0 11.5v-9A2.5 2.5 0 0 1 2.5 0h9A2.5 2.5 0 0 1 14 2.5v.599a.5.5 0 1 1-1 0V2.5A1.5 1.5 0 0 0 11.5 1h-9A1.5 1.5 0 0 0 1 2.5v9A1.5 1.5 0 0 0 2.5 13h.594zM2.5 3a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1zm2 0a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1zm2 0a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1zm-4 2a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1zm2 0a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1zm-2 1a.5.5 0 1 1 0 1 .5.5 0 0 1 0-1zm0 3a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1zm6-6a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1zm2 0a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1zm-8 8a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1z"
/>
</svg>
`;

exports[`EuiIcon renders type invert 1`] = `
<svg
class="euiIcon euiIcon--medium"
Expand Down
3 changes: 3 additions & 0 deletions src/components/icon/assets/inspect.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 @@ -80,6 +80,7 @@ import indexMapping from './assets/index_mapping.svg';
import indexOpen from './assets/index_open.svg';
import indexPatternApp from './assets/app_index_pattern.svg';
import indexSettings from './assets/index_settings.svg';
import inspect from './assets/inspect.svg';
import invert from './assets/invert.svg';
import inputOutput from './assets/inputOutput.svg';
import kqlField from './assets/kql_field.svg';
Expand Down Expand Up @@ -248,6 +249,7 @@ const typeToIconMap = {
indexOpen,
indexPatternApp,
indexSettings,
inspect,
invert,
inputOutput,
kqlField,
Expand Down

0 comments on commit 250ef4f

Please sign in to comment.