I do not know Harold, the transformers I have done where for track lighting and some other types of overhead wiring.
We use MC, 10/2 or 8/2 (or 8/3, 8/2 is not always available)
I am fairly certain that getting any of those hidden in a a "puck light" would be a chore.
Hopefully no Wagos used.