I run a Ryzen 5 2600 in a Cooler Master 130 case with the stock cooler. I run it with stock settings and frequencies (XMP enabled). I do not encounter any thermal throttling in normal usage, including long gaming sessions. That said, the 2600 is a 65W chip while the 2700X is rated at 105W. Maybe I would run into more thermal constraints if I used the 105W part, but so far the 2600 has had plenty of performance to meet my needs of a semi-portable gaming/development machine.
I've read that Ryzen can generate a good amount of heat. I'd worry that Mini-ITX due to the formfactor may struggle more.