Skip to content

Commit d5e3b25

Browse files
committed
fix(cdk/overlay): update the insertionpoint type
1 parent 99b17c4 commit d5e3b25

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

goldens/cdk/overlay/index.api.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -297,8 +297,6 @@ export class FlexibleConnectedPositionStrategy implements PositionStrategy {
297297
withGrowAfterOpen(growAfterOpen?: boolean): this;
298298
withLockedPosition(isLocked?: boolean): this;
299299
withPopoverLocation(location: FlexibleOverlayPopoverLocation): this;
300-
withCustomPopoverHostElement(element: FlexibleConnectedPositionStrategyOrigin): this;
301-
withAttachPopoverAsChild(withAttachPopoverAsChild?: boolean): this;
302300
withPositions(positions: ConnectedPosition[]): this;
303301
withPush(canPush?: boolean): this;
304302
withScrollableContainers(scrollables: CdkScrollable[]): this;
@@ -313,7 +311,7 @@ export type FlexibleConnectedPositionStrategyOrigin = ElementRef | Element | (Po
313311
});
314312

315313
// @public
316-
export type FlexibleOverlayPopoverLocation = 'global' | 'inline';
314+
export type FlexibleOverlayPopoverLocation = 'global' | 'inline' | {type: 'parent', element: Element };
317315

318316
// @public
319317
export class FullscreenOverlayContainer extends OverlayContainer implements OnDestroy {

src/cdk/overlay/overlay-directives.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,6 @@ export interface CdkConnectedOverlayConfig {
129129
push?: boolean;
130130
disposeOnNavigation?: boolean;
131131
usePopover?: FlexibleOverlayPopoverLocation | null;
132-
customPopoverHostElement?: CdkOverlayOrigin | FlexibleConnectedPositionStrategyOrigin | null;
133-
attachPopoverAsChild?: boolean;
134132
matchWidth?: boolean;
135133
}
136134

0 commit comments

Comments
 (0)