A new law signed in Illinois on Monday will require the state's libraries to uphold a pledge not to ban material because of partisan disapproval, starting on Jan. 1, 2024.