Skip to content

Commit

Permalink
New cloud icons (#906)
Browse files Browse the repository at this point in the history
cloud updated, cloud ece added.
  • Loading branch information
snide authored Jun 5, 2018
1 parent d26552f commit 560abe4
Show file tree
Hide file tree
Showing 6 changed files with 70 additions and 15 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## [`master`](https://github.com/elastic/eui/tree/master)

- Added updated logos for Cloud and Cloud ECE ([#906](https://github.com/elastic/eui/pull/906))
- Added the ability for `EuiBetaBadge` to appear on `EuiPanel` similar to `EuiCard` ([#885](https://github.com/elastic/eui/pull/888))
- Added `restrictWidth` to `EuiPage` ([#896](https://github.com/elastic/eui/pull/896))
- Added `resize` prop to `EuiTextArea` that defaults to ‘vertical’ (only height) ([#894](https://github.com/elastic/eui/pull/894))
Expand Down
1 change: 1 addition & 0 deletions src-docs/src/views/icon/logos.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const iconTypes = [
'logoApache',
'logoBeats',
'logoCloud',
'logoCloudEnterprise',
'logoDocker',
'logoElastic',
'logoElasticsearch',
Expand Down
61 changes: 51 additions & 10 deletions src/components/icon/__snapshots__/icon.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2663,24 +2663,65 @@ exports[`EuiIcon props type logoCloud is rendered 1`] = `
fill="none"
>
<path
d="M13.114 20.548l.381-.111-.381.11zm-.812.27l.381-.135-.381.135zm-1.57.677l.388-.184-.388.184zm-.732.4l.382-.209-.382.21zm1.508-.757l.381-.16-.381.16zm2.443-.83l.375-.086-.375.086zm.855-.179l.37-.061-.37.061zm1.76-.221h.363-.363zm1.102-.043h-.499a15.557 15.557 0 0 1-7.255 9.55 15.47 15.47 0 0 0 19.858-3.735 15.483 15.483 0 0 0-12.104-5.815zm-1.988.129l.363-.043-.363.043zm-7.102 2.812l.364-.252-.364.252zM7.28 23.852l.314-.27-.314.27zm.055 3.693l-.086-.08.086.08zm1.933-5.213l.375-.234-.375.234zm-3.163 2.702l.153-.166-.153.166zm.572-.603l.265-.253-.265.253zm2.092 4.24l-.27-.197.27.197zm-.855-5.36l.344-.265-.344.265zm.135 4.83l-.141-.116.141.117z"
fill="#94C93D"
d="M25.024 21.62a5.276 5.276 0 0 0-4.565-.098 5.791 5.791 0 0 1-2.381.511 5.9 5.9 0 0 1-1.323-.156 15.66 15.66 0 0 1-6.634 7.633 15.563 15.563 0 0 0 19.977-3.754 15.719 15.719 0 0 0-5.074-4.136z"
fill="#93C90E"
/>
<path
d="M17.17 19.877h-.604l-.523.043-.363.043-.505.074-.369.061-.48.099-.375.086-.456.123-.381.11-.43.142-.382.136-.413.16-.381.16-.388.178-.388.185-.363.19-.381.21-.345.203-.375.234-.326.221-.364.253-.32.24-.344.264-.314.271-.314.27-.338.32-.265.253c-.141.142-.277.29-.412.437l-.154.166c-.189.21-.371.415-.548.616a16.4 16.4 0 0 0 1.28 1.452l.394.37.086.08.08.073c.105.092.277.24.493.412l.141.117.43.326.272.197c.307.222.615.437.947.616l.216.129a15.557 15.557 0 0 0 7.261-9.52z"
fill="#73A441"
d="M16.892 10.439c.393-.08.793-.12 1.194-.121.743 0 1.48.141 2.17.418a5.335 5.335 0 0 0 4.257-.102 15.63 15.63 0 0 0 5.585-4.39 15.559 15.559 0 0 0-19.973-3.762c3.099 1.8 5.487 4.609 6.767 7.957z"
fill="#00A9E5"
/>
<path
d="M17.668.468c-2.724-.004-5.4.716-7.754 2.086a15.557 15.557 0 0 1 7.255 9.538h.554a15.483 15.483 0 0 0 12.05-5.815A15.495 15.495 0 0 0 17.667.467zM6.363 5.378c-.277.296-.548.616-.8.911.24-.295.51-.603.8-.91z"
fill="#17A8E0"
d="M5.742 25.756c1.9-2.158 2.05-2.103 3.708-3.344 1.658-1.241 4.581-2.01 4.581-2.01a5.854 5.854 0 0 1 .305-8.714 15.61 15.61 0 0 1-8.59-5.444 15.54 15.54 0 0 0 0 19.512h-.004z"
fill="#000"
/>
<path
d="M9.914 2.554l-.099.055c-.172.099-.338.203-.51.308a14.53 14.53 0 0 0-1.939 1.47l-.308.29-.209.197-.394.4-.092.098c-.29.308-.56.616-.8.917.172.214.349.419.53.616l.22.24c.118.123.229.246.352.369l.264.252.339.32.295.252.339.29.313.246.351.264.332.234.357.24.351.216.363.215.37.203.369.197.387.185.376.172.4.166.381.148.419.148.387.129.431.123.394.104.443.105.4.08.456.08.406.062.467.055.413.037h.689a15.557 15.557 0 0 0-7.243-9.483z"
fill="#0179A1"
d="M10.121 29.514a15.61 15.61 0 0 1-4.379-3.758c1.897-2.158 2.05-2.103 3.708-3.344 1.658-1.241 4.585-2.01 4.585-2.01a5.854 5.854 0 0 0 2.732 1.483 15.676 15.676 0 0 1-6.634 7.637l-.012-.008z"
fill="#74A300"
/>
<path
d="M17.175 19.87a3.926 3.926 0 0 1 0-7.778A15.49 15.49 0 0 1 5.57 6.29a15.452 15.452 0 0 0 0 19.379 15.495 15.495 0 0 1 11.606-5.797z"
fill="#353535"
d="M5.746 6.244a15.61 15.61 0 0 0 8.586 5.42 5.854 5.854 0 0 1 2.556-1.237 15.68 15.68 0 0 0-6.763-7.941 15.672 15.672 0 0 0-4.379 3.758z"
fill="#0078A0"
/>
</g>
</svg>
`;

exports[`EuiIcon props type logoCloudEnterprise 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"
fill-rule="nonzero"
>
<path
d="M14.437 16.176a3.649 3.649 0 1 0 7.298 0 3.649 3.649 0 0 0-7.298 0z"
fill="#005571"
/>
<path
d="M25.024 21.62a5.276 5.276 0 0 0-4.565-.098 5.791 5.791 0 0 1-2.381.511 5.9 5.9 0 0 1-1.323-.156 15.66 15.66 0 0 1-6.634 7.633 15.563 15.563 0 0 0 19.977-3.754 15.719 15.719 0 0 0-5.074-4.136z"
fill="#00BFB3"
/>
<path
d="M16.892 10.439c.393-.08.793-.12 1.194-.121.743 0 1.48.141 2.17.418a5.335 5.335 0 0 0 4.257-.102 15.63 15.63 0 0 0 5.585-4.39 15.559 15.559 0 0 0-19.973-3.762c3.099 1.8 5.487 4.609 6.767 7.957z"
fill="#00A9E5"
/>
<path
d="M5.742 25.756c1.9-2.158 2.05-2.103 3.708-3.344 1.658-1.241 4.581-2.01 4.581-2.01a5.854 5.854 0 0 1 .305-8.714 15.61 15.61 0 0 1-8.59-5.444 15.54 15.54 0 0 0 0 19.512h-.004z"
fill="#000"
/>
<path
d="M10.121 29.514a15.61 15.61 0 0 1-4.379-3.758c1.897-2.158 2.05-2.103 3.708-3.344 1.658-1.241 4.585-2.01 4.585-2.01a5.854 5.854 0 0 0 2.732 1.483 15.676 15.676 0 0 1-6.634 7.637l-.012-.008z"
fill="#019B8F"
/>
<path
d="M5.746 6.244a15.61 15.61 0 0 0 8.586 5.42 5.854 5.854 0 0 1 2.556-1.237 15.68 15.68 0 0 0-6.763-7.941 15.672 15.672 0 0 0-4.379 3.758z"
fill="#0078A0"
/>
</g>
</svg>
Expand Down
10 changes: 5 additions & 5 deletions src/components/icon/assets/logo_cloud.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions src/components/icon/assets/logo_cloud_ece.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 @@ -96,6 +96,7 @@ import loggingApp from './assets/app_logging.svg';
import logoApache from './assets/logo_apache.svg';
import logoBeats from './assets/logo_beats.svg';
import logoCloud from './assets/logo_cloud.svg';
import logoCloudEnterprise from './assets/logo_cloud_ece.svg';
import logoDocker from './assets/logo_docker.svg';
import logoElastic from './assets/logo_elastic.svg';
import logoElasticsearch from './assets/logo_elasticsearch.svg';
Expand Down Expand Up @@ -265,6 +266,7 @@ const typeToIconMap = {
logoApache,
logoBeats,
logoCloud,
logoCloudEnterprise,
logoDocker,
logoElastic,
logoElasticsearch,
Expand Down

0 comments on commit 560abe4

Please sign in to comment.