update to match component 1.0.0
Automatically rewritten for npm.