aeva-ui 0.1.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/LICENSE +21 -0
- package/README.md +79 -0
- package/dist/aeva-ui.js +7228 -0
- package/dist/aeva-ui.js.map +1 -0
- package/dist/aeva-ui.umd.cjs +4029 -0
- package/dist/aeva-ui.umd.cjs.map +1 -0
- package/package.json +62 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Amri Shodiq
|
|
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
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# aeva-ui
|
|
2
|
+
|
|
3
|
+
> Modern Design System Library built with Lit Web Components
|
|
4
|
+
|
|
5
|
+
[](https://www.npmjs.com/package/aeva-ui)
|
|
6
|
+
[](https://opensource.org/licenses/MIT)
|
|
7
|
+
|
|
8
|
+
A lightweight, customizable design system library built with [Lit](https://lit.dev/) for rapid web development. Perfect for students working on assignments and developers building web applications.
|
|
9
|
+
|
|
10
|
+
## ✨ Features
|
|
11
|
+
|
|
12
|
+
- 🎨 **Atomic Design Pattern** - Organized components (Atoms → Molecules → Organisms → Templates)
|
|
13
|
+
- ⚡ **Lit Web Components** - Lightweight (~5KB), fast, and framework-agnostic
|
|
14
|
+
- 🎯 **TypeScript First** - Full type safety and autocomplete support
|
|
15
|
+
- 🎨 **Easy Theming** - Customize via CSS Custom Properties
|
|
16
|
+
- 🔥 **Hot Reload** - Fast development experience with Vite
|
|
17
|
+
- 📦 **Tree-shakeable** - Only bundle what you use
|
|
18
|
+
|
|
19
|
+
## 📦 Installation
|
|
20
|
+
|
|
21
|
+
### Via NPM
|
|
22
|
+
```bash
|
|
23
|
+
npm install aeva-ui lit
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
### Via CDN (jsDelivr)
|
|
27
|
+
Perfect for quick prototypes or static sites.
|
|
28
|
+
```html
|
|
29
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/aeva-ui/dist/aeva-ui.js"></script>
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Or a specific version:
|
|
33
|
+
```html
|
|
34
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/aeva-ui@0.1.0/dist/aeva-ui.js"></script>
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## 🚀 Quick Start (jsDelivr)
|
|
38
|
+
|
|
39
|
+
```html
|
|
40
|
+
<!DOCTYPE html>
|
|
41
|
+
<html lang="en">
|
|
42
|
+
<head>
|
|
43
|
+
<meta charset="UTF-8">
|
|
44
|
+
<title>Aeva UI Example</title>
|
|
45
|
+
<!-- Import official styles or use your own custom tokens -->
|
|
46
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/aeva-ui/dist/style.css">
|
|
47
|
+
<!-- Import components from CDN -->
|
|
48
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/aeva-ui/dist/aeva-ui.js"></script>
|
|
49
|
+
</head>
|
|
50
|
+
<body>
|
|
51
|
+
<aeva-button variant="primary">Hello Aeva!</aeva-button>
|
|
52
|
+
</body>
|
|
53
|
+
</html>
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## 🎨 Theming
|
|
57
|
+
|
|
58
|
+
Aeva UI uses CSS variables for theming. You can override them in your global CSS:
|
|
59
|
+
|
|
60
|
+
```css
|
|
61
|
+
:root {
|
|
62
|
+
--aeva-color-primary: #6366f1;
|
|
63
|
+
--aeva-border-radius: 12px;
|
|
64
|
+
}
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
## 📁 Project Structure
|
|
68
|
+
... (same as before) ...
|
|
69
|
+
|
|
70
|
+
## 📝 License
|
|
71
|
+
|
|
72
|
+
Distributed under the MIT License. See `LICENSE` for more information.
|
|
73
|
+
|
|
74
|
+
## 🤝 Contributing
|
|
75
|
+
|
|
76
|
+
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.
|
|
77
|
+
|
|
78
|
+
Please see [CONTRIBUTING.md](CONTRIBUTING.md) for details.
|
|
79
|
+
|