diff --git a/.changeset/young-kangaroos-juggle.md b/.changeset/young-kangaroos-juggle.md new file mode 100644 index 000000000..974438094 --- /dev/null +++ b/.changeset/young-kangaroos-juggle.md @@ -0,0 +1,14 @@ +--- +'@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 diff --git a/docs/components/inputs/combobox/overview.md b/docs/components/inputs/combobox/overview.md index c2b20ee5b..5199a032c 100644 --- a/docs/components/inputs/combobox/overview.md +++ b/docs/components/inputs/combobox/overview.md @@ -47,4 +47,5 @@ npm i --save @lion/combobox ```js import '@lion/combobox/define'; +import '@lion/listbox/lion-option.js'; ``` diff --git a/docs/components/inputs/form/features.md b/docs/components/inputs/form/features.md index bb81a3d30..eddac67bb 100644 --- a/docs/components/inputs/form/features.md +++ b/docs/components/inputs/form/features.md @@ -10,7 +10,7 @@ import '@lion/form/define'; ## Submit & Reset -To submit a form, use a regular button (or `LionButton`) with `type="submit"` (which is default) somewhere inside the native `