@elgiborsolution/ui 0.1.1 → 0.1.2
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 +13 -390
- package/package.json +6 -271
package/README.md
CHANGED
|
@@ -1,401 +1,24 @@
|
|
|
1
|
-
#
|
|
1
|
+
# ElgiborsolutionUi
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 18.2.0.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
[](LICENSE)
|
|
7
|
-
[](https://www.npmjs.com/package/@elgiborsolution/ui)
|
|
5
|
+
## Code scaffolding
|
|
8
6
|
|
|
9
|
-
|
|
7
|
+
Run `ng generate component component-name --project elgiborsolution-ui` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project elgiborsolution-ui`.
|
|
8
|
+
> Note: Don't forget to add `--project elgiborsolution-ui` or else it will be added to the default project in your `angular.json` file.
|
|
10
9
|
|
|
11
|
-
##
|
|
10
|
+
## Build
|
|
12
11
|
|
|
13
|
-
|
|
14
|
-
|---------|----------|
|
|
15
|
-
| Designers and devs use different variables | **Shared design tokens** (W3C DTCG format) — one source of truth for Figma and code |
|
|
16
|
-
| AI agents hallucinate component APIs | **DESIGN.md** + **component-schema.json** — machine-readable, complete API documentation |
|
|
17
|
-
| Enterprise apps need dense data UIs | **Compact density mode** — all components respond to `data-density="compact"` |
|
|
18
|
-
| Inconsistent styling across teams | **CSS custom properties** — override `--elg-*` tokens, instant global consistency |
|
|
19
|
-
| Large bundle sizes | **Tree-shakeable** — import only what you use |
|
|
12
|
+
Run `ng build elgiborsolution-ui` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
20
13
|
|
|
21
|
-
|
|
14
|
+
## Publishing
|
|
22
15
|
|
|
23
|
-
|
|
16
|
+
After building your library with `ng build elgiborsolution-ui`, go to the dist folder `cd dist/elgiborsolution-ui` and run `npm publish`.
|
|
24
17
|
|
|
25
|
-
|
|
26
|
-
npm install @elgiborsolution/ui @angular/cdk
|
|
27
|
-
```
|
|
18
|
+
## Running unit tests
|
|
28
19
|
|
|
29
|
-
|
|
20
|
+
Run `ng test elgiborsolution-ui` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
30
21
|
|
|
31
|
-
##
|
|
22
|
+
## Further help
|
|
32
23
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
Add to `angular.json` styles array:
|
|
36
|
-
|
|
37
|
-
```json
|
|
38
|
-
"styles": [
|
|
39
|
-
"node_modules/@elgiborsolution/ui/styles/tokens.css",
|
|
40
|
-
"src/styles.css"
|
|
41
|
-
]
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
Or in your `styles.css`:
|
|
45
|
-
|
|
46
|
-
```css
|
|
47
|
-
@import '@elgiborsolution/ui/styles/tokens.css';
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
### Step 2: Configure (optional)
|
|
51
|
-
|
|
52
|
-
```typescript
|
|
53
|
-
// app.config.ts
|
|
54
|
-
import { provideElgUi } from '@elgiborsolution/ui';
|
|
55
|
-
|
|
56
|
-
export const appConfig = {
|
|
57
|
-
providers: [
|
|
58
|
-
provideElgUi({
|
|
59
|
-
theme: 'light', // 'light' | 'dark' | 'system'
|
|
60
|
-
density: 'default', // 'default' | 'compact' | 'comfortable'
|
|
61
|
-
})
|
|
62
|
-
]
|
|
63
|
-
};
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
### Step 3: Use components
|
|
67
|
-
|
|
68
|
-
```typescript
|
|
69
|
-
import { Component } from '@angular/core';
|
|
70
|
-
import { ElgButtonComponent } from '@elgiborsolution/ui';
|
|
71
|
-
import { ElgFormFieldComponent } from '@elgiborsolution/ui';
|
|
72
|
-
import { ElgInputDirective } from '@elgiborsolution/ui';
|
|
73
|
-
|
|
74
|
-
@Component({
|
|
75
|
-
selector: 'app-login',
|
|
76
|
-
standalone: true,
|
|
77
|
-
imports: [ElgButtonComponent, ElgFormFieldComponent, ElgInputDirective],
|
|
78
|
-
template: `
|
|
79
|
-
<elg-form-field label="Email" [required]="true">
|
|
80
|
-
<input elgInput type="email" placeholder="you@company.com" />
|
|
81
|
-
</elg-form-field>
|
|
82
|
-
|
|
83
|
-
<elg-form-field label="Password" [required]="true">
|
|
84
|
-
<input elgInput type="password" placeholder="••••••••" />
|
|
85
|
-
</elg-form-field>
|
|
86
|
-
|
|
87
|
-
<button elg-button variant="primary" size="md">Sign In</button>
|
|
88
|
-
`
|
|
89
|
-
})
|
|
90
|
-
export class LoginComponent {}
|
|
91
|
-
```
|
|
92
|
-
|
|
93
|
-
---
|
|
94
|
-
|
|
95
|
-
## Components (32)
|
|
96
|
-
|
|
97
|
-
### Form Controls
|
|
98
|
-
|
|
99
|
-
| Component | Import | Selector | Key Features |
|
|
100
|
-
|-----------|--------|----------|--------------|
|
|
101
|
-
| **Button** | `ElgButtonComponent` | `button[elg-button]` | 6 variants, 3 sizes, loading state |
|
|
102
|
-
| **Input** | `ElgInputDirective` | `input[elgInput]` | ControlValueAccessor, focus/error states |
|
|
103
|
-
| **Form Field** | `ElgFormFieldComponent` | `elg-form-field` | Label, hint, error, required indicator |
|
|
104
|
-
| **Select** | `ElgSelectComponent` | `elg-select` | Native select with custom styling |
|
|
105
|
-
| **Checkbox** | `ElgCheckboxComponent` | `elg-checkbox` | Indeterminate state, ControlValueAccessor |
|
|
106
|
-
| **Radio** | `ElgRadioGroupComponent` + `ElgRadioComponent` | `elg-radio-group`, `elg-radio` | Group management, ControlValueAccessor |
|
|
107
|
-
| **Switch** | `ElgSwitchComponent` | `elg-switch` | Toggle, ControlValueAccessor |
|
|
108
|
-
| **Textarea** | `ElgTextareaDirective` | `textarea[elgTextarea]` | Auto-resize, ControlValueAccessor |
|
|
109
|
-
| **Autocomplete** | `ElgAutocompleteComponent` | `elg-autocomplete` | Filtering, keyboard nav, async loading |
|
|
110
|
-
| **Date Picker** | `ElgDatePickerComponent` | `elg-date-picker` | Calendar panel, min/max, ControlValueAccessor |
|
|
111
|
-
| **File Upload** | `ElgFileUploadComponent` | `elg-file-upload` | Drag & drop, validation, file list |
|
|
112
|
-
| **Number Input** | `ElgNumberInputComponent` | `elg-number-input` | Formatting, min/max/step, prefix/suffix |
|
|
113
|
-
| **Chip Input** | `ElgChipInputComponent` | `elg-chip-input` | Multi-value tags, ControlValueAccessor |
|
|
114
|
-
|
|
115
|
-
### Data Display
|
|
116
|
-
|
|
117
|
-
| Component | Import | Selector | Key Features |
|
|
118
|
-
|-----------|--------|----------|--------------|
|
|
119
|
-
| **Table** | `ElgTableComponent` | `elg-table` | Sort, select, sticky header, loading skeleton, virtual scroll |
|
|
120
|
-
| **Card** | `ElgCardComponent` | `elg-card` | Header/content/footer slots |
|
|
121
|
-
| **Badge** | `ElgBadgeComponent` | `elg-badge` | 6 variants, 2 sizes |
|
|
122
|
-
| **Tree** | `ElgTreeComponent` | `elg-tree` | Recursive nodes, expand/collapse, selectable |
|
|
123
|
-
| **Skeleton** | `ElgSkeletonComponent` | `elg-skeleton` | text/circular/rectangular/rounded, animate |
|
|
124
|
-
|
|
125
|
-
### Navigation & Layout
|
|
126
|
-
|
|
127
|
-
| Component | Import | Selector | Key Features |
|
|
128
|
-
|-----------|--------|----------|--------------|
|
|
129
|
-
| **Tabs** | `ElgTabGroupComponent` + `ElgTabComponent` | `elg-tab-group`, `elg-tab` | Lazy content, keyboard nav, ARIA |
|
|
130
|
-
| **Accordion** | `ElgAccordionComponent` + `ElgAccordionItemComponent` | `elg-accordion`, `elg-accordion-item` | Single/multi mode, animated |
|
|
131
|
-
| **Pagination** | `ElgPaginationComponent` | `elg-pagination` | Page numbers, size selector, ellipsis |
|
|
132
|
-
| **Stepper** | `ElgStepperComponent` + `ElgStepComponent` | `elg-stepper`, `elg-step` | Horizontal/vertical, linear mode |
|
|
133
|
-
| **Sidebar** | `ElgSidebarComponent` | `elg-sidebar` | Collapsible, nav groups, badges, active state |
|
|
134
|
-
| **Breadcrumb** | `ElgBreadcrumbComponent` | `elg-breadcrumb` | Navigation hierarchy, separator |
|
|
135
|
-
| **Dropdown Menu** | `ElgDropdownMenuComponent` + `ElgDropdownTriggerDirective` | `elg-dropdown-menu`, `[elgDropdownTrigger]` | Keyboard nav, nested items |
|
|
136
|
-
|
|
137
|
-
### Feedback & Overlays
|
|
138
|
-
|
|
139
|
-
| Component | Import | Selector | Key Features |
|
|
140
|
-
|-----------|--------|----------|--------------|
|
|
141
|
-
| **Alert** | `ElgAlertComponent` | `elg-alert` | 4 severities, dismissible |
|
|
142
|
-
| **Progress** | `ElgProgressComponent` | `elg-progress` | Determinate/indeterminate, sizes |
|
|
143
|
-
| **Dialog** | `ElgDialogService` + `ElgDialogComponent` | `elg-dialog` | CDK FocusTrap, 5 sizes, service API |
|
|
144
|
-
| **Tooltip** | `ElgTooltipDirective` | `[elgTooltip]` | 4 positions, delay, accessible |
|
|
145
|
-
| **Toast** | `ElgToastService` + `ElgToastContainerComponent` | `elg-toast-container` | Stacking, auto-dismiss, actions |
|
|
146
|
-
|
|
147
|
-
### Services
|
|
148
|
-
|
|
149
|
-
| Service | Import | Purpose |
|
|
150
|
-
|---------|--------|---------|
|
|
151
|
-
| `ElgThemeService` | `@elgiborsolution/ui` | Switch theme/density at runtime |
|
|
152
|
-
| `ElgToastService` | `@elgiborsolution/ui` | Trigger toast notifications |
|
|
153
|
-
| `ElgDialogService` | `@elgiborsolution/ui` | Open dialogs programmatically |
|
|
154
|
-
| `ElgLocaleService` | `@elgiborsolution/ui` | Override all component labels (i18n) |
|
|
155
|
-
|
|
156
|
-
---
|
|
157
|
-
|
|
158
|
-
## Design Tokens
|
|
159
|
-
|
|
160
|
-
### Three-Layer Architecture
|
|
161
|
-
|
|
162
|
-
```
|
|
163
|
-
┌─────────────────────────────────────┐
|
|
164
|
-
│ Component Tokens │ --elg-button-height: 36px
|
|
165
|
-
│ (per-component overrides) │ --elg-input-border-color: #cbd5e1
|
|
166
|
-
├─────────────────────────────────────┤
|
|
167
|
-
│ Semantic Tokens │ --elg-color-primary: var(--elg-color-blue-600)
|
|
168
|
-
│ (purpose-based aliases) │ --elg-color-error: var(--elg-color-red-600)
|
|
169
|
-
├─────────────────────────────────────┤
|
|
170
|
-
│ Primitive Tokens │ --elg-color-blue-600: #2563eb
|
|
171
|
-
│ (raw design values) │ --elg-spacing-4: 16px
|
|
172
|
-
└─────────────────────────────────────┘
|
|
173
|
-
```
|
|
174
|
-
|
|
175
|
-
### Customizing Your Theme
|
|
176
|
-
|
|
177
|
-
Override tokens in your CSS — everything updates automatically:
|
|
178
|
-
|
|
179
|
-
```css
|
|
180
|
-
:root {
|
|
181
|
-
/* Change brand color */
|
|
182
|
-
--elg-color-primary: #7c3aed;
|
|
183
|
-
--elg-color-primary-hover: #6d28d9;
|
|
184
|
-
|
|
185
|
-
/* Rounder corners */
|
|
186
|
-
--elg-border-radius-md: 8px;
|
|
187
|
-
--elg-border-radius-lg: 12px;
|
|
188
|
-
|
|
189
|
-
/* Custom button height */
|
|
190
|
-
--elg-button-height: 40px;
|
|
191
|
-
--elg-input-height: 40px;
|
|
192
|
-
}
|
|
193
|
-
```
|
|
194
|
-
|
|
195
|
-
### For Figma Designers
|
|
196
|
-
|
|
197
|
-
The `tokens/` directory contains W3C DTCG format token files that can be imported into Figma via [Tokens Studio](https://tokens.studio/):
|
|
198
|
-
|
|
199
|
-
```
|
|
200
|
-
tokens/
|
|
201
|
-
├── primitive.tokens.json ← Color scales, spacing, radii, fonts
|
|
202
|
-
├── semantic.tokens.json ← Purpose aliases (primary, error, background)
|
|
203
|
-
└── component.tokens.json ← Per-component decisions
|
|
204
|
-
```
|
|
205
|
-
|
|
206
|
-
Both designers and developers reference the same token names — ensuring Figma designs match the production UI exactly.
|
|
207
|
-
|
|
208
|
-
---
|
|
209
|
-
|
|
210
|
-
## Theme & Density
|
|
211
|
-
|
|
212
|
-
### Dark Mode
|
|
213
|
-
|
|
214
|
-
```typescript
|
|
215
|
-
// Option 1: In config
|
|
216
|
-
provideElgUi({ theme: 'dark' })
|
|
217
|
-
|
|
218
|
-
// Option 2: At runtime
|
|
219
|
-
inject(ElgThemeService).setTheme('dark');
|
|
220
|
-
|
|
221
|
-
// Option 3: CSS attribute (manual)
|
|
222
|
-
// Add data-theme="dark" to <html>
|
|
223
|
-
```
|
|
224
|
-
|
|
225
|
-
### Compact Density (for ERP data-heavy screens)
|
|
226
|
-
|
|
227
|
-
```typescript
|
|
228
|
-
// Option 1: In config
|
|
229
|
-
provideElgUi({ density: 'compact' })
|
|
230
|
-
|
|
231
|
-
// Option 2: At runtime
|
|
232
|
-
inject(ElgThemeService).setDensity('compact');
|
|
233
|
-
|
|
234
|
-
// Option 3: CSS attribute
|
|
235
|
-
// Add data-density="compact" to <html>
|
|
236
|
-
```
|
|
237
|
-
|
|
238
|
-
Compact mode reduces button heights (28px), input heights (28px), table cell padding, font sizes — all via token overrides.
|
|
239
|
-
|
|
240
|
-
---
|
|
241
|
-
|
|
242
|
-
## Usage Examples
|
|
243
|
-
|
|
244
|
-
### Data Table with Pagination
|
|
245
|
-
|
|
246
|
-
```typescript
|
|
247
|
-
import { Component } from '@angular/core';
|
|
248
|
-
import { ElgTableComponent, ElgColumnDef } from '@elgiborsolution/ui';
|
|
249
|
-
import { ElgPaginationComponent } from '@elgiborsolution/ui';
|
|
250
|
-
import { ElgBadgeComponent } from '@elgiborsolution/ui';
|
|
251
|
-
|
|
252
|
-
@Component({
|
|
253
|
-
standalone: true,
|
|
254
|
-
imports: [ElgTableComponent, ElgPaginationComponent, ElgBadgeComponent],
|
|
255
|
-
template: `
|
|
256
|
-
<elg-table
|
|
257
|
-
[dataSource]="employees"
|
|
258
|
-
[columns]="columns"
|
|
259
|
-
[selectable]="true"
|
|
260
|
-
[stickyHeader]="true"
|
|
261
|
-
(sortChange)="onSort($event)"
|
|
262
|
-
(selectionChange)="onSelect($event)"
|
|
263
|
-
/>
|
|
264
|
-
<elg-pagination
|
|
265
|
-
[totalItems]="totalCount"
|
|
266
|
-
[pageSize]="pageSize"
|
|
267
|
-
[currentPage]="currentPage"
|
|
268
|
-
(pageChange)="loadPage($event)"
|
|
269
|
-
/>
|
|
270
|
-
`
|
|
271
|
-
})
|
|
272
|
-
export class EmployeeListComponent {
|
|
273
|
-
columns: ElgColumnDef[] = [
|
|
274
|
-
{ key: 'name', header: 'Name', sortable: true },
|
|
275
|
-
{ key: 'department', header: 'Department', sortable: true },
|
|
276
|
-
{ key: 'status', header: 'Status', align: 'center' },
|
|
277
|
-
];
|
|
278
|
-
employees = [...];
|
|
279
|
-
totalCount = 150;
|
|
280
|
-
pageSize = 25;
|
|
281
|
-
currentPage = 1;
|
|
282
|
-
|
|
283
|
-
onSort(event: { column: string; direction: 'asc' | 'desc' | null }) { /* ... */ }
|
|
284
|
-
onSelect(rows: any[]) { /* ... */ }
|
|
285
|
-
loadPage(page: number) { /* ... */ }
|
|
286
|
-
}
|
|
287
|
-
```
|
|
288
|
-
|
|
289
|
-
### Toast Notifications
|
|
290
|
-
|
|
291
|
-
```typescript
|
|
292
|
-
import { Component, inject } from '@angular/core';
|
|
293
|
-
import { ElgToastService } from '@elgiborsolution/ui';
|
|
294
|
-
|
|
295
|
-
@Component({ /* ... */ })
|
|
296
|
-
export class InvoiceComponent {
|
|
297
|
-
private toast = inject(ElgToastService);
|
|
298
|
-
|
|
299
|
-
saveInvoice() {
|
|
300
|
-
// ... save logic
|
|
301
|
-
this.toast.success('Invoice saved successfully', 'Invoice #1234');
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
deleteInvoice() {
|
|
305
|
-
this.toast.error('Failed to delete invoice', 'Permission Denied');
|
|
306
|
-
}
|
|
307
|
-
}
|
|
308
|
-
```
|
|
309
|
-
|
|
310
|
-
Don't forget to place the container in your root component:
|
|
311
|
-
|
|
312
|
-
```html
|
|
313
|
-
<!-- app.component.html -->
|
|
314
|
-
<router-outlet />
|
|
315
|
-
<elg-toast-container />
|
|
316
|
-
```
|
|
317
|
-
|
|
318
|
-
### Multi-Step Form (Stepper)
|
|
319
|
-
|
|
320
|
-
```typescript
|
|
321
|
-
import { ElgStepperComponent, ElgStepComponent } from '@elgiborsolution/ui';
|
|
322
|
-
import { ElgFormFieldComponent } from '@elgiborsolution/ui';
|
|
323
|
-
import { ElgInputDirective } from '@elgiborsolution/ui';
|
|
324
|
-
import { ElgButtonComponent } from '@elgiborsolution/ui';
|
|
325
|
-
|
|
326
|
-
@Component({
|
|
327
|
-
standalone: true,
|
|
328
|
-
imports: [ElgStepperComponent, ElgStepComponent, ElgFormFieldComponent, ElgInputDirective, ElgButtonComponent],
|
|
329
|
-
template: `
|
|
330
|
-
<elg-stepper [linear]="true">
|
|
331
|
-
<elg-step label="Account">
|
|
332
|
-
<elg-form-field label="Email" [required]="true">
|
|
333
|
-
<input elgInput type="email" />
|
|
334
|
-
</elg-form-field>
|
|
335
|
-
<button elg-button variant="primary" (click)="stepper.next()">Next</button>
|
|
336
|
-
</elg-step>
|
|
337
|
-
|
|
338
|
-
<elg-step label="Company">
|
|
339
|
-
<elg-form-field label="Company Name" [required]="true">
|
|
340
|
-
<input elgInput />
|
|
341
|
-
</elg-form-field>
|
|
342
|
-
<button elg-button variant="outline" (click)="stepper.previous()">Back</button>
|
|
343
|
-
<button elg-button variant="primary" (click)="stepper.next()">Next</button>
|
|
344
|
-
</elg-step>
|
|
345
|
-
|
|
346
|
-
<elg-step label="Review">
|
|
347
|
-
<p>Review your details...</p>
|
|
348
|
-
<button elg-button variant="primary">Submit</button>
|
|
349
|
-
</elg-step>
|
|
350
|
-
</elg-stepper>
|
|
351
|
-
`
|
|
352
|
-
})
|
|
353
|
-
export class OnboardingComponent {}
|
|
354
|
-
```
|
|
355
|
-
|
|
356
|
-
---
|
|
357
|
-
|
|
358
|
-
## For AI Agents
|
|
359
|
-
|
|
360
|
-
This library is designed for AI agent consumption:
|
|
361
|
-
|
|
362
|
-
| Resource | Purpose |
|
|
363
|
-
|----------|---------|
|
|
364
|
-
| **DESIGN.md** | Complete API reference — selectors, inputs, outputs, CSS vars, usage examples, composability rules |
|
|
365
|
-
| **component-schema.json** | Machine-readable JSON with all 37 component/directive definitions |
|
|
366
|
-
| **DESIGN-TOKENS.md** | Full token reference table (247 tokens) |
|
|
367
|
-
| **CHANGELOG.md** | Version history for detecting breaking changes |
|
|
368
|
-
|
|
369
|
-
### Key Rules for AI Agents
|
|
370
|
-
|
|
371
|
-
1. **Import from `'@elgiborsolution/ui'`** — all exports are barrel-exported
|
|
372
|
-
2. **All components are standalone** — add to `imports` array directly
|
|
373
|
-
3. **`ElgInputDirective` is a directive** — use `<input elgInput>`, NOT `<elg-input>`
|
|
374
|
-
4. **`ElgTextareaDirective` is a directive** — use `<textarea elgTextarea>`
|
|
375
|
-
5. **Button uses attribute selector** — use `<button elg-button>`, NOT `<elg-button>`
|
|
376
|
-
6. **Form controls implement `ControlValueAccessor`** — works with `[formControl]` and `formControlName`
|
|
377
|
-
7. **Always wrap inputs with `<elg-form-field>`** for labels and error messages
|
|
378
|
-
8. **Theme via CSS variables** — never hardcode colors on components
|
|
379
|
-
|
|
380
|
-
---
|
|
381
|
-
|
|
382
|
-
## Documentation
|
|
383
|
-
|
|
384
|
-
| File | Description |
|
|
385
|
-
|------|-------------|
|
|
386
|
-
| [DESIGN.md](./DESIGN.md) | Full component API specs, usage patterns, composability rules (1386 lines) |
|
|
387
|
-
| [DESIGN-TOKENS.md](./DESIGN-TOKENS.md) | Complete CSS variable reference (247 tokens) |
|
|
388
|
-
| [CHANGELOG.md](./CHANGELOG.md) | Version history |
|
|
389
|
-
| [component-schema.json](./component-schema.json) | Machine-readable component definitions |
|
|
390
|
-
|
|
391
|
-
---
|
|
392
|
-
|
|
393
|
-
## Requirements
|
|
394
|
-
|
|
395
|
-
- Angular 18+
|
|
396
|
-
- @angular/cdk ^18.0.0
|
|
397
|
-
- TypeScript 5.4+
|
|
398
|
-
|
|
399
|
-
## License
|
|
400
|
-
|
|
401
|
-
MIT © [Elgibor Solution](https://github.com/elgiborsolution)
|
|
24
|
+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elgiborsolution/ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Enterprise Angular UI component library for ERP and web applications. Provides standardized design tokens and components for consistent development by AI agents and humans.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -24,279 +24,14 @@
|
|
|
24
24
|
"module": "fesm2022/elgiborsolution-ui.mjs",
|
|
25
25
|
"typings": "index.d.ts",
|
|
26
26
|
"exports": {
|
|
27
|
-
".": {
|
|
28
|
-
"
|
|
29
|
-
"esm2022": "./esm2022/elgiborsolution-ui.mjs",
|
|
30
|
-
"default": "./fesm2022/elgiborsolution-ui.mjs"
|
|
31
|
-
},
|
|
32
|
-
"./styles/tokens.css": "./styles/tokens.css",
|
|
33
|
-
"./core": {
|
|
34
|
-
"types": "./public-api.d.ts",
|
|
35
|
-
"esm2022": "./esm2022/elgiborsolution-ui.mjs",
|
|
36
|
-
"default": "./fesm2022/elgiborsolution-ui.mjs"
|
|
37
|
-
},
|
|
38
|
-
"./button": {
|
|
39
|
-
"types": "./public-api.d.ts",
|
|
40
|
-
"esm2022": "./esm2022/elgiborsolution-ui.mjs",
|
|
41
|
-
"default": "./fesm2022/elgiborsolution-ui.mjs"
|
|
42
|
-
},
|
|
43
|
-
"./toast": {
|
|
44
|
-
"types": "./public-api.d.ts",
|
|
45
|
-
"esm2022": "./esm2022/elgiborsolution-ui.mjs",
|
|
46
|
-
"default": "./fesm2022/elgiborsolution-ui.mjs"
|
|
47
|
-
},
|
|
48
|
-
"./breadcrumb": {
|
|
49
|
-
"types": "./public-api.d.ts",
|
|
50
|
-
"esm2022": "./esm2022/elgiborsolution-ui.mjs",
|
|
51
|
-
"default": "./fesm2022/elgiborsolution-ui.mjs"
|
|
52
|
-
},
|
|
53
|
-
"./skeleton": {
|
|
54
|
-
"types": "./public-api.d.ts",
|
|
55
|
-
"esm2022": "./esm2022/elgiborsolution-ui.mjs",
|
|
56
|
-
"default": "./fesm2022/elgiborsolution-ui.mjs"
|
|
57
|
-
},
|
|
58
|
-
"./sidebar": {
|
|
59
|
-
"types": "./public-api.d.ts",
|
|
60
|
-
"esm2022": "./esm2022/elgiborsolution-ui.mjs",
|
|
61
|
-
"default": "./fesm2022/elgiborsolution-ui.mjs"
|
|
62
|
-
},
|
|
63
|
-
"./number-input": {
|
|
64
|
-
"types": "./public-api.d.ts",
|
|
65
|
-
"esm2022": "./esm2022/elgiborsolution-ui.mjs",
|
|
66
|
-
"default": "./fesm2022/elgiborsolution-ui.mjs"
|
|
67
|
-
},
|
|
68
|
-
"./chip-input": {
|
|
69
|
-
"types": "./public-api.d.ts",
|
|
70
|
-
"esm2022": "./esm2022/elgiborsolution-ui.mjs",
|
|
71
|
-
"default": "./fesm2022/elgiborsolution-ui.mjs"
|
|
72
|
-
},
|
|
73
|
-
"./locale": {
|
|
74
|
-
"types": "./public-api.d.ts",
|
|
75
|
-
"esm2022": "./esm2022/elgiborsolution-ui.mjs",
|
|
76
|
-
"default": "./fesm2022/elgiborsolution-ui.mjs"
|
|
77
|
-
},
|
|
78
|
-
"./undefined": {
|
|
79
|
-
"types": "./public-api.d.ts",
|
|
80
|
-
"esm2022": "./esm2022/elgiborsolution-ui.mjs",
|
|
81
|
-
"default": "./fesm2022/elgiborsolution-ui.mjs"
|
|
82
|
-
},
|
|
83
|
-
"./input": {
|
|
84
|
-
"types": "./public-api.d.ts",
|
|
85
|
-
"esm2022": "./esm2022/elgiborsolution-ui.mjs",
|
|
86
|
-
"default": "./fesm2022/elgiborsolution-ui.mjs"
|
|
87
|
-
},
|
|
88
|
-
"./form-field": {
|
|
89
|
-
"types": "./public-api.d.ts",
|
|
90
|
-
"esm2022": "./esm2022/elgiborsolution-ui.mjs",
|
|
91
|
-
"default": "./fesm2022/elgiborsolution-ui.mjs"
|
|
92
|
-
},
|
|
93
|
-
"./select": {
|
|
94
|
-
"types": "./public-api.d.ts",
|
|
95
|
-
"esm2022": "./esm2022/elgiborsolution-ui.mjs",
|
|
96
|
-
"default": "./fesm2022/elgiborsolution-ui.mjs"
|
|
97
|
-
},
|
|
98
|
-
"./checkbox": {
|
|
99
|
-
"types": "./public-api.d.ts",
|
|
100
|
-
"esm2022": "./esm2022/elgiborsolution-ui.mjs",
|
|
101
|
-
"default": "./fesm2022/elgiborsolution-ui.mjs"
|
|
102
|
-
},
|
|
103
|
-
"./radio": {
|
|
104
|
-
"types": "./public-api.d.ts",
|
|
105
|
-
"esm2022": "./esm2022/elgiborsolution-ui.mjs",
|
|
106
|
-
"default": "./fesm2022/elgiborsolution-ui.mjs"
|
|
107
|
-
},
|
|
108
|
-
"./switch": {
|
|
109
|
-
"types": "./public-api.d.ts",
|
|
110
|
-
"esm2022": "./esm2022/elgiborsolution-ui.mjs",
|
|
111
|
-
"default": "./fesm2022/elgiborsolution-ui.mjs"
|
|
27
|
+
"./package.json": {
|
|
28
|
+
"default": "./package.json"
|
|
112
29
|
},
|
|
113
|
-
"
|
|
114
|
-
"types": "./
|
|
115
|
-
"esm2022": "./esm2022/elgiborsolution-ui.mjs",
|
|
116
|
-
"default": "./fesm2022/elgiborsolution-ui.mjs"
|
|
117
|
-
},
|
|
118
|
-
"./autocomplete": {
|
|
119
|
-
"types": "./public-api.d.ts",
|
|
120
|
-
"esm2022": "./esm2022/elgiborsolution-ui.mjs",
|
|
121
|
-
"default": "./fesm2022/elgiborsolution-ui.mjs"
|
|
122
|
-
},
|
|
123
|
-
"./dropdown-menu": {
|
|
124
|
-
"types": "./public-api.d.ts",
|
|
125
|
-
"esm2022": "./esm2022/elgiborsolution-ui.mjs",
|
|
126
|
-
"default": "./fesm2022/elgiborsolution-ui.mjs"
|
|
127
|
-
},
|
|
128
|
-
"./tooltip": {
|
|
129
|
-
"types": "./public-api.d.ts",
|
|
130
|
-
"esm2022": "./esm2022/elgiborsolution-ui.mjs",
|
|
131
|
-
"default": "./fesm2022/elgiborsolution-ui.mjs"
|
|
132
|
-
},
|
|
133
|
-
"./tabs": {
|
|
134
|
-
"types": "./public-api.d.ts",
|
|
135
|
-
"esm2022": "./esm2022/elgiborsolution-ui.mjs",
|
|
136
|
-
"default": "./fesm2022/elgiborsolution-ui.mjs"
|
|
137
|
-
},
|
|
138
|
-
"./accordion": {
|
|
139
|
-
"types": "./public-api.d.ts",
|
|
140
|
-
"esm2022": "./esm2022/elgiborsolution-ui.mjs",
|
|
141
|
-
"default": "./fesm2022/elgiborsolution-ui.mjs"
|
|
142
|
-
},
|
|
143
|
-
"./table": {
|
|
144
|
-
"types": "./public-api.d.ts",
|
|
145
|
-
"esm2022": "./esm2022/elgiborsolution-ui.mjs",
|
|
146
|
-
"default": "./fesm2022/elgiborsolution-ui.mjs"
|
|
147
|
-
},
|
|
148
|
-
"./card": {
|
|
149
|
-
"types": "./public-api.d.ts",
|
|
150
|
-
"esm2022": "./esm2022/elgiborsolution-ui.mjs",
|
|
151
|
-
"default": "./fesm2022/elgiborsolution-ui.mjs"
|
|
152
|
-
},
|
|
153
|
-
"./dialog": {
|
|
154
|
-
"types": "./public-api.d.ts",
|
|
155
|
-
"esm2022": "./esm2022/elgiborsolution-ui.mjs",
|
|
156
|
-
"default": "./fesm2022/elgiborsolution-ui.mjs"
|
|
157
|
-
},
|
|
158
|
-
"./badge": {
|
|
159
|
-
"types": "./public-api.d.ts",
|
|
160
|
-
"esm2022": "./esm2022/elgiborsolution-ui.mjs",
|
|
161
|
-
"default": "./fesm2022/elgiborsolution-ui.mjs"
|
|
162
|
-
},
|
|
163
|
-
"./alert": {
|
|
164
|
-
"types": "./public-api.d.ts",
|
|
165
|
-
"esm2022": "./esm2022/elgiborsolution-ui.mjs",
|
|
166
|
-
"default": "./fesm2022/elgiborsolution-ui.mjs"
|
|
167
|
-
},
|
|
168
|
-
"./progress": {
|
|
169
|
-
"types": "./public-api.d.ts",
|
|
170
|
-
"esm2022": "./esm2022/elgiborsolution-ui.mjs",
|
|
171
|
-
"default": "./fesm2022/elgiborsolution-ui.mjs"
|
|
172
|
-
},
|
|
173
|
-
"./pagination": {
|
|
174
|
-
"types": "./public-api.d.ts",
|
|
175
|
-
"esm2022": "./esm2022/elgiborsolution-ui.mjs",
|
|
176
|
-
"default": "./fesm2022/elgiborsolution-ui.mjs"
|
|
177
|
-
},
|
|
178
|
-
"./stepper": {
|
|
179
|
-
"types": "./public-api.d.ts",
|
|
180
|
-
"esm2022": "./esm2022/elgiborsolution-ui.mjs",
|
|
181
|
-
"default": "./fesm2022/elgiborsolution-ui.mjs"
|
|
182
|
-
},
|
|
183
|
-
"./tree": {
|
|
184
|
-
"types": "./public-api.d.ts",
|
|
185
|
-
"esm2022": "./esm2022/elgiborsolution-ui.mjs",
|
|
186
|
-
"default": "./fesm2022/elgiborsolution-ui.mjs"
|
|
187
|
-
},
|
|
188
|
-
"./date-picker": {
|
|
189
|
-
"types": "./public-api.d.ts",
|
|
190
|
-
"esm2022": "./esm2022/elgiborsolution-ui.mjs",
|
|
191
|
-
"default": "./fesm2022/elgiborsolution-ui.mjs"
|
|
192
|
-
},
|
|
193
|
-
"./file-upload": {
|
|
194
|
-
"types": "./public-api.d.ts",
|
|
30
|
+
".": {
|
|
31
|
+
"types": "./index.d.ts",
|
|
195
32
|
"esm2022": "./esm2022/elgiborsolution-ui.mjs",
|
|
33
|
+
"esm": "./esm2022/elgiborsolution-ui.mjs",
|
|
196
34
|
"default": "./fesm2022/elgiborsolution-ui.mjs"
|
|
197
35
|
}
|
|
198
|
-
},
|
|
199
|
-
"typesVersions": {
|
|
200
|
-
"*": {
|
|
201
|
-
"core": [
|
|
202
|
-
"public-api.d.ts"
|
|
203
|
-
],
|
|
204
|
-
"button": [
|
|
205
|
-
"public-api.d.ts"
|
|
206
|
-
],
|
|
207
|
-
"toast": [
|
|
208
|
-
"public-api.d.ts"
|
|
209
|
-
],
|
|
210
|
-
"breadcrumb": [
|
|
211
|
-
"public-api.d.ts"
|
|
212
|
-
],
|
|
213
|
-
"skeleton": [
|
|
214
|
-
"public-api.d.ts"
|
|
215
|
-
],
|
|
216
|
-
"sidebar": [
|
|
217
|
-
"public-api.d.ts"
|
|
218
|
-
],
|
|
219
|
-
"number-input": [
|
|
220
|
-
"public-api.d.ts"
|
|
221
|
-
],
|
|
222
|
-
"chip-input": [
|
|
223
|
-
"public-api.d.ts"
|
|
224
|
-
],
|
|
225
|
-
"locale": [
|
|
226
|
-
"public-api.d.ts"
|
|
227
|
-
],
|
|
228
|
-
"undefined": [
|
|
229
|
-
"public-api.d.ts"
|
|
230
|
-
],
|
|
231
|
-
"input": [
|
|
232
|
-
"public-api.d.ts"
|
|
233
|
-
],
|
|
234
|
-
"form-field": [
|
|
235
|
-
"public-api.d.ts"
|
|
236
|
-
],
|
|
237
|
-
"select": [
|
|
238
|
-
"public-api.d.ts"
|
|
239
|
-
],
|
|
240
|
-
"checkbox": [
|
|
241
|
-
"public-api.d.ts"
|
|
242
|
-
],
|
|
243
|
-
"radio": [
|
|
244
|
-
"public-api.d.ts"
|
|
245
|
-
],
|
|
246
|
-
"switch": [
|
|
247
|
-
"public-api.d.ts"
|
|
248
|
-
],
|
|
249
|
-
"textarea": [
|
|
250
|
-
"public-api.d.ts"
|
|
251
|
-
],
|
|
252
|
-
"autocomplete": [
|
|
253
|
-
"public-api.d.ts"
|
|
254
|
-
],
|
|
255
|
-
"dropdown-menu": [
|
|
256
|
-
"public-api.d.ts"
|
|
257
|
-
],
|
|
258
|
-
"tooltip": [
|
|
259
|
-
"public-api.d.ts"
|
|
260
|
-
],
|
|
261
|
-
"tabs": [
|
|
262
|
-
"public-api.d.ts"
|
|
263
|
-
],
|
|
264
|
-
"accordion": [
|
|
265
|
-
"public-api.d.ts"
|
|
266
|
-
],
|
|
267
|
-
"table": [
|
|
268
|
-
"public-api.d.ts"
|
|
269
|
-
],
|
|
270
|
-
"card": [
|
|
271
|
-
"public-api.d.ts"
|
|
272
|
-
],
|
|
273
|
-
"dialog": [
|
|
274
|
-
"public-api.d.ts"
|
|
275
|
-
],
|
|
276
|
-
"badge": [
|
|
277
|
-
"public-api.d.ts"
|
|
278
|
-
],
|
|
279
|
-
"alert": [
|
|
280
|
-
"public-api.d.ts"
|
|
281
|
-
],
|
|
282
|
-
"progress": [
|
|
283
|
-
"public-api.d.ts"
|
|
284
|
-
],
|
|
285
|
-
"pagination": [
|
|
286
|
-
"public-api.d.ts"
|
|
287
|
-
],
|
|
288
|
-
"stepper": [
|
|
289
|
-
"public-api.d.ts"
|
|
290
|
-
],
|
|
291
|
-
"tree": [
|
|
292
|
-
"public-api.d.ts"
|
|
293
|
-
],
|
|
294
|
-
"date-picker": [
|
|
295
|
-
"public-api.d.ts"
|
|
296
|
-
],
|
|
297
|
-
"file-upload": [
|
|
298
|
-
"public-api.d.ts"
|
|
299
|
-
]
|
|
300
|
-
}
|
|
301
36
|
}
|
|
302
37
|
}
|