Dispatching an event in response to a host setting a property is superfluous (the host knows the current state because it just set it). Dispatching events in response to a host setting a property may cause infinite loops with data binding systems.
From now on, color-changed event is only fired when color is picked by the user.
It will NOT be fired on setting color as a property or attribute on the component.
This is a breaking change aiming to align the implementation with Custom Elements best practices:
From now on,
color-changed
event is only fired when color is picked by the user. It will NOT be fired on settingcolor
as a property or attribute on the component.Fixes #64 Closes #70