I got my new baby while trying to shut the bathroom door

I did not see her. It was her little paw. She let out a terrible noise, I wanted to die. I thought , oh God, I hurt her bad. She was holding her paw up. But as soon as i got out of the bathroom she was ok. I kept checking her over, and over . I was so scared. Miley Boo is always right there under foot. and she is very small. At around only 2-3 pounds It is my worst fear . I am always having to dodge her.