Skip to content

Commit a231e9b

Browse files
authored
ci: approve golden diffs (#25787)
1 parent d53e53b commit a231e9b

File tree

13 files changed

+0
-281
lines changed

13 files changed

+0
-281
lines changed

tools/public_api_guard/cdk/accordion.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ import { SimpleChanges } from '@angular/core';
1515
import { Subject } from 'rxjs';
1616
import { UniqueSelectionDispatcher } from '@angular/cdk/collections';
1717

18-
// @public
19-
const CDK_ACCORDION: InjectionToken<CdkAccordion>;
20-
2118
// @public
2219
export class CdkAccordion implements OnDestroy, OnChanges {
2320
closeAll(): void;

tools/public_api_guard/cdk/drag-drop.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -268,10 +268,6 @@ export class CdkDropListGroup<T> implements OnDestroy {
268268
static ɵfac: i0.ɵɵFactoryDeclaration<CdkDropListGroup<any>, never>;
269269
}
270270

271-
// @public
272-
interface CdkDropListInternal extends CdkDropList {
273-
}
274-
275271
// @public
276272
export function copyArrayItem<T = any>(currentArray: T[], targetArray: T[], currentIndex: number, targetIndex: number): void;
277273

tools/public_api_guard/cdk/overlay.md

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -45,19 +45,6 @@ export class BlockScrollStrategy implements ScrollStrategy {
4545
enable(): void;
4646
}
4747

48-
// @public
49-
const CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY: InjectionToken<() => ScrollStrategy>;
50-
51-
// @public
52-
const CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER: {
53-
provide: InjectionToken<() => ScrollStrategy>;
54-
deps: (typeof Overlay)[];
55-
useFactory: typeof CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER_FACTORY;
56-
};
57-
58-
// @public
59-
function CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER_FACTORY(overlay: Overlay): () => RepositionScrollStrategy;
60-
6148
// @public
6249
export class CdkConnectedOverlay implements OnDestroy, OnChanges {
6350
constructor(_overlay: Overlay, templateRef: TemplateRef<any>, viewContainerRef: ViewContainerRef, scrollStrategyFactory: any, _dir: Directionality);

tools/public_api_guard/google-maps/google-maps.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -56,23 +56,6 @@ export interface ClusterIconStyle {
5656
width: number;
5757
}
5858

59-
// @public
60-
const DEFAULT_HEIGHT = "500px";
61-
62-
// @public
63-
const DEFAULT_MARKER_OPTIONS: {
64-
position: {
65-
lat: number;
66-
lng: number;
67-
};
68-
};
69-
70-
// @public
71-
const DEFAULT_OPTIONS: google.maps.MapOptions;
72-
73-
// @public
74-
const DEFAULT_WIDTH = "500px";
75-
7659
// @public
7760
export class GoogleMap implements OnChanges, OnInit, OnDestroy {
7861
constructor(_elementRef: ElementRef, _ngZone: NgZone, platformId: Object);

tools/public_api_guard/material/chips.md

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -118,37 +118,6 @@ export class MatChip extends _MatChipMixinBase implements AfterViewInit, CanColo
118118
static ɵfac: i0.ɵɵFactoryDeclaration<MatChip, [null, null, null, null, null, { optional: true; }, { optional: true; }, { attribute: "tabindex"; }]>;
119119
}
120120

121-
// @public
122-
class MatChipAction extends _MatChipActionMixinBase implements HasTabIndex {
123-
constructor(_elementRef: ElementRef<HTMLElement>, _parentChip: {
124-
_handlePrimaryActionInteraction(): void;
125-
remove(): void;
126-
disabled: boolean;
127-
});
128-
get disabled(): boolean;
129-
set disabled(value: BooleanInput);
130-
// (undocumented)
131-
_elementRef: ElementRef<HTMLElement>;
132-
// (undocumented)
133-
focus(): void;
134-
// (undocumented)
135-
_handleClick(event: MouseEvent): void;
136-
// (undocumented)
137-
_handleKeydown(event: KeyboardEvent): void;
138-
isInteractive: boolean;
139-
_isPrimary: boolean;
140-
// (undocumented)
141-
protected _parentChip: {
142-
_handlePrimaryActionInteraction(): void;
143-
remove(): void;
144-
disabled: boolean;
145-
};
146-
// (undocumented)
147-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipAction, "[matChipAction]", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "isInteractive": "isInteractive"; }, {}, never, never, false, never>;
148-
// (undocumented)
149-
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipAction, never>;
150-
}
151-
152121
// @public
153122
export class MatChipAvatar {
154123
// (undocumented)

tools/public_api_guard/material/core.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,9 +211,6 @@ export type MatDateFormats = {
211211
// @public
212212
export const MATERIAL_SANITY_CHECKS: InjectionToken<SanityChecks>;
213213

214-
// @public
215-
function MATERIAL_SANITY_CHECKS_FACTORY(): SanityChecks;
216-
217214
// @public
218215
export class MatLine {
219216
// (undocumented)

tools/public_api_guard/material/datepicker.md

Lines changed: 0 additions & 105 deletions
Original file line numberDiff line numberDiff line change
@@ -102,15 +102,6 @@ export class DefaultMatCalendarRangeStrategy<D> implements MatDateRangeSelection
102102
// @public
103103
export type ExtractDateTypeFromSelection<T> = T extends DateRange<infer D> ? D : NonNullable<T>;
104104

105-
// @public
106-
function getActiveOffset<D>(dateAdapter: DateAdapter<D>, activeDate: D, minDate: D | null, maxDate: D | null): number;
107-
108-
// @public (undocumented)
109-
function isSameMultiYearView<D>(dateAdapter: DateAdapter<D>, date1: D, date2: D, minDate: D | null, maxDate: D | null): boolean;
110-
111-
// @public
112-
const MAT_DATE_RANGE_INPUT_PARENT: InjectionToken<MatDateRangeInputParent<unknown>>;
113-
114105
// @public
115106
export const MAT_DATE_RANGE_SELECTION_STRATEGY: InjectionToken<MatDateRangeSelectionStrategy<any>>;
116107

@@ -361,63 +352,6 @@ export class MatDatepickerApply {
361352
static ɵfac: i0.ɵɵFactoryDeclaration<MatDatepickerApply, never>;
362353
}
363354

364-
// @public
365-
abstract class MatDatepickerBase<C extends MatDatepickerControl<D>, S, D = ExtractDateTypeFromSelection<S>> implements MatDatepickerPanel<C, S, D>, OnDestroy, OnChanges {
366-
constructor(_overlay: Overlay, _ngZone: NgZone, _viewContainerRef: ViewContainerRef, scrollStrategy: any, _dateAdapter: DateAdapter<D>, _dir: Directionality, _model: MatDateSelectionModel<S, D>);
367-
_applyPendingSelection(): void;
368-
calendarHeaderComponent: ComponentType<any>;
369-
close(): void;
370-
readonly closedStream: EventEmitter<void>;
371-
get color(): ThemePalette;
372-
set color(value: ThemePalette);
373-
// (undocumented)
374-
_color: ThemePalette;
375-
dateClass: MatCalendarCellClassFunction<D>;
376-
datepickerInput: C;
377-
get disabled(): boolean;
378-
set disabled(value: BooleanInput);
379-
protected _forwardContentValues(instance: MatDatepickerContent<S, D>): void;
380-
// (undocumented)
381-
_getDateFilter(): DateFilterFn<D>;
382-
_getMaxDate(): D | null;
383-
_getMinDate(): D | null;
384-
id: string;
385-
readonly monthSelected: EventEmitter<D>;
386-
// (undocumented)
387-
ngOnChanges(changes: SimpleChanges): void;
388-
// (undocumented)
389-
ngOnDestroy(): void;
390-
open(): void;
391-
get opened(): boolean;
392-
set opened(value: BooleanInput);
393-
readonly openedStream: EventEmitter<void>;
394-
get panelClass(): string | string[];
395-
set panelClass(value: string | string[]);
396-
registerActions(portal: TemplatePortal): void;
397-
registerInput(input: C): MatDateSelectionModel<S, D>;
398-
removeActions(portal: TemplatePortal): void;
399-
get restoreFocus(): boolean;
400-
set restoreFocus(value: BooleanInput);
401-
select(date: D): void;
402-
_selectMonth(normalizedMonth: D): void;
403-
_selectYear(normalizedYear: D): void;
404-
get startAt(): D | null;
405-
set startAt(value: D | null);
406-
startView: 'month' | 'year' | 'multi-year';
407-
readonly stateChanges: Subject<void>;
408-
get touchUi(): boolean;
409-
set touchUi(value: BooleanInput);
410-
readonly viewChanged: EventEmitter<MatCalendarView>;
411-
_viewChanged(view: MatCalendarView): void;
412-
xPosition: DatepickerDropdownPositionX;
413-
readonly yearSelected: EventEmitter<D>;
414-
yPosition: DatepickerDropdownPositionY;
415-
// (undocumented)
416-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatDatepickerBase<any, any, any>, never, never, { "calendarHeaderComponent": "calendarHeaderComponent"; "startAt": "startAt"; "startView": "startView"; "color": "color"; "touchUi": "touchUi"; "disabled": "disabled"; "xPosition": "xPosition"; "yPosition": "yPosition"; "restoreFocus": "restoreFocus"; "dateClass": "dateClass"; "panelClass": "panelClass"; "opened": "opened"; }, { "yearSelected": "yearSelected"; "monthSelected": "monthSelected"; "viewChanged": "viewChanged"; "openedStream": "opened"; "closedStream": "closed"; }, never, never, false, never>;
417-
// (undocumented)
418-
static ɵfac: i0.ɵɵFactoryDeclaration<MatDatepickerBase<any, any, any>, [null, null, null, null, { optional: true; }, { optional: true; }, null]>;
419-
}
420-
421355
// @public
422356
export class MatDatepickerCancel {
423357
constructor(_datepicker: MatDatepickerBase<MatDatepickerControl<any>, unknown>);
@@ -679,33 +613,6 @@ export class MatDateRangeInput<D> implements MatFormFieldControl<DateRange<D>>,
679613
static ɵfac: i0.ɵɵFactoryDeclaration<MatDateRangeInput<any>, [null, null, { optional: true; self: true; }, { optional: true; }, { optional: true; }]>;
680614
}
681615

682-
// @public
683-
interface MatDateRangeInputParent<D> {
684-
// (undocumented)
685-
dateFilter: DateFilterFn<D>;
686-
// (undocumented)
687-
_endInput: MatDateRangeInputPartBase<D>;
688-
// (undocumented)
689-
_groupDisabled: boolean;
690-
// (undocumented)
691-
_handleChildValueChange(): void;
692-
// (undocumented)
693-
id: string;
694-
// (undocumented)
695-
max: D | null;
696-
// (undocumented)
697-
min: D | null;
698-
// (undocumented)
699-
_openDatepicker(): void;
700-
// (undocumented)
701-
rangePicker: {
702-
opened: boolean;
703-
id: string;
704-
};
705-
// (undocumented)
706-
_startInput: MatDateRangeInputPartBase<D>;
707-
}
708-
709616
// @public
710617
export class MatDateRangePicker<D> extends MatDatepickerBase<MatDateRangePickerInput<D>, DateRange<D>, D> {
711618
// (undocumented)
@@ -716,18 +623,6 @@ export class MatDateRangePicker<D> extends MatDatepickerBase<MatDateRangePickerI
716623
static ɵfac: i0.ɵɵFactoryDeclaration<MatDateRangePicker<any>, never>;
717624
}
718625

719-
// @public
720-
interface MatDateRangePickerInput<D> extends MatDatepickerControl<D> {
721-
// (undocumented)
722-
comparisonEnd: D | null;
723-
// (undocumented)
724-
comparisonStart: D | null;
725-
// (undocumented)
726-
_getEndDateAccessibleName(): string | null;
727-
// (undocumented)
728-
_getStartDateAccessibleName(): string | null;
729-
}
730-
731626
// @public
732627
export interface MatDateRangeSelectionStrategy<D> {
733628
createPreview(activeDate: D | null, currentRange: DateRange<D>, event: Event): DateRange<D>;

tools/public_api_guard/material/form-field.md

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -193,33 +193,6 @@ export interface MatFormFieldDefaultOptions {
193193
subscriptSizing?: SubscriptSizing;
194194
}
195195

196-
// @public
197-
class MatFormFieldFloatingLabel {
198-
constructor(_elementRef: ElementRef<HTMLElement>);
199-
get element(): HTMLElement;
200-
floating: boolean;
201-
getWidth(): number;
202-
// (undocumented)
203-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatFormFieldFloatingLabel, "label[matFormFieldFloatingLabel]", never, { "floating": "floating"; }, {}, never, never, false, never>;
204-
// (undocumented)
205-
static ɵfac: i0.ɵɵFactoryDeclaration<MatFormFieldFloatingLabel, never>;
206-
}
207-
208-
// @public
209-
class MatFormFieldLineRipple implements OnDestroy {
210-
constructor(_elementRef: ElementRef<HTMLElement>, ngZone: NgZone);
211-
// (undocumented)
212-
activate(): void;
213-
// (undocumented)
214-
deactivate(): void;
215-
// (undocumented)
216-
ngOnDestroy(): void;
217-
// (undocumented)
218-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatFormFieldLineRipple, "div[matFormFieldLineRipple]", never, {}, {}, never, never, false, never>;
219-
// (undocumented)
220-
static ɵfac: i0.ɵɵFactoryDeclaration<MatFormFieldLineRipple, never>;
221-
}
222-
223196
// @public (undocumented)
224197
export class MatFormFieldModule {
225198
// (undocumented)
@@ -230,21 +203,6 @@ export class MatFormFieldModule {
230203
static ɵmod: i0.ɵɵNgModuleDeclaration<MatFormFieldModule, [typeof i1.MatFormField, typeof i2.MatLabel, typeof i3.MatError, typeof i4.MatHint, typeof i5.MatPrefix, typeof i6.MatSuffix, typeof i7.MatFormFieldFloatingLabel, typeof i8.MatFormFieldNotchedOutline, typeof i9.MatFormFieldLineRipple], [typeof i10.MatCommonModule, typeof i11.CommonModule, typeof i12.ObserversModule], [typeof i1.MatFormField, typeof i2.MatLabel, typeof i4.MatHint, typeof i3.MatError, typeof i5.MatPrefix, typeof i6.MatSuffix, typeof i10.MatCommonModule]>;
231204
}
232205

233-
// @public
234-
class MatFormFieldNotchedOutline implements AfterViewInit {
235-
constructor(_elementRef: ElementRef<HTMLElement>, _ngZone: NgZone);
236-
// (undocumented)
237-
_getNotchWidth(): string | null;
238-
labelWidth: number;
239-
// (undocumented)
240-
ngAfterViewInit(): void;
241-
open: boolean;
242-
// (undocumented)
243-
static ɵcmp: i0.ɵɵComponentDeclaration<MatFormFieldNotchedOutline, "div[matFormFieldNotchedOutline]", never, { "labelWidth": "matFormFieldNotchedOutlineLabelWidth"; "open": "matFormFieldNotchedOutlineOpen"; }, {}, never, ["*"], false, never>;
244-
// (undocumented)
245-
static ɵfac: i0.ɵɵFactoryDeclaration<MatFormFieldNotchedOutline, never>;
246-
}
247-
248206
// @public
249207
export class MatHint {
250208
align: 'start' | 'end';

tools/public_api_guard/material/legacy-select.md

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -103,24 +103,6 @@ export class MatLegacySelectTrigger {
103103
static ɵfac: i0.ɵɵFactoryDeclaration<MatLegacySelectTrigger, never>;
104104
}
105105

106-
// @public @deprecated
107-
const SELECT_ITEM_HEIGHT_EM = 3;
108-
109-
// @public @deprecated
110-
const SELECT_MULTIPLE_PANEL_PADDING_X: number;
111-
112-
// @public @deprecated
113-
const SELECT_PANEL_INDENT_PADDING_X: number;
114-
115-
// @public @deprecated
116-
const SELECT_PANEL_MAX_HEIGHT = 256;
117-
118-
// @public @deprecated
119-
const SELECT_PANEL_PADDING_X = 16;
120-
121-
// @public @deprecated
122-
const SELECT_PANEL_VIEWPORT_PADDING = 8;
123-
124106
// (No @packageDocumentation comment for this package)
125107

126108
```

tools/public_api_guard/material/menu.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,18 +50,12 @@ export const MAT_MENU_CONTENT: InjectionToken<MatMenuContent>;
5050
// @public
5151
export const MAT_MENU_DEFAULT_OPTIONS: InjectionToken<MatMenuDefaultOptions>;
5252

53-
// @public
54-
function MAT_MENU_DEFAULT_OPTIONS_FACTORY(): MatMenuDefaultOptions;
55-
5653
// @public
5754
export const MAT_MENU_PANEL: InjectionToken<MatMenuPanel<any>>;
5855

5956
// @public
6057
export const MAT_MENU_SCROLL_STRATEGY: InjectionToken<() => ScrollStrategy>;
6158

62-
// @public
63-
function MAT_MENU_SCROLL_STRATEGY_FACTORY(overlay: Overlay): () => ScrollStrategy;
64-
6559
// @public
6660
export const MAT_MENU_SCROLL_STRATEGY_FACTORY_PROVIDER: {
6761
provide: InjectionToken<() => ScrollStrategy>;
@@ -332,9 +326,6 @@ export abstract class _MatMenuTriggerBase implements AfterContentInit, OnDestroy
332326
// @public @deprecated
333327
export const MENU_PANEL_TOP_PADDING = 8;
334328

335-
// @public
336-
type MenuCloseReason = void | 'click' | 'keydown' | 'tab';
337-
338329
// @public
339330
export type MenuPositionX = 'before' | 'after';
340331

0 commit comments

Comments
 (0)