diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a97b3c67ad..413bc3a4fe3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ ## [`master`](https://github.com/elastic/eui/tree/master) - Added custom date string formatting for series charts crosshair overlay ([#1429](https://github.com/elastic/eui/pull/1429)) +- Added new icons for `symlink` and `submodule` ([#1439](https://github.com/elastic/eui/pull/1439)) ## [`6.3.1`](https://github.com/elastic/eui/tree/v6.3.1) diff --git a/src-docs/src/views/icon/icons.js b/src-docs/src/views/icon/icons.js index 80a5f151c32..21c15ec1580 100644 --- a/src-docs/src/views/icon/icons.js +++ b/src-docs/src/views/icon/icons.js @@ -145,6 +145,8 @@ const iconTypes = [ 'stopFilled', 'storage', 'string', + 'submodule', + 'symlink', 'tableOfContents', 'tag', 'tear', diff --git a/src/components/icon/__snapshots__/icon.test.tsx.snap b/src/components/icon/__snapshots__/icon.test.tsx.snap index 35dc339c401..912985bc3f7 100644 --- a/src/components/icon/__snapshots__/icon.test.tsx.snap +++ b/src/components/icon/__snapshots__/icon.test.tsx.snap @@ -5484,6 +5484,40 @@ exports[`EuiIcon props type string is rendered 1`] = ` `; +exports[`EuiIcon props type submodule is rendered 1`] = ` + + + +`; + +exports[`EuiIcon props type symlink is rendered 1`] = ` + + + +`; + exports[`EuiIcon props type tableOfContents is rendered 1`] = ` + + diff --git a/src/components/icon/assets/symlink.svg b/src/components/icon/assets/symlink.svg new file mode 100644 index 00000000000..1d10a465bc1 --- /dev/null +++ b/src/components/icon/assets/symlink.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/components/icon/icon.tsx b/src/components/icon/icon.tsx index 174494041c7..d3016ef9c02 100644 --- a/src/components/icon/icon.tsx +++ b/src/components/icon/icon.tsx @@ -229,6 +229,8 @@ import stop from './assets/stop.svg'; import stopFilled from './assets/stop_filled.svg'; import storage from './assets/storage.svg'; import string from './assets/string.svg'; +import submodule from './assets/submodule.svg'; +import symlink from './assets/symlink.svg'; import tableOfContents from './assets/tableOfContents.svg'; import tag from './assets/tag.svg'; import tear from './assets/tear.svg'; @@ -517,6 +519,8 @@ const typeToIconMap = { stopFilled, storage, string, + submodule, + symlink, tableOfContents, tag, tear,