lion/.changeset/young-kangaroos-juggle.md
Thijs Louisse 57b2fb9ff8 feat(button): split off separate buttons for reset & submit
Co-authored-by: Gerjan van Geest <Gerjan.van.Geest@ing.com>
2021-05-27 09:00:10 +02:00

14 lines
630 B
Markdown

---
'@lion/button': minor
'@lion/form-integrations': minor
'@lion/select-rich': minor
---
- BREAKING: In `lion-button` package split of separate buttons for reset & submit:
- LionButton (a clean fundament, **use outside forms**)
- LionButtonReset (logic for. submit and reset events, but without implicit form submission logic: **use for reset buttons**)
- LionButtonSubmit (full featured button: **use for submit buttons and buttons with dynamic types**)
- fixed axe criterium for LionButton (which contained a native button to support form submission)
- removed `_beforeTemplate()` & `_afterTemplate()` from LionButton