From 595adc813cb142d3c64755d075b5731d6bdfae81 Mon Sep 17 00:00:00 2001 From: Michael Marcialis Date: Wed, 6 Dec 2023 12:23:04 -0500 Subject: [PATCH 1/2] add esql icons and update snapshots --- 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 + 9 files changed, 176 insertions(+) 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/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`] = `