The legislation would provide parental leave for both childbirth and adoption.