From 343e2989c97a6f940f1f7f65f25110f4431c53a7 Mon Sep 17 00:00:00 2001 From: rbrtj Date: Wed, 18 Dec 2024 11:26:55 +0100 Subject: [PATCH 1/4] add generic (rare and categorization) job icon --- packages/eui/src-docs/src/views/icon/ml.js | 1 + .../icon/__snapshots__/icon.test.tsx.snap | 23 +++++++++++ .../icon/assets/ml_create_generic_job.tsx | 39 +++++++++++++++++++ packages/eui/src/components/icon/icon_map.ts | 1 + .../icon/svgs/ml_create_generic_job.svg | 11 ++++++ .../components/display/icons/icon_types_ml.ts | 1 + 6 files changed, 76 insertions(+) create mode 100644 packages/eui/src/components/icon/assets/ml_create_generic_job.tsx create mode 100644 packages/eui/src/components/icon/svgs/ml_create_generic_job.svg diff --git a/packages/eui/src-docs/src/views/icon/ml.js b/packages/eui/src-docs/src/views/icon/ml.js index a00ef75fd51..b049f899138 100644 --- a/packages/eui/src-docs/src/views/icon/ml.js +++ b/packages/eui/src-docs/src/views/icon/ml.js @@ -19,6 +19,7 @@ const iconTypes = [ 'createPopulationJob', 'regressionJob', 'createSingleMetricJob', + 'createGenericJob', ]; export default () => ( diff --git a/packages/eui/src/components/icon/__snapshots__/icon.test.tsx.snap b/packages/eui/src/components/icon/__snapshots__/icon.test.tsx.snap index 5f04d92014a..0e000600407 100644 --- a/packages/eui/src/components/icon/__snapshots__/icon.test.tsx.snap +++ b/packages/eui/src/components/icon/__snapshots__/icon.test.tsx.snap @@ -1922,6 +1922,29 @@ exports[`EuiIcon props type createAdvancedJob is rendered 1`] = ` `; +exports[`EuiIcon props type createGenericJob is rendered 1`] = ` + +`; + exports[`EuiIcon props type createMultiMetricJob is rendered 1`] = `