My boss announced my pregnancy...

I need to know if this is illegal.
My boss asked why I’ve needed so many doctors appointments in the past while, and why I am continuing to make new ones. I broke down and told her that I’m 2 months pregnant (even though I didn’t want to tell anyone until at least the 3 month mark, but I felt she was pressuring me). She told me that she couldn’t believe I had been keeping that from her, and that she would have to make some changes with the staff. After our talk I found out she let everyone on staff know about my pregnancy, and everyone is now talking about how careless I am behind my back. Is what my boss did (announcing my pregnancy to all my co-workers) illegal? My location is New Jersey. I am new to this site and am learning about how to use it, so please bare with me. Thanks.

reported duplicate

Closed duplicate.