From 8e104c3c6038f6159a519354482b3edf4d604afc Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Wed, 13 Nov 2024 13:28:50 -0800 Subject: [PATCH] feat: add sparkle_filled icon (#1452) (#1459) * feat: add sparkle_filled icon * doc(changelog): add changelog for newly add sparkle icon --------- (cherry picked from commit 7233b5ac427b4cac8f20369ea68ce0ab775254b8) Signed-off-by: Yulong Ruan Signed-off-by: github-actions[bot] Co-authored-by: github-actions[bot] --- src-docs/src/views/icon/icons.js | 1 + .../icon/__snapshots__/icon.test.tsx.snap | 21 ++++++++++++++ src/components/icon/assets/sparkle_filled.js | 28 +++++++++++++++++++ src/components/icon/assets/sparkle_filled.svg | 19 +++++++++++++ src/components/icon/icon.tsx | 1 + 5 files changed, 70 insertions(+) create mode 100644 src/components/icon/assets/sparkle_filled.js create mode 100644 src/components/icon/assets/sparkle_filled.svg diff --git a/src-docs/src/views/icon/icons.js b/src-docs/src/views/icon/icons.js index b50ee11db..47a871358 100644 --- a/src-docs/src/views/icon/icons.js +++ b/src-docs/src/views/icon/icons.js @@ -229,6 +229,7 @@ export const iconTypes = [ 'sortLeft', 'sortRight', 'sortUp', + 'sparkleFilled', 'starEmpty', 'starEmptySpace', 'starFilled', diff --git a/src/components/icon/__snapshots__/icon.test.tsx.snap b/src/components/icon/__snapshots__/icon.test.tsx.snap index 0c9905334..f2a127e42 100644 --- a/src/components/icon/__snapshots__/icon.test.tsx.snap +++ b/src/components/icon/__snapshots__/icon.test.tsx.snap @@ -8158,6 +8158,27 @@ exports[`OuiIcon props type spacesApp is rendered 1`] = ` `; +exports[`OuiIcon props type sparkleFilled is rendered 1`] = ` + +`; + exports[`OuiIcon props type sqlApp is rendered 1`] = `