From e28dfdde86c975f05a3ac0b1b8b8e8924da8edfa Mon Sep 17 00:00:00 2001 From: conradennis Date: Fri, 11 Aug 2023 11:48:58 -0400 Subject: [PATCH] feat(icons): new delete and return icons (#14419) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(icons): new delete and return icons Submitting 2 new UI icons per Thy's request. These will be implemented in a new Carbon component. All additions approved by BXD 2 net new icons updated categories.yml with additions Changelog Net New – 32/delete.svg – 32/return.svg * chore(icons): update snapshots * fix(Button): ghost hover/active styles (#14394) * chore(icons): update snapshots pt 2 --------- Co-authored-by: TJ Egan Co-authored-by: Steven Black --- .../__snapshots__/PublicAPI-test.js.snap | 2 + .../__snapshots__/PublicAPI-test.js.snap | 8 ++++ .../__snapshots__/PublicAPI-test.js.snap | 8 ++++ packages/icons/categories.yml | 2 + packages/icons/icons.yml | 44 ++++++++++++------- packages/icons/src/svg/32/delete.svg | 13 ++++++ packages/icons/src/svg/32/return.svg | 12 +++++ 7 files changed, 72 insertions(+), 17 deletions(-) create mode 100644 packages/icons/src/svg/32/delete.svg create mode 100644 packages/icons/src/svg/32/return.svg diff --git a/e2e/icons-react/__snapshots__/PublicAPI-test.js.snap b/e2e/icons-react/__snapshots__/PublicAPI-test.js.snap index 2865bd732a01..539e9c3a48e1 100644 --- a/e2e/icons-react/__snapshots__/PublicAPI-test.js.snap +++ b/e2e/icons-react/__snapshots__/PublicAPI-test.js.snap @@ -505,6 +505,7 @@ Array [ "Db2Database", "Debug", "DecisionTree", + "Delete", "Delivery", "DeliveryAdd", "DeliveryParcel", @@ -1456,6 +1457,7 @@ Array [ "ResultNew", "ResultOld", "RetryFailed", + "Return", "Review", "Rewind_10", "Rewind_30", diff --git a/e2e/icons-vue/__snapshots__/PublicAPI-test.js.snap b/e2e/icons-vue/__snapshots__/PublicAPI-test.js.snap index 4a897de79503..cf1fc224ff46 100644 --- a/e2e/icons-vue/__snapshots__/PublicAPI-test.js.snap +++ b/e2e/icons-vue/__snapshots__/PublicAPI-test.js.snap @@ -2005,6 +2005,10 @@ Array [ "DecisionTree20", "DecisionTree24", "DecisionTree32", + "Delete16", + "Delete20", + "Delete24", + "Delete32", "Delivery16", "Delivery20", "Delivery24", @@ -5800,6 +5804,10 @@ Array [ "RetryFailed20", "RetryFailed24", "RetryFailed32", + "Return16", + "Return20", + "Return24", + "Return32", "Review16", "Review20", "Review24", diff --git a/e2e/icons/__snapshots__/PublicAPI-test.js.snap b/e2e/icons/__snapshots__/PublicAPI-test.js.snap index 5b81cd2dc9bc..a7a91d24f1f7 100644 --- a/e2e/icons/__snapshots__/PublicAPI-test.js.snap +++ b/e2e/icons/__snapshots__/PublicAPI-test.js.snap @@ -2004,6 +2004,10 @@ Array [ "DecisionTree20", "DecisionTree24", "DecisionTree32", + "Delete16", + "Delete20", + "Delete24", + "Delete32", "Delivery16", "Delivery20", "Delivery24", @@ -5799,6 +5803,10 @@ Array [ "RetryFailed20", "RetryFailed24", "RetryFailed32", + "Return16", + "Return20", + "Return24", + "Return32", "Review16", "Review20", "Review24", diff --git a/packages/icons/categories.yml b/packages/icons/categories.yml index 9bed84862237..31ccb043aac6 100644 --- a/packages/icons/categories.yml +++ b/packages/icons/categories.yml @@ -321,6 +321,7 @@ categories: - continuous-deployment - continuous-integration - convert-to-cloud + - delete - deploy - deploy-rules - drag--horizontal @@ -392,6 +393,7 @@ categories: - reset--alt - restart - retry--failed + - return - review - rotate - run diff --git a/packages/icons/icons.yml b/packages/icons/icons.yml index 50f988e5a74a..04883dddcf04 100644 --- a/packages/icons/icons.yml +++ b/packages/icons/icons.yml @@ -3233,12 +3233,12 @@ - 32 - name: chart--logistic-regression friendly_name: Chart logistic regression - aliases: + aliases: - chart logistic regression - logistic regression chart - chart - graph - - data + - data sizes: - 32 - name: chart--marimekko @@ -5286,7 +5286,7 @@ - pointer - name: customer-service friendly_name: Customer service - aliases: + aliases: - customer - inquiry - phone @@ -5416,7 +5416,7 @@ - 32 - name: data--categorical friendly_name: Data categorical - aliases: + aliases: - circle - triangle - square @@ -5494,8 +5494,8 @@ - characters - name: data--regular friendly_name: Data regular - aliases: - - data + aliases: + - data - regular - normal - circle @@ -5917,6 +5917,11 @@ - hierarchy sizes: - 32 +- name: delete + friendly_name: Delete + aliases: [] + sizes: + - 32 - name: delivery friendly_name: Delivery aliases: @@ -12271,7 +12276,7 @@ - identification - name: logo--mastodon friendly_name: Logo Mastodon - aliases: + aliases: - brand - emblem - logotype @@ -12298,7 +12303,7 @@ - identification - name: logo--npm friendly_name: Logo npm - aliases: + aliases: - brand - emblem - logotype @@ -14383,7 +14388,7 @@ - 32 - name: package--text-analysis friendly_name: Package text analysis - aliases: + aliases: - file - package - text @@ -14532,7 +14537,7 @@ - 32 - name: partition--auto friendly_name: Partition auto - aliases: + aliases: - data - partition - auto @@ -14541,7 +14546,7 @@ - 32 - name: partition--collection friendly_name: Partition collection - aliases: + aliases: - data - partition - collection @@ -14551,7 +14556,7 @@ - 32 - name: partition--repartition friendly_name: Partition repartition - aliases: + aliases: - data - partition - repartition @@ -14560,7 +14565,7 @@ - 32 - name: partition--same friendly_name: Partition same - aliases: + aliases: - data - partition - auto @@ -14570,7 +14575,7 @@ - 32 - name: partition--specific friendly_name: Partition specific - aliases: + aliases: - data - partition - specific @@ -15938,7 +15943,7 @@ - 32 - name: result--draft friendly_name: Result draft - aliases: + aliases: - clipboard - result - edit @@ -15973,6 +15978,11 @@ - operations sizes: - 32 +- name: return + friendly_name: Return + aliases: [] + sizes: + - 32 - name: review friendly_name: Review aliases: @@ -16312,7 +16322,7 @@ - 32 - name: rule--locked friendly_name: Rule locked - aliases: + aliases: - rule - governance - control @@ -16326,7 +16336,7 @@ - 32 - name: rule--partial friendly_name: Rule partial - aliases: + aliases: - rule - governance - control diff --git a/packages/icons/src/svg/32/delete.svg b/packages/icons/src/svg/32/delete.svg new file mode 100644 index 000000000000..d92d336612be --- /dev/null +++ b/packages/icons/src/svg/32/delete.svg @@ -0,0 +1,13 @@ + + + + + + + + + \ No newline at end of file diff --git a/packages/icons/src/svg/32/return.svg b/packages/icons/src/svg/32/return.svg new file mode 100644 index 000000000000..d111814b4012 --- /dev/null +++ b/packages/icons/src/svg/32/return.svg @@ -0,0 +1,12 @@ + + + + + + + + \ No newline at end of file