Skip to content

Commit

Permalink
Add Heroicons 2 (#590)
Browse files Browse the repository at this point in the history
* Add Heroicons 2

* Update VERSIONS

* Update README.md
  • Loading branch information
bacali95 committed Aug 30, 2022
1 parent dcbe5f0 commit 85bea64
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,6 @@
[submodule "packages/react-icons/src/icons/tabler-icons"]
path = packages/react-icons/src/icons/tabler-icons
url = https://github.com/tabler/tabler-icons
[submodule "packages/react-icons/src/icons/heroicons-2"]
path = packages/react-icons/src/icons/heroicons-2
url = https://github.com/tailwindlabs/heroicons
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,10 @@ class Question extends React.Component {
Icon Library|License|Version|Count
---|---|---|---
[Font Awesome](https://fontawesome.com/)|[CC BY 4.0 License](https://creativecommons.org/licenses/by/4.0/)|5.15.4
7d3d774145ac38663f6d1effc6def0334b68ab7e|1612
[Font Awesome](https://fontawesome.com/)|[CC BY 4.0 License](https://creativecommons.org/licenses/by/4.0/)|5.15.4 7d3d774145ac38663f6d1effc6def0334b68ab7e|1612
[Ionicons 4](https://ionicons.com/)|[MIT](https://github.com/ionic-team/ionicons/blob/master/LICENSE)|4.6.3|696
[Ionicons 5](https://ionicons.com/)|[MIT](https://github.com/ionic-team/ionicons/blob/master/LICENSE)|5.5.0|1332
[Material Design icons](http://google.github.io/material-design-icons/)|[Apache License Version 2.0](https://github.com/google/material-design-icons/blob/master/LICENSE)|4.0.0-12-g63c5cb3060
63c5cb306073a9ecdfd3579f0f696746ab6305f6|3650
[Material Design icons](http://google.github.io/material-design-icons/)|[Apache License Version 2.0](https://github.com/google/material-design-icons/blob/master/LICENSE)|4.0.0-12-g63c5cb3060 63c5cb306073a9ecdfd3579f0f696746ab6305f6|3650
[Typicons](http://s-ings.com/typicons/)|[CC BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/)|2.1.2|336
[Github Octicons icons](https://octicons.github.com/)|[MIT](https://github.com/primer/octicons/blob/master/LICENSE)|8.5.0|184
[Feather](https://feathericons.com/)|[MIT](https://github.com/feathericons/feather/blob/master/LICENSE)|4.28.0|286
Expand All @@ -77,6 +75,7 @@ Icon Library|License|Version|Count
[Flat Color Icons](https://github.com/icons8/flat-color-icons)|[MIT](https://opensource.org/licenses/MIT)|1.0.2|329
[Grommet-Icons](https://github.com/grommet/grommet-icons)|[Apache License Version 2.0](http://www.apache.org/licenses/)|4.6.2|615
[Heroicons](https://github.com/tailwindlabs/heroicons)|[MIT](https://opensource.org/licenses/MIT)|1.0.4|460
[Heroicons 2](https://github.com/tailwindlabs/heroicons)|[MIT](https://opensource.org/licenses/MIT)|2.0.8|530
[Simple Icons](https://simpleicons.org/)|[CC0 1.0 Universal](https://creativecommons.org/publicdomain/zero/1.0/)|5.16.0|2024
[IcoMoon Free](https://github.com/Keyamoon/IcoMoon-Free)|[CC BY 4.0 License](undefined)|d006795ede82361e1bac1ee76f215cf1dc51e4ca|491
[BoxIcons](https://github.com/atisawd/boxicons)|[CC BY 4.0 License](undefined)|2.0.9|757
Expand Down
3 changes: 2 additions & 1 deletion packages/react-icons/VERSIONS
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Icon Library|License|Version|Count
7d3d774145ac38663f6d1effc6def0334b68ab7e|1612
[Ionicons 4](https://ionicons.com/)|[MIT](https://github.com/ionic-team/ionicons/blob/master/LICENSE)|4.6.3|696
[Ionicons 5](https://ionicons.com/)|[MIT](https://github.com/ionic-team/ionicons/blob/master/LICENSE)|5.5.0|1332
[Material Design icons](http://google.github.io/material-design-icons/)|[Apache License Version 2.0](https://github.com/google/material-design-icons/blob/master/LICENSE)|4.0.0-12-g63c5cb3060
[Material Design icons](http://google.github.io/material-design-icons/)|[Apache License Version 2.0](https://github.com/google/material-design-icons/blob/master/LICENSE)|4.0.0-12-g63c5cb30607
63c5cb306073a9ecdfd3579f0f696746ab6305f6|3650
[Typicons](http://s-ings.com/typicons/)|[CC BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/)|2.1.2|336
[Github Octicons icons](https://octicons.github.com/)|[MIT](https://github.com/primer/octicons/blob/master/LICENSE)|8.5.0|184
Expand All @@ -18,6 +18,7 @@ Icon Library|License|Version|Count
[Flat Color Icons](https://github.com/icons8/flat-color-icons)|[MIT](https://opensource.org/licenses/MIT)|1.0.2|329
[Grommet-Icons](https://github.com/grommet/grommet-icons)|[Apache License Version 2.0](http://www.apache.org/licenses/)|4.6.2|615
[Heroicons](https://github.com/tailwindlabs/heroicons)|[MIT](https://opensource.org/licenses/MIT)|1.0.4|460
[Heroicons 2](https://github.com/tailwindlabs/heroicons)|[MIT](https://opensource.org/licenses/MIT)|2.0.8|530
[Simple Icons](https://simpleicons.org/)|[CC0 1.0 Universal](https://creativecommons.org/publicdomain/zero/1.0/)|5.16.0|2024
[IcoMoon Free](https://github.com/Keyamoon/IcoMoon-Free)|[CC BY 4.0 License](undefined)|d006795ede82361e1bac1ee76f215cf1dc51e4ca|491
[BoxIcons](https://github.com/atisawd/boxicons)|[CC BY 4.0 License](undefined)|2.0.9|757
Expand Down
1 change: 1 addition & 0 deletions packages/react-icons/src/icons/heroicons-2
Submodule heroicons-2 added at a73b45
23 changes: 23 additions & 0 deletions packages/react-icons/src/icons/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,29 @@ module.exports = {
license: "MIT",
licenseUrl: "https://opensource.org/licenses/MIT",
},
{
id: "hi2",
name: "Heroicons 2",
contents: [
{
files: path.resolve(
__dirname,
"heroicons-2/optimized/24/solid/*.svg"
),
formatter: (name) => `Hi${name}`,
},
{
files: path.resolve(
__dirname,
"heroicons-2/optimized/24/outline/*.svg"
),
formatter: (name) => `HiOutline${name}`,
},
],
projectUrl: "https://github.com/tailwindlabs/heroicons",
license: "MIT",
licenseUrl: "https://opensource.org/licenses/MIT",
},
{
id: "si",
name: "Simple Icons",
Expand Down

0 comments on commit 85bea64

Please sign in to comment.