Compare commits

...

34 Commits

Author SHA1 Message Date
Karsa
8e08185318 Added fuel (#656)
* Added accessibility icon as per https://github.com/feathericons/feather/issues/633

* added newline to end of file

* Updated icon to comply with design guidelines and more closely match accessibleicon.org

* Added fuel

Co-authored-by: Karsa <karsa@karsa.org>
2022-05-22 11:04:28 +02:00
Karsa
6c1903d0b9 Added star-off (#662)
* Added accessibility icon as per https://github.com/feathericons/feather/issues/633

* added newline to end of file

* Updated icon to comply with design guidelines and more closely match accessibleicon.org

* Added star-off

Co-authored-by: Karsa <karsa@karsa.org>
2022-05-22 11:03:30 +02:00
Karsa
89c4771137 Added component (#658)
* Added accessibility icon as per https://github.com/feathericons/feather/issues/633

* added newline to end of file

* Updated icon to comply with design guidelines and more closely match accessibleicon.org

* Added component

Co-authored-by: Karsa <karsa@karsa.org>
2022-05-22 11:03:07 +02:00
Karsa
d1c8f2716b Added chef-hat and croissant (#664)
* Added accessibility icon as per https://github.com/feathericons/feather/issues/633

* added newline to end of file

* Updated icon to comply with design guidelines and more closely match accessibleicon.org

* Added chef-hat

* Added croissant

* Slight visual improvements to croissant shape

Co-authored-by: Karsa <karsa@karsa.org>
2022-05-22 11:02:45 +02:00
Yashu Mittal
b78e0f328f feat: add night-light & sun-medium icon + tags (#628)
* feat: add night-light & sun-medium icon + tags

* feat: rename 'night-light' to 'sun-moon' icon

* feat: add more tags to 'sun-moon' icon
2022-05-22 11:02:02 +02:00
Karsa
ee1fd46fa6 Added bath (#635)
* Added accessibility icon as per https://github.com/feathericons/feather/issues/633

* added newline to end of file

* Updated icon to comply with design guidelines and more closely match accessibleicon.org

* Added bath

* Update tags.json

Co-authored-by: Eric Fennis <eric.fennis@gmail.com>

Co-authored-by: Karsa <karsa@karsa.org>
Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
2022-05-22 11:00:44 +02:00
Karsa
01387c0dde Added sword & swords (#646)
* Added accessibility icon as per https://github.com/feathericons/feather/issues/633

* added newline to end of file

* Updated icon to comply with design guidelines and more closely match accessibleicon.org

* Added sword & swords

Co-authored-by: Karsa <karsa@karsa.org>
2022-05-22 11:00:10 +02:00
Karsa
2359ebcf7d Adds further tags to radio (#677)
* Added accessibility icon as per https://github.com/feathericons/feather/issues/633

* added newline to end of file

* Updated icon to comply with design guidelines and more closely match accessibleicon.org

* Adds further tags to

Co-authored-by: Karsa <karsa@karsa.org>
2022-05-22 10:59:22 +02:00
Lucide Bot
1ebf50a848 📦 Bump lucide package versions to 0.46.0 2022-05-18 13:44:54 +00:00
delnyn
de27e452e6 Added the icons/train.svg file added the relevant tags in tags.json (#639) 2022-05-18 15:36:18 +02:00
Karsa
366efe3e82 Added venetian-mask (#631)
* Added accessibility icon as per https://github.com/feathericons/feather/issues/633

* added newline to end of file

* Updated icon to comply with design guidelines and more closely match accessibleicon.org

* Added venetian-mask

Co-authored-by: Karsa <karsa@karsa.org>
2022-05-18 15:35:44 +02:00
Karsa
acaedb41c1 Fixes inspect (#575)
* Added accessibility icon as per https://github.com/feathericons/feather/issues/633

* added newline to end of file

* Fixes inspect

* Updated icon to comply with design guidelines and more closely match accessibleicon.org

* Complete redesign of inspect

* Added cursor & pointer tag to inspect

Co-authored-by: Karsa <karsa@karsa.org>
2022-05-18 15:35:11 +02:00
Karsa
78d3274b5b Fixes battery-charging & cloud-lightning + battery-* (#568)
* Fixes battery-charging

* Fixes spark shape to be more consistent with icon set

* Improves 100% of lightning shape + fixes battery icons

Co-authored-by: Karsa <karsa@karsa.org>
2022-05-18 15:33:24 +02:00
Karsa
812cdb8f4a Adds "backspace" to delete as a tag (#675)
* Added accessibility icon as per https://github.com/feathericons/feather/issues/633

* added newline to end of file

* Updated icon to comply with design guidelines and more closely match accessibleicon.org

* Add backspace to delete as a tag

Co-authored-by: Karsa <karsa@karsa.org>
2022-05-16 12:44:02 +02:00
Lucide Bot
0500d18d09 📦 Bump lucide package versions to 0.45.0 2022-05-14 18:53:28 +00:00
Eric Fennis
38c834bcda Add customize icon in downloadAll (#663) 2022-05-14 20:43:15 +02:00
Karsa
f3a1bba31d Added alternate line/bar chart icons (#564)
* Added alternate line/bar chart icons

* Added charts to tags.json

* Update bar-chart-3.svg

* Update bar-chart-4.svg

* Update bar-chart-horizontal.svg

* Update line-chart.svg

Co-authored-by: Karsa <karsa@karsa.org>
2022-05-14 20:42:27 +02:00
Karsa
ea82684178 Fixes pipette (#579)
* Fixes pipette

* Update pipette.svg

Co-authored-by: Karsa <karsa@karsa.org>
2022-05-09 17:35:33 +02:00
Karsa
7e3d6a8121 Fixes shopping-cart (#653)
* Added accessibility icon as per https://github.com/feathericons/feather/issues/633

* added newline to end of file

* Fixes shopping-cart

* Update shopping-cart.svg

* Updated icon to comply with design guidelines and more closely match accessibleicon.org

* Adds slightly more visual weight to shopping-cart

Co-authored-by: Karsa <karsa@karsa.org>
2022-05-09 17:35:05 +02:00
Karsa
2c35468403 Added map-pin-off, navigation-off & navigation-off-2 (#647)
* Added accessibility icon as per https://github.com/feathericons/feather/issues/633

* added newline to end of file

* Updated icon to comply with design guidelines and more closely match accessibleicon.org

* Added various location-off icons

* Renamed navigation-off-2 => navigation-2-off

Co-authored-by: Karsa <karsa@karsa.org>
2022-05-09 17:21:16 +02:00
Lennard Scheibel
96aec6562a Add undo and redo alternative (#643) 2022-05-09 17:14:24 +02:00
Karsa
aa8b23b12a Fixes delete (#623)
Co-authored-by: Karsa <karsa@karsa.org>
2022-05-09 17:12:31 +02:00
Lucide Bot
0d87ec28eb 📦 Bump lucide package versions to 0.42.0 2022-05-09 07:28:59 +00:00
Karsa
f8192b0999 Added factory icon (#558)
* Added factory icon

* slightly adjusted visual style to match lucide

* Make factory more in line with other building icons

* Slight adjustment to roof height

* Even more drastic increase in size.

* One more tiny change to roof shape

* Added @ericfennis' suggestion

Co-authored-by: Eric Fennis <eric.fennis@gmail.com>

Co-authored-by: Karsa <karsa@karsa.org>
Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
2022-05-09 09:21:13 +02:00
Lucide Bot
ef7b4fe014 📦 Bump lucide package versions to 0.41.0 2022-05-07 15:16:20 +00:00
Karsa
a104a1f206 Fixes cpu (#572)
* Fixes cpu

* Update icons/cpu.svg

Co-authored-by: Eric Fennis <eric.fennis@gmail.com>

* Update icons/cpu.svg

Co-authored-by: Eric Fennis <eric.fennis@gmail.com>

Co-authored-by: Karsa <karsa@karsa.org>
Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
2022-05-07 17:07:44 +02:00
Lucide Bot
6706ade47c 📦 Bump lucide package versions to 0.40.0 2022-05-07 15:03:32 +00:00
Karsa
fcc5dd70ad Added focus (#634)
* Added accessibility icon as per https://github.com/feathericons/feather/issues/633

* added newline to end of file

* Updated icon to comply with design guidelines and more closely match accessibleicon.org

* Added focus

* Update icon to match scan-line

Co-authored-by: Karsa <karsa@karsa.org>
2022-05-07 16:56:25 +02:00
Lucide Bot
c9b9c93034 📦 Bump lucide package versions to 0.39.0 2022-05-06 07:28:43 +00:00
Lennard Scheibel
bd4e464048 Add vibrate-off icon (#641) 2022-05-06 09:21:44 +02:00
Karsa
ad5b2e5ae2 Added puzzle (#633)
* Added accessibility icon as per https://github.com/feathericons/feather/issues/633

* added newline to end of file

* Updated icon to comply with design guidelines and more closely match accessibleicon.org

* Added puzzle

Co-authored-by: Karsa <karsa@karsa.org>
2022-05-06 09:21:30 +02:00
Bhajneet S.K
794d3c09fb fix basic linting error (#636) 2022-05-03 13:01:40 +02:00
it-is-not
202c4c0ae2 Add movie icons (#629)
* Add movie icon

* Add movie-play and movie-pause and fix formatting

* change movie and remove movie-play and movie-pause

* fix minor issues I introduced later on

* move movie icon to nearest pixel

* Fix rectangle and change rotation

* Change icon name, remove useless tags

* svg formatting

Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
2022-05-03 12:57:39 +02:00
Lucide Bot
6041311718 📦 Bump lucide package versions to 0.37.0 2022-05-02 19:57:37 +00:00
49 changed files with 704 additions and 72 deletions

16
icons/bar-chart-3.svg Normal file
View File

@@ -0,0 +1,16 @@
<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="M2 2v20h20" />
<path d="M17 18V9" />
<path d="M12 18V4" />
<path d="M7 18v-4" />
</svg>

After

Width:  |  Height:  |  Size: 306 B

16
icons/bar-chart-4.svg Normal file
View File

@@ -0,0 +1,16 @@
<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="M2 2v20h20" />
<path d="M12 18V9" />
<path d="M17 18V4" />
<path d="M7 18v-4" />
</svg>

After

Width:  |  Height:  |  Size: 306 B

View File

@@ -0,0 +1,16 @@
<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="M2 2V22H22" />
<path d="M6 17L15 17" />
<path d="M6 12L20 12" />
<path d="M6 7L10 7" />
</svg>

After

Width:  |  Height:  |  Size: 313 B

17
icons/bath.svg Normal file
View File

@@ -0,0 +1,17 @@
<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="M9 6 6.5 3.5a1.5 1.5 0 0 0-1-.5C4.683 3 4 3.683 4 4.5V17a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5" />
<line x1="10" y1="5" x2="8" y2="7" />
<line x1="2" y1="12" x2="22" y2="12" />
<line x1="7" y1="19" x2="7" y2="21" />
<line x1="17" y1="19" x2="17" y2="21" />
</svg>

After

Width:  |  Height:  |  Size: 480 B

View File

@@ -9,8 +9,8 @@
stroke-linecap="round" stroke-linecap="round"
stroke-linejoin="round" stroke-linejoin="round"
> >
<path d="M14 7h2a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2h-3" /> <path d="M15 7h1a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2h-2" />
<path d="M7 7H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2" /> <path d="M6 7H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h1" />
<polyline points="11 7 8 12 12 12 9 17" /> <path d="m11 7-3 5h4l-3 5" />
<line x1="22" x2="22" y1="11" y2="13" /> <line x1="22" x2="22" y1="11" y2="13" />
</svg> </svg>

Before

Width:  |  Height:  |  Size: 406 B

After

Width:  |  Height:  |  Size: 393 B

View File

@@ -11,7 +11,7 @@
> >
<rect x="2" y="7" width="16" height="10" rx="2" ry="2" /> <rect x="2" y="7" width="16" height="10" rx="2" ry="2" />
<line x1="22" x2="22" y1="11" y2="13" /> <line x1="22" x2="22" y1="11" y2="13" />
<line x1="6" x2="6" y1="10" y2="14" /> <line x1="6" x2="6" y1="11" y2="13" />
<line x1="10" x2="10" y1="10" y2="14" /> <line x1="10" x2="10" y1="11" y2="13" />
<line x1="14" x2="14" y1="10" y2="14" /> <line x1="14" x2="14" y1="11" y2="13" />
</svg> </svg>

Before

Width:  |  Height:  |  Size: 438 B

After

Width:  |  Height:  |  Size: 438 B

View File

@@ -11,5 +11,5 @@
> >
<rect x="2" y="7" width="16" height="10" rx="2" ry="2" /> <rect x="2" y="7" width="16" height="10" rx="2" ry="2" />
<line x1="22" x2="22" y1="11" y2="13" /> <line x1="22" x2="22" y1="11" y2="13" />
<line x1="6" x2="6" y1="10" y2="14" /> <line x1="6" x2="6" y1="11" y2="13" />
</svg> </svg>

Before

Width:  |  Height:  |  Size: 352 B

After

Width:  |  Height:  |  Size: 352 B

View File

@@ -11,6 +11,6 @@
> >
<rect x="2" y="7" width="16" height="10" rx="2" ry="2" /> <rect x="2" y="7" width="16" height="10" rx="2" ry="2" />
<line x1="22" x2="22" y1="11" y2="13" /> <line x1="22" x2="22" y1="11" y2="13" />
<line x1="6" x2="6" y1="10" y2="14" /> <line x1="6" x2="6" y1="11" y2="13" />
<line x1="10" x2="10" y1="10" y2="14" /> <line x1="10" x2="10" y1="11" y2="13" />
</svg> </svg>

Before

Width:  |  Height:  |  Size: 395 B

After

Width:  |  Height:  |  Size: 395 B

14
icons/chef-hat.svg Normal file
View File

@@ -0,0 +1,14 @@
<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="M6 13.87A4 4 0 0 1 7.41 6a5.11 5.11 0 0 1 1.05-1.54 5 5 0 0 1 7.08 0A5.11 5.11 0 0 1 16.59 6 4 4 0 0 1 18 13.87V21H6Z" />
<line x1="6" y1="17" x2="18" y2="17" />
</svg>

After

Width:  |  Height:  |  Size: 383 B

16
icons/clapperboard.svg Normal file
View File

@@ -0,0 +1,16 @@
<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="M4 11v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8H4Z" />
<path d="m4 11-.88-2.87a2 2 0 0 1 1.33-2.5l11.48-3.5a2 2 0 0 1 2.5 1.32l.87 2.87L4 11.01Z" />
<path d="m6.6 4.99 3.38 4.2" />
<path d="m11.86 3.38 3.38 4.2" />
</svg>

After

Width:  |  Height:  |  Size: 434 B

View File

@@ -9,6 +9,6 @@
stroke-linecap="round" stroke-linecap="round"
stroke-linejoin="round" stroke-linejoin="round"
> >
<path d="M17.5 17a4.5 4.5 0 1 0 0-9h-1.8a7 7 0 1 0-10.3 8" /> <path d="m13 12-3 5h4l-3 5" />
<path d="m12 12-3 5h5l-3 5" /> <path d="M18 17a4.5 4.5 0 0 0-.5-9h-1.8a7.05 7.05 0 0 0-2-3.23A7 7 0 1 0 5.32 16a6.42 6.42 0 0 0 .68.37" />
</svg> </svg>

Before

Width:  |  Height:  |  Size: 305 B

After

Width:  |  Height:  |  Size: 351 B

16
icons/component.svg Normal file
View File

@@ -0,0 +1,16 @@
<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="M5.5 8.5 9 12l-3.5 3.5L2 12l3.5-3.5Z" />
<path d="m12 2 3.5 3.5L12 9 8.5 5.5 12 2Z" />
<path d="M18.5 8.5 22 12l-3.5 3.5L15 12l3.5-3.5Z" />
<path d="m12 15 3.5 3.5L12 22l-3.5-3.5L12 15Z" />
</svg>

After

Width:  |  Height:  |  Size: 415 B

View File

@@ -11,12 +11,12 @@
> >
<rect x="4" y="4" width="16" height="16" rx="2" ry="2" /> <rect x="4" y="4" width="16" height="16" rx="2" ry="2" />
<rect x="9" y="9" width="6" height="6" /> <rect x="9" y="9" width="6" height="6" />
<line x1="9" y1="1" x2="9" y2="4" /> <line x1="9" y1="2" x2="9" y2="4" />
<line x1="15" y1="1" x2="15" y2="4" /> <line x1="15" y1="2" x2="15" y2="4" />
<line x1="9" y1="20" x2="9" y2="23" /> <line x1="9" y1="21" x2="9" y2="22" />
<line x1="15" y1="20" x2="15" y2="23" /> <line x1="15" y1="20" x2="15" y2="22" />
<line x1="20" y1="9" x2="23" y2="9" /> <line x1="20" y1="9" x2="22" y2="9" />
<line x1="20" y1="14" x2="23" y2="14" /> <line x1="20" y1="14" x2="22" y2="14" />
<line x1="1" y1="9" x2="4" y2="9" /> <line x1="2" y1="9" x2="4" y2="9" />
<line x1="1" y1="14" x2="4" y2="14" /> <line x1="2" y1="14" x2="4" y2="14" />
</svg> </svg>

Before

Width:  |  Height:  |  Size: 640 B

After

Width:  |  Height:  |  Size: 640 B

17
icons/croissant.svg Normal file
View File

@@ -0,0 +1,17 @@
<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="m4.6 13.11 5.79-3.21c1.89-1.05 4.79 1.78 3.71 3.71l-3.22 5.81C8.8 23.16.79 15.23 4.6 13.11Z" />
<path d="m10.5 9.5-1-2.29C9.2 6.48 8.8 6 8 6H4.5C2.79 6 2 6.5 2 8.5a7.71 7.71 0 0 0 2 4.83" />
<path d="M8 6c0-1.55.24-4-2-4-2 0-2.5 2.17-2.5 4" />
<path d="m14.5 13.5 2.29 1c.73.3 1.21.7 1.21 1.5v3.5c0 1.71-.5 2.5-2.5 2.5a7.71 7.71 0 0 1-4.83-2" />
<path d="M18 16c1.55 0 4-.24 4 2 0 2-2.17 2.5-4 2.5" />
</svg>

After

Width:  |  Height:  |  Size: 629 B

View File

@@ -9,7 +9,7 @@
stroke-linecap="round" stroke-linecap="round"
stroke-linejoin="round" stroke-linejoin="round"
> >
<path d="M21 4H8l-7 8 7 8h13a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2z" /> <path d="M20 5H9L2 12l7 7H20a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2Z" />
<line x1="18" y1="9" x2="12" y2="15" /> <line x1="18" y1="9" x2="12" y2="15" />
<line x1="12" y1="9" x2="18" y2="15" /> <line x1="12" y1="9" x2="18" y2="15" />
</svg> </svg>

Before

Width:  |  Height:  |  Size: 358 B

After

Width:  |  Height:  |  Size: 358 B

16
icons/factory.svg Normal file
View File

@@ -0,0 +1,16 @@
<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="M2 20a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8l-7 5V8l-7 5V4a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z" />
<path d="M17 18h1" />
<path d="M12 18h1" />
<path d="M7 18h1" />
</svg>

After

Width:  |  Height:  |  Size: 381 B

17
icons/focus.svg Normal file
View File

@@ -0,0 +1,17 @@
<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"
>
<circle cx="12" cy="12" r="3" />
<path d="M3 7V5a2 2 0 0 1 2-2h2"></path>
<path d="M17 3h2a2 2 0 0 1 2 2v2"></path>
<path d="M21 17v2a2 2 0 0 1-2 2h-2"></path>
<path d="M7 21H5a2 2 0 0 1-2-2v-2"></path>
</svg>

After

Width:  |  Height:  |  Size: 421 B

16
icons/fuel.svg Normal file
View File

@@ -0,0 +1,16 @@
<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"
>
<line x1="3" y1="22" x2="15" y2="22" />
<line x1="4" y1="9" x2="14" y2="9" />
<path d="M14 22V4a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v18" />
<path d="M14 13h2a2 2 0 0 1 2 2v2a2 2 0 0 0 2 2h0a2 2 0 0 0 2-2V9.83a2 2 0 0 0-.59-1.42L18 5" />
</svg>

After

Width:  |  Height:  |  Size: 446 B

View File

@@ -9,7 +9,6 @@
stroke-linecap="round" stroke-linecap="round"
stroke-linejoin="round" stroke-linejoin="round"
> >
<path d="M19 11V4a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2h7" /> <path d="M21 11V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6" />
<path d="m12 12 4.166 10 1.48-4.355L22 16.166 12 12z" /> <path d="m12 12 4 10 1.7-4.3L22 16Z" />
<path d="m18 18 3 3" />
</svg> </svg>

Before

Width:  |  Height:  |  Size: 366 B

After

Width:  |  Height:  |  Size: 323 B

14
icons/line-chart.svg Normal file
View File

@@ -0,0 +1,14 @@
<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="M2 2v20h20" />
<path d="m20 9-6 6-5-5-3 3" />
</svg>

After

Width:  |  Height:  |  Size: 267 B

17
icons/map-pin-off.svg Normal file
View File

@@ -0,0 +1,17 @@
<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="M5.43 5.43A8.06 8.06 0 0 0 4 10c0 6 8 12 8 12a29.94 29.94 0 0 0 5-5"/>
<path d="M19.18 13.52A8.66 8.66 0 0 0 20 10a8 8 0 0 0-8-8 7.88 7.88 0 0 0-3.52.82"/>
<path d="M9.13 9.13A2.78 2.78 0 0 0 9 10a3 3 0 0 0 3 3 2.78 2.78 0 0 0 .87-.13"/>
<path d="M14.9 9.25a3 3 0 0 0-2.15-2.16"/>
<line x1="2" y1="2" x2="22" y2="22" />
</svg>

After

Width:  |  Height:  |  Size: 547 B

View File

@@ -0,0 +1,15 @@
<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="M9.31 9.31 5 21l7-4 7 4-1.17-3.17"/>
<path d="M14.53 8.88 12 2 10.83 5.17"/>
<line x1="2" y1="2" x2="22" y2="22" />
</svg>

After

Width:  |  Height:  |  Size: 339 B

15
icons/navigation-off.svg Normal file
View File

@@ -0,0 +1,15 @@
<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="M8.43 8.43 3 11l8 2 2 8 2.57-5.43"/>
<path d="M17.39 11.73 22 2 12.27 6.61"/>
<line x1="2" y1="2" x2="22" y2="22" />
</svg>

After

Width:  |  Height:  |  Size: 340 B

View File

@@ -9,7 +9,7 @@
stroke-linecap="round" stroke-linecap="round"
stroke-linejoin="round" stroke-linejoin="round"
> >
<path d="m2 22 2-2h3l7-7" /> <path d="M2 22l1-1H6l9-9" />
<path d="M4 20v-3l7-7" /> <path d="M3 21V18l9-9" />
<path d="M14.29 13.3a1 1 0 0 0 1.41 0l.8-.8c.27-.27.27-.72 0-1s-.28-.72 0-1l4.08-4.08a2 2 0 0 0 0-2.83l-.17-.17a2 2 0 0 0-2.83 0L13.5 7.51c-.28.27-.73.27-1 0s-.73-.28-1 0l-.8.79a1 1 0 0 0 0 1.41l3.59 3.59z" /> <path d="M21.37 5.63a2.12 2.12 0 0 0-3-3L15.58 5.42a1.05 1.05 0 0 1-1.5 0 1.07 1.07 0 0 0-1.5 0L11.25 6.75a1.07 1.07 0 0 0 0 1.5l4.5 4.5a1.07 1.07 0 0 0 1.5 0l1.33-1.33a1.07 1.07 0 0 0 0-1.5 1.05 1.05 0 0 1 0-1.5Z" />
</svg> </svg>

Before

Width:  |  Height:  |  Size: 479 B

After

Width:  |  Height:  |  Size: 487 B

13
icons/puzzle.svg Normal file
View File

@@ -0,0 +1,13 @@
<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 2 3.6 3.6c2.4-6.3 9.1.4 2.8 2.8L22 12l-3.6 3.6c-2.4-6.3-9.1.4-2.8 2.8L12 22l-3.6-3.6C6 24.7-.7 18 5.6 15.6L2 12l3.6-3.6C8 14.7 14.7 8 8.4 5.6L12 2z" />
</svg>

After

Width:  |  Height:  |  Size: 375 B

14
icons/redo-2.svg Normal file
View File

@@ -0,0 +1,14 @@
<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="m15 14 5-5-5-5" />
<path d="M20 9H9.5A5.5 5.5 0 0 0 4 14.5v0A5.5 5.5 0 0 0 9.5 20H13" />
</svg>

After

Width:  |  Height:  |  Size: 310 B

View File

@@ -9,7 +9,7 @@
stroke-linecap="round" stroke-linecap="round"
stroke-linejoin="round" stroke-linejoin="round"
> >
<circle cx="9" cy="21" r="1" /> <circle cx="8" cy="21" r="1" />
<circle cx="19" cy="21" r="1" /> <circle cx="19" cy="21" r="1" />
<path d="M2 2H4.5L7.62 14.49A2 2 0 0 0 9.56 16h8.88a2 2 0 0 0 1.94-1.51L22 8H6" /> <path d="M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12" />
</svg> </svg>

Before

Width:  |  Height:  |  Size: 362 B

After

Width:  |  Height:  |  Size: 373 B

15
icons/star-off.svg Normal file
View File

@@ -0,0 +1,15 @@
<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="M8.34 8.34 2 9.27l5 4.87L5.82 21 12 17.77 18.18 21l-.59-3.43" />
<path d="M18.42 12.76 22 9.27l-6.91-1L12 2l-1.44 2.91" />
<line x1="2" y1="2" x2="22" y2="22" />
</svg>

After

Width:  |  Height:  |  Size: 385 B

21
icons/sun-medium.svg Normal file
View File

@@ -0,0 +1,21 @@
<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 16a4 4 0 100-8 4 4 0 000 8z" />
<path d="M12 3v1" />
<path d="M12 20v1" />
<path d="M3 12h1" />
<path d="M20 12h1" />
<path d="M18.364 5.636l-.707.707" />
<path d="M6.343 17.657l-.707.707" />
<path d="M5.636 5.636l.707.707" />
<path d="M17.657 17.657l.707.707" />
</svg>

After

Width:  |  Height:  |  Size: 503 B

22
icons/sun-moon.svg Normal file
View File

@@ -0,0 +1,22 @@
<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 16a4 4 0 100-8 4 4 0 000 8z" />
<path d="M16 12.386A3.136 3.136 0 0111.614 8" />
<path d="M12 2v2" />
<path d="M12 20v2" />
<path d="M5 5l1.5 1.5" />
<path d="M17.5 17.5L19 19" />
<path d="M2 12h2" />
<path d="M20 12h2" />
<path d="M5 19l1.5-1.5" />
<path d="M17.5 6.5L19 5" />
</svg>

After

Width:  |  Height:  |  Size: 519 B

16
icons/sword.svg Normal file
View File

@@ -0,0 +1,16 @@
<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"
>
<polyline points="14.5 17.5 3 6 3 3 6 3 17.5 14.5" />
<line x1="13" y1="19" x2="19" y2="13" />
<line x1="16" y1="16" x2="20" y2="20" />
<line x1="19" y1="21" x2="21" y2="19" />
</svg>

After

Width:  |  Height:  |  Size: 409 B

20
icons/swords.svg Normal file
View File

@@ -0,0 +1,20 @@
<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"
>
<polyline points="14.5 17.5 3 6 3 3 6 3 17.5 14.5" />
<line x1="13" y1="19" x2="19" y2="13" />
<line x1="16" y1="16" x2="20" y2="20" />
<line x1="19" y1="21" x2="21" y2="19" />
<polyline points="14.5 6.5 18 3 21 3 21 6 17.5 9.5" />
<line x1="5" y1="14" x2="9" y2="18" />
<line x1="7" y1="17" x2="4" y2="20" />
<line x1="3" y1="19" x2="5" y2="21" />
</svg>

After

Width:  |  Height:  |  Size: 593 B

15
icons/train.svg Normal file
View File

@@ -0,0 +1,15 @@
<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"
>
<rect x="4" y="3" width="16" height="16" rx="2"/>
<path d="M4 11h16M12 3v8"/>
<path d="M8 15h.01M16 15h.01M8 19l-2 3M18 22l-2-3"/>
</svg>

After

Width:  |  Height:  |  Size: 342 B

14
icons/undo-2.svg Normal file
View File

@@ -0,0 +1,14 @@
<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="M9 14 4 9l5-5" />
<path d="M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5v0a5.5 5.5 0 0 1-5.5 5.5H11" />
</svg>

After

Width:  |  Height:  |  Size: 311 B

15
icons/venetian-mask.svg Normal file
View File

@@ -0,0 +1,15 @@
<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="M2 12a5 5 0 0 0 5 5 8 8 0 0 1 5 2 8 8 0 0 1 5-2 5 5 0 0 0 5-5V7h-5a8 8 0 0 0-5 2 8 8 0 0 0-5-2H2Z"/>
<path d="M6 11c1.5 0 3 .5 3 2-2 0-3 0-3-2Z"/>
<path d="M18 11c-1.5 0-3 .5-3 2 2 0 3 0 3-2Z"/>
</svg>

After

Width:  |  Height:  |  Size: 418 B

17
icons/vibrate-off.svg Normal file
View File

@@ -0,0 +1,17 @@
<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="m2 8 2 2-2 2 2 2-2 2" />
<path d="m22 8-2 2 2 2-2 2 2 2" />
<path d="M8 8v10c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-2" />
<path d="M16 10.34V6c0-.55-.45-1-1-1h-4.34" />
<line x1="2" y1="2" x2="22" y2="22" />
</svg>

After

Width:  |  Height:  |  Size: 430 B

View File

@@ -1,7 +1,7 @@
{ {
"name": "lucide-angular", "name": "lucide-angular",
"description": "A Lucide icon library package for Angular applications", "description": "A Lucide icon library package for Angular applications",
"version": "0.34.0", "version": "0.46.0",
"author": "SMAH1", "author": "SMAH1",
"license": "ISC", "license": "ISC",
"homepage": "https://lucide.dev", "homepage": "https://lucide.dev",

View File

@@ -1,6 +1,6 @@
name: lucide_icons name: lucide_icons
description: A Lucide icon library package for Flutter applications. Fork of Feather Icons, open for anyone to contribute icons. description: A Lucide icon library package for Flutter applications. Fork of Feather Icons, open for anyone to contribute icons.
version: 0.34.0 version: 0.46.0
homepage: https://lucide.dev homepage: https://lucide.dev
repository: https://github.com/lucide-icons/lucide repository: https://github.com/lucide-icons/lucide

View File

@@ -1,7 +1,7 @@
{ {
"name": "lucide-preact", "name": "lucide-preact",
"description": "A Lucide icon library package for Preact applications", "description": "A Lucide icon library package for Preact applications",
"version": "0.34.0", "version": "0.46.0",
"license": "ISC", "license": "ISC",
"homepage": "https://lucide.dev", "homepage": "https://lucide.dev",
"bugs": "https://github.com/lucide-icons/lucide/issues", "bugs": "https://github.com/lucide-icons/lucide/issues",

View File

@@ -1,7 +1,7 @@
{ {
"name": "lucide-react", "name": "lucide-react",
"description": "A Lucide icon library package for React applications", "description": "A Lucide icon library package for React applications",
"version": "0.34.0", "version": "0.46.0",
"license": "ISC", "license": "ISC",
"homepage": "https://lucide.dev", "homepage": "https://lucide.dev",
"bugs": "https://github.com/lucide-icons/lucide/issues", "bugs": "https://github.com/lucide-icons/lucide/issues",

View File

@@ -1,7 +1,7 @@
{ {
"name": "lucide-svelte", "name": "lucide-svelte",
"description": "A Lucide icon library package for Svelte applications", "description": "A Lucide icon library package for Svelte applications",
"version": "0.34.0", "version": "0.46.0",
"license": "ISC", "license": "ISC",
"homepage": "https://lucide.dev", "homepage": "https://lucide.dev",
"bugs": "https://github.com/lucide-icons/lucide/issues", "bugs": "https://github.com/lucide-icons/lucide/issues",

View File

@@ -1,6 +1,6 @@
{ {
"name": "lucide-vue-next", "name": "lucide-vue-next",
"version": "0.34.0", "version": "0.46.0",
"author": "Eric Fennis", "author": "Eric Fennis",
"description": "A Lucide icon library package for Vue 3 applications", "description": "A Lucide icon library package for Vue 3 applications",
"license": "ISC", "license": "ISC",

View File

@@ -1,6 +1,6 @@
{ {
"name": "lucide-vue", "name": "lucide-vue",
"version": "0.34.0", "version": "0.46.0",
"author": "Eric Fennis", "author": "Eric Fennis",
"description": "A Lucide icon library package for Vue 2 applications", "description": "A Lucide icon library package for Vue 2 applications",
"license": "ISC", "license": "ISC",

View File

@@ -1,7 +1,7 @@
{ {
"name": "lucide", "name": "lucide",
"description": "A Lucide icon library package for web and javascript applications.", "description": "A Lucide icon library package for web and javascript applications.",
"version": "0.34.0", "version": "0.46.0",
"license": "ISC", "license": "ISC",
"homepage": "https://lucide.dev", "homepage": "https://lucide.dev",
"bugs": "https://github.com/lucide-icons/lucide/issues", "bugs": "https://github.com/lucide-icons/lucide/issues",

View File

@@ -1,4 +1,6 @@
import { createContext, useState } from 'react'; import { createContext, useRef, useState, MutableRefObject, useContext, useMemo } from 'react';
type IconsRef = Record<string, SVGSVGElement>;
interface ICustomIconStyle { interface ICustomIconStyle {
color: string; color: string;
@@ -8,13 +10,14 @@ interface ICustomIconStyle {
size: number; size: number;
setSize: (n: number) => void; setSize: (n: number) => void;
resetStyle: () => void; resetStyle: () => void;
iconsRef: MutableRefObject<IconsRef>;
} }
const DEFAULT_STYLE = { const DEFAULT_STYLE = {
color: 'currentColor', color: 'currentColor',
strokeWidth: 2, strokeWidth: 2,
size: 24, size: 24,
} };
export const IconStyleContext = createContext<ICustomIconStyle>({ export const IconStyleContext = createContext<ICustomIconStyle>({
color: 'currentColor', color: 'currentColor',
@@ -23,25 +26,43 @@ export const IconStyleContext = createContext<ICustomIconStyle>({
setStroke: (n: number) => null, setStroke: (n: number) => null,
size: 24, size: 24,
setSize: (n: number) => null, setSize: (n: number) => null,
resetStyle: () => null resetStyle: () => null,
iconsRef: { current: {} },
}); });
export function CustomizeIconContext({ children }) { export function CustomizeIconContext({ children }): JSX.Element {
const iconsRef = useRef<IconsRef>({});
const [color, setColor] = useState(DEFAULT_STYLE.color); const [color, setColor] = useState(DEFAULT_STYLE.color);
const [stroke, setStroke] = useState(DEFAULT_STYLE.strokeWidth); const [stroke, setStroke] = useState(DEFAULT_STYLE.strokeWidth);
const [size, setSize] = useState(DEFAULT_STYLE.size); const [size, setSize] = useState(DEFAULT_STYLE.size);
function resetStyle(){ function resetStyle() {
setColor(DEFAULT_STYLE.color); setColor(DEFAULT_STYLE.color);
setStroke(DEFAULT_STYLE.strokeWidth); setStroke(DEFAULT_STYLE.strokeWidth);
setSize(DEFAULT_STYLE.size); setSize(DEFAULT_STYLE.size);
} }
return ( const value = useMemo(
<IconStyleContext.Provider () => ({
value={{ color, setColor, strokeWidth: stroke, setStroke, size, setSize, resetStyle }} color,
> setColor,
{children} strokeWidth: stroke,
</IconStyleContext.Provider> setStroke,
size,
setSize,
resetStyle,
iconsRef,
}),
[color, setColor, stroke, setStroke, size, setSize, resetStyle, iconsRef],
); );
return <IconStyleContext.Provider value={value}>{children}</IconStyleContext.Provider>;
}
export function useCustomizeIconContext(): ICustomIconStyle {
const context = useContext(IconStyleContext);
if (context === undefined) {
throw new Error('useCustomizeIconContext must be used within a IconStyleContextProvider');
}
return context;
} }

View File

@@ -13,20 +13,49 @@ import AngularLogo from '../../public/framework-logos/angular.svg';
import FlutterLogo from '../../public/framework-logos/flutter.svg'; import FlutterLogo from '../../public/framework-logos/flutter.svg';
import SvelteLogo from '../../public/framework-logos/svelte.svg'; import SvelteLogo from '../../public/framework-logos/svelte.svg';
import LaravelLogo from '../../public/framework-logos/laravel.svg'; import LaravelLogo from '../../public/framework-logos/laravel.svg';
import { useState } from 'react';
import { useCustomizeIconContext } from './CustomizeIconContext';
import { IconEntity } from '../types';
function generateZip(icons) { type IconContent = [icon: string, src:string]
async function generateZip(icons: IconContent[]) {
const zip = new JSZip(); const zip = new JSZip();
Object.values(icons).forEach(icon =>
// @ts-ignore const addingZipPromises = icons.map(([name, src]) =>
zip.file(`${icon.name}.svg`, icon.src), zip.file(`${name}.svg`, src),
); );
await Promise.all(addingZipPromises)
return zip.generateAsync({ type: 'blob' }); return zip.generateAsync({ type: 'blob' });
} }
const Header = ({ data }) => { interface HeaderProps {
data: IconEntity[];
}
const Header = ({ data }: HeaderProps) => {
const [zippingIcons, setZippingIcons] = useState(false);
const { iconsRef } = useCustomizeIconContext();
const downloadAllIcons = async () => { const downloadAllIcons = async () => {
const zip = await generateZip(data); console.log(iconsRef);
setZippingIcons(true);
let iconEntries: IconContent[] = Object.entries(iconsRef.current).map(([name, svgEl]) => [
name,
svgEl.outerHTML,
]);
// Fallback
if (iconEntries.length === 0) {
iconEntries = data.map(icon => [icon.name, icon.src]);
}
const zip = await generateZip(iconEntries);
download(zip, 'lucide.zip'); download(zip, 'lucide.zip');
setZippingIcons(false);
}; };
const repositoryUrl = 'https://github.com/lucide-icons/lucide'; const repositoryUrl = 'https://github.com/lucide-icons/lucide';
@@ -76,7 +105,7 @@ const Header = ({ data }) => {
name: 'lucide-laravel', name: 'lucide-laravel',
Logo: LaravelLogo, Logo: LaravelLogo,
href: 'https://github.com/mallardduck/blade-lucide-icons', href: 'https://github.com/mallardduck/blade-lucide-icons',
} },
]; ];
return ( return (
@@ -124,7 +153,13 @@ const Header = ({ data }) => {
</Wrap> </Wrap>
<Wrap marginTop={3} marginBottom={12} spacing="15px" justify="center"> <Wrap marginTop={3} marginBottom={12} spacing="15px" justify="center">
<WrapItem> <WrapItem>
<Button leftIcon={<Download />} size="lg" onClick={downloadAllIcons}> <Button
leftIcon={<Download />}
size="lg"
onClick={downloadAllIcons}
isLoading={zippingIcons}
loadingText="Creating zip.."
>
Download all Download all
</Button> </Button>
</WrapItem> </WrapItem>

View File

@@ -1,8 +1,8 @@
import { Box, Button, ButtonProps, Flex, Text, useToast } from '@chakra-ui/react'; import { Button, ButtonProps, Flex, Text, useToast } from '@chakra-ui/react';
import download from 'downloadjs'; import download from 'downloadjs';
import copy from 'copy-to-clipboard'; import copy from 'copy-to-clipboard';
import { memo, useContext } from 'react'; import { memo } from 'react';
import { IconStyleContext } from './CustomizeIconContext'; import { useCustomizeIconContext } from './CustomizeIconContext';
import { IconWrapper } from './IconWrapper'; import { IconWrapper } from './IconWrapper';
interface IconListItemProps { interface IconListItemProps {
@@ -13,9 +13,9 @@ interface IconListItemProps {
onClick?: ButtonProps['onClick']; onClick?: ButtonProps['onClick'];
} }
const IconListItem = ({ name, content, src, onClick }: IconListItemProps) => { const IconListItem = ({ name, content, onClick, src: svg }: IconListItemProps) => {
const toast = useToast(); const toast = useToast();
const { color, size, strokeWidth } = useContext(IconStyleContext); const { color, size, strokeWidth, iconsRef } = useCustomizeIconContext();
return ( return (
<Button <Button
@@ -27,6 +27,7 @@ const IconListItem = ({ name, content, src, onClick }: IconListItemProps) => {
position="relative" position="relative"
whiteSpace="normal" whiteSpace="normal"
onClick={event => { onClick={event => {
const src = iconsRef.current[name].outerHTML ?? svg
if (event.shiftKey) { if (event.shiftKey) {
copy(src); copy(src);
toast({ toast({
@@ -54,6 +55,7 @@ const IconListItem = ({ name, content, src, onClick }: IconListItemProps) => {
strokeWidth={strokeWidth} strokeWidth={strokeWidth}
height={size} height={size}
width={size} width={size}
ref={iconEl => (iconsRef.current[name] = iconEl)}
/> />
</Flex> </Flex>
<Flex flex={1} minHeight={10} align="center"> <Flex flex={1} minHeight={10} align="center">

View File

@@ -4,7 +4,7 @@ import { getAllData, getData } from '../../lib/icons';
import IconOverview from '../../components/IconOverview'; import IconOverview from '../../components/IconOverview';
import Layout from '../../components/Layout'; import Layout from '../../components/Layout';
import Header from '../../components/Header'; import Header from '../../components/Header';
import { useEffect, useMemo } from 'react'; import { useMemo } from 'react';
const IconPage = ({ icon, data }) => { const IconPage = ({ icon, data }) => {
const router = useRouter(); const router = useRouter();
@@ -30,19 +30,15 @@ const IconPage = ({ icon, data }) => {
}; };
const currentIcon = useMemo(() => { const currentIcon = useMemo(() => {
if(icon.name === router.query.iconName) { if (icon.name === router.query.iconName) {
return icon return icon;
} }
return getIcon(router.query.iconName) return getIcon(router.query.iconName);
}, [router.query]) }, [router.query]);
return ( return (
<Layout> <Layout>
<IconDetailOverlay <IconDetailOverlay key={currentIcon.name} icon={currentIcon} close={onClose} />
key={currentIcon.name}
icon={currentIcon}
close={onClose}
/>
<Header {...{ data }} /> <Header {...{ data }} />
<IconOverview {...{ data }} /> <IconOverview {...{ data }} />
</Layout> </Layout>

163
tags.json
View File

@@ -317,11 +317,32 @@
"diagram", "diagram",
"graph" "graph"
], ],
"bar-chart-3": [
"statistics",
"diagram",
"graph"
],
"bar-chart-4": [
"statistics",
"diagram",
"graph"
],
"bar-chart-horizontal": [
"statistics",
"diagram",
"graph"
],
"baseline": [ "baseline": [
"text", "text",
"format", "format",
"color" "color"
], ],
"bath": [
"amenities",
"services",
"bathroom",
"shower"
],
"battery": [ "battery": [
"power", "power",
"electricity" "electricity"
@@ -530,6 +551,12 @@
"check-square": [ "check-square": [
"done" "done"
], ],
"chef-hat": [
"cooking",
"food",
"kitchen",
"restaurant"
],
"chevron-down": [ "chevron-down": [
"arrow" "arrow"
], ],
@@ -604,6 +631,14 @@
"null", "null",
"nothing" "nothing"
], ],
"clapperboard": [
"movie",
"film",
"video",
"camera",
"tv",
"television"
],
"clipboard": [ "clipboard": [
"copy", "copy",
"paste" "paste"
@@ -789,6 +824,14 @@
"travel", "travel",
"direction" "direction"
], ],
"component": [
"design",
"element",
"group",
"module",
"part",
"symbol"
],
"contact": [ "contact": [
"person", "person",
"user" "user"
@@ -847,6 +890,12 @@
"payment", "payment",
"cc" "cc"
], ],
"croissant": [
"bakery",
"cooking",
"food",
"pastry"
],
"crop": [ "crop": [
"photo", "photo",
"image" "image"
@@ -873,6 +922,7 @@
"memory" "memory"
], ],
"delete": [ "delete": [
"backspace",
"remove" "remove"
], ],
"dice-1": [ "dice-1": [
@@ -1006,6 +1056,14 @@
"logo", "logo",
"social" "social"
], ],
"factory": [
"building",
"business",
"energy",
"industry",
"manufacture",
"sector"
],
"fast-forward": [ "fast-forward": [
"music" "music"
], ],
@@ -1128,6 +1186,11 @@
"flask-round": [ "flask-round": [
"beaker" "beaker"
], ],
"focus": [
"camera",
"lens",
"photo"
],
"folder": [ "folder": [
"directory" "directory"
], ],
@@ -1169,6 +1232,12 @@
"sad", "sad",
"emotion" "emotion"
], ],
"fuel": [
"filling-station",
"gas",
"petrol",
"tank"
],
"function-square": [ "function-square": [
"programming", "programming",
"code", "code",
@@ -1398,6 +1467,8 @@
"element", "element",
"mouse", "mouse",
"click", "click",
"cursor",
"pointer",
"box" "box"
], ],
"instagram": [ "instagram": [
@@ -1492,6 +1563,11 @@
"lightbulb-off": [ "lightbulb-off": [
"lights" "lights"
], ],
"line-chart": [
"statistics",
"diagram",
"graph"
],
"link": [ "link": [
"chain", "chain",
"url" "url"
@@ -1599,6 +1675,12 @@
"travel", "travel",
"marker" "marker"
], ],
"map-pin-off": [
"location",
"navigation",
"travel",
"marker"
],
"maximize": [ "maximize": [
"fullscreen", "fullscreen",
"expand" "expand"
@@ -1763,9 +1845,24 @@
"location", "location",
"travel" "travel"
], ],
"navigation-2-off": [
"location",
"travel"
],
"navigation-off": [
"location",
"travel"
],
"network": [ "network": [
"tree" "tree"
], ],
"sun-moon": [
"night",
"light",
"moon",
"sun",
"brightness"
],
"octagon": [ "octagon": [
"stop" "stop"
], ],
@@ -1948,6 +2045,12 @@
"office", "office",
"device" "device"
], ],
"puzzle": [
"component",
"module",
"part",
"piece"
],
"qr-code": [ "qr-code": [
"barcode" "barcode"
], ],
@@ -1955,7 +2058,10 @@
"quotation" "quotation"
], ],
"radio": [ "radio": [
"signal" "signal",
"broadcast",
"connectivity",
"live"
], ],
"radio-receiver": [ "radio-receiver": [
"device", "device",
@@ -1966,6 +2072,10 @@
"undo", "undo",
"history" "history"
], ],
"redo-2": [
"undo",
"history"
],
"refresh-ccw": [ "refresh-ccw": [
"arrows", "arrows",
"reload" "reload"
@@ -2335,6 +2445,12 @@
"review", "review",
"rating" "rating"
], ],
"star-off": [
"dislike",
"unlike",
"remove",
"unrate"
],
"stop-circle": [ "stop-circle": [
"media", "media",
"music" "music"
@@ -2383,6 +2499,10 @@
"evening", "evening",
"night" "night"
], ],
"sun-medium": [
"brightness",
"medium"
],
"superscript": [ "superscript": [
"text", "text",
"exponent" "exponent"
@@ -2398,6 +2518,20 @@
"front", "front",
"back" "back"
], ],
"sword": [
"battle",
"challenge",
"game",
"war",
"weapon"
],
"swords": [
"battle",
"challenge",
"game",
"war",
"weapon"
],
"table": [ "table": [
"sheet", "sheet",
"grid" "grid"
@@ -2503,6 +2637,12 @@
"storm", "storm",
"hurricane" "hurricane"
], ],
"train": [
"transport",
"metro",
"subway",
"underground"
],
"trash": [ "trash": [
"garbage", "garbage",
"delete", "delete",
@@ -2566,6 +2706,10 @@
"redo", "redo",
"history" "history"
], ],
"undo-2": [
"redo",
"history"
],
"unlink": [ "unlink": [
"url", "url",
"unchain", "unchain",
@@ -2619,12 +2763,27 @@
"group", "group",
"people" "people"
], ],
"venetian-mask": [
"mask",
"masquerade",
"impersonate",
"secret",
"incognito"
],
"verified": [ "verified": [
"check" "check"
], ],
"vibrate": [ "vibrate": [
"smartphone", "smartphone",
"notification" "notification",
"rumble",
"haptic feedback"
],
"vibrate-off": [
"smartphone",
"notification",
"rumble",
"haptic feedback"
], ],
"video": [ "video": [
"camera", "camera",