@atelier-ui/angular 0.0.10 → 0.0.12
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 +34 -4
- package/fesm2022/atelier-ui-angular.mjs +944 -183
- package/fesm2022/atelier-ui-angular.mjs.map +1 -1
- package/package.json +3 -3
- package/types/atelier-ui-angular.d.ts +238 -23
package/README.md
CHANGED
|
@@ -1,7 +1,37 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @atelier-ui/angular
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
LLM-optimized component library for Angular 21.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Features
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
- **Signal-first**: Uses Angular Signals for inputs, outputs, and state management.
|
|
8
|
+
- **Accessible**: Built on WAI-ARIA standards and Angular CDK.
|
|
9
|
+
- **LLM-Ready**: Clean, flat prop APIs and comprehensive metadata for AI assistants.
|
|
10
|
+
- **Themed**: Shared CSS design token system with dark mode support.
|
|
11
|
+
|
|
12
|
+
## Installation
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
npm install @atelier-ui/angular
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Add the design tokens to your global `styles.css`:
|
|
19
|
+
|
|
20
|
+
```css
|
|
21
|
+
@import '@atelier-ui/angular/styles/tokens.css';
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Usage
|
|
25
|
+
|
|
26
|
+
```typescript
|
|
27
|
+
import { LlmButton } from '@atelier-ui/angular';
|
|
28
|
+
|
|
29
|
+
@Component({
|
|
30
|
+
standalone: true,
|
|
31
|
+
imports: [LlmButton],
|
|
32
|
+
template: `
|
|
33
|
+
<llm-button variant="primary" (click)="save()">Save</llm-button>
|
|
34
|
+
`
|
|
35
|
+
})
|
|
36
|
+
export class MyComponent {}
|
|
37
|
+
```
|