@angular/forms 20.0.0 → 20.0.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/index.d.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Angular v20.0.0
2
+ * @license Angular v20.0.2
3
3
  * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
6
6
 
7
7
  import * as i0 from '@angular/core';
8
- import { Renderer2, ElementRef, InjectionToken, OnDestroy, OnChanges, SimpleChanges, OnInit, Injector, EventEmitter, ChangeDetectorRef, AfterViewInit, Version, ModuleWithProviders } from '@angular/core';
8
+ import { InjectionToken, Renderer2, ElementRef, OnDestroy, OnChanges, SimpleChanges, OnInit, Injector, EventEmitter, ChangeDetectorRef, AfterViewInit, Version, ModuleWithProviders } from '@angular/core';
9
9
  import { Observable } from 'rxjs';
10
10
 
11
11
  /**
@@ -255,9 +255,9 @@ declare const NG_VALUE_ACCESSOR: InjectionToken<readonly ControlValueAccessor[]>
255
255
  *
256
256
  * ```html
257
257
  * <select [compareWith]="compareFn" [formControl]="selectedCountriesControl">
258
- * <option *ngFor="let country of countries" [ngValue]="country">
259
- * {{country.name}}
260
- * </option>
258
+ * @for(country of countries; track $index) {
259
+ * <option[ngValue]="country">{{country.name}}</option>
260
+ * }
261
261
  * </select>
262
262
  *
263
263
  * compareFn(c1: Country, c2: Country): boolean {
@@ -354,9 +354,9 @@ declare class NgSelectOption implements OnDestroy {
354
354
  *
355
355
  * ```html
356
356
  * <select multiple name="countries" [formControl]="countryControl">
357
- * <option *ngFor="let country of countries" [ngValue]="country">
358
- * {{ country.name }}
359
- * </option>
357
+ * @for(country of countries; track $index) {
358
+ * <option [ngValue]="country">{{ country.name }}</option>
359
+ * }
360
360
  * </select>
361
361
  * ```
362
362
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/forms",
3
- "version": "20.0.0",
3
+ "version": "20.0.2",
4
4
  "description": "Angular - directives and services for creating forms",
5
5
  "author": "angular",
6
6
  "license": "MIT",
@@ -11,9 +11,9 @@
11
11
  "tslib": "^2.3.0"
12
12
  },
13
13
  "peerDependencies": {
14
- "@angular/core": "20.0.0",
15
- "@angular/common": "20.0.0",
16
- "@angular/platform-browser": "20.0.0",
14
+ "@angular/core": "20.0.2",
15
+ "@angular/common": "20.0.2",
16
+ "@angular/platform-browser": "20.0.2",
17
17
  "rxjs": "^6.5.3 || ^7.4.0"
18
18
  },
19
19
  "repository": {