proicons 4.8.1 → 4.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +59 -23
- package/dist/cjs/proicons.cjs +1910 -0
- package/dist/cjs/proicons.cjs.map +1 -0
- package/dist/esm/proicons.js +4172 -0
- package/dist/esm/proicons.js.map +1 -0
- package/dist/icons.json +3 -3
- package/dist/tags.json +2 -1
- package/dist/umd/proicons.cjs +1910 -0
- package/dist/umd/proicons.cjs.map +1 -0
- package/lib/categories.d.ts +1 -0
- package/lib/getIconInfo.d.ts +9 -0
- package/lib/interfaces.d.ts +22 -2
- package/lib/proicons.d.ts +5 -437
- package/lib/replace.d.ts +5 -0
- package/lib/search.d.ts +1 -0
- package/package.json +81 -40
- package/dist/proicons.js +0 -2
- package/dist/proicons.js.map +0 -1
package/README.md
CHANGED
|
@@ -1,25 +1,59 @@
|
|
|
1
1
|
# ProIcons
|
|
2
|
-
<img src="./.github/images/cover.png">
|
|
3
2
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
<
|
|
3
|
+
<img src="https://raw.githubusercontent.com/ProCode-Software/proicons/main/.github/images/github-cover_light.png#gh-light-mode-only">
|
|
4
|
+
<img src="https://raw.githubusercontent.com/ProCode-Software/proicons/main/.github/images/github-cover_dark.png#gh-dark-mode-only">
|
|
5
|
+
|
|
6
|
+
<p align="center">
|
|
7
|
+
<a href="https://github.com/ProCode-Software/proicons/releases">
|
|
8
|
+
<img src="https://img.shields.io/npm/v/proicons?style=for-the-badge&color=orange"
|
|
9
|
+
alt="NPM Version">
|
|
10
|
+
</a>
|
|
11
|
+
<a href="">
|
|
12
|
+
<img src="https://img.shields.io/github/stars/ProCode-Software/proicons?style=for-the-badge"
|
|
13
|
+
alt="Stars">
|
|
14
|
+
</a>
|
|
15
|
+
<a href="https://www.npmjs.com/package/proicons">
|
|
16
|
+
<img src="https://img.shields.io/npm/dm/proicons?label=downloads&style=for-the-badge"
|
|
17
|
+
alt="NPM Package">
|
|
18
|
+
</a>
|
|
19
|
+
<a href="https://github.com/ProCode-Software/proicons/blob/main/LICENSE">
|
|
20
|
+
<img src="https://img.shields.io/github/license/ProCode-Software/proicons?style=for-the-badge"
|
|
21
|
+
alt="License">
|
|
22
|
+
</a>
|
|
23
|
+
</p>
|
|
24
|
+
|
|
25
|
+
<p align="center">
|
|
26
|
+
<b>A collection of 400+ modern and open-source icons and logos</b>
|
|
27
|
+
<br>
|
|
28
|
+
<a href="https://procode-software.github.io/proicons">Icons</a> |
|
|
29
|
+
<a href="https://github.com/ProCode-Software/proicons/wiki">Documentation</a> |
|
|
30
|
+
<a href="https://github.com/ProCode-Software/proicons">GitHub</a> |
|
|
31
|
+
<a href="https://www.npmjs.com/package/proicons">NPM Package</a>
|
|
32
|
+
</p>
|
|
33
|
+
|
|
34
|
+
> **Work in progress**
|
|
35
|
+
>
|
|
36
|
+
> Most of the website and planned packages aren't currently finished, but you can start using the beta package right now on NPM. See [ROADMAP.md](/ROADMAP.md) to learn more.
|
|
9
37
|
|
|
10
38
|
## Usage
|
|
39
|
+
|
|
11
40
|
### Node.js
|
|
12
|
-
|
|
13
|
-
|
|
41
|
+
|
|
42
|
+
1. Install the ProIcons package via [NPM](https://www.npmjs.com/package/proicons):
|
|
43
|
+
|
|
44
|
+
```
|
|
14
45
|
npm install proicons
|
|
15
46
|
```
|
|
47
|
+
|
|
16
48
|
2. Use ProIcons inside JavaScript
|
|
49
|
+
|
|
17
50
|
```javascript
|
|
18
|
-
import proicons from 'proicons'
|
|
51
|
+
import proicons from 'proicons';
|
|
19
52
|
|
|
20
53
|
// Refer to the icon
|
|
21
|
-
proicons.icons.add
|
|
54
|
+
proicons.icons.add;
|
|
22
55
|
```
|
|
56
|
+
|
|
23
57
|
_or_
|
|
24
58
|
|
|
25
59
|
```html
|
|
@@ -29,10 +63,13 @@ _or_
|
|
|
29
63
|
<script src="path/to/proicons/dist/proicons.js"></script>
|
|
30
64
|
|
|
31
65
|
<!-- Replace icons with SVG -->
|
|
32
|
-
<script>
|
|
66
|
+
<script>
|
|
67
|
+
proicons.replace();
|
|
68
|
+
</script>
|
|
33
69
|
```
|
|
34
70
|
|
|
35
71
|
### HTML
|
|
72
|
+
|
|
36
73
|
If you are not inside a Node environment, you can import the ProIcons script via a CDN provider
|
|
37
74
|
|
|
38
75
|
```html
|
|
@@ -42,23 +79,22 @@ If you are not inside a Node environment, you can import the ProIcons script via
|
|
|
42
79
|
<script src="https://unpkg.com/proicons"></script>
|
|
43
80
|
|
|
44
81
|
<!-- Replace icons with SVG -->
|
|
45
|
-
<script>
|
|
82
|
+
<script>
|
|
83
|
+
proicons.replace();
|
|
84
|
+
</script>
|
|
46
85
|
```
|
|
47
86
|
|
|
48
|
-
## Roadmap
|
|
49
|
-
- [x] NPM package
|
|
50
|
-
- [ ] Write documentation and guidelines
|
|
51
|
-
- [ ] PNG source code
|
|
52
|
-
- [ ] Figma plugin
|
|
53
|
-
|
|
54
|
-
|
|
55
87
|
## License
|
|
88
|
+
|
|
56
89
|
ProIcons is MIT-licensed, giving you peace of mind using these icons in your project. Learn more [here](./LICENSE)
|
|
57
90
|
|
|
58
91
|
> [!WARNING]
|
|
59
|
-
>
|
|
92
|
+
> This library contains brand icons that may not be MIT-licensed and may have additional terms and guidelines. Learn more [here](https://procode-software.github.io/proicons/docs/introduction/about#usage-of-brand-icons)
|
|
60
93
|
|
|
61
94
|
## Credits
|
|
62
|
-
|
|
63
|
-
-
|
|
64
|
-
-
|
|
95
|
+
|
|
96
|
+
- Icon design and guidelines inspired by Microsoft's [Fluent System Icons](https://github.com/microsoft/fluentui-system-icons)
|
|
97
|
+
- Alpha bleeding script from https://github.com/Corecii/Transparent-Pixel-Fix
|
|
98
|
+
- API based on [Feather Icons](https://github.com/feathericons/feather)
|
|
99
|
+
|
|
100
|
+
<img src="https://img.shields.io/badge/dynamic/json?label=icons&style=for-the-badge&prefix=%20&query=%24%5B%3F(%40.length)%5D&url=https://raw.githubusercontent.com/ProCode-Software/proicons/main/src/configs/icons.json" alt="Number of icons currently in the library"/>
|