Skip to content

Commit 87910ad

Browse files
JoCa96larsrickert
andauthored
Update .changeset/hip-kids-decide.md
Co-authored-by: Lars Rickert <[email protected]>
1 parent 1e9b649 commit 87910ad

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.changeset/hip-kids-decide.md

+9
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,12 @@
33
---
44

55
feat: Remove/Rename emits that collide with native event names
6+
7+
- OnyxInput, OnyxTextarea and OnyxStepper: remove `focus` and `blur` event
8+
- OnyxInput and OnyxTextarea: `change` event is now the native HTML event so to get the input value, change `$event` to `$event.target.value`
9+
- OnyxNavBar: rename `appAreaClick` to `navigateToStart` and `backButtonClick` to `navigateBack`
10+
- OnyxNavButton: rename `click` to `navigate`, also the native MouseEvent is now passed as second parameter
11+
- OnyxNavItem: rename `click` to `navigate`
12+
- OnyxRadioButton: `change` event is now the native HTML event so to get the input value, change `$event` to `$event.target.checked`
13+
- OnyxSelectInput: rename `click` to `inputClick`
14+
- OnyxToastMessage: `click` event is now the native HTML event so it will always be emitted, even when `clickable` prop is not set.

0 commit comments

Comments
 (0)