Refactors boolean-input-component packaging

This makes building for named-amd and globals both work with support
for optionally auto-injecting the components.