diff --git a/modules/@angular/common/src/common_module.ts b/modules/@angular/common/src/common_module.ts index 4fdc6a2d63..0d1d66ced2 100644 --- a/modules/@angular/common/src/common_module.ts +++ b/modules/@angular/common/src/common_module.ts @@ -17,7 +17,7 @@ import {COMMON_PIPES} from './pipes/common_pipes'; /** * The module that includes all the basic Angular directives like {@link NgIf}, ${link NgFor}, ... * - * @experimental + * @stable */ @NgModule({ declarations: [COMMON_DIRECTIVES, COMMON_PIPES], diff --git a/modules/@angular/common/src/directives/ng_switch.ts b/modules/@angular/common/src/directives/ng_switch.ts index e3d9737a99..d044e111fe 100644 --- a/modules/@angular/common/src/directives/ng_switch.ts +++ b/modules/@angular/common/src/directives/ng_switch.ts @@ -76,7 +76,7 @@ export class SwitchView { * } * ``` * - * @experimental + * @stable */ @Directive({selector: '[ngSwitch]'}) export class NgSwitch { @@ -177,7 +177,7 @@ export class NgSwitch { * * See {@link NgSwitch} for more details and example. * - * @experimental + * @stable */ @Directive({selector: '[ngSwitchCase]'}) export class NgSwitchCase { @@ -208,7 +208,7 @@ export class NgSwitchCase { * * See {@link NgSwitch} for more details and example. * - * @experimental + * @stable */ @Directive({selector: '[ngSwitchDefault]'}) export class NgSwitchDefault { diff --git a/modules/@angular/common/src/pipes/date_pipe.ts b/modules/@angular/common/src/pipes/date_pipe.ts index 154e863cc0..156ecc8563 100644 --- a/modules/@angular/common/src/pipes/date_pipe.ts +++ b/modules/@angular/common/src/pipes/date_pipe.ts @@ -80,7 +80,7 @@ var defaultLocale: string = 'en-US'; * * {@example core/pipes/ts/date_pipe/date_pipe_example.ts region='DatePipe'} * - * @experimental + * @stable */ @Pipe({name: 'date', pure: true}) export class DatePipe implements PipeTransform { diff --git a/modules/@angular/common/src/pipes/lowercase_pipe.ts b/modules/@angular/common/src/pipes/lowercase_pipe.ts index 45edcd4b7d..d97ad0a276 100644 --- a/modules/@angular/common/src/pipes/lowercase_pipe.ts +++ b/modules/@angular/common/src/pipes/lowercase_pipe.ts @@ -18,7 +18,7 @@ import {InvalidPipeArgumentException} from './invalid_pipe_argument_exception'; * * {@example core/pipes/ts/lowerupper_pipe/lowerupper_pipe_example.ts region='LowerUpperPipe'} * - * @experimental + * @stable */ @Pipe({name: 'lowercase'}) export class LowerCasePipe implements PipeTransform { diff --git a/modules/@angular/common/src/pipes/number_pipe.ts b/modules/@angular/common/src/pipes/number_pipe.ts index 5e0749073f..d7ead4189b 100644 --- a/modules/@angular/common/src/pipes/number_pipe.ts +++ b/modules/@angular/common/src/pipes/number_pipe.ts @@ -86,7 +86,7 @@ function formatNumber( * * {@example core/pipes/ts/number_pipe/number_pipe_example.ts region='NumberPipe'} * - * @experimental + * @stable */ @Pipe({name: 'number'}) export class DecimalPipe implements PipeTransform { @@ -112,7 +112,7 @@ export class DecimalPipe implements PipeTransform { * * {@example core/pipes/ts/number_pipe/number_pipe_example.ts region='PercentPipe'} * - * @experimental + * @stable */ @Pipe({name: 'percent'}) export class PercentPipe implements PipeTransform { @@ -143,7 +143,7 @@ export class PercentPipe implements PipeTransform { * * {@example core/pipes/ts/number_pipe/number_pipe_example.ts region='CurrencyPipe'} * - * @experimental + * @stable */ @Pipe({name: 'currency'}) export class CurrencyPipe implements PipeTransform { diff --git a/modules/@angular/common/src/pipes/uppercase_pipe.ts b/modules/@angular/common/src/pipes/uppercase_pipe.ts index be65de1068..2b948142d0 100644 --- a/modules/@angular/common/src/pipes/uppercase_pipe.ts +++ b/modules/@angular/common/src/pipes/uppercase_pipe.ts @@ -17,7 +17,7 @@ import {InvalidPipeArgumentException} from './invalid_pipe_argument_exception'; * * {@example core/pipes/ts/lowerupper_pipe/lowerupper_pipe_example.ts region='LowerUpperPipe'} * - * @experimental + * @stable */ @Pipe({name: 'uppercase'}) export class UpperCasePipe implements PipeTransform { diff --git a/tools/public_api_guard/common/index.d.ts b/tools/public_api_guard/common/index.d.ts index 546ee40582..5d689651fd 100644 --- a/tools/public_api_guard/common/index.d.ts +++ b/tools/public_api_guard/common/index.d.ts @@ -8,21 +8,21 @@ export declare class AsyncPipe implements OnDestroy { transform(obj: Observable | Promise | EventEmitter): any; } -/** @experimental */ +/** @stable */ export declare class CommonModule { } -/** @experimental */ +/** @stable */ export declare class CurrencyPipe implements PipeTransform { transform(value: any, currencyCode?: string, symbolDisplay?: boolean, digits?: string): string; } -/** @experimental */ +/** @stable */ export declare class DatePipe implements PipeTransform { transform(value: any, pattern?: string): string; } -/** @experimental */ +/** @stable */ export declare class DecimalPipe implements PipeTransform { transform(value: any, digits?: string): string; } @@ -89,7 +89,7 @@ export declare abstract class LocationStrategy { abstract replaceState(state: any, title: string, url: string, queryParams: string): void; } -/** @experimental */ +/** @stable */ export declare class LowerCasePipe implements PipeTransform { transform(value: string): string; } @@ -147,18 +147,18 @@ export declare class NgStyle implements DoCheck { ngDoCheck(): void; } -/** @experimental */ +/** @stable */ export declare class NgSwitch { ngSwitch: any; } -/** @experimental */ +/** @stable */ export declare class NgSwitchCase { ngSwitchCase: any; constructor(viewContainer: ViewContainerRef, templateRef: TemplateRef, ngSwitch: NgSwitch); } -/** @experimental */ +/** @stable */ export declare class NgSwitchDefault { constructor(viewContainer: ViewContainerRef, templateRef: TemplateRef, sswitch: NgSwitch); } @@ -184,7 +184,7 @@ export declare class PathLocationStrategy extends LocationStrategy { replaceState(state: any, title: string, url: string, queryParams: string): void; } -/** @experimental */ +/** @stable */ export declare class PercentPipe implements PipeTransform { transform(value: any, digits?: string): string; } @@ -208,7 +208,7 @@ export declare class SlicePipe implements PipeTransform { transform(value: any, start: number, end?: number): any; } -/** @experimental */ +/** @stable */ export declare class UpperCasePipe implements PipeTransform { transform(value: string): string; }