File tree Expand file tree Collapse file tree 8 files changed +84
-13
lines changed Expand file tree Collapse file tree 8 files changed +84
-13
lines changed Original file line number Diff line number Diff line change @@ -234,6 +234,7 @@ export const iconTypes = [
234234 'unfold' ,
235235 'unlink' ,
236236 'user' ,
237+ 'userAvatar' ,
237238 'users' ,
238239 'vector' ,
239240 'videoPlayer' ,
Original file line number Diff line number Diff line change @@ -10008,6 +10008,29 @@ exports[`EuiIcon props type user is rendered 1`] = `
1000810008 class = " euiIcon euiIcon--medium euiIcon-isLoaded"
1000910009 data-icon-type = " user"
1001010010 focusable = " false"
10011+ height = " 16"
10012+ role = " img"
10013+ viewBox = " 0 0 16 16"
10014+ width = " 16"
10015+ xmlns = " http://www.w3.org/2000/svg"
10016+ >
10017+ <path
10018+ clip-rule = " evenodd"
10019+ d = " M8 9a4 4 0 100-8 4 4 0 000 8zm0-1a3 3 0 100-6 3 3 0 000 6z"
10020+ fill-rule = " evenodd"
10021+ />
10022+ <path
10023+ d = " M15 14.291A9.053 9.053 0 008 11a9.053 9.053 0 00-7 3.291l.715.71A8.047 8.047 0 018 11.996 8.047 8.047 0 0114.286 15l.714-.71z"
10024+ />
10025+ </svg >
10026+ ` ;
10027+
10028+ exports [` EuiIcon props type userAvatar is rendered 1` ] = `
10029+ <svg
10030+ aria-hidden = " true"
10031+ class = " euiIcon euiIcon--medium euiIcon-isLoaded"
10032+ data-icon-type = " userAvatar"
10033+ focusable = " false"
1001110034 height = " 18"
1001210035 role = " img"
1001310036 viewBox = " 0 0 18 18"
Original file line number Diff line number Diff line change @@ -21,17 +21,19 @@ const EuiIconUser = ({
2121} : React . SVGProps < SVGSVGElement > & SVGRProps ) => (
2222 < svg
2323 xmlns = "http://www.w3.org/2000/svg"
24- width = { 18 }
25- height = { 18 }
26- viewBox = "0 0 18 18 "
24+ width = { 16 }
25+ height = { 16 }
26+ viewBox = "0 0 16 16 "
2727 aria-labelledby = { titleId }
2828 { ...props }
2929 >
3030 { title ? < title id = { titleId } > { title } </ title > : null }
31- < g fillRule = "evenodd" >
32- < path d = "M13.689 11.132c1.155 1.222 1.953 2.879 2.183 4.748a1.007 1.007 0 01-1 1.12H3.007a1.005 1.005 0 01-1-1.12c.23-1.87 1.028-3.526 2.183-4.748.247.228.505.442.782.633-1.038 1.069-1.765 2.55-1.972 4.237L14.872 16c-.204-1.686-.93-3.166-1.966-4.235a7.01 7.01 0 00.783-.633zM8.939 1c1.9 0 3 2 4.38 2.633a2.483 2.483 0 01-1.88.867c-.298 0-.579-.06-.844-.157A3.726 3.726 0 017.69 5.75c-1.395 0-3.75.25-3.245-1.903C5.94 3 6.952 1 8.94 1z" />
33- < path d = "M8.94 2c2.205 0 4 1.794 4 4s-1.795 4-4 4c-2.207 0-4-1.794-4-4s1.793-4 4-4m0 9A5 5 0 108.937.999 5 5 0 008.94 11" />
34- </ g >
31+ < path
32+ fillRule = "evenodd"
33+ d = "M8 9a4 4 0 100-8 4 4 0 000 8zm0-1a3 3 0 100-6 3 3 0 000 6z"
34+ clipRule = "evenodd"
35+ />
36+ < path d = "M15 14.291A9.053 9.053 0 008 11a9.053 9.053 0 00-7 3.291l.715.71A8.047 8.047 0 018 11.996 8.047 8.047 0 0114.286 15l.714-.71z" />
3537 </ svg >
3638) ;
3739
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
3+ * or more contributor license agreements. Licensed under the Elastic License
4+ * 2.0 and the Server Side Public License, v 1; you may not use this file except
5+ * in compliance with, at your election, the Elastic License 2.0 or the Server
6+ * Side Public License, v 1.
7+ */
8+
9+ // THIS IS A GENERATED FILE. DO NOT MODIFY MANUALLY. @see scripts/compile-icons.js
10+
11+ import * as React from 'react' ;
12+ interface SVGRProps {
13+ title ?: string ;
14+ titleId ?: string ;
15+ }
16+
17+ const EuiIconUserAvatar = ( {
18+ title,
19+ titleId,
20+ ...props
21+ } : React . SVGProps < SVGSVGElement > & SVGRProps ) => (
22+ < svg
23+ xmlns = "http://www.w3.org/2000/svg"
24+ width = { 18 }
25+ height = { 18 }
26+ viewBox = "0 0 18 18"
27+ aria-labelledby = { titleId }
28+ { ...props }
29+ >
30+ { title ? < title id = { titleId } > { title } </ title > : null }
31+ < g fillRule = "evenodd" >
32+ < path d = "M13.689 11.132c1.155 1.222 1.953 2.879 2.183 4.748a1.007 1.007 0 01-1 1.12H3.007a1.005 1.005 0 01-1-1.12c.23-1.87 1.028-3.526 2.183-4.748.247.228.505.442.782.633-1.038 1.069-1.765 2.55-1.972 4.237L14.872 16c-.204-1.686-.93-3.166-1.966-4.235a7.01 7.01 0 00.783-.633zM8.939 1c1.9 0 3 2 4.38 2.633a2.483 2.483 0 01-1.88.867c-.298 0-.579-.06-.844-.157A3.726 3.726 0 017.69 5.75c-1.395 0-3.75.25-3.245-1.903C5.94 3 6.952 1 8.94 1z" />
33+ < path d = "M8.94 2c2.205 0 4 1.794 4 4s-1.795 4-4 4c-2.207 0-4-1.794-4-4s1.793-4 4-4m0 9A5 5 0 108.937.999 5 5 0 008.94 11" />
34+ </ g >
35+ </ svg >
36+ ) ;
37+
38+ export const icon = EuiIconUserAvatar ;
Original file line number Diff line number Diff line change @@ -393,6 +393,7 @@ const typeToPathMap = {
393393 upgradeAssistantApp : 'app_upgrade_assistant' ,
394394 uptimeApp : 'app_uptime' ,
395395 user : 'user' ,
396+ userAvatar : 'userAvatar' ,
396397 users : 'users' ,
397398 usersRolesApp : 'app_users_roles' ,
398399 vector : 'vector' ,
Original file line number Diff line number Diff line change 1+ - Renamed ` user ` glyph to ` userAvatar ` in ` EuiIcon `
2+ - Added new ` user ` glyph in ` EuiIcon `
You canβt perform that action at this time.
0 commit comments