tecnualng 21.0.11 → 21.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/README.md +167 -30
- package/fesm2022/tecnualng.mjs +955 -76
- package/fesm2022/tecnualng.mjs.map +1 -1
- package/package.json +1 -1
- package/types/tecnualng.d.ts +222 -7
package/README.md
CHANGED
|
@@ -1,63 +1,200 @@
|
|
|
1
|
-
#
|
|
1
|
+
# TecnualNG
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
TecnualNG is a modern Angular UI component library designed to provide reusable, customizable, and well‑structured components for building professional web applications. It aims to accelerate development by offering consistent, accessible, and theme‑friendly UI elements that integrate seamlessly into any Angular project.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
---
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
## 🚀 Purpose of the Library
|
|
8
|
+
|
|
9
|
+
TecnualNG was created to:
|
|
10
|
+
|
|
11
|
+
- Offer a robust collection of reusable Angular components.
|
|
12
|
+
- Standardize the visual and functional design of Angular applications.
|
|
13
|
+
- Reduce development time by avoiding repetitive UI implementation.
|
|
14
|
+
- Serve as a scalable base for internal and external Angular projects.
|
|
15
|
+
- Provide a live demo application where all components can be previewed.
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## 📦 Installation
|
|
20
|
+
|
|
21
|
+
Install the library from **npm**:
|
|
8
22
|
|
|
9
23
|
```bash
|
|
10
|
-
|
|
24
|
+
npm install tecnualng
|
|
11
25
|
```
|
|
12
26
|
|
|
13
|
-
|
|
27
|
+
Or with **pnpm**:
|
|
14
28
|
|
|
15
29
|
```bash
|
|
16
|
-
|
|
30
|
+
pnpm add tecnualng
|
|
17
31
|
```
|
|
18
32
|
|
|
19
|
-
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
## 🛠 Development Requirements
|
|
36
|
+
|
|
37
|
+
To use TecnualNG:
|
|
38
|
+
|
|
39
|
+
- **Node.js 20+**
|
|
40
|
+
- **Angular 21+** (fully compatible with Angular 21)
|
|
41
|
+
- **TypeScript 5+**
|
|
20
42
|
|
|
21
|
-
To
|
|
43
|
+
To contribute to the project:
|
|
44
|
+
|
|
45
|
+
- Git
|
|
46
|
+
- npm or pnpm
|
|
47
|
+
- Angular CLI
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
## 🔧 Getting Started in Your Angular Project
|
|
52
|
+
|
|
53
|
+
### 1. Install the library
|
|
22
54
|
|
|
23
55
|
```bash
|
|
24
|
-
|
|
56
|
+
pnpm add tecnualng
|
|
25
57
|
```
|
|
26
58
|
|
|
27
|
-
|
|
59
|
+
### 2. Import a component
|
|
28
60
|
|
|
29
|
-
|
|
61
|
+
Each component can be imported individually to keep your bundle small.
|
|
30
62
|
|
|
31
|
-
|
|
63
|
+
```ts
|
|
64
|
+
import { TnButtonComponent } from 'tecnualng';
|
|
65
|
+
```
|
|
32
66
|
|
|
33
|
-
|
|
34
|
-
```bash
|
|
35
|
-
cd dist/tecnualng
|
|
36
|
-
```
|
|
67
|
+
### 3. Use it in a template
|
|
37
68
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
69
|
+
```html
|
|
70
|
+
<tn-button label="Accept" (click)="onClick()"></tn-button>
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
### 4. Apply styling or theming
|
|
74
|
+
|
|
75
|
+
TecnualNG supports flexible styling with theme‑ready architecture.
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
## 📁 Project Structure
|
|
80
|
+
|
|
81
|
+
The repository consists of the library source code and a demo application used for showcasing the components.
|
|
82
|
+
|
|
83
|
+
```
|
|
84
|
+
tecnualng/
|
|
85
|
+
│
|
|
86
|
+
├── projects/
|
|
87
|
+
│ ├── tecnualng/ → Main library source code
|
|
88
|
+
│ └── demo/ → Demo Angular application
|
|
89
|
+
│
|
|
90
|
+
├── dist/ → Build output
|
|
91
|
+
├── angular.json → Angular workspace configuration
|
|
92
|
+
├── package.json
|
|
93
|
+
└── README.md
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
### 📦 Library (`projects/tecnualng`)
|
|
97
|
+
|
|
98
|
+
- Components
|
|
99
|
+
- Modules
|
|
100
|
+
- Services
|
|
101
|
+
- Styles and configuration
|
|
102
|
+
|
|
103
|
+
### 🎨 Demo (`projects/demo`)
|
|
104
|
+
|
|
105
|
+
- Component examples
|
|
106
|
+
- Navigation and layout
|
|
107
|
+
- Real usage scenarios
|
|
108
|
+
|
|
109
|
+
---
|
|
110
|
+
|
|
111
|
+
## 🧪 Running the Project in Development Mode
|
|
42
112
|
|
|
43
|
-
|
|
113
|
+
Install dependencies:
|
|
44
114
|
|
|
45
|
-
|
|
115
|
+
```bash
|
|
116
|
+
pnpm install
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
Build the library in watch mode:
|
|
120
|
+
|
|
121
|
+
```bash
|
|
122
|
+
ng build tecnualng --watch
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
Run the demo application:
|
|
46
126
|
|
|
47
127
|
```bash
|
|
48
|
-
ng
|
|
128
|
+
ng serve demo
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
Open in the browser:
|
|
132
|
+
|
|
49
133
|
```
|
|
134
|
+
http://localhost:4200/
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
---
|
|
50
138
|
|
|
51
|
-
##
|
|
139
|
+
## 🚀 Publishing the Library
|
|
52
140
|
|
|
53
|
-
|
|
141
|
+
To publish manually:
|
|
54
142
|
|
|
55
143
|
```bash
|
|
56
|
-
|
|
144
|
+
npm publish dist/tecnualng
|
|
57
145
|
```
|
|
58
146
|
|
|
59
|
-
|
|
147
|
+
This repository includes GitHub Actions workflows for:
|
|
148
|
+
|
|
149
|
+
- Publishing automatically to **npm** when a version tag is pushed
|
|
150
|
+
- Generating an automatic **changelog**
|
|
151
|
+
- Deploying the demo application to **GitHub Pages**
|
|
152
|
+
|
|
153
|
+
---
|
|
154
|
+
|
|
155
|
+
## 🤝 Contributing
|
|
156
|
+
|
|
157
|
+
Contributions are welcome! To contribute:
|
|
158
|
+
|
|
159
|
+
1. Fork the repository.
|
|
160
|
+
2. Create a feature branch using Git Flow:
|
|
161
|
+
```bash
|
|
162
|
+
git flow feature start feature-name
|
|
163
|
+
```
|
|
164
|
+
3. Follow **Conventional Commits**:
|
|
165
|
+
|
|
166
|
+
- `feat:` new features
|
|
167
|
+
- `fix:` bug fixes
|
|
168
|
+
- `docs:` documentation updates
|
|
169
|
+
- `refactor:` internal improvements
|
|
170
|
+
- `chore:` maintenance tasks
|
|
171
|
+
|
|
172
|
+
4. Add tests where applicable.
|
|
173
|
+
5. Open a Pull Request to the **develop** branch.
|
|
174
|
+
|
|
175
|
+
### 📝 Contribution Guidelines
|
|
176
|
+
|
|
177
|
+
- Follow Angular best practices.
|
|
178
|
+
- Use strict TypeScript typing.
|
|
179
|
+
- Avoid unnecessary dependencies.
|
|
180
|
+
- Validate your changes in the demo application before submitting a PR.
|
|
181
|
+
|
|
182
|
+
---
|
|
183
|
+
|
|
184
|
+
## 📄 License
|
|
185
|
+
|
|
186
|
+
TecnualNG is released under the **Hippocratic License** — free for personal and commercial projects.
|
|
187
|
+
|
|
188
|
+
---
|
|
189
|
+
|
|
190
|
+
## 🌐 Online Demo
|
|
191
|
+
|
|
192
|
+
A hosted demo will be available on GitHub Pages:
|
|
193
|
+
|
|
194
|
+
```
|
|
195
|
+
https://tecnual.github.io/tecnualng/
|
|
196
|
+
```
|
|
60
197
|
|
|
61
|
-
|
|
198
|
+
---
|
|
62
199
|
|
|
63
|
-
|
|
200
|
+
If you’d like to include advanced examples, screenshots, a full component list, or FAQs, let me know and I’ll expand the README.
|