From 060675041192fb0e60f316b9162422e49700aeda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Luis=20Gonz=C3=A1lez?= Date: Wed, 29 Nov 2023 18:42:14 +0000 Subject: [PATCH] Adding endpoint icon (#7383) Co-authored-by: Cee Chen Co-authored-by: Cee Chen <549407+cee-chen@users.noreply.github.com> --- changelogs/upcoming/7383.md | 2 + src-docs/src/views/icon/icons.js | 1 + .../icon/__snapshots__/icon.test.tsx.snap | 23 +++++++++++ src/components/icon/assets/endpoint.tsx | 39 +++++++++++++++++++ src/components/icon/icon_map.ts | 1 + src/components/icon/svgs/endpoint.svg | 4 ++ yarn.lock | 12 +++--- 7 files changed, 76 insertions(+), 6 deletions(-) create mode 100644 changelogs/upcoming/7383.md create mode 100644 src/components/icon/assets/endpoint.tsx create mode 100644 src/components/icon/svgs/endpoint.svg diff --git a/changelogs/upcoming/7383.md b/changelogs/upcoming/7383.md new file mode 100644 index 00000000000..6b38395e644 --- /dev/null +++ b/changelogs/upcoming/7383.md @@ -0,0 +1,2 @@ +- Added `endpoint` glyph to `EuiIcon` + diff --git a/src-docs/src/views/icon/icons.js b/src-docs/src/views/icon/icons.js index d00b12bc9f2..79d4eb26ab5 100644 --- a/src-docs/src/views/icon/icons.js +++ b/src-docs/src/views/icon/icons.js @@ -78,6 +78,7 @@ export const iconTypes = [ 'download', 'email', 'empty', + 'endpoint', 'eql', 'eraser', 'error', diff --git a/src/components/icon/__snapshots__/icon.test.tsx.snap b/src/components/icon/__snapshots__/icon.test.tsx.snap index d3d2d347700..531f0c1d713 100644 --- a/src/components/icon/__snapshots__/icon.test.tsx.snap +++ b/src/components/icon/__snapshots__/icon.test.tsx.snap @@ -2840,6 +2840,29 @@ exports[`EuiIcon props type emsApp is rendered 1`] = ` `; +exports[`EuiIcon props type endpoint is rendered 1`] = ` + +`; + exports[`EuiIcon props type eql is rendered 1`] = `