diff --git a/CHANGELOG.md b/CHANGELOG.md index a09bc0e29bb..1966f1e9e34 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ ## [`master`](https://github.com/elastic/eui/tree/master) +- Added `fold` and `unfold` glyphs to `EuiIcon` ([#3994](https://github.com/elastic/eui/pull/3994)) + **Bug fixes** - Fixed bug in `EuiComboBox` where the input was dropping to the next line when a `EuiBadge` had a very long text ([#3968](https://github.com/elastic/eui/pull/3968)) diff --git a/src-docs/src/views/icon/icons.js b/src-docs/src/views/icon/icons.js index 1dca84979f7..d3b7425fb6c 100644 --- a/src-docs/src/views/icon/icons.js +++ b/src-docs/src/views/icon/icons.js @@ -82,6 +82,7 @@ export const iconTypes = [ 'faceSad', 'filter', 'flag', + 'fold', 'folderCheck', 'folderClosed', 'folderExclamation', @@ -202,6 +203,7 @@ export const iconTypes = [ 'timeline', 'training', 'trash', + 'unfold', 'unlink', 'user', 'users', diff --git a/src/components/icon/__snapshots__/icon.test.tsx.snap b/src/components/icon/__snapshots__/icon.test.tsx.snap index 13dc9ab3dee..a70787226cf 100644 --- a/src/components/icon/__snapshots__/icon.test.tsx.snap +++ b/src/components/icon/__snapshots__/icon.test.tsx.snap @@ -2451,6 +2451,21 @@ exports[`EuiIcon props type flag is rendered 1`] = ` `; +exports[`EuiIcon props type fold is rendered 1`] = ` + +`; + exports[`EuiIcon props type folderCheck is rendered 1`] = `