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
20 changes: 9 additions & 11 deletions goldens/cdk/a11y/index.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export function addAriaReferencedId(el: Element, attr: `aria-${string}`, id: str

// @public
export class AriaDescriber implements OnDestroy {
constructor(...args: unknown[]);
constructor();
describe(hostElement: Element, message: string, role?: string): void;
describe(hostElement: Element, message: HTMLElement): void;
ngOnDestroy(): void;
Expand All @@ -69,7 +69,7 @@ export const CDK_DESCRIBEDBY_ID_PREFIX = "cdk-describedby-message";

// @public
export class CdkAriaLive implements OnDestroy {
constructor(...args: unknown[]);
constructor();
duration: number;
// (undocumented)
ngOnDestroy(): void;
Expand All @@ -83,7 +83,6 @@ export class CdkAriaLive implements OnDestroy {

// @public
export class CdkMonitorFocus implements AfterViewInit, OnDestroy {
constructor(...args: unknown[]);
// (undocumented)
readonly cdkFocusChange: EventEmitter<FocusOrigin>;
// (undocumented)
Expand All @@ -100,7 +99,7 @@ export class CdkMonitorFocus implements AfterViewInit, OnDestroy {

// @public
export class CdkTrapFocus implements OnDestroy, AfterContentInit, OnChanges, DoCheck {
constructor(...args: unknown[]);
constructor();
autoCapture: boolean;
get enabled(): boolean;
set enabled(value: boolean);
Expand Down Expand Up @@ -140,7 +139,7 @@ export interface ConfigurableFocusTrapConfig {

// @public
export class ConfigurableFocusTrapFactory {
constructor(...args: unknown[]);
constructor();
create(element: HTMLElement, config?: ConfigurableFocusTrapConfig): ConfigurableFocusTrap;
// @deprecated (undocumented)
create(element: HTMLElement, deferCaptureElements: boolean): ConfigurableFocusTrap;
Expand Down Expand Up @@ -177,7 +176,7 @@ export class FocusKeyManager<T> extends ListKeyManager<FocusableOption & T> {

// @public
export class FocusMonitor implements OnDestroy {
constructor(...args: unknown[]);
constructor();
protected _document: Document;
focusVia(element: HTMLElement, origin: FocusOrigin, options?: FocusOptions_2): void;
focusVia(element: ElementRef<HTMLElement>, origin: FocusOrigin, options?: FocusOptions_2): void;
Expand Down Expand Up @@ -248,7 +247,7 @@ export class FocusTrap {

// @public
export class FocusTrapFactory {
constructor(...args: unknown[]);
constructor();
create(element: HTMLElement, deferCaptureElements?: boolean): FocusTrap;
// (undocumented)
static ɵfac: i0.ɵɵFactoryDeclaration<FocusTrapFactory, never>;
Expand Down Expand Up @@ -277,7 +276,7 @@ export enum HighContrastMode {

// @public
export class HighContrastModeDetector implements OnDestroy {
constructor(...args: unknown[]);
constructor();
_applyBodyHighContrastModeCssClasses(): void;
getHighContrastMode(): HighContrastMode;
// (undocumented)
Expand Down Expand Up @@ -314,7 +313,7 @@ export type InputModality = 'keyboard' | 'mouse' | 'touch' | null;

// @public
export class InputModalityDetector implements OnDestroy {
constructor(...args: unknown[]);
constructor();
readonly modalityChanged: Observable<InputModality>;
readonly modalityDetected: Observable<InputModality>;
get mostRecentModality(): InputModality;
Expand All @@ -334,7 +333,6 @@ export interface InputModalityDetectorOptions {

// @public
export class InteractivityChecker {
constructor(...args: unknown[]);
isDisabled(element: HTMLElement): boolean;
isFocusable(element: HTMLElement, config?: IsFocusableConfig): boolean;
isTabbable(element: HTMLElement): boolean;
Expand Down Expand Up @@ -404,7 +402,7 @@ export const LIVE_ANNOUNCER_ELEMENT_TOKEN: InjectionToken<HTMLElement | null>;

// @public (undocumented)
export class LiveAnnouncer implements OnDestroy {
constructor(...args: unknown[]);
constructor();
announce(message: LiveAnnouncerMessage): Promise<void>;
announce(message: LiveAnnouncerMessage, politeness?: AriaLivePoliteness): Promise<void>;
announce(message: LiveAnnouncerMessage, duration?: number): Promise<void>;
Expand Down
1 change: 0 additions & 1 deletion goldens/cdk/accordion/index.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ export class CdkAccordion implements OnDestroy, OnChanges {

// @public
export class CdkAccordionItem implements OnInit, OnDestroy {
constructor(...args: unknown[]);
// (undocumented)
accordion: CdkAccordion;
close(): void;
Expand Down
2 changes: 1 addition & 1 deletion goldens/cdk/bidi/index.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export type Direction = 'ltr' | 'rtl';

// @public
export class Directionality implements OnDestroy {
constructor(...args: unknown[]);
constructor();
readonly change: EventEmitter<Direction>;
// (undocumented)
ngOnDestroy(): void;
Expand Down
3 changes: 1 addition & 2 deletions goldens/cdk/clipboard/index.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const CDK_COPY_TO_CLIPBOARD_CONFIG: InjectionToken<CdkCopyToClipboardConf

// @public
export class CdkCopyToClipboard implements OnDestroy {
constructor(...args: unknown[]);
constructor();
attempts: number;
readonly copied: EventEmitter<boolean>;
copy(attempts?: number): void;
Expand All @@ -34,7 +34,6 @@ export interface CdkCopyToClipboardConfig {

// @public
class Clipboard_2 {
constructor(...args: unknown[]);
beginCopy(text: string): PendingCopy;
copy(text: string): boolean;
// (undocumented)
Expand Down
3 changes: 1 addition & 2 deletions goldens/cdk/dialog/index.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export type AutoFocusTarget = 'dialog' | 'first-tabbable' | 'first-heading';

// @public
export class CdkDialogContainer<C extends DialogConfig = DialogConfig> extends BasePortalOutlet implements DialogContainer, OnDestroy {
constructor(...args: unknown[]);
constructor();
// (undocumented)
_addAriaLabelledBy(id: string): void;
_ariaLabelledByQueue: string[];
Expand Down Expand Up @@ -84,7 +84,6 @@ export const DEFAULT_DIALOG_CONFIG: InjectionToken<DialogConfig<unknown, unknown

// @public (undocumented)
export class Dialog implements OnDestroy {
constructor(...args: unknown[]);
readonly afterAllClosed: Observable<void>;
get afterOpened(): Subject<DialogRef<any, any>>;
closeAll(): void;
Expand Down
12 changes: 5 additions & 7 deletions goldens/cdk/drag-drop/index.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const CDK_DROP_LIST_GROUP: InjectionToken<CdkDropListGroup<CdkDropList<an

// @public
export class CdkDrag<T = any> implements AfterViewInit, OnChanges, OnDestroy {
constructor(...args: unknown[]);
constructor();
// (undocumented)
_addHandle(handle: CdkDragHandle): void;
boundaryElement: string | ElementRef<HTMLElement> | HTMLElement;
Expand Down Expand Up @@ -152,7 +152,7 @@ export interface CdkDragExit<T = any, I = T> {

// @public
export class CdkDragHandle implements AfterViewInit, OnDestroy {
constructor(...args: unknown[]);
constructor();
get disabled(): boolean;
set disabled(value: boolean);
// (undocumented)
Expand Down Expand Up @@ -190,7 +190,7 @@ export interface CdkDragMove<T = any> {

// @public
export class CdkDragPlaceholder<T = any> implements OnDestroy {
constructor(...args: unknown[]);
constructor();
data: T;
// (undocumented)
ngOnDestroy(): void;
Expand All @@ -204,7 +204,7 @@ export class CdkDragPlaceholder<T = any> implements OnDestroy {

// @public
export class CdkDragPreview<T = any> implements OnDestroy {
constructor(...args: unknown[]);
constructor();
data: T;
matchSize: boolean;
// (undocumented)
Expand Down Expand Up @@ -241,7 +241,7 @@ export interface CdkDragStart<T = any> {

// @public
export class CdkDropList<T = any> implements OnDestroy {
constructor(...args: unknown[]);
constructor();
addItem(item: CdkDrag): void;
autoScrollDisabled: boolean;
autoScrollStep: NumberInput;
Expand Down Expand Up @@ -313,7 +313,6 @@ export type DragConstrainPosition = (userPointerPosition: Point, dragRef: DragRe

// @public @deprecated
export class DragDrop {
constructor(...args: unknown[]);
// @deprecated
createDrag<T = any>(element: ElementRef<HTMLElement> | HTMLElement, config?: DragRefConfig): DragRef<T>;
// @deprecated
Expand Down Expand Up @@ -364,7 +363,6 @@ export class DragDropModule {

// @public
export class DragDropRegistry implements OnDestroy {
constructor(...args: unknown[]);
getDragDirectiveForNode(node: Node): CdkDrag | null;
isDragging(drag: DragRef): boolean;
// (undocumented)
Expand Down
3 changes: 1 addition & 2 deletions goldens/cdk/layout/index.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import { OnDestroy } from '@angular/core';

// @public
export class BreakpointObserver implements OnDestroy {
constructor(...args: unknown[]);
isMatched(value: string | readonly string[]): boolean;
ngOnDestroy(): void;
observe(value: string | readonly string[]): Observable<BreakpointState>;
Expand Down Expand Up @@ -58,7 +57,7 @@ export class LayoutModule {

// @public
export class MediaMatcher {
constructor(...args: unknown[]);
constructor();
matchMedia(query: string): MediaQueryList;
// (undocumented)
static ɵfac: i0.ɵɵFactoryDeclaration<MediaMatcher, never>;
Expand Down
2 changes: 0 additions & 2 deletions goldens/cdk/observers/index.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import { OnDestroy } from '@angular/core';

// @public
export class CdkObserveContent implements AfterContentInit, OnDestroy {
constructor(...args: unknown[]);
get debounce(): number;
set debounce(value: NumberInput);
get disabled(): boolean;
Expand All @@ -33,7 +32,6 @@ export class CdkObserveContent implements AfterContentInit, OnDestroy {

// @public
export class ContentObserver implements OnDestroy {
constructor(...args: unknown[]);
// (undocumented)
ngOnDestroy(): void;
observe(element: Element): Observable<MutationRecord[]>;
Expand Down
12 changes: 2 additions & 10 deletions goldens/cdk/overlay/index.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const CDK_CONNECTED_OVERLAY_DEFAULT_CONFIG: InjectionToken<CdkConnectedOv

// @public
export class CdkConnectedOverlay implements OnDestroy, OnChanges {
constructor(...args: unknown[]);
constructor();
readonly attach: EventEmitter<void>;
attachOverlay(): void;
backdropClass: string | string[];
Expand Down Expand Up @@ -158,7 +158,6 @@ export interface CdkConnectedOverlayConfig {

// @public
export class CdkOverlayOrigin {
constructor(...args: unknown[]);
// (undocumented)
elementRef: ElementRef<any>;
// (undocumented)
Expand All @@ -169,7 +168,6 @@ export class CdkOverlayOrigin {

// @public
export class CdkScrollable implements OnInit, OnDestroy {
constructor(...args: unknown[]);
// (undocumented)
protected readonly _destroyed: Subject<void>;
// (undocumented)
Expand Down Expand Up @@ -322,7 +320,6 @@ export type FlexibleOverlayPopoverLocation = 'global' | 'inline' | {

// @public
export class FullscreenOverlayContainer extends OverlayContainer implements OnDestroy {
constructor(...args: unknown[]);
// (undocumented)
protected _createContainer(): void;
getFullscreenElement(): Element;
Expand Down Expand Up @@ -374,7 +371,6 @@ export interface OriginConnectionPosition {

// @public
export class Overlay {
constructor(...args: unknown[]);
create(config?: OverlayConfig): OverlayRef;
position(): OverlayPositionBuilder;
// (undocumented)
Expand Down Expand Up @@ -419,7 +415,6 @@ export interface OverlayConnectionPosition {

// @public
export class OverlayContainer implements OnDestroy {
constructor(...args: unknown[]);
// (undocumented)
protected _containerElement: HTMLElement | undefined;
protected _createContainer(): void;
Expand Down Expand Up @@ -477,7 +472,6 @@ export class OverlayOutsideClickDispatcher extends BaseOverlayDispatcher {

// @public
export class OverlayPositionBuilder {
constructor(...args: unknown[]);
flexibleConnectedTo(origin: FlexibleConnectedPositionStrategyOrigin): FlexibleConnectedPositionStrategy;
global(): GlobalPositionStrategy;
// (undocumented)
Expand Down Expand Up @@ -567,7 +561,6 @@ export interface RepositionScrollStrategyConfig {

// @public
export class ScrollDispatcher implements OnDestroy {
constructor(...args: unknown[]);
ancestorScrolled(elementOrElementRef: ElementRef | HTMLElement, auditTimeInMs?: number): Observable<CdkScrollable | void>;
deregister(scrollable: CdkScrollable): void;
getAncestorScrollContainers(elementOrElementRef: ElementRef | HTMLElement): CdkScrollable[];
Expand Down Expand Up @@ -604,7 +597,6 @@ export interface ScrollStrategy {

// @public
export class ScrollStrategyOptions {
constructor(...args: unknown[]);
block: () => BlockScrollStrategy;
close: (config?: CloseScrollStrategyConfig) => CloseScrollStrategy;
noop: () => NoopScrollStrategy;
Expand Down Expand Up @@ -640,7 +632,7 @@ export type ViewportMargin = number | {

// @public
export class ViewportRuler implements OnDestroy {
constructor(...args: unknown[]);
constructor();
change(throttleTime?: number): Observable<Event>;
protected _document: Document;
getViewportRect(): {
Expand Down
1 change: 0 additions & 1 deletion goldens/cdk/platform/index.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ export function normalizePassiveListenerOptions(options: AddEventListenerOptions

// @public
export class Platform {
constructor(..._args: unknown[]);
ANDROID: boolean;
BLINK: boolean;
EDGE: boolean;
Expand Down
3 changes: 1 addition & 2 deletions goldens/cdk/portal/index.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export abstract class BasePortalOutlet implements PortalOutlet {

// @public
export class CdkPortal extends TemplatePortal {
constructor(...args: unknown[]);
constructor();
// (undocumented)
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkPortal, "[cdkPortal]", ["cdkPortal"], {}, {}, never, never, true, never>;
// (undocumented)
Expand All @@ -49,7 +49,6 @@ export class CdkPortal extends TemplatePortal {

// @public
export class CdkPortalOutlet extends BasePortalOutlet implements OnInit, OnDestroy {
constructor(...args: unknown[]);
attachComponentPortal<T>(portal: ComponentPortal<T>): ComponentRef<T>;
// @deprecated
attachDomPortal: (portal: DomPortal) => void;
Expand Down
Loading
Loading