From b8ea798564adf1cb3feae76f3e1ab312596f2638 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 17 Oct 2024 05:04:14 +0000 Subject: [PATCH] Add icons for getting started cards (#1443) Signed-off-by: Viraj Sanghvi (cherry picked from commit 0308073f6333b25098e13c927c2313a3306efe4b) Signed-off-by: github-actions[bot] # Conflicts: # CHANGELOG.md --- src-docs/src/views/icon/icons.js | 8 ++ .../icon/__snapshots__/icon.test.tsx.snap | 120 ++++++++++++++++++ src/components/icon/assets/bookOpen.js | 23 ++++ src/components/icon/assets/bookOpen.svg | 29 +++++ src/components/icon/assets/compass.js | 23 ++++ src/components/icon/assets/compass.svg | 29 +++++ src/components/icon/assets/dashboard.js | 23 ++++ src/components/icon/assets/dashboard.svg | 29 +++++ src/components/icon/assets/functionAdd.js | 23 ++++ src/components/icon/assets/functionAdd.svg | 29 +++++ src/components/icon/assets/lineChart.js | 23 ++++ src/components/icon/assets/lineChart.svg | 29 +++++ src/components/icon/assets/pulse.js | 23 ++++ src/components/icon/assets/pulse.svg | 29 +++++ src/components/icon/assets/radar.js | 23 ++++ src/components/icon/assets/radar.svg | 29 +++++ src/components/icon/assets/rocket.js | 23 ++++ src/components/icon/assets/rocket.svg | 29 +++++ src/components/icon/icon.tsx | 8 ++ 19 files changed, 552 insertions(+) create mode 100644 src/components/icon/assets/bookOpen.js create mode 100644 src/components/icon/assets/bookOpen.svg create mode 100644 src/components/icon/assets/compass.js create mode 100644 src/components/icon/assets/compass.svg create mode 100644 src/components/icon/assets/dashboard.js create mode 100644 src/components/icon/assets/dashboard.svg create mode 100644 src/components/icon/assets/functionAdd.js create mode 100644 src/components/icon/assets/functionAdd.svg create mode 100644 src/components/icon/assets/lineChart.js create mode 100644 src/components/icon/assets/lineChart.svg create mode 100644 src/components/icon/assets/pulse.js create mode 100644 src/components/icon/assets/pulse.svg create mode 100644 src/components/icon/assets/radar.js create mode 100644 src/components/icon/assets/radar.svg create mode 100644 src/components/icon/assets/rocket.js create mode 100644 src/components/icon/assets/rocket.svg diff --git a/src-docs/src/views/icon/icons.js b/src-docs/src/views/icon/icons.js index fd10015a4..b50ee11db 100644 --- a/src-docs/src/views/icon/icons.js +++ b/src-docs/src/views/icon/icons.js @@ -39,6 +39,7 @@ export const iconTypes = [ 'bell', 'bellSlash', 'bolt', + 'bookOpen', 'boxesHorizontal', 'boxesVertical', 'branch', @@ -58,6 +59,7 @@ export const iconTypes = [ 'cloudStormy', 'cloudSunny', 'color', + 'compass', 'compute', 'console', 'continuityAbove', @@ -74,6 +76,7 @@ export const iconTypes = [ 'crossInCircleFilled', 'currency', 'cut', + 'dashboard', 'database', 'document', 'documentation', @@ -112,6 +115,7 @@ export const iconTypes = [ 'fullScreen', 'fullScreenExit', 'function', + 'functionAdd', 'gear', 'glasses', 'globe', @@ -148,6 +152,7 @@ export const iconTypes = [ 'kqlSelector', 'kqlValue', 'layers', + 'lineChart', 'link', 'list', 'listAdd', @@ -198,15 +203,18 @@ export const iconTypes = [ 'polygon', 'popout', 'power', + 'pulse', 'push', 'questionInCircle', 'quote', + 'radar', 'radius', 'recent', 'redeploy', 'refresh', 'reporter', 'returnKey', + 'rocket', 'save', 'scale', 'search', diff --git a/src/components/icon/__snapshots__/icon.test.tsx.snap b/src/components/icon/__snapshots__/icon.test.tsx.snap index 9b6f72539..0c9905334 100644 --- a/src/components/icon/__snapshots__/icon.test.tsx.snap +++ b/src/components/icon/__snapshots__/icon.test.tsx.snap @@ -895,6 +895,21 @@ exports[`OuiIcon props type bolt is rendered 1`] = ` `; +exports[`OuiIcon props type bookOpen is rendered 1`] = ` + +`; + exports[`OuiIcon props type boxesHorizontal is rendered 1`] = `