From 37601d00172312b3901939b596839cd6143af92d Mon Sep 17 00:00:00 2001 From: Elizabet Oliveira Date: Thu, 22 Sep 2022 14:36:02 +0100 Subject: [PATCH 1/3] [EuiIcon] Add `launch` and `spaces` glyphs --- src-docs/src/views/icon/icons.js | 2 + .../icon/__snapshots__/icon.test.tsx.snap | 48 +++++++++++++++++++ src/components/icon/assets/launch.tsx | 42 ++++++++++++++++ src/components/icon/assets/spaces.tsx | 40 ++++++++++++++++ src/components/icon/icon_map.ts | 2 + src/components/icon/svgs/launch.svg | 5 ++ src/components/icon/svgs/spaces.svg | 3 ++ 7 files changed, 142 insertions(+) create mode 100644 src/components/icon/assets/launch.tsx create mode 100644 src/components/icon/assets/spaces.tsx create mode 100644 src/components/icon/svgs/launch.svg create mode 100644 src/components/icon/svgs/spaces.svg diff --git a/src-docs/src/views/icon/icons.js b/src-docs/src/views/icon/icons.js index 8927fa3bae1..c8a4eab0829 100644 --- a/src-docs/src/views/icon/icons.js +++ b/src-docs/src/views/icon/icons.js @@ -131,6 +131,7 @@ export const iconTypes = [ 'kqlValue', 'kubernetesNode', 'kubernetesPod', + 'launch', 'layers', 'lettering', 'lineDashed', @@ -208,6 +209,7 @@ export const iconTypes = [ 'sortLeft', 'sortRight', 'sortUp', + 'spaces', 'starEmpty', 'starEmptySpace', 'starFilled', diff --git a/src/components/icon/__snapshots__/icon.test.tsx.snap b/src/components/icon/__snapshots__/icon.test.tsx.snap index 4b28d8982d5..8faa0a2bfba 100644 --- a/src/components/icon/__snapshots__/icon.test.tsx.snap +++ b/src/components/icon/__snapshots__/icon.test.tsx.snap @@ -4009,6 +4009,33 @@ exports[`EuiIcon props type kubernetesPod is rendered 1`] = ` `; +exports[`EuiIcon props type launch is rendered 1`] = ` + +`; + exports[`EuiIcon props type layers is rendered 1`] = `