mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
build: update outdated api goldens (#14854)
* build: update outdated api goldens * Fix failing drag-drop test
This commit is contained in:
committed by
vivian-hu
parent
63e6a67c36
commit
5a8dd1e9a5
@@ -606,7 +606,7 @@ describe('CdkDrag', () => {
|
||||
dragElement.style.transform = 'scale(2)';
|
||||
|
||||
dragElementViaMouse(fixture, dragElement, 50, 100);
|
||||
expect(dragElement.style.transform).toBe('scale(2) translate3d(50px, 100px, 0px)');
|
||||
expect(dragElement.style.transform).toBe('translate3d(50px, 100px, 0px) scale(2)');
|
||||
|
||||
fixture.componentInstance.dragInstance.reset();
|
||||
expect(dragElement.style.transform).toBe('scale(2)');
|
||||
|
||||
@@ -60,6 +60,12 @@ export interface MatAutocompleteDefaultOptions {
|
||||
export declare class MatAutocompleteModule {
|
||||
}
|
||||
|
||||
export declare class MatAutocompleteOrigin {
|
||||
elementRef: ElementRef<HTMLElement>;
|
||||
constructor(
|
||||
elementRef: ElementRef<HTMLElement>);
|
||||
}
|
||||
|
||||
export declare class MatAutocompleteSelectedEvent {
|
||||
option: MatOption;
|
||||
source: MatAutocomplete;
|
||||
|
||||
@@ -50,6 +50,7 @@ export declare class MatBottomSheetModule {
|
||||
|
||||
export declare class MatBottomSheetRef<T = any, R = any> {
|
||||
containerInstance: MatBottomSheetContainer;
|
||||
disableClose: boolean | undefined;
|
||||
instance: T;
|
||||
constructor(containerInstance: MatBottomSheetContainer, _overlayRef: OverlayRef, _location?: Location);
|
||||
afterDismissed(): Observable<R | undefined>;
|
||||
|
||||
+2
-2
@@ -20,14 +20,14 @@ export declare class MatChip extends _MatChipMixinBase implements FocusableOptio
|
||||
removable: boolean;
|
||||
removeIcon: MatChipRemove;
|
||||
readonly removed: EventEmitter<MatChipEvent>;
|
||||
rippleConfig: RippleConfig;
|
||||
rippleConfig: RippleConfig & RippleGlobalOptions;
|
||||
readonly rippleDisabled: boolean;
|
||||
selectable: boolean;
|
||||
selected: boolean;
|
||||
readonly selectionChange: EventEmitter<MatChipSelectionChange>;
|
||||
trailingIcon: MatChipTrailingIcon;
|
||||
value: any;
|
||||
constructor(_elementRef: ElementRef, _ngZone: NgZone, platform: Platform, globalOptions: RippleGlobalOptions);
|
||||
constructor(_elementRef: ElementRef, _ngZone: NgZone, platform: Platform, globalRippleOptions: RippleGlobalOptions | null);
|
||||
_addHostClassName(): void;
|
||||
_blur(): void;
|
||||
_handleClick(event: Event): void;
|
||||
|
||||
Vendored
+1
-1
@@ -296,7 +296,7 @@ export declare class MatRipple implements OnInit, OnDestroy, RippleTarget {
|
||||
readonly rippleDisabled: boolean;
|
||||
trigger: HTMLElement;
|
||||
unbounded: boolean;
|
||||
constructor(_elementRef: ElementRef<HTMLElement>, ngZone: NgZone, platform: Platform, globalOptions: RippleGlobalOptions, animationMode?: string);
|
||||
constructor(_elementRef: ElementRef<HTMLElement>, ngZone: NgZone, platform: Platform, globalOptions?: RippleGlobalOptions, animationMode?: string);
|
||||
fadeOutAll(): void;
|
||||
launch(config: RippleConfig): RippleRef;
|
||||
launch(x: number, y: number, config?: RippleConfig): RippleRef;
|
||||
|
||||
Vendored
+2
-2
@@ -159,9 +159,9 @@ export declare class MatTabLink extends _MatTabLinkMixinBase implements OnDestro
|
||||
protected _isActive: boolean;
|
||||
protected _tabLinkRipple: RippleRenderer;
|
||||
active: boolean;
|
||||
rippleConfig: RippleConfig;
|
||||
rippleConfig: RippleConfig & RippleGlobalOptions;
|
||||
readonly rippleDisabled: boolean;
|
||||
constructor(_tabNavBar: MatTabNav, _elementRef: ElementRef, ngZone: NgZone, platform: Platform, globalOptions: RippleGlobalOptions, tabIndex: string,
|
||||
constructor(_tabNavBar: MatTabNav, _elementRef: ElementRef, ngZone: NgZone, platform: Platform, globalRippleOptions: RippleGlobalOptions | null, tabIndex: string,
|
||||
_focusMonitor?: FocusMonitor | undefined);
|
||||
ngOnDestroy(): void;
|
||||
}
|
||||
|
||||
+2
-1
@@ -60,7 +60,7 @@ export declare const SCROLL_THROTTLE_MS = 20;
|
||||
|
||||
export declare const TOOLTIP_PANEL_CLASS = "mat-tooltip-panel";
|
||||
|
||||
export declare class TooltipComponent {
|
||||
export declare class TooltipComponent implements OnDestroy {
|
||||
_hideTimeoutId: number | null;
|
||||
_isHandset: Observable<BreakpointState>;
|
||||
_showTimeoutId: number | null;
|
||||
@@ -77,6 +77,7 @@ export declare class TooltipComponent {
|
||||
afterHidden(): Observable<void>;
|
||||
hide(delay: number): void;
|
||||
isVisible(): boolean;
|
||||
ngOnDestroy(): void;
|
||||
show(delay: number): void;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user