From ebf63eb7b68821fe999666ac40424fbd10e0d933 Mon Sep 17 00:00:00 2001 From: maryia-lapata Date: Tue, 17 Sep 2019 17:58:43 +0300 Subject: [PATCH 1/3] Fix TS --- src/components/form/range/index.d.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/form/range/index.d.ts b/src/components/form/range/index.d.ts index c2fed6e2ef9..853be8b80ba 100644 --- a/src/components/form/range/index.d.ts +++ b/src/components/form/range/index.d.ts @@ -62,7 +62,9 @@ declare module '@elastic/eui' { } export const EuiRange: FunctionComponent< - CommonProps & InputHTMLAttributes & EuiRangeProps + CommonProps & + Omit, 'onChange'> & + EuiRangeProps >; /** From c398aaa544486de04e280165ae231aec2cc8a129 Mon Sep 17 00:00:00 2001 From: maryia-lapata Date: Tue, 17 Sep 2019 18:41:36 +0300 Subject: [PATCH 2/3] Update CHANGELOG.md --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 161b10aa8df..5e1f9426ec9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ No public interface changes since `14.1.0`. +**Bug fixes** + +- Fixed `onChange` TS defs for EuiRange ([#2349](https://github.com/elastic/eui/pull/2349)) + ## [`14.1.0`](https://github.com/elastic/eui/tree/v14.1.0) - Created `EuiSuggest` component ([#2270](https://github.com/elastic/eui/pull/2270)) From a8257726acf4cdf5b678957ac00fb97adee8cd34 Mon Sep 17 00:00:00 2001 From: maryia-lapata Date: Tue, 17 Sep 2019 19:02:26 +0300 Subject: [PATCH 3/3] Update CHANGELOG.md --- CHANGELOG.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5e1f9426ec9..afb6914f93d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,5 @@ ## [`master`](https://github.com/elastic/eui/tree/master) -No public interface changes since `14.1.0`. - **Bug fixes** - Fixed `onChange` TS defs for EuiRange ([#2349](https://github.com/elastic/eui/pull/2349))