Skip to content

Commit 60bcb1d

Browse files
committed
fix(cdk/a11y): add ConfigurableFocusTrapConfig to the public API
- `ConfigurableFocusTrap` is already in the public API and it depends on this class - fix alphabetization of exports Relates to angular#18201. Relates to angular#22136.
1 parent 9f879b2 commit 60bcb1d

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/cdk/a11y/public-api.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@ export * from './key-manager/activedescendant-key-manager';
1010
export * from './key-manager/focus-key-manager';
1111
export * from './key-manager/list-key-manager';
1212
export * from './focus-trap/configurable-focus-trap';
13+
export * from './focus-trap/configurable-focus-trap-config';
14+
export * from './focus-trap/configurable-focus-trap-factory';
1315
export * from './focus-trap/event-listener-inert-strategy';
1416
export * from './focus-trap/focus-trap';
15-
export * from './focus-trap/configurable-focus-trap-factory';
1617
export * from './focus-trap/focus-trap-inert-strategy';
1718
export * from './interactivity-checker/interactivity-checker';
1819
export * from './live-announcer/live-announcer';

tools/public_api_guard/cdk/a11y.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ export declare class ConfigurableFocusTrap extends FocusTrap implements ManagedF
7070
destroy(): void;
7171
}
7272

73+
export declare class ConfigurableFocusTrapConfig {
74+
defer: boolean;
75+
}
76+
7377
export declare class ConfigurableFocusTrapFactory {
7478
constructor(_checker: InteractivityChecker, _ngZone: NgZone, _focusTrapManager: FocusTrapManager, _document: any, _inertStrategy?: FocusTrapInertStrategy);
7579
create(element: HTMLElement, config?: ConfigurableFocusTrapConfig): ConfigurableFocusTrap;

0 commit comments

Comments
 (0)