Skip to content

Commit a0dac05

Browse files
crisbetojelbourn
authored andcommitted
refactor: rename all OverlayState references to match the new naming
Renames all of the "state" references in the overlays to refer to a "config" instead. This makes everything consistent with the recent rename of OverlayState to OverlayConfig. BREAKING CHANGE: The `OverlayRef.getState` method has been renamed to `OverlayRef.getConfig`.
1 parent 3510064 commit a0dac05

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/lib/snack-bar/snack-bar.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@
77
*/
88

99
import {LiveAnnouncer} from '@angular/cdk/a11y';
10+
import {BreakpointObserver, Breakpoints} from '@angular/cdk/layout';
1011
import {Overlay, OverlayConfig, OverlayRef} from '@angular/cdk/overlay';
1112
import {ComponentPortal, ComponentType, PortalInjector} from '@angular/cdk/portal';
1213
import {ComponentRef, Injectable, Injector, Optional, SkipSelf} from '@angular/core';
1314
import {extendObject} from '@angular/material/core';
15+
import {first} from 'rxjs/operators/first';
16+
import {takeUntil} from 'rxjs/operators/takeUntil';
1417
import {SimpleSnackBar} from './simple-snack-bar';
1518
import {MAT_SNACK_BAR_DATA, MatSnackBarConfig} from './snack-bar-config';
1619
import {MatSnackBarContainer} from './snack-bar-container';
1720
import {MatSnackBarRef} from './snack-bar-ref';
18-
import {BreakpointObserver, Breakpoints} from '@angular/cdk/layout';
19-
import {takeUntil} from 'rxjs/operators/takeUntil';
20-
import {first} from 'rxjs/operators/first';
2121

2222

2323
/**

0 commit comments

Comments
 (0)