Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
6caf318
fix(cdk/a11y): remove deprecated factory functions
crisbeto Sep 1, 2025
b776df9
fix(material/autocomplete): remove deprecated factory functions
crisbeto Sep 1, 2025
7a32ac2
fix(material/button): remove deprecated factory functions
crisbeto Sep 1, 2025
aca7a2c
fix(material/button-toggle): remove deprecated factory functions
crisbeto Sep 1, 2025
fc011ec
fix(material/checkbox): remove deprecated factory functions
crisbeto Sep 1, 2025
11c6e8c
fix(material/core): remove deprecated factory functions
crisbeto Sep 1, 2025
45e1bfb
fix(material/datepicker): remove deprecated factory functions
crisbeto Sep 1, 2025
11eff43
fix(material/icon): remove deprecated factory functions
crisbeto Sep 1, 2025
fb1f0ab
fix(material/menu): remove deprecated factory functions
crisbeto Sep 1, 2025
95a7dfd
fix(material/paginator): remove deprecated factory functions
crisbeto Sep 1, 2025
a1844c4
fix(material/progress-bar): remove deprecated factory functions
crisbeto Sep 1, 2025
e1946df
fix(material/progress-spinner): remove deprecated factory functions
crisbeto Sep 1, 2025
c01d31f
fix(material/radio): remove deprecated factory functions
crisbeto Sep 1, 2025
75327e7
fix(material/select): remove deprecated factory functions
crisbeto Sep 1, 2025
e361978
fix(material/sidenav): remove deprecated factory functions
crisbeto Sep 1, 2025
22b0731
fix(material/snack-bar): remove deprecated factory functions
crisbeto Sep 1, 2025
d65fc84
fix(material/sort): remove deprecated factory functions
crisbeto Sep 1, 2025
b9c8494
fix(material/stepper): remove deprecated factory functions
crisbeto Sep 1, 2025
aca5085
fix(material/tabs): remove deprecated factory functions
crisbeto Sep 1, 2025
6819169
fix(material/tooltip): remove deprecated factory functions
crisbeto Sep 1, 2025
40dd741
fix(material-luxon-adapter): remove deprecated factory functions
crisbeto Sep 1, 2025
b991a7f
fix(material-moment-adapter): remove deprecated factory functions
crisbeto Sep 1, 2025
b15f3be
refactor(cdk/bidi): remove unnecessary factory
crisbeto Sep 1, 2025
10313d3
refactor(cdk/overlay): remove unnecessary providers
crisbeto Sep 1, 2025
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
15 changes: 0 additions & 15 deletions goldens/cdk/a11y/index.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -401,9 +401,6 @@ export const LIVE_ANNOUNCER_DEFAULT_OPTIONS: InjectionToken<LiveAnnouncerDefault
// @public (undocumented)
export const LIVE_ANNOUNCER_ELEMENT_TOKEN: InjectionToken<HTMLElement | null>;

// @public @deprecated
export function LIVE_ANNOUNCER_ELEMENT_TOKEN_FACTORY(): null;

