mx-icons 1.0.15 → 1.0.16

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/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2025 mx-icons contributors
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2025 mx-icons contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,193 +1,193 @@
1
- <div align="center">
2
-
3
- ![Preview](/imgs/mxicons-banner-ts.png)
4
-
5
- ![npm version](https://img.shields.io/npm/v/mx-icons)
6
- ![npm downloads](https://img.shields.io/npm/dm/mx-icons)
7
- ![license](https://img.shields.io/github/license/ig-imanish/mx-icons)
8
- ![bundle size](https://img.shields.io/bundlephobia/minzip/mx-icons)
9
-
10
- **A modern, lightweight React icon library with beautiful SVG icons**
11
-
12
- Built with React • Optimized for Production
13
-
14
- [Live Demo](https://mx-icons.vercel.app/) • [Browse Icons](#-available-icons) • [Documentation](#-usage) • [Contributing](#-contributing)
15
-
16
- </div>
17
-
18
- ---
19
-
20
- ## ✨ Features
21
-
22
- - 🎨 **Multiple Variants** - Every icon comes in outline, solid, and mini (16px) versions
23
- - ⚡ **Lightweight & Fast** - Tree-shakeable, only imports what you use
24
- - 🔧 **Fully Customizable** - Control size, color, and all SVG attributes
25
- - 📦 **Zero Dependencies** - Only React as a peer dependency (18.x or 19.x)
26
- - 💅 **Modern Design** - Clean, professional icons optimized for light-mode interfaces
27
- - 📱 **Responsive** - Built-in support for different sizes (24px standard, 16px mini)
28
-
29
- ## 📦 Installation
30
-
31
- ```bash
32
- npm install mx-icons
33
- ```
34
-
35
- ## 🚀 Quick Start
36
-
37
- ```jsx
38
- import { NoteTextLinear } from "mx-icons";
39
-
40
- function App() {
41
- return (
42
- <div>
43
- <NoteTextLinear />
44
-
45
- <NoteTextLinear size={24} color="#292D32" />
46
- </div>
47
- );
48
- }
49
- ```
50
-
51
- ## 🎨 Props & Customization
52
-
53
- All icon components accept the following props:
54
-
55
- | Prop | Type | Default | Description |
56
- | ----------- | ------------------ | ----------- | ------------------------------------------ |
57
- | `size` | `number \| string` | `24` | Icon width and height (px or any CSS unit) |
58
- | `color` | `string` | `"#292D32"` | Icon color (any CSS color) |
59
- | `className` | `string` | `""` | Additional CSS classes |
60
-
61
- ### Run Preview Locally
62
-
63
- ```bash
64
- # Clone the repository
65
- git clone https://github.com/ig-imanish/mx-icons.git
66
- cd mx-icons
67
-
68
- # Install dependencies
69
- npm install
70
-
71
- # Start the preview app
72
- npm run dev
73
- ```
74
-
75
- Open [http://localhost:5173](http://localhost:5173) in your browser.
76
-
77
- ## 🤝 Contributing
78
-
79
- We welcome contributions from developers of all skill levels! Here's how you can help make MX Icons even better:
80
-
81
- ### Ways to Contribute
82
-
83
- - 🐛 **Report Bugs** - Found an issue? [Open a bug report](https://github.com/ig-imanish/mx-icons/issues/new)
84
- - 💡 **Request Icons** - Tell us which icons you need for your projects
85
- - 🎨 **Add New Icons** - Contribute new icons following our design guidelines
86
- - 📖 **Improve Documentation** - Help make our docs clearer and more comprehensive
87
- - 🔧 **Fix Issues** - Browse [open issues](https://github.com/ig-imanish/mx-icons/issues) and submit fixes
88
- - ⭐ **Star the Repo** - Show your support and help us grow!
89
- - 🐦 **Share** - Spread the word about MX Icons
90
-
91
- ### Quick Start for Contributors
92
-
93
- 1. **Fork** the repository
94
- 2. **Clone** your fork: `git clone https://github.com/YOUR_USERNAME/mx-icons.git`
95
- 3. **Install** dependencies: `npm install`
96
- 4. **Create** a feature branch: `git checkout -b feature/new-icon`
97
- 5. **Make** your changes and test: `npm run dev`
98
- 6. **Lint** your code: `npm run lint`
99
- 7. **Build** the library: `npm run build:lib`
100
- 8. **Commit** with a clear message: `git commit -m "feat(icons): add calendar icon"`
101
- 9. **Push** to your fork: `git push origin feature/new-icon`
102
- 10. **Submit** a pull request
103
-
104
- ### Development Setup
105
-
106
- ```bash
107
- # Clone the repository
108
- git clone https://github.com/ig-imanish/mx-icons.git
109
- cd mx-icons
110
-
111
- # Install dependencies
112
- npm install
113
-
114
- # Start development server
115
- npm run dev
116
-
117
- # Run linter
118
- npm run lint
119
-
120
- # Build library
121
- npm run build:lib
122
- ```
123
-
124
- ### Adding a New Icon
125
-
126
- Icons should follow these guidelines:
127
- - **Format**: Optimized SVG
128
- - **Size**: 24x24px (standard) or 16x16px (mini)
129
- - **Variants**: Provide Linear, Bold, and Mini versions
130
- - **Color**: Use `currentColor` for easy customization
131
- - **Naming**: PascalCase with variant suffix (e.g., `CalendarLinear`, `CalendarBold`)
132
-
133
- Example icon component:
134
-
135
- ```jsx
136
- import React from "react";
137
- import Icon from "../../Icon";
138
-
139
- export const CalendarLinear = (props) => (
140
- <Icon {...props}>
141
- <path d="..." fill="none" stroke="currentColor" strokeWidth="1.5" />
142
- </Icon>
143
- );
144
- ```
145
-
146
- ### Commit Message Format
147
-
148
- We follow [Conventional Commits](https://www.conventionalcommits.org/):
149
-
150
- ```
151
- feat(icons): add calendar icon with all variants
152
- fix(modal): resolve scrollbar display issue
153
- docs(readme): update installation guide
154
- ```
155
-
156
- ### Pull Request Guidelines
157
-
158
- - Provide a clear description of your changes
159
- - Include screenshots for visual changes
160
- - Reference related issues (e.g., "Closes #123")
161
- - Ensure all tests pass and linting is clean
162
- - Update documentation if needed
163
-
164
- For comprehensive guidelines, check out our [**CONTRIBUTING.md**](https://github.com/ig-imanish/mx-icons/blob/main/CONTRIBUTING.md)
165
-
166
- ## 📄 License
167
-
168
- MIT License © 2025 [MX Icons Contributors](https://github.com/ig-imanish/mx-icons/graphs/contributors)
169
-
170
- Free to use in personal and commercial projects. See [LICENSE](./LICENSE) for details.
171
-
172
- ## 📊 Project Stats
173
-
174
- ![Contributors](https://img.shields.io/github/contributors/ig-imanish/mx-icons)
175
- ![Last Commit](https://img.shields.io/github/last-commit/ig-imanish/mx-icons)
176
- ![Issues](https://img.shields.io/github/issues/ig-imanish/mx-icons)
177
- ![Pull Requests](https://img.shields.io/github/issues-pr/ig-imanish/mx-icons)
178
-
179
- ## 🔗 Links
180
-
181
- - **📦 NPM Package:** [npmjs.com/package/mx-icons](https://www.npmjs.com/package/mx-icons)
182
- - **🌐 Live Preview:** [ig-imanish.github.io/mx-icons](https://ig-imanish.github.io/mx-icons)
183
- - **📚 Documentation:** [github.com/ig-imanish/mx-icons](https://github.com/ig-imanish/mx-icons)
184
- - **🐛 Issues:** [github.com/ig-imanish/mx-icons/issues](https://github.com/ig-imanish/mx-icons/issues)
185
- - **💬 Discussions:** [github.com/ig-imanish/mx-icons/discussions](https://github.com/ig-imanish/mx-icons/discussions)
186
-
187
- <div align="center">
188
-
189
- **Made with ❤️ by the open-source community**
190
-
191
- If you find this project useful, please consider giving it a ⭐ on GitHub!
192
-
193
- </div>
1
+ <div align="center">
2
+
3
+ ![Preview](/imgs/mxicons-banner-ts.png)
4
+
5
+ ![npm version](https://img.shields.io/npm/v/mx-icons)
6
+ ![npm downloads](https://img.shields.io/npm/dm/mx-icons)
7
+ ![license](https://img.shields.io/github/license/ig-imanish/mx-icons)
8
+ ![bundle size](https://img.shields.io/bundlephobia/minzip/mx-icons)
9
+
10
+ **A modern, lightweight React icon library with beautiful SVG icons**
11
+
12
+ Built with React • Optimized for Production
13
+
14
+ [Live Demo](https://mx-icons.vercel.app/) • [Browse Icons](#-available-icons) • [Documentation](#-usage) • [Contributing](#-contributing)
15
+
16
+ </div>
17
+
18
+ ---
19
+
20
+ ## ✨ Features
21
+
22
+ - 🎨 **Multiple Variants** - Every icon comes in outline, solid, and mini (16px) versions
23
+ - ⚡ **Lightweight & Fast** - Tree-shakeable, only imports what you use
24
+ - 🔧 **Fully Customizable** - Control size, color, and all SVG attributes
25
+ - 📦 **Zero Dependencies** - Only React as a peer dependency (18.x or 19.x)
26
+ - 💅 **Modern Design** - Clean, professional icons optimized for light-mode interfaces
27
+ - 📱 **Responsive** - Built-in support for different sizes (24px standard, 16px mini)
28
+
29
+ ## 📦 Installation
30
+
31
+ ```bash
32
+ npm install mx-icons
33
+ ```
34
+
35
+ ## 🚀 Quick Start
36
+
37
+ ```jsx
38
+ import { NoteTextLinear } from "mx-icons";
39
+
40
+ function App() {
41
+ return (
42
+ <div>
43
+ <NoteTextLinear />
44
+
45
+ <NoteTextLinear size={24} color="#292D32" />
46
+ </div>
47
+ );
48
+ }
49
+ ```
50
+
51
+ ## 🎨 Props & Customization
52
+
53
+ All icon components accept the following props:
54
+
55
+ | Prop | Type | Default | Description |
56
+ | ----------- | ------------------ | ----------- | ------------------------------------------ |
57
+ | `size` | `number \| string` | `24` | Icon width and height (px or any CSS unit) |
58
+ | `color` | `string` | `"#292D32"` | Icon color (any CSS color) |
59
+ | `className` | `string` | `""` | Additional CSS classes |
60
+
61
+ ### Run Preview Locally
62
+
63
+ ```bash
64
+ # Clone the repository
65
+ git clone https://github.com/ig-imanish/mx-icons.git
66
+ cd mx-icons
67
+
68
+ # Install dependencies
69
+ npm install
70
+
71
+ # Start the preview app
72
+ npm run dev
73
+ ```
74
+
75
+ Open [http://localhost:5173](http://localhost:5173) in your browser.
76
+
77
+ ## 🤝 Contributing
78
+
79
+ We welcome contributions from developers of all skill levels! Here's how you can help make MX Icons even better:
80
+
81
+ ### Ways to Contribute
82
+
83
+ - 🐛 **Report Bugs** - Found an issue? [Open a bug report](https://github.com/ig-imanish/mx-icons/issues/new)
84
+ - 💡 **Request Icons** - Tell us which icons you need for your projects
85
+ - 🎨 **Add New Icons** - Contribute new icons following our design guidelines
86
+ - 📖 **Improve Documentation** - Help make our docs clearer and more comprehensive
87
+ - 🔧 **Fix Issues** - Browse [open issues](https://github.com/ig-imanish/mx-icons/issues) and submit fixes
88
+ - ⭐ **Star the Repo** - Show your support and help us grow!
89
+ - 🐦 **Share** - Spread the word about MX Icons
90
+
91
+ ### Quick Start for Contributors
92
+
93
+ 1. **Fork** the repository
94
+ 2. **Clone** your fork: `git clone https://github.com/YOUR_USERNAME/mx-icons.git`
95
+ 3. **Install** dependencies: `npm install`
96
+ 4. **Create** a feature branch: `git checkout -b feature/new-icon`
97
+ 5. **Make** your changes and test: `npm run dev`
98
+ 6. **Lint** your code: `npm run lint`
99
+ 7. **Build** the library: `npm run build:lib`
100
+ 8. **Commit** with a clear message: `git commit -m "feat(icons): add calendar icon"`
101
+ 9. **Push** to your fork: `git push origin feature/new-icon`
102
+ 10. **Submit** a pull request
103
+
104
+ ### Development Setup
105
+
106
+ ```bash
107
+ # Clone the repository
108
+ git clone https://github.com/ig-imanish/mx-icons.git
109
+ cd mx-icons
110
+
111
+ # Install dependencies
112
+ npm install
113
+
114
+ # Start development server
115
+ npm run dev
116
+
117
+ # Run linter
118
+ npm run lint
119
+
120
+ # Build library
121
+ npm run build:lib
122
+ ```
123
+
124
+ ### Adding a New Icon
125
+
126
+ Icons should follow these guidelines:
127
+ - **Format**: Optimized SVG
128
+ - **Size**: 24x24px (standard) or 16x16px (mini)
129
+ - **Variants**: Provide Linear, Bold, and Mini versions
130
+ - **Color**: Use `currentColor` for easy customization
131
+ - **Naming**: PascalCase with variant suffix (e.g., `CalendarLinear`, `CalendarBold`)
132
+
133
+ Example icon component:
134
+
135
+ ```jsx
136
+ import React from "react";
137
+ import Icon from "../../Icon";
138
+
139
+ export const CalendarLinear = (props) => (
140
+ <Icon {...props}>
141
+ <path d="..." fill="none" stroke="currentColor" strokeWidth="1.5" />
142
+ </Icon>
143
+ );
144
+ ```
145
+
146
+ ### Commit Message Format
147
+
148
+ We follow [Conventional Commits](https://www.conventionalcommits.org/):
149
+
150
+ ```
151
+ feat(icons): add calendar icon with all variants
152
+ fix(modal): resolve scrollbar display issue
153
+ docs(readme): update installation guide
154
+ ```
155
+
156
+ ### Pull Request Guidelines
157
+
158
+ - Provide a clear description of your changes
159
+ - Include screenshots for visual changes
160
+ - Reference related issues (e.g., "Closes #123")
161
+ - Ensure all tests pass and linting is clean
162
+ - Update documentation if needed
163
+
164
+ For comprehensive guidelines, check out our [**CONTRIBUTING.md**](https://github.com/ig-imanish/mx-icons/blob/main/CONTRIBUTING.md)
165
+
166
+ ## 📄 License
167
+
168
+ MIT License © 2025 [MX Icons Contributors](https://github.com/ig-imanish/mx-icons/graphs/contributors)
169
+
170
+ Free to use in personal and commercial projects. See [LICENSE](./LICENSE) for details.
171
+
172
+ ## 📊 Project Stats
173
+
174
+ ![Contributors](https://img.shields.io/github/contributors/ig-imanish/mx-icons)
175
+ ![Last Commit](https://img.shields.io/github/last-commit/ig-imanish/mx-icons)
176
+ ![Issues](https://img.shields.io/github/issues/ig-imanish/mx-icons)
177
+ ![Pull Requests](https://img.shields.io/github/issues-pr/ig-imanish/mx-icons)
178
+
179
+ ## 🔗 Links
180
+
181
+ - **📦 NPM Package:** [npmjs.com/package/mx-icons](https://www.npmjs.com/package/mx-icons)
182
+ - **🌐 Live Preview:** [ig-imanish.github.io/mx-icons](https://ig-imanish.github.io/mx-icons)
183
+ - **📚 Documentation:** [github.com/ig-imanish/mx-icons](https://github.com/ig-imanish/mx-icons)
184
+ - **🐛 Issues:** [github.com/ig-imanish/mx-icons/issues](https://github.com/ig-imanish/mx-icons/issues)
185
+ - **💬 Discussions:** [github.com/ig-imanish/mx-icons/discussions](https://github.com/ig-imanish/mx-icons/discussions)
186
+
187
+ <div align="center">
188
+
189
+ **Made with ❤️ by the open-source community**
190
+
191
+ If you find this project useful, please consider giving it a ⭐ on GitHub!
192
+
193
+ </div>