From a90eadd904c72a90526e1f5eb8d58a103fd82901 Mon Sep 17 00:00:00 2001 From: Willie Hung Date: Sat, 14 Oct 2023 18:41:54 -0500 Subject: [PATCH] [Fix] Updated new polygon icon svg (#1083) * Updated new polygon svg & updated related snapshots Signed-off-by: Willie Hung * Add CHANGELOG Signed-off-by: Willie Hung * Add blank line at the end of the polygon.svg file Signed-off-by: Willie Hung --------- Signed-off-by: Willie Hung --- CHANGELOG.md | 1 + src/components/icon/__snapshots__/icon.test.tsx.snap | 2 +- src/components/icon/assets/polygon.js | 2 +- src/components/icon/assets/polygon.svg | 3 ++- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d8b2d73c94..d400e4c4f8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -63,6 +63,7 @@ - Remove `calc` usage from SchemaItem styles ([#990](https://github.com/opensearch-project/oui/pull/990)) - Add support for null types when deriving JSON from Sass variables ([#1019](https://github.com/opensearch-project/oui/pull/1019)) - Fix alignment of left icon for OuiListGroupItem with multiline text ([#1027](https://github.com/opensearch-project/oui/pull/1027)) +- Update new polygon icon svg ([#1068](https://github.com/opensearch-project/oui/pull/1083)) ### 🚞 Infrastructure diff --git a/src/components/icon/__snapshots__/icon.test.tsx.snap b/src/components/icon/__snapshots__/icon.test.tsx.snap index bf9ea723ec..8ae3b0f871 100644 --- a/src/components/icon/__snapshots__/icon.test.tsx.snap +++ b/src/components/icon/__snapshots__/icon.test.tsx.snap @@ -7249,7 +7249,7 @@ exports[`OuiIcon props type polygon is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; diff --git a/src/components/icon/assets/polygon.js b/src/components/icon/assets/polygon.js index 27be5ade0a..09e1b80f82 100644 --- a/src/components/icon/assets/polygon.js +++ b/src/components/icon/assets/polygon.js @@ -19,7 +19,7 @@ const OuiIconPolygon = ({ title, titleId, ...props }) => ( aria-labelledby={titleId} {...props}> {title ? {title} : null} - + ); export const icon = OuiIconPolygon; diff --git a/src/components/icon/assets/polygon.svg b/src/components/icon/assets/polygon.svg index a788c588bd..a475ba4b6f 100644 --- a/src/components/icon/assets/polygon.svg +++ b/src/components/icon/assets/polygon.svg @@ -4,5 +4,6 @@ --> - +