diff --git a/CHANGELOG.md b/CHANGELOG.md index e8255121914..353b39b31a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ - Added `EuiSuggestItem` component ([#2090](https://github.com/elastic/eui/pull/2090)) - Added support for negated or clauses to `EuiSearchBar` ([#2140](https://github.com/elastic/eui/pull/2140)) - Added `transition` utility services to help create timeouts that account for CSS transition durations and delays ([#2136](https://github.com/elastic/eui/pull/2136)) +- Removed `EuiFlexGroup` dependency from `EuiAccordion` ([#2143](https://github.com/elastic/eui/pull/2143)) **Bug fixes** diff --git a/src-docs/src/views/accordion/accordion_form.js b/src-docs/src/views/accordion/accordion_form.js index b3a41a12e86..9cd8ca55c39 100644 --- a/src-docs/src/views/accordion/accordion_form.js +++ b/src-docs/src/views/accordion/accordion_form.js @@ -45,7 +45,7 @@ const repeatableForm = ( const buttonContent = (
- + diff --git a/src-docs/src/views/accordion/accordion_multiple.js b/src-docs/src/views/accordion/accordion_multiple.js index 23890a99b82..42bd49e8332 100644 --- a/src-docs/src/views/accordion/accordion_multiple.js +++ b/src-docs/src/views/accordion/accordion_multiple.js @@ -19,7 +19,8 @@ export default () => (

The content inside can be of any height.

diff --git a/src/components/accordion/__snapshots__/accordion.test.tsx.snap b/src/components/accordion/__snapshots__/accordion.test.tsx.snap index 612606f1323..e4bab329327 100644 --- a/src/components/accordion/__snapshots__/accordion.test.tsx.snap +++ b/src/components/accordion/__snapshots__/accordion.test.tsx.snap @@ -9,75 +9,44 @@ exports[`EuiAccordion behavior closes when clicked twice 1`] = `
- -
- -
+ - -
-
-
-
+ + + + + + +
- -
- -
+ - -
-
-
-
+ + + + + + +
- + + + +
- + +
- + + + +
- + + + +
-
+ +
+ +
+ ); let optionalAction = null; if (extraAction) { - optionalAction = {extraAction}; + optionalAction = ( +
{extraAction}
+ ); } return (
- - - - +
+ {optionalAction} - +