From d6dc01f90ff9f7641db85955d6dae6a5747ecbe1 Mon Sep 17 00:00:00 2001 From: Andrea Del Rio Date: Tue, 7 Jan 2025 17:07:35 -0800 Subject: [PATCH 1/2] add section icon --- packages/eui/src-docs/src/views/icon/icons.js | 1 + .../icon/__snapshots__/icon.test.tsx.snap | 20 +++++++++-- .../icon/assets/ml_create_geo_job.tsx | 2 -- .../src/components/icon/assets/section.tsx | 34 +++++++++++++++++++ packages/eui/src/components/icon/icon_map.ts | 1 + .../eui/src/components/icon/svgs/section.svg | 1 + .../components/display/icons/icon_types.ts | 1 + 7 files changed, 56 insertions(+), 4 deletions(-) create mode 100644 packages/eui/src/components/icon/assets/section.tsx create mode 100644 packages/eui/src/components/icon/svgs/section.svg diff --git a/packages/eui/src-docs/src/views/icon/icons.js b/packages/eui/src-docs/src/views/icon/icons.js index 5191843d857..e897ae29468 100644 --- a/packages/eui/src-docs/src/views/icon/icons.js +++ b/packages/eui/src-docs/src/views/icon/icons.js @@ -234,6 +234,7 @@ export const iconTypes = [ 'save', 'scale', 'search', + 'section', 'securitySignal', 'securitySignalDetected', 'securitySignalResolved', 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 f02e59d1616..695bd82c6f4 100644 --- a/packages/eui/src/components/icon/__snapshots__/icon.test.tsx.snap +++ b/packages/eui/src/components/icon/__snapshots__/icon.test.tsx.snap @@ -1961,9 +1961,7 @@ exports[`EuiIcon props type createGeoJob is rendered 1`] = ` /> `; @@ -9048,6 +9046,24 @@ exports[`EuiIcon props type searchProfilerApp is rendered 1`] = ` `; +exports[`EuiIcon props type section is rendered 1`] = ` + +`; + exports[`EuiIcon props type securityAnalyticsApp is rendered 1`] = `