From eae6b3070708f996005ace82bff66ac822f64ba5 Mon Sep 17 00:00:00 2001 From: Adrian Bruinhout Date: Fri, 15 Nov 2019 12:38:51 +1100 Subject: [PATCH 1/2] Passing name attribute into switch component --- src/components/form/switch/switch.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/form/switch/switch.tsx b/src/components/form/switch/switch.tsx index b1dad316c1f..bb0da46fa13 100644 --- a/src/components/form/switch/switch.tsx +++ b/src/components/form/switch/switch.tsx @@ -37,7 +37,6 @@ export type EuiSwitchProps = CommonProps & export const EuiSwitch: FunctionComponent = ({ label, id, - name, checked, disabled, compressed, From f2ca7355c62e523773930106443e8405ac576191 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Bevacqua?= Date: Fri, 15 Nov 2019 11:52:16 -0300 Subject: [PATCH 2/2] Update changelog, add missing PR links --- CHANGELOG.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6791aa5bd3b..ae17c7e28a8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,13 +1,15 @@ ## [`master`](https://github.com/elastic/eui/tree/master) -No public interface changes since `16.0.0`. +**Bug fixes** + +- `EuiSwitch` now passes `name` attribute into underlying `button` ([#2533](https://github.com/elastic/eui/pull/2533)) ## [`16.0.0`](https://github.com/elastic/eui/tree/v16.0.0) - Made `EuiCard` more accessible ([#2521](https://github.com/elastic/eui/pull/2521)) - Added ability to pass `children` to `EuiCard` ([#2521](https://github.com/elastic/eui/pull/2521)) - Replaced root element in `EuiFlyout`, switching from `span` to `Fragment` ([#2527](https://github.com/elastic/eui/pull/2527)) -- Upgraded `react-virtualized` to `9.21.2` +- Upgraded `react-virtualized` to `9.21.2` ([#2531](https://github.com/elastic/eui/pull/2531)) **Bug fixes** @@ -21,7 +23,7 @@ No public interface changes since `16.0.0`. ## [`15.0.0`](https://github.com/elastic/eui/tree/v15.0.0) - Converted `EuiShowFor` and `EuiHideFor` to TS ([#2503](https://github.com/elastic/eui/pull/2503)) -- Upgraded `react-ace` to `7.0.5` +- Upgraded `react-ace` to `7.0.5` ([#2526](https://github.com/elastic/eui/pull/2526)) **Bug fixes** @@ -40,7 +42,7 @@ No public interface changes since `16.0.0`. - Added new `euiControlBar` component for bottom-of-screen navigational elements. ([#2204](https://github.com/elastic/eui/pull/2204)) - Converted `EuiFlyout` to TypeScript ([#2500](https://github.com/elastic/eui/pull/2500)) - Added an animation to the arrow on `EuiAccordion` as it opens / closes ([#2507](https://github.com/elastic/eui/pull/2507)) -- Upgraded `react-input-autosize` to `2.2.2` +- Upgraded `react-input-autosize` to `2.2.2` ([#2514](https://github.com/elastic/eui/pull/2514)) **Bug fixes**