breaking(number-input): align change, input events with native input behavior (#1053)

* Closes #1052

* Closes #1050
This commit is contained in:
brunnerh 2022-01-30 18:01:51 +01:00 committed by GitHub
commit 099efedef1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 25 additions and 15 deletions

View file

@ -149,11 +149,11 @@ export default class NumberInput extends SvelteComponentTyped<
NumberInputProps,
{
change: CustomEvent<null | number>;
input: CustomEvent<null | number>;
click: WindowEventMap["click"];
mouseover: WindowEventMap["mouseover"];
mouseenter: WindowEventMap["mouseenter"];
mouseleave: WindowEventMap["mouseleave"];
input: WindowEventMap["input"];
focus: WindowEventMap["focus"];
blur: WindowEventMap["blur"];
},