hey dont worry
the light only hurts roots if they are exposed for a large amount of time
having them exposed while transplanting to another pot is totally fine
cheers dude