The new law protects workers who seek reasonable accommodations during pregnancy.