From 080b51c0d689a2f4e1077ac58760c8cfa00acd55 Mon Sep 17 00:00:00 2001 From: conradennis Date: Thu, 22 Aug 2024 11:02:26 -0400 Subject: [PATCH] feat(icons): updated and new model icons (#17169) * feat(icons): updated and new model icons Submitting new and updated "model" UI icons as requested by @mjabbink all updates and additions approved by BXD 2 net new icons 4 updated icons 1 deprecated icon updated categories.yml with additions updated icons.yml with additions updated deprecated.yml with additions * chore(icons): add size to new icons; update snapshot * chore(jest): update snapshots --------- Co-authored-by: kennylam <909118+kennylam@users.noreply.github.com> Co-authored-by: Ariella Gilmore --- .../__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/deprecated.yml | 3 ++ packages/icons/icons.yml | 31 +++++++++++++++++++ .../src/svg/32/machine-learning-model.svg | 14 +++++---- .../icons/src/svg/32/ml-model--reference.svg | 17 ++++++++++ .../icons/src/svg/32/model--foundation.svg | 16 ++++++++++ .../icons/src/svg/32/model--reference.svg | 2 +- packages/icons/src/svg/32/model--tuned.svg | 6 ++-- packages/icons/src/svg/32/model.svg | 2 +- 12 files changed, 100 insertions(+), 11 deletions(-) create mode 100644 packages/icons/src/svg/32/ml-model--reference.svg create mode 100644 packages/icons/src/svg/32/model--foundation.svg diff --git a/e2e/icons-react/__snapshots__/PublicAPI-test.js.snap b/e2e/icons-react/__snapshots__/PublicAPI-test.js.snap index 609d7349df3f..895da9eb9981 100644 --- a/e2e/icons-react/__snapshots__/PublicAPI-test.js.snap +++ b/e2e/icons-react/__snapshots__/PublicAPI-test.js.snap @@ -1298,6 +1298,7 @@ Array [ "Misuse", "MisuseOutline", "MixedRainHail", + "MlModelReference", "Mobile", "MobileAdd", "MobileAudio", @@ -1315,6 +1316,7 @@ Array [ "ModelAlt", "ModelBuilder", "ModelBuilderReference", + "ModelFoundation", "ModelReference", "ModelTuned", "Money", diff --git a/e2e/icons-vue/__snapshots__/PublicAPI-test.js.snap b/e2e/icons-vue/__snapshots__/PublicAPI-test.js.snap index f242d9bc05b4..9864903102d2 100644 --- a/e2e/icons-vue/__snapshots__/PublicAPI-test.js.snap +++ b/e2e/icons-vue/__snapshots__/PublicAPI-test.js.snap @@ -5168,6 +5168,10 @@ Array [ "MixedRainHail20", "MixedRainHail24", "MixedRainHail32", + "MlModelReference16", + "MlModelReference20", + "MlModelReference24", + "MlModelReference32", "Mobile16", "Mobile20", "Mobile24", @@ -5236,6 +5240,10 @@ Array [ "ModelBuilderReference20", "ModelBuilderReference24", "ModelBuilderReference32", + "ModelFoundation16", + "ModelFoundation20", + "ModelFoundation24", + "ModelFoundation32", "ModelReference16", "ModelReference20", "ModelReference24", diff --git a/e2e/icons/__snapshots__/PublicAPI-test.js.snap b/e2e/icons/__snapshots__/PublicAPI-test.js.snap index 26d59f3f0c66..dd1d8b30c4e9 100644 --- a/e2e/icons/__snapshots__/PublicAPI-test.js.snap +++ b/e2e/icons/__snapshots__/PublicAPI-test.js.snap @@ -5167,6 +5167,10 @@ Array [ "MixedRainHail20", "MixedRainHail24", "MixedRainHail32", + "MlModelReference16", + "MlModelReference20", + "MlModelReference24", + "MlModelReference32", "Mobile16", "Mobile20", "Mobile24", @@ -5235,6 +5239,10 @@ Array [ "ModelBuilderReference20", "ModelBuilderReference24", "ModelBuilderReference32", + "ModelFoundation16", + "ModelFoundation20", + "ModelFoundation24", + "ModelFoundation32", "ModelReference16", "ModelReference20", "ModelReference24", diff --git a/packages/icons/categories.yml b/packages/icons/categories.yml index e819f70bc7b6..5c3a71cb03f1 100644 --- a/packages/icons/categories.yml +++ b/packages/icons/categories.yml @@ -658,7 +658,9 @@ categories: - ibm-watsonx--orchestrate - machine-learning - machine-learning-model + - ml-model--reference - model + - model--foundation - model--reference - model--tuned - prompt-session diff --git a/packages/icons/deprecated.yml b/packages/icons/deprecated.yml index 0d15ac8d8345..09123c6f27f6 100644 --- a/packages/icons/deprecated.yml +++ b/packages/icons/deprecated.yml @@ -28,3 +28,6 @@ deprecated: - name: AI reason: Icon should not be used. Teams should use the Carbon AILabel component. + - name: machine-learning + reason: + Icon should not be used. Teams should use machine-learning-model instead diff --git a/packages/icons/icons.yml b/packages/icons/icons.yml index b0f5ae240bea..c0039a9d4c2f 100644 --- a/packages/icons/icons.yml +++ b/packages/icons/icons.yml @@ -14715,6 +14715,11 @@ - machine learning model - ML - model + - AI + - foundation model + - watsonx + - deep learning + - brain sizes: - 32 - name: magic-wand @@ -15202,6 +15207,20 @@ - weather sizes: - 32 +- name: ml-model--reference + friendly_name: Machine learning model reference + aliases: + - AI + - model + - foundation model + - machine learning + - reference + - brain + - generative + - deep learning + - watsonx + sizes: + - 32 - name: mobile friendly_name: Mobile aliases: @@ -15382,6 +15401,18 @@ - construct sizes: - 32 +- name: model--foundation + friendly_name: Foundation model + aliases: + - AI + - model + - foundation model + - large language model + - generative + - deep learning + - watsonx + sizes: + - 32 - name: model--reference friendly_name: Model reference aliases: diff --git a/packages/icons/src/svg/32/machine-learning-model.svg b/packages/icons/src/svg/32/machine-learning-model.svg index 525654fb238c..71b5289b055f 100644 --- a/packages/icons/src/svg/32/machine-learning-model.svg +++ b/packages/icons/src/svg/32/machine-learning-model.svg @@ -1,14 +1,16 @@ + - - - - - - + + + \ No newline at end of file diff --git a/packages/icons/src/svg/32/ml-model--reference.svg b/packages/icons/src/svg/32/ml-model--reference.svg new file mode 100644 index 000000000000..cc9e41d81d97 --- /dev/null +++ b/packages/icons/src/svg/32/ml-model--reference.svg @@ -0,0 +1,17 @@ + + + + + + + + + \ No newline at end of file diff --git a/packages/icons/src/svg/32/model--foundation.svg b/packages/icons/src/svg/32/model--foundation.svg new file mode 100644 index 000000000000..b9755d85d160 --- /dev/null +++ b/packages/icons/src/svg/32/model--foundation.svg @@ -0,0 +1,16 @@ + + + + + + + + \ No newline at end of file diff --git a/packages/icons/src/svg/32/model--reference.svg b/packages/icons/src/svg/32/model--reference.svg index d4785f422b3e..49450860af93 100644 --- a/packages/icons/src/svg/32/model--reference.svg +++ b/packages/icons/src/svg/32/model--reference.svg @@ -12,7 +12,7 @@ - + diff --git a/packages/icons/src/svg/32/model--tuned.svg b/packages/icons/src/svg/32/model--tuned.svg index b8d36ad46831..a54189615b4a 100644 --- a/packages/icons/src/svg/32/model--tuned.svg +++ b/packages/icons/src/svg/32/model--tuned.svg @@ -11,9 +11,9 @@ } - - - + + + diff --git a/packages/icons/src/svg/32/model.svg b/packages/icons/src/svg/32/model.svg index eac5a5795e11..b2168424f107 100644 --- a/packages/icons/src/svg/32/model.svg +++ b/packages/icons/src/svg/32/model.svg @@ -11,7 +11,7 @@ } - +