@gamecrafters/base-ui-icons 0.0.4 → 0.0.6

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 ADDED
@@ -0,0 +1,140 @@
1
+ <a id="readme-top"></a>
2
+
3
+
4
+
5
+ [![Contributors][contributors-shield]][contributors-url]
6
+ [![Forks][forks-shield]][forks-url]
7
+ [![Stargazers][stars-shield]][stars-url]
8
+ [![Issues][issues-shield]][issues-url]
9
+ [![MIT License][license-shield]][license-url]
10
+
11
+
12
+
13
+ <br />
14
+ <div align="center">
15
+ <a href="https://github.com/donaldturinglee/base-ui-icons">
16
+ <img src="public/logo.svg" alt="Logo" width="80" height="80">
17
+ </a>
18
+
19
+ <p align="center">
20
+ base-ui-icons are a set of SVG icons built by GameCrafters
21
+ </p>
22
+ </div>
23
+
24
+
25
+
26
+ <details>
27
+ <summary>Table of Contents</summary>
28
+ <ol>
29
+ <li>
30
+ <a href="#getting-started">Getting Started</a>
31
+ <ul>
32
+ <li><a href="#prerequisites">Prerequisites</a></li>
33
+ <li><a href="#installation">Installation</a></li>
34
+ </ul>
35
+ </li>
36
+ <li><a href="#usage">Usage</a></li>
37
+ <li><a href="#roadmap">Roadmap</a></li>
38
+ <li><a href="#contributing">Contributing</a></li>
39
+ <li><a href="#license">License</a></li>
40
+ <li><a href="#contact">Contact</a></li>
41
+ </ol>
42
+ </details>
43
+
44
+
45
+ ## Getting Started
46
+
47
+ ### Prerequisites
48
+
49
+ * Node.js 24 or later
50
+ * npm
51
+ * React 18 or later, as a peer dependency of the package
52
+
53
+ ### Installation
54
+
55
+ 1. Install from npm
56
+ ```sh
57
+ npm install @gamecrafters/base-ui-icons
58
+ ```
59
+
60
+ <p align="right">(<a href="#readme-top">back to top</a>)</p>
61
+
62
+
63
+
64
+ ## Usage
65
+
66
+ ```jsx
67
+ import { AddCircleRegular, AlertRegular } from '@gamecrafters/base-ui-icons'
68
+
69
+ const Toolbar = () => {
70
+ return (
71
+ <button type="button">
72
+ <AddCircleRegular size={24} aria-label="Add item" />
73
+ </button>
74
+ )
75
+ }
76
+ ```
77
+
78
+
79
+ <p align="right">(<a href="#readme-top">back to top</a>)</p>
80
+
81
+
82
+ ## Contributing
83
+
84
+ Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.
85
+
86
+ If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
87
+ Don't forget to give the project a star! Thanks again!
88
+
89
+ 1. Fork the Project
90
+ 2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
91
+ 3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)
92
+ 4. Push to the Branch (`git push origin feature/AmazingFeature`)
93
+ 5. Open a Pull Request
94
+
95
+ <p align="right">(<a href="#readme-top">back to top</a>)</p>
96
+
97
+ ### Top contributors:
98
+
99
+ <a href="https://github.com/donaldturinglee/base-ui-icons/graphs/contributors">
100
+ <img src="https://contrib.rocks/image?repo=donaldturinglee/base-ui-icons" alt="contrib.rocks image" />
101
+ </a>
102
+
103
+
104
+
105
+ ## License
106
+
107
+ Distributed under the MIT License. See `LICENSE` for more information.
108
+
109
+ <p align="right">(<a href="#readme-top">back to top</a>)</p>
110
+
111
+
112
+
113
+ ## Contact
114
+
115
+ Project Link: [https://github.com/donaldturinglee/base-ui-icons](https://github.com/donaldturinglee/base-ui-icons)
116
+
117
+ <p align="right">(<a href="#readme-top">back to top</a>)</p>
118
+
119
+
120
+
121
+ [contributors-shield]: https://img.shields.io/github/contributors/donaldturinglee/base-ui-icons.svg?style=for-the-badge
122
+ [contributors-url]: https://github.com/donaldturinglee/base-ui-icons/graphs/contributors
123
+ [forks-shield]: https://img.shields.io/github/forks/donaldturinglee/base-ui-icons.svg?style=for-the-badge
124
+ [forks-url]: https://github.com/donaldturinglee/base-ui-icons/network/members
125
+ [stars-shield]: https://img.shields.io/github/stars/donaldturinglee/base-ui-icons.svg?style=for-the-badge
126
+ [stars-url]: https://github.com/donaldturinglee/base-ui-icons/stargazers
127
+ [issues-shield]: https://img.shields.io/github/issues/donaldturinglee/base-ui-icons.svg?style=for-the-badge
128
+ [issues-url]: https://github.com/donaldturinglee/base-ui-icons/issues
129
+ [license-shield]: https://img.shields.io/github/license/donaldturinglee/base-ui-icons.svg?style=for-the-badge
130
+ [license-url]: https://github.com/donaldturinglee/base-ui-icons/blob/main/LICENSE
131
+ [React.js]: https://img.shields.io/badge/React-20232A?style=for-the-badge&logo=react&logoColor=61DAFB
132
+ [React-url]: https://react.dev/
133
+ [TypeScript]: https://img.shields.io/badge/TypeScript-3178C6?style=for-the-badge&logo=typescript&logoColor=white
134
+ [TypeScript-url]: https://www.typescriptlang.org/
135
+ [Rollup.js]: https://img.shields.io/badge/Rollup-EC4A3F?style=for-the-badge&logo=rollupdotjs&logoColor=white
136
+ [Rollup-url]: https://rollupjs.org/
137
+ [Node.js]: https://img.shields.io/badge/Node.js-5FA04E?style=for-the-badge&logo=nodedotjs&logoColor=white
138
+ [Node-url]: https://nodejs.org/
139
+ [SVGO]: https://img.shields.io/badge/SVGO-3E7FC1?style=for-the-badge&logo=svg&logoColor=white
140
+ [SVGO-url]: https://github.com/svg/svgo
package/package.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "@gamecrafters/base-ui-icons",
3
- "version": "0.0.4",
3
+ "version": "0.0.6",
4
4
  "description": "",
5
- "main": "./lib/react/index.js",
6
- "module": "./lib/react/index.mjs",
7
- "types": "./lib/react/index.d.ts",
5
+ "main": "./lib/index.js",
6
+ "module": "./lib/index.mjs",
7
+ "types": "./lib/index.d.ts",
8
8
  "exports": {
9
- "./react": {
9
+ ".": {
10
10
  "import": {
11
- "types": "./lib/react/index.d.mts",
12
- "default": "./lib/react/index.mjs"
11
+ "types": "./lib/index.d.mts",
12
+ "default": "./lib/index.mjs"
13
13
  },
14
14
  "require": {
15
- "types": "./lib/react/index.d.ts",
16
- "default": "./lib/react/index.js"
15
+ "types": "./lib/index.d.ts",
16
+ "default": "./lib/index.js"
17
17
  }
18
18
  }
19
19
  },
@@ -24,9 +24,9 @@
24
24
  "scripts": {
25
25
  "build:optimize": "svgo icons --config svgo.config.js",
26
26
  "build:data": "node scripts/build.js generate-data -i \"icons/**/*.svg\" -o build/data.json -k keywords.json",
27
- "build:react": "node scripts/build.js generate-icons -i build/data.json -o build/react",
27
+ "build:icons": "node scripts/build.js generate-icons -i build/data.json -o build",
28
28
  "build:bundle": "rollup --config rollup.config.mjs",
29
- "build": "npm run build:optimize && npm run build:data && npm run build:react && npm run build:bundle",
29
+ "build": "npm run build:optimize && npm run build:data && npm run build:icons && npm run build:bundle",
30
30
  "typecheck": "tsc --noEmit"
31
31
  },
32
32
  "publishConfig": {
File without changes
File without changes
File without changes
File without changes