// @public (undocumented)
export class LiveAnnouncer implements OnDestroy {
constructor(...args: unknown[]);
Expand All @@ -429,9 +426,6 @@ export interface LiveAnnouncerDefaultOptions {
// @public @deprecated
export const MESSAGES_CONTAINER_ID = "cdk-describedby-message-container";

// @public @deprecated
export function NOOP_TREE_KEY_MANAGER_FACTORY<T extends TreeKeyManagerItem>(): TreeKeyManagerFactory<T>;

// @public @deprecated
export const NOOP_TREE_KEY_MANAGER_FACTORY_PROVIDER: Provider;

Expand Down Expand Up @@ -465,15 +459,6 @@ export function removeAriaReferencedId(el: Element, attr: `aria-${string}`, id:
// @public
export const TREE_KEY_MANAGER: InjectionToken<TreeKeyManagerFactory<any>>;

// @public @deprecated
export function TREE_KEY_MANAGER_FACTORY<T extends TreeKeyManagerItem>(): TreeKeyManagerFactory<T>;

// @public @deprecated
export const TREE_KEY_MANAGER_FACTORY_PROVIDER: {
provide: InjectionToken<TreeKeyManagerFactory<any>>;
useFactory: typeof TREE_KEY_MANAGER_FACTORY;
};

// @public
export class TreeKeyManager<T extends TreeKeyManagerItem> implements TreeKeyManagerStrategy<T> {
constructor(items: Observable<T[]> | QueryList<T> | T[], config: TreeKeyManagerOptions<T>);
Expand Down
13 changes: 0 additions & 13 deletions goldens/material/autocomplete/index.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,22 +35,9 @@ export function getMatAutocompleteMissingPanelError(): Error;
// @public
export const MAT_AUTOCOMPLETE_DEFAULT_OPTIONS: InjectionToken<MatAutocompleteDefaultOptions>;

// @public @deprecated
export function MAT_AUTOCOMPLETE_DEFAULT_OPTIONS_FACTORY(): MatAutocompleteDefaultOptions;

// @public
export const MAT_AUTOCOMPLETE_SCROLL_STRATEGY: InjectionToken<() => ScrollStrategy>;

// @public @deprecated
export function MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY(_overlay: unknown): () => ScrollStrategy;

// @public @deprecated
export const MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER: {
provide: InjectionToken<() => ScrollStrategy>;
deps: any[];
useFactory: typeof MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY;
};

// @public
export const MAT_AUTOCOMPLETE_VALUE_ACCESSOR: any;

Expand Down
3 changes: 0 additions & 3 deletions goldens/material/button-toggle/index.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ export const MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS: InjectionToken<MatButtonToggleDe
// @public
export const MAT_BUTTON_TOGGLE_GROUP: InjectionToken<MatButtonToggleGroup>;

// @public @deprecated
export function MAT_BUTTON_TOGGLE_GROUP_DEFAULT_OPTIONS_FACTORY(): MatButtonToggleDefaultOptions;

// @public
export const MAT_BUTTON_TOGGLE_GROUP_VALUE_ACCESSOR: any;

Expand Down
3 changes: 0 additions & 3 deletions goldens/material/button/index.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ export const MAT_BUTTON_CONFIG: InjectionToken<MatButtonConfig>;
// @public
export const MAT_FAB_DEFAULT_OPTIONS: InjectionToken<MatFabDefaultOptions>;

// @public @deprecated
export function MAT_FAB_DEFAULT_OPTIONS_FACTORY(): MatFabDefaultOptions;

// @public
export const MatAnchor: typeof MatButton;

Expand Down
3 changes: 0 additions & 3 deletions goldens/material/checkbox/index.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ import { Validator } from '@angular/forms';
// @public
export const MAT_CHECKBOX_DEFAULT_OPTIONS: InjectionToken<MatCheckboxDefaultOptions>;

// @public @deprecated
export function MAT_CHECKBOX_DEFAULT_OPTIONS_FACTORY(): MatCheckboxDefaultOptions;

// @public (undocumented)
export class MatCheckbox implements AfterViewInit, OnChanges, ControlValueAccessor, Validator, FocusableOption {
constructor(...args: unknown[]);
Expand Down
3 changes: 0 additions & 3 deletions goldens/material/core/index.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,6 @@ export const MAT_DATE_FORMATS: InjectionToken<MatDateFormats>;
// @public
export const MAT_DATE_LOCALE: InjectionToken<{}>;

// @public @deprecated
export function MAT_DATE_LOCALE_FACTORY(): {};

// @public (undocumented)
export const MAT_NATIVE_DATE_FORMATS: MatDateFormats;

Expand Down
23 changes: 0 additions & 23 deletions goldens/material/datepicker/index.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import { Directionality } from '@angular/cdk/bidi';
import { DoCheck } from '@angular/core';
import { ElementRef } from '@angular/core';
import { EventEmitter } from '@angular/core';
import { FactoryProvider } from '@angular/core';
import { FocusOrigin } from '@angular/cdk/a11y';
import { FormGroupDirective } from '@angular/forms';
import * as i0 from '@angular/core';
Expand Down Expand Up @@ -92,34 +91,12 @@ export const MAT_DATE_RANGE_SELECTION_STRATEGY: InjectionToken<MatDateRangeSelec
// @public
export const MAT_DATEPICKER_SCROLL_STRATEGY: InjectionToken<() => ScrollStrategy>;

// @public @deprecated
export function MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY(_overlay: unknown): () => ScrollStrategy;

// @public @deprecated
export const MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER: {
provide: InjectionToken<() => ScrollStrategy>;
deps: any[];
useFactory: typeof MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY;
};

// @public
export const MAT_DATEPICKER_VALIDATORS: any;

// @public
export const MAT_DATEPICKER_VALUE_ACCESSOR: any;

// @public @deprecated
export function MAT_RANGE_DATE_SELECTION_MODEL_FACTORY(parent: MatSingleDateSelectionModel<unknown>, adapter: DateAdapter<unknown>): MatSingleDateSelectionModel<unknown>;

// @public @deprecated
export const MAT_RANGE_DATE_SELECTION_MODEL_PROVIDER: FactoryProvider;

// @public @deprecated
export function MAT_SINGLE_DATE_SELECTION_MODEL_FACTORY(parent: MatSingleDateSelectionModel<unknown>, adapter: DateAdapter<unknown>): MatSingleDateSelectionModel<unknown>;

// @public @deprecated
export const MAT_SINGLE_DATE_SELECTION_MODEL_PROVIDER: FactoryProvider;

// @public
export class MatCalendar<D> implements AfterContentInit, AfterViewChecked, OnDestroy, OnChanges {
constructor(...args: unknown[]);
Expand Down
14 changes: 0 additions & 14 deletions goldens/material/icon/index.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import { InjectionToken } from '@angular/core';
import { Observable } from 'rxjs';
import { OnDestroy } from '@angular/core';
import { OnInit } from '@angular/core';
import { Optional } from '@angular/core';
import { SafeHtml } from '@angular/platform-browser';
import { SafeResourceUrl } from '@angular/platform-browser';

Expand All @@ -31,16 +30,6 @@ export function getMatIconNameNotFoundError(iconName: string): Error;
// @public
export function getMatIconNoHttpProviderError(): Error;

// @public @deprecated
export const ICON_REGISTRY_PROVIDER: {
provide: typeof MatIconRegistry;
deps: (Optional[] | typeof DomSanitizer | typeof ErrorHandler)[];
useFactory: typeof ICON_REGISTRY_PROVIDER_FACTORY;
};

// @public @deprecated
export function ICON_REGISTRY_PROVIDER_FACTORY(parentRegistry: MatIconRegistry, httpClient: HttpClient, sanitizer: DomSanitizer, errorHandler: ErrorHandler, document?: any): MatIconRegistry;

// @public
export interface IconOptions {
viewBox?: string;
Expand All @@ -56,9 +45,6 @@ export const MAT_ICON_DEFAULT_OPTIONS: InjectionToken<MatIconDefaultOptions>;
// @public
export const MAT_ICON_LOCATION: InjectionToken<MatIconLocation>;

// @public @deprecated
export function MAT_ICON_LOCATION_FACTORY(): MatIconLocation;

// @public
export class MatIcon implements OnInit, AfterViewChecked, OnDestroy {
constructor(...args: unknown[]);
Expand Down
7 changes: 0 additions & 7 deletions goldens/material/menu/index.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,6 @@ export const MAT_MENU_PANEL: InjectionToken<MatMenuPanel<any>>;
// @public
export const MAT_MENU_SCROLL_STRATEGY: InjectionToken<() => ScrollStrategy>;

// @public @deprecated
export const MAT_MENU_SCROLL_STRATEGY_FACTORY_PROVIDER: {
provide: InjectionToken<() => ScrollStrategy>;
deps: any[];
useFactory: typeof MAT_MENU_SCROLL_STRATEGY_FACTORY;
};

// @public
export class MatContextMenuTrigger extends MatMenuTriggerBase implements OnDestroy {
constructor();
Expand Down
11 changes: 0 additions & 11 deletions goldens/material/paginator/index.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ import { Observable } from 'rxjs';
import { OnChanges } from '@angular/core';
import { OnDestroy } from '@angular/core';
import { OnInit } from '@angular/core';
import { Optional } from '@angular/core';
import { OriginConnectionPosition } from '@angular/cdk/overlay';
import { OverlayConnectionPosition } from '@angular/cdk/overlay';
import { OverlayRef } from '@angular/cdk/overlay';
Expand All @@ -53,16 +52,6 @@ import { ViewportRuler } from '@angular/cdk/scrolling';
// @public
export const MAT_PAGINATOR_DEFAULT_OPTIONS: InjectionToken<MatPaginatorDefaultOptions>;

// @public @deprecated
export const MAT_PAGINATOR_INTL_PROVIDER: {
provide: typeof MatPaginatorIntl;
deps: Optional[][];
useFactory: typeof MAT_PAGINATOR_INTL_PROVIDER_FACTORY;
};

// @public @deprecated
export function MAT_PAGINATOR_INTL_PROVIDER_FACTORY(parentIntl: MatPaginatorIntl): MatPaginatorIntl;

// @public
export class MatPaginator implements OnInit, OnDestroy {
constructor(...args: unknown[]);
Expand Down
3 changes: 0 additions & 3 deletions goldens/material/progress-bar/index.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ export const MAT_PROGRESS_BAR_DEFAULT_OPTIONS: InjectionToken<MatProgressBarDefa
// @public
export const MAT_PROGRESS_BAR_LOCATION: InjectionToken<MatProgressBarLocation>;

// @public @deprecated
export function MAT_PROGRESS_BAR_LOCATION_FACTORY(): MatProgressBarLocation;

// @public (undocumented)
export class MatProgressBar implements AfterViewInit, OnDestroy {
constructor(...args: unknown[]);
Expand Down
3 changes: 0 additions & 3 deletions goldens/material/progress-spinner/index.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ import { InjectionToken } from '@angular/core';
// @public
export const MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS: InjectionToken<MatProgressSpinnerDefaultOptions>;

// @public @deprecated
export function MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS_FACTORY(): MatProgressSpinnerDefaultOptions;

// @public (undocumented)
export class MatProgressSpinner {
constructor(...args: unknown[]);
Expand Down
3 changes: 0 additions & 3 deletions goldens/material/radio/index.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ import { QueryList } from '@angular/core';
// @public (undocumented)
export const MAT_RADIO_DEFAULT_OPTIONS: InjectionToken<MatRadioDefaultOptions>;

// @public @deprecated
export function MAT_RADIO_DEFAULT_OPTIONS_FACTORY(): MatRadioDefaultOptions;

// @public
export const MAT_RADIO_GROUP: InjectionToken<MatRadioGroup>;

Expand Down
10 changes: 0 additions & 10 deletions goldens/material/select/index.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,6 @@ export const MAT_SELECT_CONFIG: InjectionToken<MatSelectConfig>;
// @public
export const MAT_SELECT_SCROLL_STRATEGY: InjectionToken<() => ScrollStrategy>;

// @public @deprecated
export const MAT_SELECT_SCROLL_STRATEGY_PROVIDER: {
provide: InjectionToken<() => ScrollStrategy>;
deps: any[];
useFactory: typeof MAT_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY;
};

// @public @deprecated
export function MAT_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY(_overlay: unknown): () => ScrollStrategy;

// @public
export const MAT_SELECT_TRIGGER: InjectionToken<MatSelectTrigger>;

Expand Down
3 changes: 0 additions & 3 deletions goldens/material/sidenav/index.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ import { Subject } from 'rxjs';
// @public
export const MAT_DRAWER_DEFAULT_AUTOSIZE: InjectionToken<boolean>;

// @public @deprecated
export function MAT_DRAWER_DEFAULT_AUTOSIZE_FACTORY(): boolean;

// @public
export class MatDrawer implements AfterViewInit, OnDestroy {
constructor(...args: unknown[]);
Expand Down
3 changes: 0 additions & 3 deletions goldens/material/snack-bar/index.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ export const MAT_SNACK_BAR_DATA: InjectionToken<any>;
// @public
export const MAT_SNACK_BAR_DEFAULT_OPTIONS: InjectionToken<MatSnackBarConfig<any>>;

// @public @deprecated
export function MAT_SNACK_BAR_DEFAULT_OPTIONS_FACTORY(): MatSnackBarConfig;

// @public
export class MatSnackBar implements OnDestroy {
constructor(...args: unknown[]);
Expand Down
11 changes: 0 additions & 11 deletions goldens/material/sort/index.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import { Observable } from 'rxjs';
import { OnChanges } from '@angular/core';
import { OnDestroy } from '@angular/core';
import { OnInit } from '@angular/core';
import { Optional } from '@angular/core';
import { Subject } from 'rxjs';

// @public @deprecated
Expand All @@ -30,16 +29,6 @@ export interface ArrowViewStateTransition {
// @public
export const MAT_SORT_DEFAULT_OPTIONS: InjectionToken<MatSortDefaultOptions>;

// @public @deprecated
export const MAT_SORT_HEADER_INTL_PROVIDER: {
provide: typeof MatSortHeaderIntl;
deps: Optional[][];
useFactory: typeof MAT_SORT_HEADER_INTL_PROVIDER_FACTORY;
};

// @public @deprecated
export function MAT_SORT_HEADER_INTL_PROVIDER_FACTORY(parentIntl: MatSortHeaderIntl): MatSortHeaderIntl;

// @public
export class MatSort implements OnChanges, OnDestroy, OnInit {
constructor(_defaultOptions?: MatSortDefaultOptions | undefined);
Expand Down
11 changes: 0 additions & 11 deletions goldens/material/stepper/index.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,24 +25,13 @@ import * as i3 from '@angular/cdk/portal';
import { NgForm } from '@angular/forms';
import { OnDestroy } from '@angular/core';
import { OnInit } from '@angular/core';
import { Optional } from '@angular/core';
import { QueryList } from '@angular/core';
import { StepperOrientation } from '@angular/cdk/stepper';
import { StepState } from '@angular/cdk/stepper';
import { Subject } from 'rxjs';
import { TemplatePortal } from '@angular/cdk/portal';
import { TemplateRef } from '@angular/core';

// @public @deprecated
export const MAT_STEPPER_INTL_PROVIDER: {
provide: typeof MatStepperIntl;
deps: Optional[][];
useFactory: typeof MAT_STEPPER_INTL_PROVIDER_FACTORY;
};

// @public @deprecated
export function MAT_STEPPER_INTL_PROVIDER_FACTORY(parentIntl: MatStepperIntl): MatStepperIntl;

// @public (undocumented)
export class MatStep extends CdkStep implements ErrorStateMatcher, AfterContentInit, OnDestroy {
color: ThemePalette;
Expand Down
3 changes: 0 additions & 3 deletions goldens/material/tabs/index.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ import { TemplateRef } from '@angular/core';
// @public
export const _MAT_INK_BAR_POSITIONER: InjectionToken<_MatInkBarPositioner>;

// @public @deprecated
export function _MAT_INK_BAR_POSITIONER_FACTORY(): _MatInkBarPositioner;

// @public
export const MAT_TAB: InjectionToken<any>;

Expand Down
13 changes: 0 additions & 13 deletions goldens/material/tooltip/index.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,9 @@ export function getMatTooltipInvalidPositionError(position: string): Error;
// @public
export const MAT_TOOLTIP_DEFAULT_OPTIONS: InjectionToken<MatTooltipDefaultOptions>;

// @public @deprecated
export function MAT_TOOLTIP_DEFAULT_OPTIONS_FACTORY(): MatTooltipDefaultOptions;

// @public
export const MAT_TOOLTIP_SCROLL_STRATEGY: InjectionToken<() => ScrollStrategy>;

// @public @deprecated
export function MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY(_overlay: unknown): () => ScrollStrategy;

// @public @deprecated
export const MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER: {
provide: InjectionToken<() => ScrollStrategy>;
deps: any[];
useFactory: typeof MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY;
};

// @public
export class MatTooltip implements OnDestroy, AfterViewInit {
constructor(...args: unknown[]);
Expand Down
Loading
Loading