I don't have the time (or the skill) to research that thoroughly, but I did find this list of things Pope Benedict gave to President Obama in 2009:
<<Gilt framed and matted mosaic depicting St. Peter’s Square; decorative gold coin with the inscription "Benedict XVI Pont Max Anno IV" with the profile of Pope Benedict the XVI; booklet entitled "Instruction Dignitas Personae On Certain Bioethical Questions"; book entitled "Encyclical Letter Caritas in Veritate of the Supreme Pontiff Benedict XVI"; silver keychain.>>
Source: https://www.washingtonpost.com/news/the-fix/wp/2014/08/04/every-gift-given-to-barack-obama-between-2009-and-2012-ranked/?utm_term=.d65d8221ecf5
I don't know for sure if it is customary for popes to distribute their own writing or other Vatican documents as gifts to foreign dignitaries, but I suspect that it is. Obviously, Pope Francis was not the first to do it.