@unifesto/unicon 0.1.0 → 0.1.1
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 +84 -0
- package/package.json +3 -8
package/README.md
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
# UnIcon
|
|
2
|
+
|
|
3
|
+
Cross-platform icon library built with Apple Icon Composer.
|
|
4
|
+
|
|
5
|
+
UnIcon provides a collection of beautiful, high-quality icons for:
|
|
6
|
+
|
|
7
|
+
* Next.js
|
|
8
|
+
* React
|
|
9
|
+
* Expo
|
|
10
|
+
* React Native
|
|
11
|
+
|
|
12
|
+
## Installation
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
npm install @unifesto/unicon
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Usage
|
|
19
|
+
|
|
20
|
+
### React / Next.js
|
|
21
|
+
|
|
22
|
+
```tsx
|
|
23
|
+
import { UnIcon } from "@unifesto/unicon/react";
|
|
24
|
+
|
|
25
|
+
export default function App() {
|
|
26
|
+
return (
|
|
27
|
+
<UnIcon
|
|
28
|
+
name="at"
|
|
29
|
+
size={24}
|
|
30
|
+
/>
|
|
31
|
+
);
|
|
32
|
+
}
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### Expo / React Native
|
|
36
|
+
|
|
37
|
+
```tsx
|
|
38
|
+
import { UnIcon } from "@unifesto/unicon/react-native";
|
|
39
|
+
|
|
40
|
+
export default function App() {
|
|
41
|
+
return (
|
|
42
|
+
<UnIcon
|
|
43
|
+
name="at"
|
|
44
|
+
size={24}
|
|
45
|
+
/>
|
|
46
|
+
);
|
|
47
|
+
}
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## Available Icons
|
|
51
|
+
|
|
52
|
+
* at
|
|
53
|
+
* ticket
|
|
54
|
+
* event
|
|
55
|
+
* venue
|
|
56
|
+
* organizer
|
|
57
|
+
|
|
58
|
+
More icons are added regularly.
|
|
59
|
+
|
|
60
|
+
## Development
|
|
61
|
+
|
|
62
|
+
Build icons:
|
|
63
|
+
|
|
64
|
+
```bash
|
|
65
|
+
npm run build
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
Publish package:
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
npm publish --access public
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
## License
|
|
75
|
+
|
|
76
|
+
All rights reserved.
|
|
77
|
+
|
|
78
|
+
Copyright © Unifesto Private Limited.
|
|
79
|
+
|
|
80
|
+
This package and its contents, including all icons, graphics, assets, source files, and associated materials, are the intellectual property of Unifesto Private Limited.
|
|
81
|
+
|
|
82
|
+
No part of this package may be copied, modified, redistributed, sold, sublicensed, or used in commercial products without prior written permission from Unifesto Private Limited.
|
|
83
|
+
|
|
84
|
+
For licensing inquiries, contact Unifesto Private Limited.
|
package/package.json
CHANGED
|
@@ -1,23 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unifesto/unicon",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Cross-platform icon library for React, Next.js, Expo and React Native",
|
|
5
|
-
"license": "
|
|
5
|
+
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|
|
7
|
-
|
|
8
7
|
"exports": {
|
|
9
8
|
"./react": "./dist/react/index.js",
|
|
10
9
|
"./react-native": "./dist/react-native/index.js"
|
|
11
10
|
},
|
|
12
|
-
|
|
13
11
|
"files": [
|
|
14
12
|
"dist"
|
|
15
13
|
],
|
|
16
|
-
|
|
17
14
|
"scripts": {
|
|
18
15
|
"build": "node scripts/build.js"
|
|
19
16
|
},
|
|
20
|
-
|
|
21
17
|
"keywords": [
|
|
22
18
|
"icons",
|
|
23
19
|
"react",
|
|
@@ -26,8 +22,7 @@
|
|
|
26
22
|
"react-native",
|
|
27
23
|
"unifesto"
|
|
28
24
|
],
|
|
29
|
-
|
|
30
25
|
"dependencies": {
|
|
31
26
|
"sharp": "^0.34.5"
|
|
32
27
|
}
|
|
33
|
-
}
|
|
28
|
+
}
|