Skip to content

Commit

Permalink
feat: remove deprecated ClrAriaLiveService in favor of @angular/cdk
Browse files Browse the repository at this point in the history
BREAKING CHANGE: The `ClrAriaLiveService` has been removed.
Please use the `LiveAnnouncer` service from `@angular/cdk` instead.
  • Loading branch information
kevinbuhmann committed Dec 19, 2022
1 parent d931a9c commit 893e306
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 290 deletions.
22 changes: 0 additions & 22 deletions projects/angular/clarity.api.md
Expand Up @@ -492,28 +492,6 @@ export class ClrAriaCurrentLink implements OnInit, OnDestroy {
static ɵfac: i0.ɵɵFactoryDeclaration<ClrAriaCurrentLink, never>;
}

// @public (undocumented)
export enum ClrAriaLivePoliteness {
// (undocumented)
assertive = "assertive",
// (undocumented)
off = "off",
// (undocumented)
polite = "polite"
}

// @public @deprecated (undocumented)
export class ClrAriaLiveService implements OnDestroy {
constructor(ngZone: NgZone, _document: any, platformId: any);
announce(message: string | HTMLElement, politeness?: ClrAriaLivePoliteness): void;
get id(): string;
ngOnDestroy(): void;
// (undocumented)
static ɵfac: i0.ɵɵFactoryDeclaration<ClrAriaLiveService, never>;
// (undocumented)
static ɵprov: i0.ɵɵInjectableDeclaration<ClrAriaLiveService>;
}

// @public (undocumented)
export enum ClrAxis {
// (undocumented)
Expand Down
91 changes: 0 additions & 91 deletions projects/angular/src/utils/a11y/aria-live.service.spec.ts

This file was deleted.

169 changes: 0 additions & 169 deletions projects/angular/src/utils/a11y/aria-live.service.ts

This file was deleted.

7 changes: 0 additions & 7 deletions projects/angular/src/utils/a11y/index.ts

This file was deleted.

1 change: 0 additions & 1 deletion projects/angular/src/utils/index.ts
Expand Up @@ -8,7 +8,6 @@ export * from './animations/index';
export * from './loading/index';
export * from './conditional/index';
export * from './i18n/index';
export * from './a11y/index';
export * from './drag-and-drop/index';
export * from './popover/index';
export * from './focus/focus-on-view-init/index';
Expand Down

0 comments on commit 893e306

Please sign in to comment.