mirror of
https://github.com/lucide-icons/lucide.git
synced 2025-12-16 21:17:43 +01:00
fix(icons): combined layers and layers-3 icon (#2596)
* Updated icons/layers.svg * Updated icons/layers.json * chore: removed layers-3 icon * Update tools/build-icons/utils/deprecationReasonTemplate.mjs --------- Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
This commit is contained in:
@@ -142,7 +142,7 @@
|
|||||||
},
|
},
|
||||||
"aliasDeprecationReasons": {
|
"aliasDeprecationReasons": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"enum": ["alias.typo", "alias.name"]
|
"enum": ["alias.typo", "alias.name", "alias.duplicate"]
|
||||||
},
|
},
|
||||||
"versionNumber": {
|
"versionNumber": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
|||||||
@@ -1,21 +0,0 @@
|
|||||||
{
|
|
||||||
"$schema": "../icon.schema.json",
|
|
||||||
"contributors": [
|
|
||||||
"danielbayley"
|
|
||||||
],
|
|
||||||
"tags": [
|
|
||||||
"stack",
|
|
||||||
"pile",
|
|
||||||
"pages",
|
|
||||||
"sheets",
|
|
||||||
"paperwork",
|
|
||||||
"copies",
|
|
||||||
"copy",
|
|
||||||
"duplicate",
|
|
||||||
"triple"
|
|
||||||
],
|
|
||||||
"categories": [
|
|
||||||
"design",
|
|
||||||
"layout"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
<svg
|
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
|
||||||
width="24"
|
|
||||||
height="24"
|
|
||||||
viewBox="0 0 24 24"
|
|
||||||
fill="none"
|
|
||||||
stroke="currentColor"
|
|
||||||
stroke-width="2"
|
|
||||||
stroke-linecap="round"
|
|
||||||
stroke-linejoin="round"
|
|
||||||
>
|
|
||||||
<path d="m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z" />
|
|
||||||
<path d="m6.08 9.5-3.5 1.6a1 1 0 0 0 0 1.81l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9a1 1 0 0 0 0-1.83l-3.5-1.59" />
|
|
||||||
<path d="m6.08 14.5-3.5 1.6a1 1 0 0 0 0 1.81l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9a1 1 0 0 0 0-1.83l-3.5-1.59" />
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 557 B |
@@ -2,7 +2,8 @@
|
|||||||
"$schema": "../icon.schema.json",
|
"$schema": "../icon.schema.json",
|
||||||
"contributors": [
|
"contributors": [
|
||||||
"colebemis",
|
"colebemis",
|
||||||
"danielbayley"
|
"danielbayley",
|
||||||
|
"jguddas"
|
||||||
],
|
],
|
||||||
"tags": [
|
"tags": [
|
||||||
"stack",
|
"stack",
|
||||||
@@ -16,5 +17,11 @@
|
|||||||
"categories": [
|
"categories": [
|
||||||
"design",
|
"design",
|
||||||
"layout"
|
"layout"
|
||||||
|
],
|
||||||
|
"aliases": [
|
||||||
|
{
|
||||||
|
"name": "layers-3",
|
||||||
|
"deprecationReason": "alias.duplicate"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
stroke-linecap="round"
|
stroke-linecap="round"
|
||||||
stroke-linejoin="round"
|
stroke-linejoin="round"
|
||||||
>
|
>
|
||||||
<path d="m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z" />
|
<path d="M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z" />
|
||||||
<path d="m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65" />
|
<path d="M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12" />
|
||||||
<path d="m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65" />
|
<path d="M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17" />
|
||||||
</svg>
|
</svg>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 452 B After Width: | Height: | Size: 510 B |
@@ -11,6 +11,8 @@ export default function deprecationReasonTemplate(
|
|||||||
switch (deprecationReason) {
|
switch (deprecationReason) {
|
||||||
case 'alias.typo':
|
case 'alias.typo':
|
||||||
return `Renamed because of typo, use {@link ${componentName}} instead.${removalNotice}`;
|
return `Renamed because of typo, use {@link ${componentName}} instead.${removalNotice}`;
|
||||||
|
case 'alias.duplicate':
|
||||||
|
return `The icon was combined with another icon that shares the same use case, use {@link ${componentName}} instead.${removalNotice}`;
|
||||||
case 'alias.naming':
|
case 'alias.naming':
|
||||||
return `The name of this icon was changed because it didn't meet our guidelines anymore, use {@link ${componentName}} instead.${removalNotice}`;
|
return `The name of this icon was changed because it didn't meet our guidelines anymore, use {@link ${componentName}} instead.${removalNotice}`;
|
||||||
case 'icon.brand':
|
case 'icon.brand':
|
||||||
|
|||||||
Reference in New Issue
Block a user