Skip to content

Commit

Permalink
feat(icons): updated and new model icons (#17169)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
Co-authored-by: Ariella Gilmore <[email protected]>
  • Loading branch information
3 people authored Aug 22, 2024
1 parent a773f2e commit 080b51c
Show file tree
Hide file tree
Showing 12 changed files with 100 additions and 11 deletions.
2 changes: 2 additions & 0 deletions e2e/icons-react/__snapshots__/PublicAPI-test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1298,6 +1298,7 @@ Array [
"Misuse",
"MisuseOutline",
"MixedRainHail",
"MlModelReference",
"Mobile",
"MobileAdd",
"MobileAudio",
Expand All @@ -1315,6 +1316,7 @@ Array [
"ModelAlt",
"ModelBuilder",
"ModelBuilderReference",
"ModelFoundation",
"ModelReference",
"ModelTuned",
"Money",
Expand Down
8 changes: 8 additions & 0 deletions e2e/icons-vue/__snapshots__/PublicAPI-test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -5168,6 +5168,10 @@ Array [
"MixedRainHail20",
"MixedRainHail24",
"MixedRainHail32",
"MlModelReference16",
"MlModelReference20",
"MlModelReference24",
"MlModelReference32",
"Mobile16",
"Mobile20",
"Mobile24",
Expand Down Expand Up @@ -5236,6 +5240,10 @@ Array [
"ModelBuilderReference20",
"ModelBuilderReference24",
"ModelBuilderReference32",
"ModelFoundation16",
"ModelFoundation20",
"ModelFoundation24",
"ModelFoundation32",
"ModelReference16",
"ModelReference20",
"ModelReference24",
Expand Down
8 changes: 8 additions & 0 deletions e2e/icons/__snapshots__/PublicAPI-test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -5167,6 +5167,10 @@ Array [
"MixedRainHail20",
"MixedRainHail24",
"MixedRainHail32",
"MlModelReference16",
"MlModelReference20",
"MlModelReference24",
"MlModelReference32",
"Mobile16",
"Mobile20",
"Mobile24",
Expand Down Expand Up @@ -5235,6 +5239,10 @@ Array [
"ModelBuilderReference20",
"ModelBuilderReference24",
"ModelBuilderReference32",
"ModelFoundation16",
"ModelFoundation20",
"ModelFoundation24",
"ModelFoundation32",
"ModelReference16",
"ModelReference20",
"ModelReference24",
Expand Down
2 changes: 2 additions & 0 deletions packages/icons/categories.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions packages/icons/deprecated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
31 changes: 31 additions & 0 deletions packages/icons/icons.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14715,6 +14715,11 @@
- machine learning model
- ML
- model
- AI
- foundation model
- watsonx
- deep learning
- brain
sizes:
- 32
- name: magic-wand
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
14 changes: 8 additions & 6 deletions packages/icons/src/svg/32/machine-learning-model.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions packages/icons/src/svg/32/ml-model--reference.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions packages/icons/src/svg/32/model--foundation.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion packages/icons/src/svg/32/model--reference.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions packages/icons/src/svg/32/model--tuned.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion packages/icons/src/svg/32/model.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 080b51c

Please sign in to comment.