feat(icons): new icons and better deprecated management #4823
+526
−28
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Type
Summarise concisely:
What is expected?
I've added a better deprecated management in for icons. We now have a file that contains all deprecated icons and based on that file we will generate JSDoc comment for those icons. Storybook will also follow that file to show (or not) if an icon is deprecated.
I also added documentation on each icon types (product, category and system) to explain how to deprecate an icon.
In addition I made those updates:
<ListNumberIcon />
,<ListBulletIcon />
,<ItalicIcon />
,<BoldIcon />
,<UnderlineIcon />
,<MongoDbProductIcon />
,<VpnProductIcon />
and<WafProductIcon />
.<DocumentDbProductIcon />
is now deprecated and should be replaced by<MongoDbProductIcon />
.<AsteriskIcon />
is now deprecated and should be replaced by the letter*
from fonts.<CrossCircleIcon />
is now deprecated and should be replaced by<CloseCircleOutlineIcon />
.<CrossCircleOutlineIcon />
is now deprecated and should be replaced by<CloseCircleOutlineIcon />
.<DragVariantIcon />
is now deprecated and should be replaced by<DragIcon />
.