@skyux/core 10.0.0-alpha.2 → 10.0.0-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { RendererFactory2 } from '@angular/core';
1
+ import { ElementRef, RendererFactory2 } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  /**
4
4
  * @internal
@@ -8,6 +8,8 @@ export declare class SkyOverlayAdapterService {
8
8
  constructor(rendererFactory: RendererFactory2);
9
9
  restrictBodyScroll(): void;
10
10
  releaseBodyScroll(): void;
11
+ addAriaHiddenToSiblings(overlayElementRef: ElementRef): Map<Element, string | null>;
12
+ restoreAriaHiddenForSiblings(siblingAriaHiddenCache: Map<Element, string | null>): void;
11
13
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyOverlayAdapterService, never>;
12
14
  static ɵprov: i0.ɵɵInjectableDeclaration<SkyOverlayAdapterService>;
13
15
  }
@@ -33,4 +33,9 @@ export interface SkyOverlayConfig {
33
33
  * The position of the overlay instance.
34
34
  */
35
35
  position?: SkyOverlayPosition;
36
+ /**
37
+ * Hides the overlay's siblings from screen readers so users can't interact
38
+ * with content behind the overlay with assistive technology.
39
+ */
40
+ hideOthersFromScreenReaders?: boolean;
36
41
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyux/core",
3
- "version": "10.0.0-alpha.2",
3
+ "version": "10.0.0-alpha.3",
4
4
  "author": "Blackbaud, Inc.",
5
5
  "keywords": [
6
6
  "blackbaud",
@@ -41,7 +41,7 @@
41
41
  "@angular/core": "^17.1.1",
42
42
  "@angular/platform-browser": "^17.1.1",
43
43
  "@angular/router": "^17.1.1",
44
- "@skyux/i18n": "10.0.0-alpha.2"
44
+ "@skyux/i18n": "10.0.0-alpha.3"
45
45
  },
46
46
  "dependencies": {
47
47
  "tslib": "^2.6.2"