appuniversum / ember-appuniversum

Ember addon wrapping the appuniversum components.
https://appuniversum.github.io/ember-appuniversum
MIT License
14 stars 10 forks source link

Deprecate the `AuToggleSwitch` component #375

Closed Windvis closed 1 year ago

Windvis commented 1 year ago

It still uses <Input> internally, so we should get rid of it. Renaming the component to AuSwitch (in line with AuCheckbox and AuRadio) will allow us to do that without it being a breaking change.

Projects can then opt-in to the new behaviour by using AuSwitch instead. The AuToggleSwitch component should then show a deprecation warning if it is used.

Windvis commented 1 year ago

I forgot about the rename and only deprecated the 2-way-binding instead in https://github.com/appuniversum/ember-appuniversum/pull/43