b2b-tools 0.0.0-watch
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 +73 -0
- package/fesm2022/b2b-tools.mjs +761 -0
- package/fesm2022/b2b-tools.mjs.map +1 -0
- package/package.json +23 -0
- package/types/b2b-tools.d.ts +431 -0
package/README.md
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# 📦 b2b-tools
|
|
2
|
+
|
|
3
|
+
`b2b-tools` is a reusable Angular 21 standalone component library
|
|
4
|
+
designed to provide modular, scalable, and production-ready UI
|
|
5
|
+
components.
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## 🏗️ Technology Stack
|
|
10
|
+
|
|
11
|
+
- Angular 21
|
|
12
|
+
- Standalone Components
|
|
13
|
+
- CSS styling
|
|
14
|
+
- Signals-based state management
|
|
15
|
+
- Strict TypeScript configuration
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## 📥 Installation (After npm publication)
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
npm install @dlucho234/b2b-tools
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Then import components directly:
|
|
26
|
+
|
|
27
|
+
```ts
|
|
28
|
+
import { AdvancedTableComponent } from 'b2b-tools';
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## 🚀 Basic Usage Example
|
|
34
|
+
|
|
35
|
+
```ts
|
|
36
|
+
import { Component } from '@angular/core';
|
|
37
|
+
import { AdvancedTableComponent } from 'b2b-tools';
|
|
38
|
+
|
|
39
|
+
@Component({
|
|
40
|
+
standalone: true,
|
|
41
|
+
imports: [AdvancedTableComponent],
|
|
42
|
+
template: ` <b2b-advanced-table></b2b-advanced-table> `,
|
|
43
|
+
})
|
|
44
|
+
export class ExampleComponent {}
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
## 🧩 Available Components
|
|
50
|
+
|
|
51
|
+
### AdvancedTableComponent
|
|
52
|
+
|
|
53
|
+
A modular and extensible data table component supporting:
|
|
54
|
+
|
|
55
|
+
- Configurable columns
|
|
56
|
+
- Sorting
|
|
57
|
+
- Pagination
|
|
58
|
+
- Strong typing
|
|
59
|
+
- Standalone usage
|
|
60
|
+
|
|
61
|
+
---
|
|
62
|
+
|
|
63
|
+
## 🛠 Building the Library
|
|
64
|
+
|
|
65
|
+
To generate a production-ready build:
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
ng build b2b-tools
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
The compiled output will be available in:
|
|
72
|
+
|
|
73
|
+
dist/b2b-tools
|