New York has passed a law that will require manufacturers to disclose the use of potentially dangerous chemicals in children's products, including clothing.