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
1 change: 1 addition & 0 deletions goldens/material/chips/index.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import { OnChanges } from '@angular/core';
import { OnDestroy } from '@angular/core';
import { OnInit } from '@angular/core';
import { QueryList } from '@angular/core';
import { Signal } from '@angular/core';
import { Subject } from 'rxjs';

// @public
Expand Down
1 change: 1 addition & 0 deletions goldens/material/datepicker/index.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ import { OnDestroy } from '@angular/core';
import { OnInit } from '@angular/core';
import { Portal } from '@angular/cdk/portal';
import { ScrollStrategy } from '@angular/cdk/overlay';
import { Signal } from '@angular/core';
import { SimpleChanges } from '@angular/core';
import { Subject } from 'rxjs';
import { TemplatePortal } from '@angular/cdk/portal';
Expand Down
32 changes: 18 additions & 14 deletions goldens/material/form-field/index.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { AfterContentInit } from '@angular/core';
import { AfterViewInit } from '@angular/core';
import { BooleanInput } from '@angular/cdk/coercion';
import { ElementRef } from '@angular/core';
import { Field } from '@angular/forms/signals';
import * as i0 from '@angular/core';
import * as i1 from '@angular/cdk/observers';
import * as i2 from '@angular/cdk/bidi';
Expand All @@ -18,6 +19,7 @@ import { NgControl } from '@angular/forms';
import { Observable } from 'rxjs';
import { OnDestroy } from '@angular/core';
import { QueryList } from '@angular/core';
import { Signal } from '@angular/core';

// @public
export type FloatLabelType = 'always' | 'auto';
Expand Down Expand Up @@ -79,11 +81,11 @@ export class MatFormField implements FloatingLabelParent, AfterContentInit, Afte
// (undocumented)
_formFieldControl: MatFormFieldControl_2<any>;
getConnectedOverlayOrigin(): ElementRef;
getLabelId: i0.Signal<string | null>;
getLabelId: Signal<string | null>;
_getSubscriptMessageType(): 'error' | 'hint';
_handleLabelResized(): void;
// (undocumented)
_hasFloatingLabel: i0.Signal<boolean>;
_hasFloatingLabel: Signal<boolean>;
// (undocumented)
_hasIconPrefix: boolean;
// (undocumented)
Expand Down Expand Up @@ -124,7 +126,7 @@ export class MatFormField implements FloatingLabelParent, AfterContentInit, Afte
_prefixChildren: QueryList<MatPrefix>;
_refreshOutlineNotchWidth(): void;
_shouldAlwaysFloat(): boolean;
_shouldForward(prop: keyof AbstractControlDirective): boolean;
_shouldForward(prop: 'valid' | 'dirty' | 'touched' | 'pending' | 'untouched' | 'pristine' | 'invalid'): boolean;
// (undocumented)
_shouldLabelFloat(): boolean;
get subscriptSizing(): SubscriptSizing;
Expand All @@ -138,6 +140,8 @@ export class MatFormField implements FloatingLabelParent, AfterContentInit, Afte
// (undocumented)
_textSuffixContainer: ElementRef<HTMLElement>;
// (undocumented)
protected _unwrapMaybeSignal<T>(value: T | Signal<T>): T;
// (undocumented)
static ɵcmp: i0.ɵɵComponentDeclaration<MatFormField, "mat-form-field", ["matFormField"], { "hideRequiredMarker": { "alias": "hideRequiredMarker"; "required": false; }; "color": { "alias": "color"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "subscriptSizing": { "alias": "subscriptSizing"; "required": false; }; "hintLabel": { "alias": "hintLabel"; "required": false; }; }, {}, ["_labelChild", "_formFieldControl", "_prefixChildren", "_suffixChildren", "_errorChildren", "_hintChildren"], ["mat-label", "[matPrefix], [matIconPrefix]", "[matTextPrefix]", "*", "[matTextSuffix]", "[matSuffix], [matIconSuffix]", "mat-error, [matError]", "mat-hint:not([align='end'])", "mat-hint[align='end']"], true, never>;
// (undocumented)
static ɵfac: i0.ɵɵFactoryDeclaration<MatFormField, never>;
Expand All @@ -148,24 +152,24 @@ export type MatFormFieldAppearance = 'fill' | 'outline';

// @public
export abstract class MatFormFieldControl<T> {
readonly autofilled?: boolean;
readonly autofilled?: boolean | Signal<boolean>;
readonly controlType?: string;
readonly describedByIds?: string[];
readonly disableAutomaticLabeling?: boolean;
readonly disabled: boolean;
readonly empty: boolean;
readonly errorState: boolean;
readonly focused: boolean;
readonly disabled: boolean | Signal<boolean>;
readonly empty: boolean | Signal<boolean>;
readonly errorState: boolean | Signal<boolean>;
readonly focused: boolean | Signal<boolean>;
readonly id: string;
readonly ngControl: NgControl | AbstractControlDirective | null;
readonly ngField?: Field<T> | null;
abstract onContainerClick(event: MouseEvent): void;
readonly placeholder: string;
readonly required: boolean;
readonly required: boolean | Signal<boolean>;
abstract setDescribedByIds(ids: string[]): void;
readonly shouldLabelFloat: boolean;
readonly stateChanges: Observable<void>;
readonly userAriaDescribedBy?: string;
value: T | null;
readonly shouldLabelFloat: boolean | Signal<boolean>;
readonly stateChanges?: Observable<void> | null;
readonly userAriaDescribedBy?: string | Signal<string>;
value?: any;
// (undocumented)
static ɵdir: i0.ɵɵDirectiveDeclaration<MatFormFieldControl<any>, never, never, {}, {}, never, never, true, never>;
// (undocumented)
Expand Down
9 changes: 6 additions & 3 deletions goldens/material/input/index.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import { OnChanges } from '@angular/core';
import { OnDestroy } from '@angular/core';
import { Platform } from '@angular/cdk/platform';
import { QueryList } from '@angular/core';
import { Signal } from '@angular/core';
import { Subject } from 'rxjs';
import { WritableSignal } from '@angular/core';

Expand Down Expand Up @@ -73,11 +74,11 @@ export class MatFormField implements FloatingLabelParent, AfterContentInit, Afte
// (undocumented)
_formFieldControl: MatFormFieldControl<any>;
getConnectedOverlayOrigin(): ElementRef;
getLabelId: i0.Signal<string | null>;
getLabelId: Signal<string | null>;
_getSubscriptMessageType(): 'error' | 'hint';
_handleLabelResized(): void;
// (undocumented)
_hasFloatingLabel: i0.Signal<boolean>;
_hasFloatingLabel: Signal<boolean>;
// (undocumented)
_hasIconPrefix: boolean;
// (undocumented)
Expand Down Expand Up @@ -118,7 +119,7 @@ export class MatFormField implements FloatingLabelParent, AfterContentInit, Afte
_prefixChildren: QueryList<MatPrefix>;
_refreshOutlineNotchWidth(): void;
_shouldAlwaysFloat(): boolean;
_shouldForward(prop: keyof AbstractControlDirective): boolean;
_shouldForward(prop: 'valid' | 'dirty' | 'touched' | 'pending' | 'untouched' | 'pristine' | 'invalid'): boolean;
// (undocumented)
_shouldLabelFloat(): boolean;
get subscriptSizing(): SubscriptSizing;
Expand All @@ -132,6 +133,8 @@ export class MatFormField implements FloatingLabelParent, AfterContentInit, Afte
// (undocumented)
_textSuffixContainer: ElementRef<HTMLElement>;
// (undocumented)
protected _unwrapMaybeSignal<T>(value: T | Signal<T>): T;
// (undocumented)
static ɵcmp: i0.ɵɵComponentDeclaration<MatFormField, "mat-form-field", ["matFormField"], { "hideRequiredMarker": { "alias": "hideRequiredMarker"; "required": false; }; "color": { "alias": "color"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "subscriptSizing": { "alias": "subscriptSizing"; "required": false; }; "hintLabel": { "alias": "hintLabel"; "required": false; }; }, {}, ["_labelChild", "_formFieldControl", "_prefixChildren", "_suffixChildren", "_errorChildren", "_hintChildren"], ["mat-label", "[matPrefix], [matIconPrefix]", "[matTextPrefix]", "*", "[matTextSuffix]", "[matSuffix], [matIconSuffix]", "mat-error, [matError]", "mat-hint:not([align='end'])", "mat-hint[align='end']"], true, never>;
// (undocumented)
static ɵfac: i0.ɵɵFactoryDeclaration<MatFormField, never>;
Expand Down
1 change: 1 addition & 0 deletions goldens/material/paginator/index.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ import { OverlayRef } from '@angular/cdk/overlay';
import { QueryList } from '@angular/core';
import { ScrollStrategy } from '@angular/cdk/overlay';
import { SelectionModel } from '@angular/cdk/collections';
import { Signal } from '@angular/core';
import { SimpleChanges } from '@angular/core';
import { Subject } from 'rxjs';
import { ViewportRuler } from '@angular/cdk/scrolling';
Expand Down
9 changes: 6 additions & 3 deletions goldens/material/select/index.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ import { OnInit } from '@angular/core';
import { QueryList } from '@angular/core';
import { ScrollStrategy } from '@angular/cdk/overlay';
import { SelectionModel } from '@angular/cdk/collections';
import { Signal } from '@angular/core';
import { SimpleChanges } from '@angular/core';
import { Subject } from 'rxjs';
import { ViewportRuler } from '@angular/cdk/scrolling';
Expand Down Expand Up @@ -86,11 +87,11 @@ export class MatFormField implements FloatingLabelParent, AfterContentInit, Afte
// (undocumented)
_formFieldControl: MatFormFieldControl<any>;
getConnectedOverlayOrigin(): ElementRef;
getLabelId: i0.Signal<string | null>;
getLabelId: Signal<string | null>;
_getSubscriptMessageType(): 'error' | 'hint';
_handleLabelResized(): void;
// (undocumented)
_hasFloatingLabel: i0.Signal<boolean>;
_hasFloatingLabel: Signal<boolean>;
// (undocumented)
_hasIconPrefix: boolean;
// (undocumented)
Expand Down Expand Up @@ -131,7 +132,7 @@ export class MatFormField implements FloatingLabelParent, AfterContentInit, Afte
_prefixChildren: QueryList<MatPrefix>;
_refreshOutlineNotchWidth(): void;
_shouldAlwaysFloat(): boolean;
_shouldForward(prop: keyof AbstractControlDirective): boolean;
_shouldForward(prop: 'valid' | 'dirty' | 'touched' | 'pending' | 'untouched' | 'pristine' | 'invalid'): boolean;
// (undocumented)
_shouldLabelFloat(): boolean;
get subscriptSizing(): SubscriptSizing;
Expand All @@ -145,6 +146,8 @@ export class MatFormField implements FloatingLabelParent, AfterContentInit, Afte
// (undocumented)
_textSuffixContainer: ElementRef<HTMLElement>;
// (undocumented)
protected _unwrapMaybeSignal<T>(value: T | Signal<T>): T;
// (undocumented)
static ɵcmp: i0.ɵɵComponentDeclaration<MatFormField, "mat-form-field", ["matFormField"], { "hideRequiredMarker": { "alias": "hideRequiredMarker"; "required": false; }; "color": { "alias": "color"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "subscriptSizing": { "alias": "subscriptSizing"; "required": false; }; "hintLabel": { "alias": "hintLabel"; "required": false; }; }, {}, ["_labelChild", "_formFieldControl", "_prefixChildren", "_suffixChildren", "_errorChildren", "_hintChildren"], ["mat-label", "[matPrefix], [matIconPrefix]", "[matTextPrefix]", "*", "[matTextSuffix]", "[matSuffix], [matIconSuffix]", "mat-error, [matError]", "mat-hint:not([align='end'])", "mat-hint[align='end']"], true, never>;
// (undocumented)
static ɵfac: i0.ɵɵFactoryDeclaration<MatFormField, never>;
Expand Down
Loading
Loading