From 0b31be2827ebb536c394670c2eff4d1347f275e5 Mon Sep 17 00:00:00 2001 From: Michael Marcialis Date: Wed, 6 Dec 2023 16:36:01 -0500 Subject: [PATCH] New ES|QL-related icons (#7399) --- changelogs/upcoming/7399.md | 1 + src-docs/src/views/icon/icons.js | 3 + .../icon/__snapshots__/icon.test.tsx.snap | 57 +++++++++++++++++++ src/components/icon/assets/esqlVis.tsx | 35 ++++++++++++ src/components/icon/assets/pipeBreaks.tsx | 34 +++++++++++ src/components/icon/assets/pipeNoBreaks.tsx | 34 +++++++++++ src/components/icon/icon_map.ts | 3 + src/components/icon/svgs/esqlVis.svg | 4 ++ src/components/icon/svgs/pipeBreaks.svg | 3 + src/components/icon/svgs/pipeNoBreaks.svg | 3 + 10 files changed, 177 insertions(+) create mode 100644 changelogs/upcoming/7399.md create mode 100644 src/components/icon/assets/esqlVis.tsx create mode 100644 src/components/icon/assets/pipeBreaks.tsx create mode 100644 src/components/icon/assets/pipeNoBreaks.tsx create mode 100644 src/components/icon/svgs/esqlVis.svg create mode 100644 src/components/icon/svgs/pipeBreaks.svg create mode 100644 src/components/icon/svgs/pipeNoBreaks.svg diff --git a/changelogs/upcoming/7399.md b/changelogs/upcoming/7399.md new file mode 100644 index 00000000000..31e4498c3a1 --- /dev/null +++ b/changelogs/upcoming/7399.md @@ -0,0 +1 @@ +- Added `esqlVis`, `pipeBreaks`, and `pipeNoBreaks` icon glyphs. \ No newline at end of file diff --git a/src-docs/src/views/icon/icons.js b/src-docs/src/views/icon/icons.js index 79d4eb26ab5..25f46dec881 100644 --- a/src-docs/src/views/icon/icons.js +++ b/src-docs/src/views/icon/icons.js @@ -82,6 +82,7 @@ export const iconTypes = [ 'eql', 'eraser', 'error', + 'esqlVis', 'exit', 'expand', 'expandMini', @@ -196,6 +197,8 @@ export const iconTypes = [ 'percent', 'pin', 'pinFilled', + 'pipeBreaks', + 'pipeNoBreaks', 'pivot', 'play', 'playFilled', diff --git a/src/components/icon/__snapshots__/icon.test.tsx.snap b/src/components/icon/__snapshots__/icon.test.tsx.snap index 531f0c1d713..36ca5fd44bb 100644 --- a/src/components/icon/__snapshots__/icon.test.tsx.snap +++ b/src/components/icon/__snapshots__/icon.test.tsx.snap @@ -2924,6 +2924,27 @@ exports[`EuiIcon props type error is rendered 1`] = ` `; +exports[`EuiIcon props type esqlVis is rendered 1`] = ` + +`; + exports[`EuiIcon props type exit is rendered 1`] = `