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

[icons] feat: add inherited group membership icon #4097

Merged
merged 5 commits into from
Apr 27, 2020
Merged
Show file tree
Hide file tree
Changes from 3 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
6 changes: 6 additions & 0 deletions packages/icons/resources/icons/icons.json
Original file line number Diff line number Diff line change
Expand Up @@ -3406,5 +3406,11 @@
"iconName": "virus",
"tags": "virus, doctor, medical, examination, disease, pandemic, sick",
"group": "interface"
},
{
"displayName": "Inherited group membership",
"iconName": "inherited-group",
"tags": "group, inheritance, inherited, membership, people",
"group": "interface"
}
]
14 changes: 14 additions & 0 deletions resources/icons/16px/inherited-group
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this file is missing the .svg file extension, which is expected by the compile script:

lerna ERR! yarn run compile stderr:
 
(node:254) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open '/home/circleci/project/resources/icons/16px/inherited-group.svg'
 

<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>pt-icon-inherited-group</title>
<defs>
<rect id="path-1" x="0" y="0" width="16" height="16"></rect>
</defs>
<g id="pt-icon-inherited-group" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<mask id="mask-2" fill="white">
<use xlink:href="#path-1"></use>
</mask>
<g id="Rectangle"></g>
<path d="M1,7 C1.51071429,7 1.93520408,7.3880102 1.9932398,7.88380102 L2,8 L2,11 C2,11.5107143 2.3880102,11.9352041 2.88380102,11.9932398 L3,12 L4.59,12 L4.29,11.71 C4.11,11.53 4,11.28 4,11 C4,10.45 4.45,10 5,10 C5.23333333,10 5.44583333,10.0763889 5.61435185,10.2060185 L5.71,10.29 L7.71,12.29 C7.89,12.47 8,12.72 8,13 C8,13.2333333 7.92361111,13.4458333 7.79398148,13.6143519 L7.71,13.71 L5.71,15.71 C5.53,15.89 5.28,16 5,16 C4.45,16 4,15.55 4,15 C4,14.76 4.08081633,14.5420408 4.22355685,14.371312 L4.3,14.29 L4.59,14 L3,14 C1.39928571,14 0.096122449,12.7540051 0.00508108601,11.1765862 L-2.22044605e-15,11 L-2.22044605e-15,8 C-2.22044605e-15,7.45 0.45,7 1,7 Z M6.38756714,0 C7.01699253,0 7.72634495,0.21 8.22588891,0.6 C8.70545111,0.98 9.07511364,1.51 9.24495859,2.12 C9.2849221,2.25 9.31489474,2.39 9.3348765,2.52 C9.42479441,3 9.47474881,3.74 9.47474881,4.25 L9.47474881,4.32 C9.65458463,4.4 9.8144387,4.59 9.84441134,4.99 C9.87438398,5.31 9.75449343,5.58 9.68455727,5.7 C9.624612,5.98 9.47474881,6.28 9.20499507,6.33 C9.17502243,6.46 9.13505892,6.59 9.08510452,6.72 C9.08510452,6.73 9.07511364,6.76 9.07511364,6.76 C8.8553143,7.34 8.52561529,7.84 8.12598012,8.21 L8.12598012,8.39 C8.16594363,8.84 8.00608957,9.16 9.18501331,9.69 C10.3639371,10.22 12.1323227,10.78 12.4919943,11.64 C12.8616569,12.5 12.7117937,13 12.7117937,13 L9,13 L9,13 C9,12.4610272 8.78911376,11.9549002 8.41710678,11.5828932 L6.41710678,9.58289322 C6.0450998,9.21088624 5.53897282,9 5,9 C4.85114495,9 4.70385647,8.98498907 4.55813455,8.95496721 C4.65673966,8.76543141 4.64044866,8.58584795 4.65914504,8.38 C4.65914504,8.33 4.66913592,8.27 4.66913592,8.21 C4.25950987,7.86 3.91981998,7.35 3.70002064,6.76 L3.70002064,6.75 C3.70002064,6.75 3.69002976,6.74 3.69002976,6.73 C3.65006624,6.61 3.60011185,6.47 3.57013921,6.34 C3.29039459,6.29 3.13054052,5.98 3.07059525,5.7 C3.01064997,5.58 2.88076854,5.31 2.91074118,4.99 C2.9507047,4.58 3.12054964,4.39 3.30038547,4.31 L3.30038547,4.25 C3.30038547,3.74 3.35033987,2.99 3.44025778,2.51 C3.46023954,2.38 3.49021217,2.24 3.53017569,2.11 C3.70002064,1.51 4.06968317,0.98 4.54924537,0.6 C5.04878933,0.21 5.75814175,0 6.38756714,0 Z M11.0133442,2.04 C11.5028973,2.04 12.0623865,2.2 12.4520308,2.5 C12.8316842,2.79 13.1214197,3.2 13.2513011,3.67 C13.2812738,3.77 13.3012555,3.88 13.3212373,3.98 C13.3911734,4.35 13.431137,4.92 13.431137,5.31 L13.431137,5.36 C13.5710093,5.42 13.7008907,5.57 13.7208725,5.87 C13.7408542,6.12 13.6509363,6.32 13.590991,6.41 C13.5410366,6.62 13.431137,6.85 13.2113376,6.89 C13.1913559,6.99 13.1613832,7.09 13.1214197,7.19 C13.1214197,7.2 13.1114288,7.22 13.1114288,7.22 C12.9415839,7.66 12.681821,8.05 12.3621129,8.33 L12.3621129,8.47 C12.3920855,8.82 12.272195,9.06 13.1913559,9.47 C14.1205076,9.88 15.5092398,10.31 15.7889845,10.97 C16.07872,11.63 15.9588294,12.01 15.9588294,12.01 L13.6609272,12.01 L13.6609272,12.02 C13.6109728,11.78 13.5210549,11.52 13.4111552,11.26 C13.0514836,10.4 12.2921767,9.93 10.7236087,9.26 C10.5837364,9.2 10.1341468,9.01 10.124156,9.01 C9.91434749,8.92 9.7644843,8.86 9.624612,8.79 C9.64459375,8.69 9.64459375,8.59 9.65458463,8.48 C9.65458463,8.44 9.66457551,8.4 9.66457551,8.35 C9.59463936,8.29 9.53469408,8.23 9.47474881,8.16 C9.69454815,7.84 9.87438398,7.49 10.0142563,7.11 C10.034238,7.05 10.034238,7.05 10.0442289,7.01 C10.3339644,6.78 10.5237911,6.44 10.6336908,6.05 C10.7935449,5.72 10.8834628,5.32 10.8434993,4.89 C10.8135266,4.49 10.6836452,4.13 10.4738367,3.86 C10.453855,3.33 10.4039006,2.73 10.3239735,2.32 C10.3139827,2.26 10.3039918,2.2 10.2940009,2.13 C10.5237911,2.07 10.7735631,2.04 11.0133442,2.04 Z" id="Combined-Shape" fill="#000000" fill-rule="nonzero" mask="url(#mask-2)"></path>
</g>
</svg>
8 changes: 8 additions & 0 deletions resources/icons/20px/inherited-group
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>pt-incon-inherited-group</title>
<desc>Created with Sketch.</desc>
<g id="pt-incon-inherited-group" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M1,9 C1.55,9 2,9.45 2,10 L2,10 L2,14 C2,15.1 2.9,16 4,16 L4,16 L6.59,16 L6.29,15.71 C6.11,15.53 6,15.28 6,15 C6,14.45 6.45,14 7,14 C7.28,14 7.53,14.11 7.71,14.29 L7.71,14.29 L9.71,16.29 C9.89,16.47 10,16.72 10,17 C10,17.28 9.89,17.53 9.71,17.71 L9.71,17.71 L7.71,19.71 C7.53,19.89 7.28,20 7,20 C6.45,20 6,19.55 6,19 C6,18.72 6.11,18.47 6.3,18.29 L6.3,18.29 L6.59,18 L4,18 C1.79,18 -9.24593735e-13,16.21 -9.24593735e-13,14 L-9.24593735e-13,14 L-9.26370092e-13,10 C-9.26370092e-13,9.45 0.45,9 1,9 Z M7.99602188,0 C8.78568415,0 9.67530368,0.25 10.3050344,0.73 C10.9247693,1.19 11.3745769,1.86 11.5944829,2.59 C11.6444615,2.76 11.6844444,2.92 11.7044359,3.09 C11.8143888,3.69 11.8743632,4.61 11.8743632,5.24 L11.8743632,5.33 C12.0942691,5.42 12.2941836,5.65 12.3441623,6.15 C12.3741494,6.54 12.2242136,6.88 12.1442478,7.02 C12.0742777,7.36 11.8743632,7.73 11.5345085,7.8 C11.4945256,7.96 11.444547,8.13 11.3845727,8.28 C11.3745769,8.29 11.3645812,8.33 11.3645812,8.33 C11.0946966,9.04 10.6848719,9.66 10.1750899,10.11 C10.1750899,10.19 10.1750899,10.27 10.1850857,10.34 C10.2350643,10.89 10.0351498,11.29 11.5145171,11.94 C12.9838887,12.6 15.2129353,13.29 15.6927302,14.33 C16.1425378,15.38 15.9626147,16 15.9626147,16 L10.7363605,16.0007318 C10.6495036,15.8488084 10.5424511,15.7082376 10.4171068,15.5828932 L8.41710678,13.5828932 C8.0450998,13.2108862 7.53897282,13 7,13 C5.89771525,13 5,13.8977153 5,15 L4,15 C3.45228475,15 3,14.5477153 3,14 L3.00044836,12.5380192 C3.5110623,12.3253898 4.02273101,12.1254349 4.46753094,11.93 C5.94689824,11.28 5.79696237,10.88 5.84694099,10.34 L5.85693672,10.13 L5.85693672,10.13 C5.33715902,9.68 4.90734284,9.05 4.63745826,8.33 L4.62746254,8.32 L4.61746681,8.29 L4.61746681,8.29 C4.54749674,8.14 4.49751811,7.97 4.45753521,7.8 C4.11768056,7.74 3.91776606,7.37 3.83780026,7.02 C3.75783446,6.88 3.59790286,6.54 3.63788576,6.15 C3.68786439,5.64 3.89777461,5.41 4.12767629,5.32 L4.12767629,5.24 C4.12767629,4.6 4.17765491,3.69 4.29760361,3.09 C4.31759506,2.92 4.35757796,2.75 4.40755659,2.59 C4.62746254,1.85 5.08726589,1.19 5.69700512,0.73 C6.31674007,0.25 7.2063596,0 7.99602188,0 Z M13.9934569,3 C14.5832047,3 15.2529182,3.19 15.7227173,3.55 C16.1825207,3.9 16.5223753,4.4 16.6923027,4.95 C16.7322856,5.08 16.7622727,5.2 16.7722685,5.33 C16.8522343,5.78 16.9022129,6.47 16.9022129,6.94 L16.9022129,7.01 C17.0621445,7.08 17.2120804,7.25 17.2520633,7.63 C17.2720547,7.92 17.1621017,8.18 17.1021274,8.28 C17.0521488,8.54 16.9022129,8.81 16.642324,8.87 C16.6123369,8.99 16.572354,9.12 16.5323711,9.23 C16.5223753,9.24 16.5223753,9.27 16.5223753,9.27 C16.3224608,9.8 16.0125934,10.27 15.6327558,10.61 C15.6327558,10.67 15.6327558,10.73 15.6427515,10.78 C15.6827344,11.19 15.5327986,11.49 16.642324,11.97 C17.7418538,12.47 19.4111399,12.98 19.770986,13.76 C20.1108406,14.55 19.9709005,15.01 19.9709005,15.01 L16.9322001,15.01 L16.9322001,15 C16.8722257,14.67 16.7622727,14.31 16.6023411,13.94 C16.1525335,12.97 15.2329268,12.42 13.3637262,11.64 C13.1937989,11.57 12.6040511,11.33 12.5940554,11.32 C12.4940981,11.28 12.3941409,11.24 12.3141751,11.2 C12.3641537,11.06 12.354158,10.91 12.3741494,10.75 L12.3841452,10.59 L12.3841452,10.59 C12.134252,10.38 11.9143461,10.11 11.734423,9.8 C11.954329,9.46 12.1442478,9.09 12.2941836,8.68 L12.322,8.602 L12.3201101,8.615 C12.3185482,8.62375 12.316674,8.635 12.3141751,8.65 L12.3741494,8.5 C12.7339955,8.24 12.9738929,7.83 13.0938416,7.37 C13.2737647,7 13.3837177,6.55 13.3437348,6.07 C13.2937561,5.57 13.1338245,5.15 12.8739357,4.85 C12.8539442,4.32 12.8139613,3.74 12.753987,3.26 C13.1338245,3.09 13.5836322,3 13.9934569,3 Z" id="Combined-Shape" fill="#000000" fill-rule="nonzero"></path>
</g>
</svg>