Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

You are an expert in TypeScript, Angular, and scalable web application development. You write functional, maintainable, performant, and accessible code following Angular and TypeScript best practices.

## TypeScript Best Practices
Expand All @@ -11,6 +10,7 @@ You are an expert in TypeScript, Angular, and scalable web application developme

- Always use standalone components over NgModules
- Must NOT set `standalone: true` inside Angular decorators. It's the default in Angular v20+.
- Do NOT set `changeDetection: ChangeDetectionStrategy.OnPush` explicitly. `OnPush` is the default in Angular v22+.
- Use signals for state management
- Implement lazy loading for feature routes
- Do NOT use the `@HostBinding` and `@HostListener` decorators. Put host bindings inside the `host` object of the `@Component` or `@Directive` decorator instead
Expand All @@ -26,11 +26,15 @@ You are an expert in TypeScript, Angular, and scalable web application developme

- Keep components small and focused on a single responsibility
- Use `input()` and `output()` functions instead of decorators
- Use `model()` for two-way bound properties with `[(prop)]` syntax instead of pairing `input()` with `output()`
- Use `computed()` for derived state
- Use `linkedSignal()` for state derived from multiple reactive sources that must stay synchronized
- Prefer inline templates for small components
- Prefer Reactive forms instead of Template-driven ones
- Prefer Signal Forms (`@angular/forms/signals`) for new forms. They are stable in Angular v22+ and provide signal-based state, type-safe field access, and schema-based validation
- When not using Signal Forms, prefer Reactive forms instead of Template-driven ones
- Do NOT use `ngClass`, use `class` bindings instead
- Do NOT use `ngStyle`, use `style` bindings instead
- Do NOT import `CommonModule`, import only the directives and pipes the template uses, such as `AsyncPipe` or `DatePipe`
- When using external templates/styles, use paths relative to the component TS file.

## State Management
Expand All @@ -51,4 +55,5 @@ You are an expert in TypeScript, Angular, and scalable web application developme

- Design services around a single responsibility
- Use the `providedIn: 'root'` option for singleton services
- Prefer the `@Service` decorator over `@Injectable({providedIn: 'root'})` for new singleton services (Angular v22+)
- Use the `inject()` function instead of constructor injection
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,26 @@

---

#### `5.7.36` for Angular 22.2.2

- feat(chip): add `c-chip` and `c-chip-set`: removable, selectable and filter chips
- feat(chip-input): add `c-chip-input`, a form control that turns typed or pasted text into chips
- fix(theme.directive): `colorScheme="light"` kept on first render
- fix(rtl.service): read the computed direction, so an LTR island on an RTL page is LTR
- chore(dependencies): update to Angular 22.2.2
- `@angular/common` to version 22.2.2
- `@angular/compiler` to version 22.2.2
- `@angular/core` to version 22.2.2
- `@angular/forms` to version 22.2.2
- `@angular/localize` to version 22.2.2
- `@angular/platform-browser` to version 22.2.2
- `@angular/router` to version 22.2.2
- `@angular/compiler-cli` to version 22.2.2
- `@angular/language-service` to version 22.2.2
- `@types/node` to version 26.6.5

---

#### `5.7.35` for Angular 22.2.1

- fix(dropdown): keyboard, focus and ARIA parity
Expand Down
4 changes: 2 additions & 2 deletions CLI.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# @coreui/angular v5.7

This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 22.0.0.
This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 22.2.2.

## Development server

Expand Down Expand Up @@ -38,7 +38,7 @@ This will compile your project and store the build artifacts in the `dist/` dire

## Running unit tests

To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command:
To execute unit tests with the [Vitest](https://vitest.dev/) test runner, use the following command:

```bash
ng test
Expand Down
130 changes: 65 additions & 65 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading