davis-components 0.2.70 → 0.2.71
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 +80 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,2 +1,80 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
````md
|
|
2
|
+
# Davis Components
|
|
3
|
+
|
|
4
|
+
**Davis Components** is a comprehensive library of UI components developed and maintained by the **Davis Team**. It provides a set of reusable and customizable components to help developers build modern and consistent user interfaces efficiently.
|
|
5
|
+
|
|
6
|
+
## 🚀 Installation
|
|
7
|
+
|
|
8
|
+
To install Davis Components, use the following command:
|
|
9
|
+
|
|
10
|
+
```sh
|
|
11
|
+
npm install davis-components
|
|
12
|
+
```
|
|
13
|
+
````
|
|
14
|
+
|
|
15
|
+
## 📖 Usage
|
|
16
|
+
|
|
17
|
+
Import and use components in your React application as follows:
|
|
18
|
+
|
|
19
|
+
```jsx
|
|
20
|
+
import { Button } from "davis-components";
|
|
21
|
+
|
|
22
|
+
function App() {
|
|
23
|
+
return (
|
|
24
|
+
<div className="flex flex-col gap-4">
|
|
25
|
+
{/* Default button */}
|
|
26
|
+
<Button title="Click Me" />
|
|
27
|
+
|
|
28
|
+
{/* Outlined button */}
|
|
29
|
+
<Button title="Outlined Button" variant="outlined" />
|
|
30
|
+
|
|
31
|
+
{/* Text button */}
|
|
32
|
+
<Button title="Text Button" variant="text" />
|
|
33
|
+
|
|
34
|
+
{/* Icon button */}
|
|
35
|
+
<Button icon={<FiDownload />} variant="icon" />
|
|
36
|
+
|
|
37
|
+
{/* Button with icon and text */}
|
|
38
|
+
<Button title="Download" icon={<FiDownload />} />
|
|
39
|
+
|
|
40
|
+
{/* Loading button */}
|
|
41
|
+
<Button title="Loading..." loading />
|
|
42
|
+
|
|
43
|
+
{/* Disabled button */}
|
|
44
|
+
<Button title="Disabled" disabled />
|
|
45
|
+
</div>
|
|
46
|
+
);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export default App;
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
## 🌐 Official Website
|
|
53
|
+
|
|
54
|
+
For more information, visit our official website:
|
|
55
|
+
|
|
56
|
+
🔗 [Davis Official Website](https://davisco.ir/)
|
|
57
|
+
|
|
58
|
+
## ⚖️ License
|
|
59
|
+
|
|
60
|
+
This project is licensed under the GNU General Public License v3.0 (GPL-3.0).
|
|
61
|
+
You are free to use, modify, and distribute this software under the terms of this license. However, any modified versions must also be released under the same GPL-3.0 license.
|
|
62
|
+
|
|
63
|
+
🔗 [Full License Text](https://www.gnu.org/licenses/gpl-3.0.html#license-text)
|
|
64
|
+
|
|
65
|
+
## 📩 Support
|
|
66
|
+
|
|
67
|
+
For support, feature requests, or bug reports, please contact us at:
|
|
68
|
+
|
|
69
|
+
📧 [support@davisco.ir](mail:info@davisco.ir)
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
**© 2025 Davis Team. All rights reserved.**
|
|
74
|
+
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
```
|
|
80
|
+
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"main": "dist/main.cjs.js",
|
|
4
4
|
"module": "dist/main.es.js",
|
|
5
5
|
"style": "dist/main.css",
|
|
6
|
-
"version": "0.2.
|
|
6
|
+
"version": "0.2.71",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist"
|
|
9
9
|
],
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
},
|
|
45
45
|
"repository": {
|
|
46
46
|
"type": "git",
|
|
47
|
-
"url": "https://github.com/
|
|
47
|
+
"url": "https://github.com/davis-co/components"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@eslint/js": "^9.9.0",
|