No, but they did have private documents.
Can you imagine what would have happened if James Madison was crossing the boarder and someone said to him "Pass over all your documents, my scribe is going to take a copy of them"
There is nothing new here, it is just a document search and seizure.
But its not the same. In those days, when you travelled and crossed borders you had to more or less consciously give some attention to the documents you brought with you. Reams of paper get pretty heavy; and so it wasn't customary to have every document, photo, and piece of correspondence, you ever produced or received *on your person*.
Now you cross the border... and your phone or laptop; especially if its also linked to additional cloud storage accounts and social media etc... it literally has the potential to be a every document, photo, and piece of correspondence you have ever received; and we don't give it a 2nd thought
We're not deliberately carrying all our photos and email history and bank records and tax documents through customs because we want to transport them to another country... its just incidental to how we use the devices.
If James Madison was reentering the country with a suitcase of documents, it would still be egregious to demand they be turned over for copying before allowing passage. "Ah, but what if it's his entire personal library, packed in boxes. He might be smuggling contraband. Customs should be allowed to inspect!" Too true, but what invasive species, sickened animals, blood diamonds, ivory, or tiger penis might be in the ones and zeroes of James Madison VIII's phone?