From e71198d9b3e3db42c02e9006a61289a7766520f6 Mon Sep 17 00:00:00 2001 From: Jakob Guddas Date: Wed, 30 Jul 2025 16:52:50 +0200 Subject: [PATCH] chore: icon alias improvements (#2861) Co-authored-by: Eric Fennis --- docs/scripts/writeIconRelatedIcons.mjs | 5 +- docs/scripts/writeReleaseMetadata.mjs | 16 +++---- docs/scripts/writeVercelOutput.mjs | 4 +- icon.schema.json | 47 +++++++++---------- icons/alarm-clock-check.json | 7 ++- icons/alarm-clock-minus.json | 7 ++- icons/alarm-clock-plus.json | 7 ++- icons/arrow-down-0-1.json | 7 ++- icons/arrow-down-1-0.json | 7 ++- icons/arrow-down-a-z.json | 7 ++- icons/arrow-down-wide-narrow.json | 7 ++- icons/arrow-down-z-a.json | 7 ++- icons/arrow-up-0-1.json | 7 ++- icons/arrow-up-1-0.json | 7 ++- icons/arrow-up-a-z.json | 7 ++- icons/arrow-up-narrow-wide.json | 7 ++- icons/arrow-up-z-a.json | 7 ++- icons/axis-3d.json | 7 ++- icons/badge-check.json | 7 ++- icons/badge-question-mark.json | 7 ++- icons/book-dashed.json | 7 ++- icons/braces.json | 7 ++- icons/captions.json | 7 ++- icons/circle-alert.json | 7 ++- icons/circle-arrow-down.json | 7 ++- icons/circle-arrow-left.json | 7 ++- icons/circle-arrow-out-down-left.json | 7 ++- icons/circle-arrow-out-down-right.json | 7 ++- icons/circle-arrow-out-up-left.json | 7 ++- icons/circle-arrow-out-up-right.json | 7 ++- icons/circle-arrow-right.json | 7 ++- icons/circle-arrow-up.json | 7 ++- icons/circle-check-big.json | 7 ++- icons/circle-check.json | 7 ++- icons/circle-chevron-down.json | 7 ++- icons/circle-chevron-left.json | 7 ++- icons/circle-chevron-right.json | 7 ++- icons/circle-chevron-up.json | 7 ++- icons/circle-divide.json | 7 ++- icons/circle-gauge.json | 7 ++- icons/circle-minus.json | 7 ++- icons/circle-parking-off.json | 7 ++- icons/circle-parking.json | 7 ++- icons/circle-pause.json | 7 ++- icons/circle-percent.json | 7 ++- icons/circle-play.json | 7 ++- icons/circle-plus.json | 7 ++- icons/circle-power.json | 7 ++- icons/circle-question-mark.json | 14 +++++- icons/circle-slash-2.json | 7 ++- icons/circle-stop.json | 7 ++- icons/circle-user.json | 7 ++- icons/circle-x.json | 7 ++- icons/clipboard-pen-line.json | 7 ++- icons/clipboard-pen.json | 7 ++- icons/cloud-download.json | 7 ++- icons/cloud-upload.json | 7 ++- icons/columns-2.json | 7 ++- icons/columns-3-cog.json | 14 +++++- icons/columns-3.json | 7 ++- icons/diamond-percent.json | 7 ++- icons/ellipsis-vertical.json | 7 ++- icons/ellipsis.json | 7 ++- icons/file-axis-3d.json | 7 ++- icons/file-pen-line.json | 7 ++- icons/file-pen.json | 7 ++- icons/file-play.json | 7 ++- icons/file-question-mark.json | 7 ++- icons/file-video-camera.json | 7 ++- icons/folder-pen.json | 7 ++- icons/git-commit-horizontal.json | 7 ++- icons/grid-2x2-check.json | 7 ++- icons/grid-2x2-plus.json | 7 ++- icons/grid-2x2-x.json | 7 ++- icons/grid-2x2.json | 7 ++- icons/grid-3x3.json | 14 +++++- icons/hand-helping.json | 7 ++- icons/house.json | 7 ++- icons/ice-cream-cone.json | 7 ++- icons/indent-decrease.json | 7 ++- icons/indent-increase.json | 7 ++- icons/layers.json | 2 + icons/loader-circle.json | 7 ++- icons/lock-keyhole-open.json | 7 ++- icons/lock-open.json | 7 ++- icons/mail-question-mark.json | 7 ++- icons/message-circle-question-mark.json | 7 ++- icons/move-3d.json | 7 ++- icons/octagon-alert.json | 7 ++- icons/octagon-pause.json | 7 ++- icons/octagon-x.json | 7 ++- icons/paintbrush-vertical.json | 7 ++- icons/panel-bottom-dashed.json | 7 ++- icons/panel-left-close.json | 7 ++- icons/panel-left-dashed.json | 7 ++- icons/panel-left-open.json | 7 ++- icons/panel-left.json | 7 ++- icons/panel-right-dashed.json | 7 ++- icons/panel-top-dashed.json | 7 ++- icons/panels-top-left.json | 7 ++- icons/plug-zap.json | 7 ++- icons/rectangle-ellipsis.json | 7 ++- icons/rotate-3d.json | 7 ++- icons/rows-2.json | 7 ++- icons/rows-3.json | 7 ++- icons/scale-3d.json | 7 ++- icons/shield-question-mark.json | 7 ++- icons/shield-x.json | 7 ++- icons/sliders-vertical.json | 7 ++- icons/sparkles.json | 11 +++-- icons/square-activity.json | 7 ++- icons/square-arrow-down-left.json | 7 ++- icons/square-arrow-down-right.json | 7 ++- icons/square-arrow-down.json | 7 ++- icons/square-arrow-left.json | 7 ++- icons/square-arrow-out-down-left.json | 7 ++- icons/square-arrow-out-down-right.json | 7 ++- icons/square-arrow-out-up-left.json | 7 ++- icons/square-arrow-out-up-right.json | 7 ++- icons/square-arrow-right.json | 7 ++- icons/square-arrow-up-left.json | 7 ++- icons/square-arrow-up-right.json | 7 ++- icons/square-arrow-up.json | 7 ++- icons/square-asterisk.json | 7 ++- icons/square-bottom-dashed-scissors.json | 7 ++- icons/square-chart-gantt.json | 14 +++++- icons/square-check-big.json | 7 ++- icons/square-check.json | 7 ++- icons/square-chevron-down.json | 7 ++- icons/square-chevron-left.json | 7 ++- icons/square-chevron-right.json | 7 ++- icons/square-chevron-up.json | 7 ++- icons/square-code.json | 7 ++- icons/square-dashed-kanban.json | 7 ++- icons/square-dashed-mouse-pointer.json | 7 ++- icons/square-dashed.json | 7 ++- icons/square-divide.json | 7 ++- icons/square-dot.json | 7 ++- icons/square-equal.json | 7 ++- icons/square-function.json | 7 ++- icons/square-kanban.json | 7 ++- icons/square-library.json | 7 ++- icons/square-m.json | 7 ++- icons/square-menu.json | 7 ++- icons/square-minus.json | 7 ++- icons/square-mouse-pointer.json | 7 ++- icons/square-parking-off.json | 7 ++- icons/square-parking.json | 7 ++- icons/square-pen.json | 21 +++++++-- icons/square-percent.json | 7 ++- icons/square-pi.json | 7 ++- icons/square-pilcrow.json | 7 ++- icons/square-play.json | 7 ++- icons/square-plus.json | 7 ++- icons/square-power.json | 7 ++- icons/square-scissors.json | 7 ++- icons/square-sigma.json | 7 ++- icons/square-slash.json | 7 ++- icons/square-split-horizontal.json | 7 ++- icons/square-split-vertical.json | 7 ++- icons/square-terminal.json | 7 ++- icons/square-user.json | 7 ++- icons/square-x.json | 7 ++- icons/test-tube-diagonal.json | 7 ++- icons/text-select.json | 7 ++- icons/tram-front.json | 7 ++- icons/tree-palm.json | 7 ++- icons/triangle-alert.json | 7 ++- icons/utensils-crossed.json | 7 ++- icons/utensils.json | 7 ++- .../scripts/getAliasesEntryNames.mts | 4 +- scripts/rename/renameIcon.function.mts | 17 +++---- .../utils/deprecationReasonTemplate.ts | 2 +- 173 files changed, 1073 insertions(+), 225 deletions(-) diff --git a/docs/scripts/writeIconRelatedIcons.mjs b/docs/scripts/writeIconRelatedIcons.mjs index 68832de93..5704e8feb 100644 --- a/docs/scripts/writeIconRelatedIcons.mjs +++ b/docs/scripts/writeIconRelatedIcons.mjs @@ -21,10 +21,7 @@ const MAX_RELATED_ICONS = 4 * 17; // grid of 4x17 icons, = 68 icons const arrayMatches = (a, b) => a.filter((item) => b.includes(item)).length; const nameParts = (icon) => - [ - icon.name, - ...(icon.aliases?.map((alias) => (typeof alias === 'string' ? alias : alias.name)) ?? []), - ] + [icon.name, ...(icon.aliases?.map((alias) => alias.name) ?? [])] .join('-') .split('-') .filter((word) => word.length > 2); diff --git a/docs/scripts/writeReleaseMetadata.mjs b/docs/scripts/writeReleaseMetadata.mjs index 712740830..97051f625 100644 --- a/docs/scripts/writeReleaseMetadata.mjs +++ b/docs/scripts/writeReleaseMetadata.mjs @@ -159,16 +159,14 @@ try { const aliases = iconMetaData.aliases ?? []; if (aliases.length) { - aliases - .map((alias) => (typeof alias === 'string' ? alias : alias.name)) - .forEach((alias) => { - if (!(alias in newReleaseMetaData)) { - return; - } + aliases.forEach((alias) => { + if (!(alias.name in newReleaseMetaData)) { + return; + } - contents.createdRelease = - newReleaseMetaData[alias].createdRelease ?? defaultReleaseMetaData.createdRelease; - }); + contents.createdRelease = + newReleaseMetaData[alias.name].createdRelease ?? defaultReleaseMetaData.createdRelease; + }); } const output = JSON.stringify(contents, null, 2); diff --git a/docs/scripts/writeVercelOutput.mjs b/docs/scripts/writeVercelOutput.mjs index 199a3ffd7..3f4e04d67 100644 --- a/docs/scripts/writeVercelOutput.mjs +++ b/docs/scripts/writeVercelOutput.mjs @@ -11,9 +11,7 @@ const iconMetaData = await getIconMetaData(path.resolve(scriptDir, '../../icons' const iconAliasesRedirectRoutes = Object.entries(iconMetaData) .filter(([, { aliases }]) => aliases?.length) .map(([iconName, { aliases }]) => { - aliases = aliases.map((alias) => (typeof alias === 'object' ? alias.name : alias)); - - const aliasRouteMatches = aliases.join('|'); + const aliasRouteMatches = aliases.map((alias) => alias.name).join('|'); return { src: `/icons/${aliasRouteMatches}`, diff --git a/icon.schema.json b/icon.schema.json index 0a9e8c6b0..441fbec71 100644 --- a/icon.schema.json +++ b/icon.schema.json @@ -21,32 +21,29 @@ "aliases": { "type": "array", "items": { - "oneOf": [ - { + "type": "object", + "additionalProperties": false, + "required": ["name"], + "properties": { + "name": { "type": "string" }, - { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "deprecated": { - "const": true - }, - "deprecationReason": { - "$ref": "#/$defs/aliasDeprecationReasons" - }, - "toBeRemovedInVersion": { - "$ref": "#/$defs/versionNumber", - "description": "The version this icon will be removed in." - } - }, - "dependentRequired": { - "deprecated": ["deprecationReason", "toBeRemovedInVersion"] - } + "deprecated": { + "const": true + }, + "deprecationReason": { + "$ref": "#/$defs/aliasDeprecationReasons" + }, + "toBeRemovedInVersion": { + "$ref": "#/$defs/versionNumber", + "description": "The version this icon will be removed in." } - ] + }, + "dependentRequired": { + "deprecated": ["deprecationReason", "toBeRemovedInVersion"], + "deprecationReason": ["deprecated"], + "toBeRemovedInVersion": ["deprecated"] + } }, "uniqueItems": true }, @@ -130,7 +127,9 @@ } }, "dependentRequired": { - "deprecated": ["deprecationReason", "toBeRemovedInVersion"] + "deprecated": ["deprecationReason", "toBeRemovedInVersion"], + "deprecationReason": ["deprecated"], + "toBeRemovedInVersion": ["deprecated"] }, "$defs": { "iconDeprecationReasons": { diff --git a/icons/alarm-clock-check.json b/icons/alarm-clock-check.json index 544d44ddb..8db248ca8 100644 --- a/icons/alarm-clock-check.json +++ b/icons/alarm-clock-check.json @@ -19,6 +19,11 @@ "time" ], "aliases": [ - "alarm-check" + { + "name": "alarm-check", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/alarm-clock-minus.json b/icons/alarm-clock-minus.json index 0ab27bd35..ba61473ac 100644 --- a/icons/alarm-clock-minus.json +++ b/icons/alarm-clock-minus.json @@ -15,6 +15,11 @@ "time" ], "aliases": [ - "alarm-minus" + { + "name": "alarm-minus", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/alarm-clock-plus.json b/icons/alarm-clock-plus.json index 91492f2d8..87d39cd3b 100644 --- a/icons/alarm-clock-plus.json +++ b/icons/alarm-clock-plus.json @@ -15,6 +15,11 @@ "time" ], "aliases": [ - "alarm-plus" + { + "name": "alarm-plus", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/arrow-down-0-1.json b/icons/arrow-down-0-1.json index b73e3cbc0..70e1ccfce 100644 --- a/icons/arrow-down-0-1.json +++ b/icons/arrow-down-0-1.json @@ -21,6 +21,11 @@ "arrows" ], "aliases": [ - "arrow-down-01" + { + "name": "arrow-down-01", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/arrow-down-1-0.json b/icons/arrow-down-1-0.json index 2536e2072..371ac0334 100644 --- a/icons/arrow-down-1-0.json +++ b/icons/arrow-down-1-0.json @@ -21,6 +21,11 @@ "arrows" ], "aliases": [ - "arrow-down-10" + { + "name": "arrow-down-10", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/arrow-down-a-z.json b/icons/arrow-down-a-z.json index bf121e368..f7b101481 100644 --- a/icons/arrow-down-a-z.json +++ b/icons/arrow-down-a-z.json @@ -21,6 +21,11 @@ "arrows" ], "aliases": [ - "arrow-down-az" + { + "name": "arrow-down-az", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/arrow-down-wide-narrow.json b/icons/arrow-down-wide-narrow.json index cf84b37d0..5ec1c123e 100644 --- a/icons/arrow-down-wide-narrow.json +++ b/icons/arrow-down-wide-narrow.json @@ -21,6 +21,11 @@ "arrows" ], "aliases": [ - "sort-desc" + { + "name": "sort-desc", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/arrow-down-z-a.json b/icons/arrow-down-z-a.json index f71d08265..393908eb1 100644 --- a/icons/arrow-down-z-a.json +++ b/icons/arrow-down-z-a.json @@ -22,6 +22,11 @@ "arrows" ], "aliases": [ - "arrow-down-za" + { + "name": "arrow-down-za", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/arrow-up-0-1.json b/icons/arrow-up-0-1.json index 2ede4d511..8d3a84087 100644 --- a/icons/arrow-up-0-1.json +++ b/icons/arrow-up-0-1.json @@ -21,6 +21,11 @@ "arrows" ], "aliases": [ - "arrow-up-01" + { + "name": "arrow-up-01", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/arrow-up-1-0.json b/icons/arrow-up-1-0.json index 637b15897..d23fdf078 100644 --- a/icons/arrow-up-1-0.json +++ b/icons/arrow-up-1-0.json @@ -21,6 +21,11 @@ "arrows" ], "aliases": [ - "arrow-up-10" + { + "name": "arrow-up-10", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/arrow-up-a-z.json b/icons/arrow-up-a-z.json index 1c44f76c2..adcd1e83e 100644 --- a/icons/arrow-up-a-z.json +++ b/icons/arrow-up-a-z.json @@ -21,6 +21,11 @@ "arrows" ], "aliases": [ - "arrow-up-az" + { + "name": "arrow-up-az", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/arrow-up-narrow-wide.json b/icons/arrow-up-narrow-wide.json index c8c57d122..dc91274a5 100644 --- a/icons/arrow-up-narrow-wide.json +++ b/icons/arrow-up-narrow-wide.json @@ -22,6 +22,11 @@ "arrows" ], "aliases": [ - "sort-asc" + { + "name": "sort-asc", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/arrow-up-z-a.json b/icons/arrow-up-z-a.json index c663ffb77..4d8a17b42 100644 --- a/icons/arrow-up-z-a.json +++ b/icons/arrow-up-z-a.json @@ -22,6 +22,11 @@ "arrows" ], "aliases": [ - "arrow-up-za" + { + "name": "arrow-up-za", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/axis-3d.json b/icons/axis-3d.json index 0afa2d952..b923d1f21 100644 --- a/icons/axis-3d.json +++ b/icons/axis-3d.json @@ -12,6 +12,11 @@ "design" ], "aliases": [ - "axis-3-d" + { + "name": "axis-3-d", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/badge-check.json b/icons/badge-check.json index 1cd05ca39..56aed0343 100644 --- a/icons/badge-check.json +++ b/icons/badge-check.json @@ -5,7 +5,12 @@ "jguddas" ], "aliases": [ - "verified" + { + "name": "verified", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ], "tags": [ "verified", diff --git a/icons/badge-question-mark.json b/icons/badge-question-mark.json index 65c4048a3..ae34a3d76 100644 --- a/icons/badge-question-mark.json +++ b/icons/badge-question-mark.json @@ -15,6 +15,11 @@ "shapes" ], "aliases": [ - "badge-help" + { + "name": "badge-help", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/book-dashed.json b/icons/book-dashed.json index f74b0efbe..56666e092 100644 --- a/icons/book-dashed.json +++ b/icons/book-dashed.json @@ -25,6 +25,11 @@ "development" ], "aliases": [ - "book-template" + { + "name": "book-template", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0.0" + } ] } diff --git a/icons/braces.json b/icons/braces.json index 60340a4f8..19f51b083 100644 --- a/icons/braces.json +++ b/icons/braces.json @@ -5,7 +5,12 @@ "karsa-mistmere" ], "aliases": [ - "curly-braces" + { + "name": "curly-braces", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ], "tags": [ "json", diff --git a/icons/captions.json b/icons/captions.json index 70884bc2a..080a4a7f5 100644 --- a/icons/captions.json +++ b/icons/captions.json @@ -16,6 +16,11 @@ "multimedia" ], "aliases": [ - "subtitles" + { + "name": "subtitles", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/circle-alert.json b/icons/circle-alert.json index 98ddb988c..69b4a3f1a 100644 --- a/icons/circle-alert.json +++ b/icons/circle-alert.json @@ -14,6 +14,11 @@ "notifications" ], "aliases": [ - "alert-circle" + { + "name": "alert-circle", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/circle-arrow-down.json b/icons/circle-arrow-down.json index b832900a0..b3c1f9664 100644 --- a/icons/circle-arrow-down.json +++ b/icons/circle-arrow-down.json @@ -18,6 +18,11 @@ "gaming" ], "aliases": [ - "arrow-down-circle" + { + "name": "arrow-down-circle", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/circle-arrow-left.json b/icons/circle-arrow-left.json index 034c90e03..39e65f042 100644 --- a/icons/circle-arrow-left.json +++ b/icons/circle-arrow-left.json @@ -20,6 +20,11 @@ "gaming" ], "aliases": [ - "arrow-left-circle" + { + "name": "arrow-left-circle", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/circle-arrow-out-down-left.json b/icons/circle-arrow-out-down-left.json index d851ac2f1..9aa62ec55 100644 --- a/icons/circle-arrow-out-down-left.json +++ b/icons/circle-arrow-out-down-left.json @@ -14,6 +14,11 @@ "navigation" ], "aliases": [ - "arrow-down-left-from-circle" + { + "name": "arrow-down-left-from-circle", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/circle-arrow-out-down-right.json b/icons/circle-arrow-out-down-right.json index 7499fa5cc..358377b89 100644 --- a/icons/circle-arrow-out-down-right.json +++ b/icons/circle-arrow-out-down-right.json @@ -14,6 +14,11 @@ "navigation" ], "aliases": [ - "arrow-down-right-from-circle" + { + "name": "arrow-down-right-from-circle", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/circle-arrow-out-up-left.json b/icons/circle-arrow-out-up-left.json index 7d6b8f553..3c96b845e 100644 --- a/icons/circle-arrow-out-up-left.json +++ b/icons/circle-arrow-out-up-left.json @@ -18,6 +18,11 @@ "development" ], "aliases": [ - "arrow-up-left-from-circle" + { + "name": "arrow-up-left-from-circle", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/circle-arrow-out-up-right.json b/icons/circle-arrow-out-up-right.json index 8333bc338..15dfc3770 100644 --- a/icons/circle-arrow-out-up-right.json +++ b/icons/circle-arrow-out-up-right.json @@ -14,6 +14,11 @@ "navigation" ], "aliases": [ - "arrow-up-right-from-circle" + { + "name": "arrow-up-right-from-circle", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/circle-arrow-right.json b/icons/circle-arrow-right.json index 0da418c5f..6f738538e 100644 --- a/icons/circle-arrow-right.json +++ b/icons/circle-arrow-right.json @@ -20,6 +20,11 @@ "gaming" ], "aliases": [ - "arrow-right-circle" + { + "name": "arrow-right-circle", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/circle-arrow-up.json b/icons/circle-arrow-up.json index 4fafbc31c..86de86f9d 100644 --- a/icons/circle-arrow-up.json +++ b/icons/circle-arrow-up.json @@ -17,6 +17,11 @@ "gaming" ], "aliases": [ - "arrow-up-circle" + { + "name": "arrow-up-circle", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/circle-check-big.json b/icons/circle-check-big.json index c78f658bb..26b060b48 100644 --- a/icons/circle-check-big.json +++ b/icons/circle-check-big.json @@ -17,6 +17,11 @@ "notifications" ], "aliases": [ - "check-circle" + { + "name": "check-circle", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/circle-check.json b/icons/circle-check.json index 491bce0a1..76368056c 100644 --- a/icons/circle-check.json +++ b/icons/circle-check.json @@ -15,6 +15,11 @@ "notifications" ], "aliases": [ - "check-circle-2" + { + "name": "check-circle-2", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/circle-chevron-down.json b/icons/circle-chevron-down.json index 32fe85754..cd32468bc 100644 --- a/icons/circle-chevron-down.json +++ b/icons/circle-chevron-down.json @@ -13,6 +13,11 @@ "navigation" ], "aliases": [ - "chevron-down-circle" + { + "name": "chevron-down-circle", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/circle-chevron-left.json b/icons/circle-chevron-left.json index c910113d5..12683c063 100644 --- a/icons/circle-chevron-left.json +++ b/icons/circle-chevron-left.json @@ -16,6 +16,11 @@ "navigation" ], "aliases": [ - "chevron-left-circle" + { + "name": "chevron-left-circle", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/circle-chevron-right.json b/icons/circle-chevron-right.json index d42e119cd..5567c8949 100644 --- a/icons/circle-chevron-right.json +++ b/icons/circle-chevron-right.json @@ -15,6 +15,11 @@ "navigation" ], "aliases": [ - "chevron-right-circle" + { + "name": "chevron-right-circle", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/circle-chevron-up.json b/icons/circle-chevron-up.json index 94e0e77aa..6f6158605 100644 --- a/icons/circle-chevron-up.json +++ b/icons/circle-chevron-up.json @@ -14,6 +14,11 @@ "navigation" ], "aliases": [ - "chevron-up-circle" + { + "name": "chevron-up-circle", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/circle-divide.json b/icons/circle-divide.json index 7a2b1957e..7087e00ce 100644 --- a/icons/circle-divide.json +++ b/icons/circle-divide.json @@ -14,6 +14,11 @@ "math" ], "aliases": [ - "divide-circle" + { + "name": "divide-circle", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/circle-gauge.json b/icons/circle-gauge.json index 2a8ff4dfa..e6a404774 100644 --- a/icons/circle-gauge.json +++ b/icons/circle-gauge.json @@ -18,6 +18,11 @@ "science" ], "aliases": [ - "gauge-circle" + { + "name": "gauge-circle", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/circle-minus.json b/icons/circle-minus.json index a74838086..002bdc197 100644 --- a/icons/circle-minus.json +++ b/icons/circle-minus.json @@ -22,6 +22,11 @@ "math" ], "aliases": [ - "minus-circle" + { + "name": "minus-circle", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/circle-parking-off.json b/icons/circle-parking-off.json index d1190afc5..d9b4739fc 100644 --- a/icons/circle-parking-off.json +++ b/icons/circle-parking-off.json @@ -15,6 +15,11 @@ "navigation" ], "aliases": [ - "parking-circle-off" + { + "name": "parking-circle-off", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/circle-parking.json b/icons/circle-parking.json index c015e096e..f2c6ef618 100644 --- a/icons/circle-parking.json +++ b/icons/circle-parking.json @@ -13,6 +13,11 @@ "navigation" ], "aliases": [ - "parking-circle" + { + "name": "parking-circle", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/circle-pause.json b/icons/circle-pause.json index 2cc44e2d7..a995c4e08 100644 --- a/icons/circle-pause.json +++ b/icons/circle-pause.json @@ -13,6 +13,11 @@ "multimedia" ], "aliases": [ - "pause-circle" + { + "name": "pause-circle", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/circle-percent.json b/icons/circle-percent.json index 884eb1fab..53c193a2b 100644 --- a/icons/circle-percent.json +++ b/icons/circle-percent.json @@ -20,6 +20,11 @@ "math" ], "aliases": [ - "percent-circle" + { + "name": "percent-circle", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/circle-play.json b/icons/circle-play.json index a7a95387e..f74b870e0 100644 --- a/icons/circle-play.json +++ b/icons/circle-play.json @@ -13,6 +13,11 @@ "multimedia" ], "aliases": [ - "play-circle" + { + "name": "play-circle", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/circle-plus.json b/icons/circle-plus.json index 0d3d8f09a..31ed77ada 100644 --- a/icons/circle-plus.json +++ b/icons/circle-plus.json @@ -34,6 +34,11 @@ "gaming" ], "aliases": [ - "plus-circle" + { + "name": "plus-circle", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/circle-power.json b/icons/circle-power.json index 4d26a1efb..82cc227e3 100644 --- a/icons/circle-power.json +++ b/icons/circle-power.json @@ -22,6 +22,11 @@ "connectivity" ], "aliases": [ - "power-circle" + { + "name": "power-circle", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/circle-question-mark.json b/icons/circle-question-mark.json index c85710258..499b7fa34 100644 --- a/icons/circle-question-mark.json +++ b/icons/circle-question-mark.json @@ -16,7 +16,17 @@ "notifications" ], "aliases": [ - "help-circle", - "circle-help" + { + "name": "help-circle", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + }, + { + "name": "circle-help", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/circle-slash-2.json b/icons/circle-slash-2.json index 59e9a2a33..52eb0336d 100644 --- a/icons/circle-slash-2.json +++ b/icons/circle-slash-2.json @@ -29,6 +29,11 @@ "development" ], "aliases": [ - "circle-slashed" + { + "name": "circle-slashed", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/circle-stop.json b/icons/circle-stop.json index 191e098d3..74d3b0289 100644 --- a/icons/circle-stop.json +++ b/icons/circle-stop.json @@ -12,6 +12,11 @@ "multimedia" ], "aliases": [ - "stop-circle" + { + "name": "stop-circle", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/circle-user.json b/icons/circle-user.json index d1eedee41..f4674c67a 100644 --- a/icons/circle-user.json +++ b/icons/circle-user.json @@ -12,6 +12,11 @@ "account" ], "aliases": [ - "user-circle" + { + "name": "user-circle", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/circle-x.json b/icons/circle-x.json index 2e593b728..35fd25297 100644 --- a/icons/circle-x.json +++ b/icons/circle-x.json @@ -25,6 +25,11 @@ "development" ], "aliases": [ - "x-circle" + { + "name": "x-circle", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/clipboard-pen-line.json b/icons/clipboard-pen-line.json index 834752ea4..b7f20e9e1 100644 --- a/icons/clipboard-pen-line.json +++ b/icons/clipboard-pen-line.json @@ -11,6 +11,11 @@ "text" ], "aliases": [ - "clipboard-signature" + { + "name": "clipboard-signature", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/clipboard-pen.json b/icons/clipboard-pen.json index 1cff1a2e4..bd4f2e2c8 100644 --- a/icons/clipboard-pen.json +++ b/icons/clipboard-pen.json @@ -12,6 +12,11 @@ "text" ], "aliases": [ - "clipboard-edit" + { + "name": "clipboard-edit", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/cloud-download.json b/icons/cloud-download.json index a0baa3d33..7219a75c8 100644 --- a/icons/cloud-download.json +++ b/icons/cloud-download.json @@ -14,6 +14,11 @@ "files" ], "aliases": [ - "download-cloud" + { + "name": "download-cloud", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/cloud-upload.json b/icons/cloud-upload.json index a2999cb57..e185ff149 100644 --- a/icons/cloud-upload.json +++ b/icons/cloud-upload.json @@ -15,6 +15,11 @@ "files" ], "aliases": [ - "upload-cloud" + { + "name": "upload-cloud", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/columns-2.json b/icons/columns-2.json index 9bc4155f9..5195b689a 100644 --- a/icons/columns-2.json +++ b/icons/columns-2.json @@ -36,6 +36,11 @@ "text" ], "aliases": [ - "columns" + { + "name": "columns", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/columns-3-cog.json b/icons/columns-3-cog.json index 9b1e23b32..197c07765 100644 --- a/icons/columns-3-cog.json +++ b/icons/columns-3-cog.json @@ -21,7 +21,17 @@ "design" ], "aliases": [ - "columns-settings", - "table-config" + { + "name": "columns-settings", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + }, + { + "name": "table-config", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/columns-3.json b/icons/columns-3.json index 4a5dd12e6..3be235f1a 100644 --- a/icons/columns-3.json +++ b/icons/columns-3.json @@ -34,6 +34,11 @@ "text" ], "aliases": [ - "panels-left-right" + { + "name": "panels-left-right", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/diamond-percent.json b/icons/diamond-percent.json index dddd434cf..6fb92e450 100644 --- a/icons/diamond-percent.json +++ b/icons/diamond-percent.json @@ -20,6 +20,11 @@ "math" ], "aliases": [ - "percent-diamond" + { + "name": "percent-diamond", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/ellipsis-vertical.json b/icons/ellipsis-vertical.json index 2af2d150c..8f07a0b82 100644 --- a/icons/ellipsis-vertical.json +++ b/icons/ellipsis-vertical.json @@ -19,6 +19,11 @@ "layout" ], "aliases": [ - "more-vertical" + { + "name": "more-vertical", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/ellipsis.json b/icons/ellipsis.json index e9c7fa42b..58b6a4b6d 100644 --- a/icons/ellipsis.json +++ b/icons/ellipsis.json @@ -31,6 +31,11 @@ "development" ], "aliases": [ - "more-horizontal" + { + "name": "more-horizontal", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/file-axis-3d.json b/icons/file-axis-3d.json index c3dc12438..9333c2fb2 100644 --- a/icons/file-axis-3d.json +++ b/icons/file-axis-3d.json @@ -15,6 +15,11 @@ "files" ], "aliases": [ - "file-axis-3-d" + { + "name": "file-axis-3-d", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/file-pen-line.json b/icons/file-pen-line.json index e84746267..081af2563 100644 --- a/icons/file-pen-line.json +++ b/icons/file-pen-line.json @@ -12,6 +12,11 @@ "files" ], "aliases": [ - "file-signature" + { + "name": "file-signature", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/file-pen.json b/icons/file-pen.json index de3d4489d..c3eee4e5d 100644 --- a/icons/file-pen.json +++ b/icons/file-pen.json @@ -11,6 +11,11 @@ "files" ], "aliases": [ - "file-edit" + { + "name": "file-edit", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/file-play.json b/icons/file-play.json index 074ff6e9a..28eb7972a 100644 --- a/icons/file-play.json +++ b/icons/file-play.json @@ -13,6 +13,11 @@ "files" ], "aliases": [ - "file-video" + { + "name": "file-video", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/file-question-mark.json b/icons/file-question-mark.json index 1dd1c2168..86f158776 100644 --- a/icons/file-question-mark.json +++ b/icons/file-question-mark.json @@ -14,6 +14,11 @@ "files" ], "aliases": [ - "file-question" + { + "name": "file-question", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/file-video-camera.json b/icons/file-video-camera.json index 4e89c9d2f..4e86c78df 100644 --- a/icons/file-video-camera.json +++ b/icons/file-video-camera.json @@ -14,6 +14,11 @@ "files" ], "aliases": [ - "file-video-2" + { + "name": "file-video-2", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/folder-pen.json b/icons/folder-pen.json index 045bb0f28..d0d93f6cf 100644 --- a/icons/folder-pen.json +++ b/icons/folder-pen.json @@ -11,6 +11,11 @@ "files" ], "aliases": [ - "folder-edit" + { + "name": "folder-edit", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/git-commit-horizontal.json b/icons/git-commit-horizontal.json index ca38ab279..63d2fd0a0 100644 --- a/icons/git-commit-horizontal.json +++ b/icons/git-commit-horizontal.json @@ -17,6 +17,11 @@ "navigation" ], "aliases": [ - "git-commit" + { + "name": "git-commit", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/grid-2x2-check.json b/icons/grid-2x2-check.json index 6903d0889..d9f847034 100644 --- a/icons/grid-2x2-check.json +++ b/icons/grid-2x2-check.json @@ -28,6 +28,11 @@ "math" ], "aliases": [ - "grid-2-x-2-check" + { + "name": "grid-2-x-2-check", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/grid-2x2-plus.json b/icons/grid-2x2-plus.json index bbc29555e..87150d911 100644 --- a/icons/grid-2x2-plus.json +++ b/icons/grid-2x2-plus.json @@ -29,6 +29,11 @@ "math" ], "aliases": [ - "grid-2-x-2-plus" + { + "name": "grid-2-x-2-plus", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/grid-2x2-x.json b/icons/grid-2x2-x.json index 5323ae300..efabc1fde 100644 --- a/icons/grid-2x2-x.json +++ b/icons/grid-2x2-x.json @@ -28,6 +28,11 @@ "math" ], "aliases": [ - "grid-2-x-2-x" + { + "name": "grid-2-x-2-x", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/grid-2x2.json b/icons/grid-2x2.json index 5c65189dc..b606ad8ee 100644 --- a/icons/grid-2x2.json +++ b/icons/grid-2x2.json @@ -29,6 +29,11 @@ "math" ], "aliases": [ - "grid-2-x-2" + { + "name": "grid-2-x-2", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/grid-3x3.json b/icons/grid-3x3.json index 2e6ea56ea..5c1df3315 100644 --- a/icons/grid-3x3.json +++ b/icons/grid-3x3.json @@ -18,7 +18,17 @@ "design" ], "aliases": [ - "grid", - "grid-3-x-3" + { + "name": "grid", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + }, + { + "name": "grid-3-x-3", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/hand-helping.json b/icons/hand-helping.json index 182ae2dd4..8ccdb80fb 100644 --- a/icons/hand-helping.json +++ b/icons/hand-helping.json @@ -17,6 +17,11 @@ "emoji" ], "aliases": [ - "helping-hand" + { + "name": "helping-hand", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/house.json b/icons/house.json index 794a65f6b..eb460a04f 100644 --- a/icons/house.json +++ b/icons/house.json @@ -16,6 +16,11 @@ "home" ], "aliases": [ - "home" + { + "name": "home", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/ice-cream-cone.json b/icons/ice-cream-cone.json index b0f75f29b..6d31beec2 100644 --- a/icons/ice-cream-cone.json +++ b/icons/ice-cream-cone.json @@ -11,6 +11,11 @@ "food-beverage" ], "aliases": [ - "ice-cream" + { + "name": "ice-cream", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/indent-decrease.json b/icons/indent-decrease.json index 43be86f15..9b07cafb8 100644 --- a/icons/indent-decrease.json +++ b/icons/indent-decrease.json @@ -13,6 +13,11 @@ "development" ], "aliases": [ - "outdent" + { + "name": "outdent", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/indent-increase.json b/icons/indent-increase.json index 4a2886bf3..37cf1144b 100644 --- a/icons/indent-increase.json +++ b/icons/indent-increase.json @@ -13,6 +13,11 @@ "development" ], "aliases": [ - "indent" + { + "name": "indent", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/layers.json b/icons/layers.json index ed9c582bc..0db61909b 100644 --- a/icons/layers.json +++ b/icons/layers.json @@ -21,6 +21,8 @@ "aliases": [ { "name": "layers-3", + "deprecated": true, + "toBeRemovedInVersion": "v1.0", "deprecationReason": "alias.duplicate" } ] diff --git a/icons/loader-circle.json b/icons/loader-circle.json index 4d3326e9b..2cbe88c22 100644 --- a/icons/loader-circle.json +++ b/icons/loader-circle.json @@ -22,6 +22,11 @@ "layout" ], "aliases": [ - "loader-2" + { + "name": "loader-2", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/lock-keyhole-open.json b/icons/lock-keyhole-open.json index 1eb264436..c68459843 100644 --- a/icons/lock-keyhole-open.json +++ b/icons/lock-keyhole-open.json @@ -15,6 +15,11 @@ "security" ], "aliases": [ - "unlock-keyhole" + { + "name": "unlock-keyhole", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/lock-open.json b/icons/lock-open.json index 7072f3960..c216d7fa2 100644 --- a/icons/lock-open.json +++ b/icons/lock-open.json @@ -12,6 +12,11 @@ "security" ], "aliases": [ - "unlock" + { + "name": "unlock", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/mail-question-mark.json b/icons/mail-question-mark.json index 2ac7a4edc..4f7b06166 100644 --- a/icons/mail-question-mark.json +++ b/icons/mail-question-mark.json @@ -14,6 +14,11 @@ "mail" ], "aliases": [ - "mail-question" + { + "name": "mail-question", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/message-circle-question-mark.json b/icons/message-circle-question-mark.json index 791bb1921..544d3a12e 100644 --- a/icons/message-circle-question-mark.json +++ b/icons/message-circle-question-mark.json @@ -16,6 +16,11 @@ "social" ], "aliases": [ - "message-circle-question" + { + "name": "message-circle-question", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/move-3d.json b/icons/move-3d.json index 94bfe7407..5c969cc5b 100644 --- a/icons/move-3d.json +++ b/icons/move-3d.json @@ -16,6 +16,11 @@ "design" ], "aliases": [ - "move-3-d" + { + "name": "move-3-d", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/octagon-alert.json b/icons/octagon-alert.json index 27e172d5e..cf5360364 100644 --- a/icons/octagon-alert.json +++ b/icons/octagon-alert.json @@ -16,6 +16,11 @@ "shapes" ], "aliases": [ - "alert-octagon" + { + "name": "alert-octagon", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/octagon-pause.json b/icons/octagon-pause.json index 30d049f70..5643ba311 100644 --- a/icons/octagon-pause.json +++ b/icons/octagon-pause.json @@ -14,6 +14,11 @@ "shapes" ], "aliases": [ - "pause-octagon" + { + "name": "pause-octagon", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/octagon-x.json b/icons/octagon-x.json index f59ceaf42..efdbca21a 100644 --- a/icons/octagon-x.json +++ b/icons/octagon-x.json @@ -18,6 +18,11 @@ "notifications" ], "aliases": [ - "x-octagon" + { + "name": "x-octagon", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/paintbrush-vertical.json b/icons/paintbrush-vertical.json index a334d0237..14e0a8e23 100644 --- a/icons/paintbrush-vertical.json +++ b/icons/paintbrush-vertical.json @@ -21,6 +21,11 @@ "tools" ], "aliases": [ - "paintbrush-2" + { + "name": "paintbrush-2", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/panel-bottom-dashed.json b/icons/panel-bottom-dashed.json index 2940b7346..46807e04b 100644 --- a/icons/panel-bottom-dashed.json +++ b/icons/panel-bottom-dashed.json @@ -14,6 +14,11 @@ "layout" ], "aliases": [ - "panel-bottom-inactive" + { + "name": "panel-bottom-inactive", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/panel-left-close.json b/icons/panel-left-close.json index 3e5b6c2d1..9598c5fb2 100644 --- a/icons/panel-left-close.json +++ b/icons/panel-left-close.json @@ -17,6 +17,11 @@ "arrows" ], "aliases": [ - "sidebar-close" + { + "name": "sidebar-close", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/panel-left-dashed.json b/icons/panel-left-dashed.json index cfaef2e30..d941ac3f4 100644 --- a/icons/panel-left-dashed.json +++ b/icons/panel-left-dashed.json @@ -15,6 +15,11 @@ "layout" ], "aliases": [ - "panel-left-inactive" + { + "name": "panel-left-inactive", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/panel-left-open.json b/icons/panel-left-open.json index 7693b6ea4..320b8188a 100644 --- a/icons/panel-left-open.json +++ b/icons/panel-left-open.json @@ -19,6 +19,11 @@ "arrows" ], "aliases": [ - "sidebar-open" + { + "name": "sidebar-open", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/panel-left.json b/icons/panel-left.json index c407094d0..ed932067a 100644 --- a/icons/panel-left.json +++ b/icons/panel-left.json @@ -13,6 +13,11 @@ "layout" ], "aliases": [ - "sidebar" + { + "name": "sidebar", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/panel-right-dashed.json b/icons/panel-right-dashed.json index 375725dcc..afa43316a 100644 --- a/icons/panel-right-dashed.json +++ b/icons/panel-right-dashed.json @@ -15,6 +15,11 @@ "layout" ], "aliases": [ - "panel-right-inactive" + { + "name": "panel-right-inactive", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/panel-top-dashed.json b/icons/panel-top-dashed.json index 93a6d669a..69340379f 100644 --- a/icons/panel-top-dashed.json +++ b/icons/panel-top-dashed.json @@ -14,6 +14,11 @@ "layout" ], "aliases": [ - "panel-top-inactive" + { + "name": "panel-top-inactive", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/panels-top-left.json b/icons/panels-top-left.json index 82d718021..376563654 100644 --- a/icons/panels-top-left.json +++ b/icons/panels-top-left.json @@ -20,6 +20,11 @@ "development" ], "aliases": [ - "layout" + { + "name": "layout", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/plug-zap.json b/icons/plug-zap.json index 302aeb4e9..0aec5d67d 100644 --- a/icons/plug-zap.json +++ b/icons/plug-zap.json @@ -20,6 +20,11 @@ "devices" ], "aliases": [ - "plug-zap-2" + { + "name": "plug-zap-2", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/rectangle-ellipsis.json b/icons/rectangle-ellipsis.json index 3e1431412..20e6d5931 100644 --- a/icons/rectangle-ellipsis.json +++ b/icons/rectangle-ellipsis.json @@ -38,6 +38,11 @@ "development" ], "aliases": [ - "form-input" + { + "name": "form-input", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/rotate-3d.json b/icons/rotate-3d.json index 6f0ea1fa2..3e5f38a85 100644 --- a/icons/rotate-3d.json +++ b/icons/rotate-3d.json @@ -14,6 +14,11 @@ "design" ], "aliases": [ - "rotate-3-d" + { + "name": "rotate-3-d", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/rows-2.json b/icons/rows-2.json index a43a49bb5..c4ffb5dc3 100644 --- a/icons/rows-2.json +++ b/icons/rows-2.json @@ -27,6 +27,11 @@ "text" ], "aliases": [ - "rows" + { + "name": "rows", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/rows-3.json b/icons/rows-3.json index 8125af91e..c2112a4fd 100644 --- a/icons/rows-3.json +++ b/icons/rows-3.json @@ -26,6 +26,11 @@ "text" ], "aliases": [ - "panels-top-bottom" + { + "name": "panels-top-bottom", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/scale-3d.json b/icons/scale-3d.json index 6f5b0b508..979897c86 100644 --- a/icons/scale-3d.json +++ b/icons/scale-3d.json @@ -15,6 +15,11 @@ "design" ], "aliases": [ - "scale-3-d" + { + "name": "scale-3-d", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/shield-question-mark.json b/icons/shield-question-mark.json index c72370211..18a0bf0de 100644 --- a/icons/shield-question-mark.json +++ b/icons/shield-question-mark.json @@ -58,6 +58,11 @@ "gaming" ], "aliases": [ - "shield-question" + { + "name": "shield-question", + "deprecated": true, + "deprecationReason": "alias.name", + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/shield-x.json b/icons/shield-x.json index 932c25287..abf3e465f 100644 --- a/icons/shield-x.json +++ b/icons/shield-x.json @@ -74,6 +74,11 @@ "gaming" ], "aliases": [ - "shield-close" + { + "name": "shield-close", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/sliders-vertical.json b/icons/sliders-vertical.json index d7f215bbb..c734d0012 100644 --- a/icons/sliders-vertical.json +++ b/icons/sliders-vertical.json @@ -13,6 +13,11 @@ "account" ], "aliases": [ - "sliders" + { + "name": "sliders", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/sparkles.json b/icons/sparkles.json index 3fdecfcd1..991c42c76 100644 --- a/icons/sparkles.json +++ b/icons/sparkles.json @@ -3,6 +3,14 @@ "contributors": [ "karsa-mistmere" ], + "aliases": [ + { + "name": "stars", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } + ], "tags": [ "stars", "effect", @@ -15,8 +23,5 @@ "multimedia", "gaming", "weather" - ], - "aliases": [ - "stars" ] } diff --git a/icons/square-activity.json b/icons/square-activity.json index 250aa46bc..df89a915d 100644 --- a/icons/square-activity.json +++ b/icons/square-activity.json @@ -39,6 +39,11 @@ "multimedia" ], "aliases": [ - "activity-square" + { + "name": "activity-square", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/square-arrow-down-left.json b/icons/square-arrow-down-left.json index 15e8f129e..5b95209b1 100644 --- a/icons/square-arrow-down-left.json +++ b/icons/square-arrow-down-left.json @@ -18,6 +18,11 @@ "gaming" ], "aliases": [ - "arrow-down-left-square" + { + "name": "arrow-down-left-square", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/square-arrow-down-right.json b/icons/square-arrow-down-right.json index 5092f7043..4dc1e03b2 100644 --- a/icons/square-arrow-down-right.json +++ b/icons/square-arrow-down-right.json @@ -18,6 +18,11 @@ "gaming" ], "aliases": [ - "arrow-down-right-square" + { + "name": "arrow-down-right-square", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/square-arrow-down.json b/icons/square-arrow-down.json index f9a6befcd..f1046a277 100644 --- a/icons/square-arrow-down.json +++ b/icons/square-arrow-down.json @@ -19,6 +19,11 @@ "gaming" ], "aliases": [ - "arrow-down-square" + { + "name": "arrow-down-square", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/square-arrow-left.json b/icons/square-arrow-left.json index b7eb6008f..9a7a70c89 100644 --- a/icons/square-arrow-left.json +++ b/icons/square-arrow-left.json @@ -19,6 +19,11 @@ "navigation" ], "aliases": [ - "arrow-left-square" + { + "name": "arrow-left-square", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/square-arrow-out-down-left.json b/icons/square-arrow-out-down-left.json index 620c3f404..de5125c4b 100644 --- a/icons/square-arrow-out-down-left.json +++ b/icons/square-arrow-out-down-left.json @@ -14,6 +14,11 @@ "navigation" ], "aliases": [ - "arrow-down-left-from-square" + { + "name": "arrow-down-left-from-square", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/square-arrow-out-down-right.json b/icons/square-arrow-out-down-right.json index d787a7377..24e040b35 100644 --- a/icons/square-arrow-out-down-right.json +++ b/icons/square-arrow-out-down-right.json @@ -14,6 +14,11 @@ "navigation" ], "aliases": [ - "arrow-down-right-from-square" + { + "name": "arrow-down-right-from-square", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/square-arrow-out-up-left.json b/icons/square-arrow-out-up-left.json index 71c4657f4..43524fd6a 100644 --- a/icons/square-arrow-out-up-left.json +++ b/icons/square-arrow-out-up-left.json @@ -14,6 +14,11 @@ "navigation" ], "aliases": [ - "arrow-up-left-from-square" + { + "name": "arrow-up-left-from-square", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/square-arrow-out-up-right.json b/icons/square-arrow-out-up-right.json index 4fc026266..3ae252f56 100644 --- a/icons/square-arrow-out-up-right.json +++ b/icons/square-arrow-out-up-right.json @@ -19,6 +19,11 @@ "social" ], "aliases": [ - "arrow-up-right-from-square" + { + "name": "arrow-up-right-from-square", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/square-arrow-right.json b/icons/square-arrow-right.json index 41e81dce2..59afcbac0 100644 --- a/icons/square-arrow-right.json +++ b/icons/square-arrow-right.json @@ -19,6 +19,11 @@ "navigation" ], "aliases": [ - "arrow-right-square" + { + "name": "arrow-right-square", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/square-arrow-up-left.json b/icons/square-arrow-up-left.json index 24473cb05..bb047dd17 100644 --- a/icons/square-arrow-up-left.json +++ b/icons/square-arrow-up-left.json @@ -16,6 +16,11 @@ "navigation" ], "aliases": [ - "arrow-up-left-square" + { + "name": "arrow-up-left-square", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/square-arrow-up-right.json b/icons/square-arrow-up-right.json index deb3db354..f3f1a7b64 100644 --- a/icons/square-arrow-up-right.json +++ b/icons/square-arrow-up-right.json @@ -18,6 +18,11 @@ "social" ], "aliases": [ - "arrow-up-right-square" + { + "name": "arrow-up-right-square", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/square-arrow-up.json b/icons/square-arrow-up.json index 1e2792df7..114fe88b3 100644 --- a/icons/square-arrow-up.json +++ b/icons/square-arrow-up.json @@ -17,6 +17,11 @@ "navigation" ], "aliases": [ - "arrow-up-square" + { + "name": "arrow-up-square", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/square-asterisk.json b/icons/square-asterisk.json index dad179b51..22a84634a 100644 --- a/icons/square-asterisk.json +++ b/icons/square-asterisk.json @@ -21,6 +21,11 @@ "development" ], "aliases": [ - "asterisk-square" + { + "name": "asterisk-square", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/square-bottom-dashed-scissors.json b/icons/square-bottom-dashed-scissors.json index 2cf52eeae..d7ce5f87b 100644 --- a/icons/square-bottom-dashed-scissors.json +++ b/icons/square-bottom-dashed-scissors.json @@ -18,6 +18,11 @@ "development" ], "aliases": [ - "scissors-square-dashed-bottom" + { + "name": "scissors-square-dashed-bottom", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/square-chart-gantt.json b/icons/square-chart-gantt.json index 36278a794..c1ab91929 100644 --- a/icons/square-chart-gantt.json +++ b/icons/square-chart-gantt.json @@ -31,7 +31,17 @@ "design" ], "aliases": [ - "gantt-chart-square", - "square-gantt-chart" + { + "name": "gantt-chart-square", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + }, + { + "name": "square-gantt-chart", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/square-check-big.json b/icons/square-check-big.json index e955e8d55..92bdbaae4 100644 --- a/icons/square-check-big.json +++ b/icons/square-check-big.json @@ -17,6 +17,11 @@ "notifications" ], "aliases": [ - "check-square" + { + "name": "check-square", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/square-check.json b/icons/square-check.json index 4f392e60d..28ed51789 100644 --- a/icons/square-check.json +++ b/icons/square-check.json @@ -14,6 +14,11 @@ "notifications" ], "aliases": [ - "check-square-2" + { + "name": "check-square-2", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/square-chevron-down.json b/icons/square-chevron-down.json index f9ee0c846..1b41152cc 100644 --- a/icons/square-chevron-down.json +++ b/icons/square-chevron-down.json @@ -14,6 +14,11 @@ "navigation" ], "aliases": [ - "chevron-down-square" + { + "name": "chevron-down-square", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/square-chevron-left.json b/icons/square-chevron-left.json index 5c8c67df9..e841ceb64 100644 --- a/icons/square-chevron-left.json +++ b/icons/square-chevron-left.json @@ -20,6 +20,11 @@ "navigation" ], "aliases": [ - "chevron-left-square" + { + "name": "chevron-left-square", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/square-chevron-right.json b/icons/square-chevron-right.json index ce12b6d95..fed88538a 100644 --- a/icons/square-chevron-right.json +++ b/icons/square-chevron-right.json @@ -26,6 +26,11 @@ "development" ], "aliases": [ - "chevron-right-square" + { + "name": "chevron-right-square", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/square-chevron-up.json b/icons/square-chevron-up.json index 4256c7d2a..0eb46505d 100644 --- a/icons/square-chevron-up.json +++ b/icons/square-chevron-up.json @@ -25,6 +25,11 @@ "math" ], "aliases": [ - "chevron-up-square" + { + "name": "chevron-up-square", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/square-code.json b/icons/square-code.json index f13d65858..2265b4375 100644 --- a/icons/square-code.json +++ b/icons/square-code.json @@ -19,6 +19,11 @@ "development" ], "aliases": [ - "code-square" + { + "name": "code-square", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/square-dashed-kanban.json b/icons/square-dashed-kanban.json index 5ddde310f..3debedb98 100644 --- a/icons/square-dashed-kanban.json +++ b/icons/square-dashed-kanban.json @@ -28,6 +28,11 @@ "design" ], "aliases": [ - "kanban-square-dashed" + { + "name": "kanban-square-dashed", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/square-dashed-mouse-pointer.json b/icons/square-dashed-mouse-pointer.json index 6eed22245..22a63ba69 100644 --- a/icons/square-dashed-mouse-pointer.json +++ b/icons/square-dashed-mouse-pointer.json @@ -23,6 +23,11 @@ "tools" ], "aliases": [ - "mouse-pointer-square-dashed" + { + "name": "mouse-pointer-square-dashed", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/square-dashed.json b/icons/square-dashed.json index 38a143c14..cff578641 100644 --- a/icons/square-dashed.json +++ b/icons/square-dashed.json @@ -21,6 +21,11 @@ "design" ], "aliases": [ - "box-select" + { + "name": "box-select", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/square-divide.json b/icons/square-divide.json index cf56f0b9c..0a40528f0 100644 --- a/icons/square-divide.json +++ b/icons/square-divide.json @@ -14,6 +14,11 @@ "math" ], "aliases": [ - "divide-square" + { + "name": "divide-square", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/square-dot.json b/icons/square-dot.json index 6e4a26b87..11d49b462 100644 --- a/icons/square-dot.json +++ b/icons/square-dot.json @@ -14,6 +14,11 @@ "development" ], "aliases": [ - "dot-square" + { + "name": "dot-square", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/square-equal.json b/icons/square-equal.json index be4487e0c..caa4455e6 100644 --- a/icons/square-equal.json +++ b/icons/square-equal.json @@ -12,6 +12,11 @@ "math" ], "aliases": [ - "equal-square" + { + "name": "equal-square", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/square-function.json b/icons/square-function.json index 22f7e5685..e9c0dd4c7 100644 --- a/icons/square-function.json +++ b/icons/square-function.json @@ -15,6 +15,11 @@ "math" ], "aliases": [ - "function-square" + { + "name": "function-square", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/square-kanban.json b/icons/square-kanban.json index 3fe0cc937..a6eb47c3e 100644 --- a/icons/square-kanban.json +++ b/icons/square-kanban.json @@ -27,6 +27,11 @@ "design" ], "aliases": [ - "kanban-square" + { + "name": "kanban-square", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/square-library.json b/icons/square-library.json index 1151020d9..a784c3716 100644 --- a/icons/square-library.json +++ b/icons/square-library.json @@ -36,6 +36,11 @@ "development" ], "aliases": [ - "library-square" + { + "name": "library-square", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/square-m.json b/icons/square-m.json index 712181c20..6c9a38473 100644 --- a/icons/square-m.json +++ b/icons/square-m.json @@ -15,6 +15,11 @@ "navigation" ], "aliases": [ - "m-square" + { + "name": "m-square", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/square-menu.json b/icons/square-menu.json index f56001a7f..c6a59fe50 100644 --- a/icons/square-menu.json +++ b/icons/square-menu.json @@ -15,6 +15,11 @@ "layout" ], "aliases": [ - "menu-square" + { + "name": "menu-square", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/square-minus.json b/icons/square-minus.json index 12019d527..bfae0baae 100644 --- a/icons/square-minus.json +++ b/icons/square-minus.json @@ -36,6 +36,11 @@ "devices" ], "aliases": [ - "minus-square" + { + "name": "minus-square", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/square-mouse-pointer.json b/icons/square-mouse-pointer.json index a3936a165..829544e98 100644 --- a/icons/square-mouse-pointer.json +++ b/icons/square-mouse-pointer.json @@ -25,6 +25,11 @@ "tools" ], "aliases": [ - "inspect" + { + "name": "inspect", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/square-parking-off.json b/icons/square-parking-off.json index 51ce90230..3d9830085 100644 --- a/icons/square-parking-off.json +++ b/icons/square-parking-off.json @@ -15,6 +15,11 @@ "navigation" ], "aliases": [ - "parking-square-off" + { + "name": "parking-square-off", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/square-parking.json b/icons/square-parking.json index aa256c4b7..e8f53553d 100644 --- a/icons/square-parking.json +++ b/icons/square-parking.json @@ -14,6 +14,11 @@ "navigation" ], "aliases": [ - "parking-square" + { + "name": "parking-square", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/square-pen.json b/icons/square-pen.json index ebd15ac37..6a6e8bdaa 100644 --- a/icons/square-pen.json +++ b/icons/square-pen.json @@ -27,8 +27,23 @@ "text" ], "aliases": [ - "pen-box", - "edit", - "pen-square" + { + "name": "pen-box", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + }, + { + "name": "edit", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + }, + { + "name": "pen-square", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/square-percent.json b/icons/square-percent.json index 89b44e6fe..ad1f6b95f 100644 --- a/icons/square-percent.json +++ b/icons/square-percent.json @@ -20,6 +20,11 @@ "math" ], "aliases": [ - "percent-square" + { + "name": "percent-square", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/square-pi.json b/icons/square-pi.json index 6c4410cf1..fa008f298 100644 --- a/icons/square-pi.json +++ b/icons/square-pi.json @@ -18,6 +18,11 @@ "math" ], "aliases": [ - "pi-square" + { + "name": "pi-square", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/square-pilcrow.json b/icons/square-pilcrow.json index 85609106d..4e10ee5d6 100644 --- a/icons/square-pilcrow.json +++ b/icons/square-pilcrow.json @@ -18,6 +18,11 @@ "text" ], "aliases": [ - "pilcrow-square" + { + "name": "pilcrow-square", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/square-play.json b/icons/square-play.json index 67de20369..75dfcaab3 100644 --- a/icons/square-play.json +++ b/icons/square-play.json @@ -16,6 +16,11 @@ "multimedia" ], "aliases": [ - "play-square" + { + "name": "play-square", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/square-plus.json b/icons/square-plus.json index a5345ae58..46fb5e7d5 100644 --- a/icons/square-plus.json +++ b/icons/square-plus.json @@ -32,6 +32,11 @@ "text" ], "aliases": [ - "plus-square" + { + "name": "plus-square", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/square-power.json b/icons/square-power.json index 03fa9a35b..a84ce3752 100644 --- a/icons/square-power.json +++ b/icons/square-power.json @@ -22,6 +22,11 @@ "connectivity" ], "aliases": [ - "power-square" + { + "name": "power-square", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/square-scissors.json b/icons/square-scissors.json index 33bf0750f..779249a82 100644 --- a/icons/square-scissors.json +++ b/icons/square-scissors.json @@ -20,6 +20,11 @@ "development" ], "aliases": [ - "scissors-square" + { + "name": "scissors-square", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/square-sigma.json b/icons/square-sigma.json index bc20c349d..e1a4033c2 100644 --- a/icons/square-sigma.json +++ b/icons/square-sigma.json @@ -16,6 +16,11 @@ "math" ], "aliases": [ - "sigma-square" + { + "name": "sigma-square", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/square-slash.json b/icons/square-slash.json index 9c7593356..a7513949c 100644 --- a/icons/square-slash.json +++ b/icons/square-slash.json @@ -19,6 +19,11 @@ "math" ], "aliases": [ - "slash-square" + { + "name": "slash-square", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/square-split-horizontal.json b/icons/square-split-horizontal.json index 80b69fcbb..90e21289b 100644 --- a/icons/square-split-horizontal.json +++ b/icons/square-split-horizontal.json @@ -12,6 +12,11 @@ "layout" ], "aliases": [ - "split-square-horizontal" + { + "name": "split-square-horizontal", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/square-split-vertical.json b/icons/square-split-vertical.json index 4b7cbbfd5..e75e40715 100644 --- a/icons/square-split-vertical.json +++ b/icons/square-split-vertical.json @@ -12,6 +12,11 @@ "layout" ], "aliases": [ - "split-square-vertical" + { + "name": "split-square-vertical", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/square-terminal.json b/icons/square-terminal.json index 41c5ae4e3..191035371 100644 --- a/icons/square-terminal.json +++ b/icons/square-terminal.json @@ -14,6 +14,11 @@ "development" ], "aliases": [ - "terminal-square" + { + "name": "terminal-square", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/square-user.json b/icons/square-user.json index 8e79ed789..cfdc9f459 100644 --- a/icons/square-user.json +++ b/icons/square-user.json @@ -12,6 +12,11 @@ "account" ], "aliases": [ - "user-square" + { + "name": "user-square", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/square-x.json b/icons/square-x.json index 189e61f88..799dcc310 100644 --- a/icons/square-x.json +++ b/icons/square-x.json @@ -20,6 +20,11 @@ "notifications" ], "aliases": [ - "x-square" + { + "name": "x-square", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/test-tube-diagonal.json b/icons/test-tube-diagonal.json index 9f66fc466..5cebcedcd 100644 --- a/icons/test-tube-diagonal.json +++ b/icons/test-tube-diagonal.json @@ -20,6 +20,11 @@ "science" ], "aliases": [ - "test-tube-2" + { + "name": "test-tube-2", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/text-select.json b/icons/text-select.json index 389b83352..e3f1ef0e1 100644 --- a/icons/text-select.json +++ b/icons/text-select.json @@ -14,6 +14,11 @@ "cursors" ], "aliases": [ - "text-selection" + { + "name": "text-selection", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/tram-front.json b/icons/tram-front.json index 90174d199..08ef5de93 100644 --- a/icons/tram-front.json +++ b/icons/tram-front.json @@ -17,6 +17,11 @@ "transportation" ], "aliases": [ - "train" + { + "name": "train", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/tree-palm.json b/icons/tree-palm.json index cbb0bbb56..8cae7c2b7 100644 --- a/icons/tree-palm.json +++ b/icons/tree-palm.json @@ -13,6 +13,11 @@ "sustainability" ], "aliases": [ - "palmtree" + { + "name": "palmtree", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/triangle-alert.json b/icons/triangle-alert.json index 9b7c85e26..21c37d09e 100644 --- a/icons/triangle-alert.json +++ b/icons/triangle-alert.json @@ -19,6 +19,11 @@ "development" ], "aliases": [ - "alert-triangle" + { + "name": "alert-triangle", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/utensils-crossed.json b/icons/utensils-crossed.json index f4679e676..bdd543895 100644 --- a/icons/utensils-crossed.json +++ b/icons/utensils-crossed.json @@ -23,6 +23,11 @@ "navigation" ], "aliases": [ - "fork-knife-crossed" + { + "name": "fork-knife-crossed", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/icons/utensils.json b/icons/utensils.json index 49aafb6c1..9a50245d6 100644 --- a/icons/utensils.json +++ b/icons/utensils.json @@ -24,6 +24,11 @@ "navigation" ], "aliases": [ - "fork-knife" + { + "name": "fork-knife", + "deprecationReason": "alias.name", + "deprecated": true, + "toBeRemovedInVersion": "v1.0" + } ] } diff --git a/packages/lucide-react/scripts/getAliasesEntryNames.mts b/packages/lucide-react/scripts/getAliasesEntryNames.mts index f8dcd40b4..4fd421a6b 100644 --- a/packages/lucide-react/scripts/getAliasesEntryNames.mts +++ b/packages/lucide-react/scripts/getAliasesEntryNames.mts @@ -10,7 +10,5 @@ export default async function getAliasesEntryNames() { const aliases = iconWithAliases.flatMap(({ aliases }) => aliases); - return aliases - .map((alias) => (typeof alias === 'string' ? alias : alias?.name)) - .map((alias) => path.join('src/icons', `${alias}.ts`)); + return aliases.map((alias) => path.join('src/icons', `${alias.name}.ts`)); } diff --git a/scripts/rename/renameIcon.function.mts b/scripts/rename/renameIcon.function.mts index 32cf6dcb8..e154f53e5 100644 --- a/scripts/rename/renameIcon.function.mts +++ b/scripts/rename/renameIcon.function.mts @@ -46,14 +46,15 @@ export async function renameIcon(ICONS_DIR: string, oldName: string, newName: st if (addAlias) { const json = fs.readFileSync(newJsonPath, 'utf8'); const jsonData: IconMetadata = JSON.parse(json); - if (Array.isArray(jsonData.aliases)) { - jsonData.aliases = jsonData.aliases.filter( - (alias) => (typeof alias === 'string' ? alias : alias.name) !== newName, - ); - jsonData.aliases.push(oldName); - } else { - jsonData.aliases = [oldName]; - } + jsonData.aliases = [ + ...(jsonData.aliases ?? []), + { + name: oldName, + deprecate: true, + deprecationReason: 'alias.name', + toBeRemovedInVersion: 'v1.0', + }, + ]; fs.writeFileSync(newJsonPath, JSON.stringify(jsonData, null, 2)); await git.add(newJsonPath); } diff --git a/tools/build-icons/utils/deprecationReasonTemplate.ts b/tools/build-icons/utils/deprecationReasonTemplate.ts index c8f36804f..612f1e219 100644 --- a/tools/build-icons/utils/deprecationReasonTemplate.ts +++ b/tools/build-icons/utils/deprecationReasonTemplate.ts @@ -28,6 +28,6 @@ export default function deprecationReasonTemplate( case 'icon.brand': return `Brand icons have been deprecated and are due to be removed, please refer to https://github.com/lucide-icons/lucide/issues/670. We recommend using https://simpleicons.org/?q=${iconName} instead.${removalNotice}`; default: - return ''; + throw new Error(`Unknown deprecation reason: ${deprecationReason}`); } }