@skyux/a11y 8.0.0-alpha.6 → 8.0.0-alpha.7

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.
@@ -41,7 +41,7 @@
41
41
  "fileName": "projects/a11y/src/modules/skip-link/skip-link.module.ts",
42
42
  "line": 16,
43
43
  "character": 13,
44
- "url": "https://github.com/blackbaud/skyux/blob/36584b7/libs/components/a11y/src/lib/modules/skip-link/skip-link.module.ts#L16"
44
+ "url": "https://github.com/blackbaud/skyux/blob/116cb59/libs/components/a11y/src/lib/modules/skip-link/skip-link.module.ts#L16"
45
45
  }
46
46
  ]
47
47
  },
@@ -77,7 +77,7 @@
77
77
  "fileName": "projects/a11y/src/modules/skip-link/skip-link.service.ts",
78
78
  "line": 30,
79
79
  "character": 2,
80
- "url": "https://github.com/blackbaud/skyux/blob/36584b7/libs/components/a11y/src/lib/modules/skip-link/skip-link.service.ts#L30"
80
+ "url": "https://github.com/blackbaud/skyux/blob/116cb59/libs/components/a11y/src/lib/modules/skip-link/skip-link.service.ts#L30"
81
81
  }
82
82
  ],
83
83
  "signatures": [
@@ -121,7 +121,7 @@
121
121
  "fileName": "projects/a11y/src/modules/skip-link/skip-link.service.ts",
122
122
  "line": 47,
123
123
  "character": 9,
124
- "url": "https://github.com/blackbaud/skyux/blob/36584b7/libs/components/a11y/src/lib/modules/skip-link/skip-link.service.ts#L47"
124
+ "url": "https://github.com/blackbaud/skyux/blob/116cb59/libs/components/a11y/src/lib/modules/skip-link/skip-link.service.ts#L47"
125
125
  }
126
126
  ],
127
127
  "signatures": [
@@ -151,7 +151,7 @@
151
151
  "fileName": "projects/a11y/src/modules/skip-link/skip-link.service.ts",
152
152
  "line": 34,
153
153
  "character": 9,
154
- "url": "https://github.com/blackbaud/skyux/blob/36584b7/libs/components/a11y/src/lib/modules/skip-link/skip-link.service.ts#L34"
154
+ "url": "https://github.com/blackbaud/skyux/blob/116cb59/libs/components/a11y/src/lib/modules/skip-link/skip-link.service.ts#L34"
155
155
  }
156
156
  ],
157
157
  "signatures": [
@@ -203,7 +203,7 @@
203
203
  "fileName": "projects/a11y/src/modules/skip-link/skip-link.service.ts",
204
204
  "line": 25,
205
205
  "character": 13,
206
- "url": "https://github.com/blackbaud/skyux/blob/36584b7/libs/components/a11y/src/lib/modules/skip-link/skip-link.service.ts#L25"
206
+ "url": "https://github.com/blackbaud/skyux/blob/116cb59/libs/components/a11y/src/lib/modules/skip-link/skip-link.service.ts#L25"
207
207
  }
208
208
  ]
209
209
  },
@@ -257,7 +257,7 @@
257
257
  "fileName": "projects/a11y/src/modules/skip-link/skip-link.ts",
258
258
  "line": 17,
259
259
  "character": 2,
260
- "url": "https://github.com/blackbaud/skyux/blob/36584b7/libs/components/a11y/src/lib/modules/skip-link/skip-link.ts#L17"
260
+ "url": "https://github.com/blackbaud/skyux/blob/116cb59/libs/components/a11y/src/lib/modules/skip-link/skip-link.ts#L17"
261
261
  }
262
262
  ],
263
263
  "type": {
@@ -292,7 +292,7 @@
292
292
  "fileName": "projects/a11y/src/modules/skip-link/skip-link.ts",
293
293
  "line": 10,
294
294
  "character": 2,
295
- "url": "https://github.com/blackbaud/skyux/blob/36584b7/libs/components/a11y/src/lib/modules/skip-link/skip-link.ts#L10"
295
+ "url": "https://github.com/blackbaud/skyux/blob/116cb59/libs/components/a11y/src/lib/modules/skip-link/skip-link.ts#L10"
296
296
  }
297
297
  ],
298
298
  "type": {
@@ -315,7 +315,7 @@
315
315
  "fileName": "projects/a11y/src/modules/skip-link/skip-link.ts",
316
316
  "line": 6,
317
317
  "character": 17,
318
- "url": "https://github.com/blackbaud/skyux/blob/36584b7/libs/components/a11y/src/lib/modules/skip-link/skip-link.ts#L6"
318
+ "url": "https://github.com/blackbaud/skyux/blob/116cb59/libs/components/a11y/src/lib/modules/skip-link/skip-link.ts#L6"
319
319
  }
320
320
  ]
321
321
  },
@@ -353,7 +353,7 @@
353
353
  "fileName": "projects/a11y/src/modules/skip-link/skip-link-args.ts",
354
354
  "line": 13,
355
355
  "character": 2,
356
- "url": "https://github.com/blackbaud/skyux/blob/36584b7/libs/components/a11y/src/lib/modules/skip-link/skip-link-args.ts#L13"
356
+ "url": "https://github.com/blackbaud/skyux/blob/116cb59/libs/components/a11y/src/lib/modules/skip-link/skip-link-args.ts#L13"
357
357
  }
358
358
  ],
359
359
  "type": {
@@ -379,7 +379,7 @@
379
379
  "fileName": "projects/a11y/src/modules/skip-link/skip-link-args.ts",
380
380
  "line": 9,
381
381
  "character": 17,
382
- "url": "https://github.com/blackbaud/skyux/blob/36584b7/libs/components/a11y/src/lib/modules/skip-link/skip-link-args.ts#L9"
382
+ "url": "https://github.com/blackbaud/skyux/blob/116cb59/libs/components/a11y/src/lib/modules/skip-link/skip-link-args.ts#L9"
383
383
  }
384
384
  ]
385
385
  },
@@ -462,7 +462,7 @@
462
462
  "fileName": "projects/a11y/src/testing/skip-link/skip-links-harness.ts",
463
463
  "line": 26,
464
464
  "character": 15,
465
- "url": "https://github.com/blackbaud/skyux/blob/36584b7/libs/components/a11y/testing/src/skip-link/skip-links-harness.ts#L26"
465
+ "url": "https://github.com/blackbaud/skyux/blob/116cb59/libs/components/a11y/testing/src/skip-link/skip-links-harness.ts#L26"
466
466
  }
467
467
  ],
468
468
  "signatures": [
@@ -521,7 +521,7 @@
521
521
  "fileName": "projects/a11y/src/testing/skip-link/skip-links-harness.ts",
522
522
  "line": 17,
523
523
  "character": 15,
524
- "url": "https://github.com/blackbaud/skyux/blob/36584b7/libs/components/a11y/testing/src/skip-link/skip-links-harness.ts#L17"
524
+ "url": "https://github.com/blackbaud/skyux/blob/116cb59/libs/components/a11y/testing/src/skip-link/skip-links-harness.ts#L17"
525
525
  }
526
526
  ],
527
527
  "signatures": [
@@ -658,7 +658,7 @@
658
658
  "fileName": "projects/a11y/src/testing/skip-link/skip-links-harness.ts",
659
659
  "line": 6,
660
660
  "character": 13,
661
- "url": "https://github.com/blackbaud/skyux/blob/36584b7/libs/components/a11y/testing/src/skip-link/skip-links-harness.ts#L6"
661
+ "url": "https://github.com/blackbaud/skyux/blob/116cb59/libs/components/a11y/testing/src/skip-link/skip-links-harness.ts#L6"
662
662
  }
663
663
  ],
664
664
  "extendedTypes": [
@@ -20,16 +20,16 @@ export class SkyA11yResourcesProvider {
20
20
  */
21
21
  export class SkyA11yResourcesModule {
22
22
  }
23
- SkyA11yResourcesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: SkyA11yResourcesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
24
- SkyA11yResourcesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.4", ngImport: i0, type: SkyA11yResourcesModule, exports: [SkyI18nModule] });
25
- SkyA11yResourcesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: SkyA11yResourcesModule, providers: [
23
+ SkyA11yResourcesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyA11yResourcesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
24
+ SkyA11yResourcesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: SkyA11yResourcesModule, exports: [SkyI18nModule] });
25
+ SkyA11yResourcesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyA11yResourcesModule, providers: [
26
26
  {
27
27
  provide: SKY_LIB_RESOURCES_PROVIDERS,
28
28
  useClass: SkyA11yResourcesProvider,
29
29
  multi: true,
30
30
  },
31
31
  ], imports: [SkyI18nModule] });
32
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: SkyA11yResourcesModule, decorators: [{
32
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyA11yResourcesModule, decorators: [{
33
33
  type: NgModule,
34
34
  args: [{
35
35
  exports: [SkyI18nModule],
@@ -20,9 +20,9 @@ export class SkySkipLinkAdapterService {
20
20
  }
21
21
  }
22
22
  _SkySkipLinkAdapterService_windowRef = new WeakMap();
23
- SkySkipLinkAdapterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: SkySkipLinkAdapterService, deps: [{ token: i1.SkyAppWindowRef }], target: i0.ɵɵFactoryTarget.Injectable });
24
- SkySkipLinkAdapterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: SkySkipLinkAdapterService });
25
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: SkySkipLinkAdapterService, decorators: [{
23
+ SkySkipLinkAdapterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkySkipLinkAdapterService, deps: [{ token: i1.SkyAppWindowRef }], target: i0.ɵɵFactoryTarget.Injectable });
24
+ SkySkipLinkAdapterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkySkipLinkAdapterService });
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkySkipLinkAdapterService, decorators: [{
26
26
  type: Injectable
27
27
  }], ctorParameters: function () { return [{ type: i1.SkyAppWindowRef }]; } });
28
28
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2tpcC1saW5rLWFkYXB0ZXIuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9hMTF5L3NyYy9saWIvbW9kdWxlcy9za2lwLWxpbmsvc2tpcC1saW5rLW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mVmIH0gZnJvbSAnQHNreXV4L2NvcmUnO1xuXG5pbXBvcnQgeyBTa3lTa2lwTGluayB9IGZyb20gJy4vc2tpcC1saW5rJztcblxuQEluamVjdGFibGUoKVxuZXhwb3J0IGNsYXNzIFNreVNraXBMaW5rQWRhcHRlclNlcnZpY2Uge1xuICAjd2luZG93UmVmOiBTa3lBcHBXaW5kb3dSZWY7XG5cbiAgY29uc3RydWN0b3Iod2luZG93UmVmOiBTa3lBcHBXaW5kb3dSZWYpIHtcbiAgICB0aGlzLiN3aW5kb3dSZWYgPSB3aW5kb3dSZWY7XG4gIH1cblxuICBwdWJsaWMgc2tpcFRvKGxpbms6IFNreVNraXBMaW5rKTogdm9pZCB7XG4gICAgY29uc3QgdGFyZ2V0RWxlbWVudCA9IGxpbmsuZWxlbWVudFJlZi5uYXRpdmVFbGVtZW50O1xuICAgIGNvbnN0IHdpbiA9IHRoaXMuI3dpbmRvd1JlZi5uYXRpdmVXaW5kb3c7XG4gICAgY29uc3QgYm9keUVsZW1lbnQgPSB3aW4uZG9jdW1lbnQuYm9keTtcblxuICAgIGNvbnN0IGJvZHlNYXJnaW5Ub3AgPSBwYXJzZUludChcbiAgICAgIHdpbi5nZXRDb21wdXRlZFN0eWxlKGJvZHlFbGVtZW50KS5tYXJnaW5Ub3AsXG4gICAgICAxMFxuICAgICk7XG4gICAgY29uc3QgYm9keURlZmF1bHRQYWRkaW5nID0gMTA7XG4gICAgY29uc3Qgc2Nyb2xsVG9wID1cbiAgICAgIHRhcmdldEVsZW1lbnQub2Zmc2V0VG9wIC0gYm9keU1hcmdpblRvcCAtIGJvZHlEZWZhdWx0UGFkZGluZztcblxuICAgIHdpbi5zY3JvbGwoMCwgc2Nyb2xsVG9wKTtcblxuICAgIHRhcmdldEVsZW1lbnQuZm9jdXMoKTtcbiAgfVxufVxuIl19
@@ -7,13 +7,6 @@ import * as i1 from "./skip-link-adapter.service";
7
7
  import * as i2 from "@angular/common";
8
8
  import * as i3 from "@skyux/i18n";
9
9
  export class SkySkipLinkHostComponent {
10
- constructor(changeDetector, adapter) {
11
- _SkySkipLinkHostComponent__links.set(this, []);
12
- _SkySkipLinkHostComponent_changeDetector.set(this, void 0);
13
- _SkySkipLinkHostComponent_adapter.set(this, void 0);
14
- __classPrivateFieldSet(this, _SkySkipLinkHostComponent_changeDetector, changeDetector, "f");
15
- __classPrivateFieldSet(this, _SkySkipLinkHostComponent_adapter, adapter, "f");
16
- }
17
10
  get links() {
18
11
  return __classPrivateFieldGet(this, _SkySkipLinkHostComponent__links, "f");
19
12
  }
@@ -21,15 +14,22 @@ export class SkySkipLinkHostComponent {
21
14
  __classPrivateFieldSet(this, _SkySkipLinkHostComponent__links, value, "f");
22
15
  __classPrivateFieldGet(this, _SkySkipLinkHostComponent_changeDetector, "f").markForCheck();
23
16
  }
17
+ constructor(changeDetector, adapter) {
18
+ _SkySkipLinkHostComponent__links.set(this, []);
19
+ _SkySkipLinkHostComponent_changeDetector.set(this, void 0);
20
+ _SkySkipLinkHostComponent_adapter.set(this, void 0);
21
+ __classPrivateFieldSet(this, _SkySkipLinkHostComponent_changeDetector, changeDetector, "f");
22
+ __classPrivateFieldSet(this, _SkySkipLinkHostComponent_adapter, adapter, "f");
23
+ }
24
24
  skipTo(link) {
25
25
  __classPrivateFieldGet(this, _SkySkipLinkHostComponent_adapter, "f").skipTo(link);
26
26
  }
27
27
  }
28
28
  _SkySkipLinkHostComponent__links = new WeakMap(), _SkySkipLinkHostComponent_changeDetector = new WeakMap(), _SkySkipLinkHostComponent_adapter = new WeakMap();
29
- SkySkipLinkHostComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: SkySkipLinkHostComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.SkySkipLinkAdapterService }], target: i0.ɵɵFactoryTarget.Component });
30
- SkySkipLinkHostComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: SkySkipLinkHostComponent, selector: "sky-skip-link-host", providers: [SkySkipLinkAdapterService], ngImport: i0, template: "<button\n *ngFor=\"let link of links\"\n class=\"sky-btn sky-btn-primary sky-skip-link\"\n type=\"button\"\n (click)=\"skipTo(link)\"\n>\n {{ 'skyux_list_skip_to_link' | skyLibResources : link.title }}\n</button>\n", styles: [".sky-skip-link{position:absolute;left:-999px;width:1px;height:1px;top:auto}.sky-skip-link:focus,.sky-skip-link:active{display:inline-block;height:auto;width:auto;position:absolute;top:10px;left:10px;margin:auto;z-index:10000}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "pipe", type: i3.SkyLibResourcesPipe, name: "skyLibResources" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
31
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: SkySkipLinkHostComponent, decorators: [{
29
+ SkySkipLinkHostComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkySkipLinkHostComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.SkySkipLinkAdapterService }], target: i0.ɵɵFactoryTarget.Component });
30
+ SkySkipLinkHostComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.1", type: SkySkipLinkHostComponent, selector: "sky-skip-link-host", providers: [SkySkipLinkAdapterService], ngImport: i0, template: "<button\n *ngFor=\"let link of links\"\n class=\"sky-btn sky-btn-primary sky-skip-link\"\n type=\"button\"\n (click)=\"skipTo(link)\"\n>\n {{ 'skyux_list_skip_to_link' | skyLibResources : link.title }}\n</button>\n", styles: [".sky-skip-link{position:absolute;left:-999px;width:1px;height:1px;top:auto}.sky-skip-link:focus,.sky-skip-link:active{display:inline-block;height:auto;width:auto;position:absolute;top:10px;left:10px;margin:auto;z-index:10000}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "pipe", type: i3.SkyLibResourcesPipe, name: "skyLibResources" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkySkipLinkHostComponent, decorators: [{
32
32
  type: Component,
33
33
  args: [{ selector: 'sky-skip-link-host', changeDetection: ChangeDetectionStrategy.OnPush, providers: [SkySkipLinkAdapterService], template: "<button\n *ngFor=\"let link of links\"\n class=\"sky-btn sky-btn-primary sky-skip-link\"\n type=\"button\"\n (click)=\"skipTo(link)\"\n>\n {{ 'skyux_list_skip_to_link' | skyLibResources : link.title }}\n</button>\n", styles: [".sky-skip-link{position:absolute;left:-999px;width:1px;height:1px;top:auto}.sky-skip-link:focus,.sky-skip-link:active{display:inline-block;height:auto;width:auto;position:absolute;top:10px;left:10px;margin:auto;z-index:10000}\n"] }]
34
34
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1.SkySkipLinkAdapterService }]; } });
35
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2tpcC1saW5rLWhvc3QuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2ExMXkvc3JjL2xpYi9tb2R1bGVzL3NraXAtbGluay9za2lwLWxpbmstaG9zdC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvYTExeS9zcmMvbGliL21vZHVsZXMvc2tpcC1saW5rL3NraXAtbGluay1ob3N0LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsT0FBTyxFQUNMLHVCQUF1QixFQUV2QixTQUFTLEdBQ1Y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4jYWRhcHRlciA9IGFkYXB0ZXI7XG4gIH1cblxuICBwdWJsaWMgc2tpcFRvKGxpbms6IFNreVNraXBMaW5rKTogdm9pZCB7XG4gICAgdGhpcy4jYWRhcHRlci5za2lwVG8obGluayk7XG4gIH1cbn1cbiIsIjxidXR0b25cbiAgKm5nRm9yPVwibGV0IGxpbmsgb2YgbGlua3NcIlxuICBjbGFzcz1cInNreS1idG4gc2t5LWJ0bi1wcmltYXJ5IHNreS1za2lwLWxpbmtcIlxuICB0eXBlPVwiYnV0dG9uXCJcbiAgKGNsaWNrKT1cInNraXBUbyhsaW5rKVwiXG4+XG4gIHt7ICdza3l1eF9saXN0X3NraXBfdG9fbGluaycgfCBza3lMaWJSZXNvdXJjZXMgOiBsaW5rLnRpdGxlIH19XG48L2J1dHRvbj5cbiJdfQ==
@@ -9,10 +9,10 @@ import * as i0 from "@angular/core";
9
9
  */
10
10
  export class SkySkipLinkModule {
11
11
  }
12
- SkySkipLinkModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: SkySkipLinkModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
13
- SkySkipLinkModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.4", ngImport: i0, type: SkySkipLinkModule, declarations: [SkySkipLinkHostComponent], imports: [CommonModule, SkyI18nModule, SkyA11yResourcesModule] });
14
- SkySkipLinkModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: SkySkipLinkModule, imports: [CommonModule, SkyI18nModule, SkyA11yResourcesModule] });
15
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: SkySkipLinkModule, decorators: [{
12
+ SkySkipLinkModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkySkipLinkModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
13
+ SkySkipLinkModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: SkySkipLinkModule, declarations: [SkySkipLinkHostComponent], imports: [CommonModule, SkyI18nModule, SkyA11yResourcesModule] });
14
+ SkySkipLinkModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkySkipLinkModule, imports: [CommonModule, SkyI18nModule, SkyA11yResourcesModule] });
15
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkySkipLinkModule, decorators: [{
16
16
  type: NgModule,
17
17
  args: [{
18
18
  declarations: [SkySkipLinkHostComponent],
@@ -46,9 +46,9 @@ _SkySkipLinkService_dynamicComponentService = new WeakMap(), _SkySkipLinkService
46
46
  }
47
47
  return SkySkipLinkService.host;
48
48
  };
49
- SkySkipLinkService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: SkySkipLinkService, deps: [{ token: i1.SkyDynamicComponentService }], target: i0.ɵɵFactoryTarget.Injectable });
50
- SkySkipLinkService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: SkySkipLinkService, providedIn: 'any' });
51
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: SkySkipLinkService, decorators: [{
49
+ SkySkipLinkService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkySkipLinkService, deps: [{ token: i1.SkyDynamicComponentService }], target: i0.ɵɵFactoryTarget.Injectable });
50
+ SkySkipLinkService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkySkipLinkService, providedIn: 'any' });
51
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkySkipLinkService, decorators: [{
52
52
  type: Injectable,
53
53
  args: [{
54
54
  // Must be 'any' so that the skip link component is created in the context of its module's injector.
@@ -27,16 +27,16 @@ class SkyA11yResourcesProvider {
27
27
  */
28
28
  class SkyA11yResourcesModule {
29
29
  }
30
- SkyA11yResourcesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: SkyA11yResourcesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
31
- SkyA11yResourcesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.4", ngImport: i0, type: SkyA11yResourcesModule, exports: [SkyI18nModule] });
32
- SkyA11yResourcesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: SkyA11yResourcesModule, providers: [
30
+ SkyA11yResourcesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyA11yResourcesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
31
+ SkyA11yResourcesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: SkyA11yResourcesModule, exports: [SkyI18nModule] });
32
+ SkyA11yResourcesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyA11yResourcesModule, providers: [
33
33
  {
34
34
  provide: SKY_LIB_RESOURCES_PROVIDERS,
35
35
  useClass: SkyA11yResourcesProvider,
36
36
  multi: true,
37
37
  },
38
38
  ], imports: [SkyI18nModule] });
39
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: SkyA11yResourcesModule, decorators: [{
39
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyA11yResourcesModule, decorators: [{
40
40
  type: NgModule,
41
41
  args: [{
42
42
  exports: [SkyI18nModule],
@@ -68,21 +68,14 @@ class SkySkipLinkAdapterService {
68
68
  }
69
69
  }
70
70
  _SkySkipLinkAdapterService_windowRef = new WeakMap();
71
- SkySkipLinkAdapterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: SkySkipLinkAdapterService, deps: [{ token: i1.SkyAppWindowRef }], target: i0.ɵɵFactoryTarget.Injectable });
72
- SkySkipLinkAdapterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: SkySkipLinkAdapterService });
73
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: SkySkipLinkAdapterService, decorators: [{
71
+ SkySkipLinkAdapterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkySkipLinkAdapterService, deps: [{ token: i1.SkyAppWindowRef }], target: i0.ɵɵFactoryTarget.Injectable });
72
+ SkySkipLinkAdapterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkySkipLinkAdapterService });
73
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkySkipLinkAdapterService, decorators: [{
74
74
  type: Injectable
75
75
  }], ctorParameters: function () { return [{ type: i1.SkyAppWindowRef }]; } });
76
76
 
77
77
  var _SkySkipLinkHostComponent__links, _SkySkipLinkHostComponent_changeDetector, _SkySkipLinkHostComponent_adapter;
78
78
  class SkySkipLinkHostComponent {
79
- constructor(changeDetector, adapter) {
80
- _SkySkipLinkHostComponent__links.set(this, []);
81
- _SkySkipLinkHostComponent_changeDetector.set(this, void 0);
82
- _SkySkipLinkHostComponent_adapter.set(this, void 0);
83
- __classPrivateFieldSet(this, _SkySkipLinkHostComponent_changeDetector, changeDetector, "f");
84
- __classPrivateFieldSet(this, _SkySkipLinkHostComponent_adapter, adapter, "f");
85
- }
86
79
  get links() {
87
80
  return __classPrivateFieldGet(this, _SkySkipLinkHostComponent__links, "f");
88
81
  }
@@ -90,14 +83,21 @@ class SkySkipLinkHostComponent {
90
83
  __classPrivateFieldSet(this, _SkySkipLinkHostComponent__links, value, "f");
91
84
  __classPrivateFieldGet(this, _SkySkipLinkHostComponent_changeDetector, "f").markForCheck();
92
85
  }
86
+ constructor(changeDetector, adapter) {
87
+ _SkySkipLinkHostComponent__links.set(this, []);
88
+ _SkySkipLinkHostComponent_changeDetector.set(this, void 0);
89
+ _SkySkipLinkHostComponent_adapter.set(this, void 0);
90
+ __classPrivateFieldSet(this, _SkySkipLinkHostComponent_changeDetector, changeDetector, "f");
91
+ __classPrivateFieldSet(this, _SkySkipLinkHostComponent_adapter, adapter, "f");
92
+ }
93
93
  skipTo(link) {
94
94
  __classPrivateFieldGet(this, _SkySkipLinkHostComponent_adapter, "f").skipTo(link);
95
95
  }
96
96
  }
97
97
  _SkySkipLinkHostComponent__links = new WeakMap(), _SkySkipLinkHostComponent_changeDetector = new WeakMap(), _SkySkipLinkHostComponent_adapter = new WeakMap();
98
- SkySkipLinkHostComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: SkySkipLinkHostComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: SkySkipLinkAdapterService }], target: i0.ɵɵFactoryTarget.Component });
99
- SkySkipLinkHostComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: SkySkipLinkHostComponent, selector: "sky-skip-link-host", providers: [SkySkipLinkAdapterService], ngImport: i0, template: "<button\n *ngFor=\"let link of links\"\n class=\"sky-btn sky-btn-primary sky-skip-link\"\n type=\"button\"\n (click)=\"skipTo(link)\"\n>\n {{ 'skyux_list_skip_to_link' | skyLibResources : link.title }}\n</button>\n", styles: [".sky-skip-link{position:absolute;left:-999px;width:1px;height:1px;top:auto}.sky-skip-link:focus,.sky-skip-link:active{display:inline-block;height:auto;width:auto;position:absolute;top:10px;left:10px;margin:auto;z-index:10000}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "pipe", type: i3.SkyLibResourcesPipe, name: "skyLibResources" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
100
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: SkySkipLinkHostComponent, decorators: [{
98
+ SkySkipLinkHostComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkySkipLinkHostComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: SkySkipLinkAdapterService }], target: i0.ɵɵFactoryTarget.Component });
99
+ SkySkipLinkHostComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.1", type: SkySkipLinkHostComponent, selector: "sky-skip-link-host", providers: [SkySkipLinkAdapterService], ngImport: i0, template: "<button\n *ngFor=\"let link of links\"\n class=\"sky-btn sky-btn-primary sky-skip-link\"\n type=\"button\"\n (click)=\"skipTo(link)\"\n>\n {{ 'skyux_list_skip_to_link' | skyLibResources : link.title }}\n</button>\n", styles: [".sky-skip-link{position:absolute;left:-999px;width:1px;height:1px;top:auto}.sky-skip-link:focus,.sky-skip-link:active{display:inline-block;height:auto;width:auto;position:absolute;top:10px;left:10px;margin:auto;z-index:10000}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "pipe", type: i3.SkyLibResourcesPipe, name: "skyLibResources" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
100
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkySkipLinkHostComponent, decorators: [{
101
101
  type: Component,
102
102
  args: [{ selector: 'sky-skip-link-host', changeDetection: ChangeDetectionStrategy.OnPush, providers: [SkySkipLinkAdapterService], template: "<button\n *ngFor=\"let link of links\"\n class=\"sky-btn sky-btn-primary sky-skip-link\"\n type=\"button\"\n (click)=\"skipTo(link)\"\n>\n {{ 'skyux_list_skip_to_link' | skyLibResources : link.title }}\n</button>\n", styles: [".sky-skip-link{position:absolute;left:-999px;width:1px;height:1px;top:auto}.sky-skip-link:focus,.sky-skip-link:active{display:inline-block;height:auto;width:auto;position:absolute;top:10px;left:10px;margin:auto;z-index:10000}\n"] }]
103
103
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: SkySkipLinkAdapterService }]; } });
@@ -107,10 +107,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
107
107
  */
108
108
  class SkySkipLinkModule {
109
109
  }
110
- SkySkipLinkModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: SkySkipLinkModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
111
- SkySkipLinkModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.4", ngImport: i0, type: SkySkipLinkModule, declarations: [SkySkipLinkHostComponent], imports: [CommonModule, SkyI18nModule, SkyA11yResourcesModule] });
112
- SkySkipLinkModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: SkySkipLinkModule, imports: [CommonModule, SkyI18nModule, SkyA11yResourcesModule] });
113
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: SkySkipLinkModule, decorators: [{
110
+ SkySkipLinkModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkySkipLinkModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
111
+ SkySkipLinkModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: SkySkipLinkModule, declarations: [SkySkipLinkHostComponent], imports: [CommonModule, SkyI18nModule, SkyA11yResourcesModule] });
112
+ SkySkipLinkModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkySkipLinkModule, imports: [CommonModule, SkyI18nModule, SkyA11yResourcesModule] });
113
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkySkipLinkModule, decorators: [{
114
114
  type: NgModule,
115
115
  args: [{
116
116
  declarations: [SkySkipLinkHostComponent],
@@ -160,9 +160,9 @@ _SkySkipLinkService_dynamicComponentService = new WeakMap(), _SkySkipLinkService
160
160
  }
161
161
  return SkySkipLinkService.host;
162
162
  };
163
- SkySkipLinkService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: SkySkipLinkService, deps: [{ token: i1.SkyDynamicComponentService }], target: i0.ɵɵFactoryTarget.Injectable });
164
- SkySkipLinkService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: SkySkipLinkService, providedIn: 'any' });
165
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: SkySkipLinkService, decorators: [{
163
+ SkySkipLinkService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkySkipLinkService, deps: [{ token: i1.SkyDynamicComponentService }], target: i0.ɵɵFactoryTarget.Injectable });
164
+ SkySkipLinkService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkySkipLinkService, providedIn: 'any' });
165
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkySkipLinkService, decorators: [{
166
166
  type: Injectable,
167
167
  args: [{
168
168
  // Must be 'any' so that the skip link component is created in the context of its module's injector.
@@ -1 +1 @@
1
- {"version":3,"file":"skyux-a11y.mjs","sources":["../../../../../libs/components/a11y/src/lib/modules/shared/sky-a11y-resources.module.ts","../../../../../libs/components/a11y/src/lib/modules/skip-link/skip-link-adapter.service.ts","../../../../../libs/components/a11y/src/lib/modules/skip-link/skip-link-host.component.ts","../../../../../libs/components/a11y/src/lib/modules/skip-link/skip-link-host.component.html","../../../../../libs/components/a11y/src/lib/modules/skip-link/skip-link.module.ts","../../../../../libs/components/a11y/src/lib/modules/skip-link/skip-link.service.ts","../../../../../libs/components/a11y/src/skyux-a11y.ts"],"sourcesContent":["/**\n * NOTICE: DO NOT MODIFY THIS FILE!\n * The contents of this file were automatically generated by\n * the 'ng generate @skyux/i18n:lib-resources-module lib/modules/shared/sky-a11y' schematic.\n * To update this file, simply rerun the command.\n */\nimport { NgModule } from '@angular/core';\nimport {\n SKY_LIB_RESOURCES_PROVIDERS,\n SkyAppLocaleInfo,\n SkyI18nModule,\n SkyLibResources,\n SkyLibResourcesProvider,\n getLibStringForLocale,\n} from '@skyux/i18n';\n\nconst RESOURCES: { [locale: string]: SkyLibResources } = {\n 'EN-US': { skyux_list_skip_to_link: { message: 'Skip to {0}' } },\n};\n\nexport class SkyA11yResourcesProvider implements SkyLibResourcesProvider {\n public getString(\n localeInfo: SkyAppLocaleInfo,\n name: string\n ): string | undefined {\n return getLibStringForLocale(RESOURCES, localeInfo.locale, name);\n }\n}\n\n/**\n * Import into any component library module that needs to use resource strings.\n */\n@NgModule({\n exports: [SkyI18nModule],\n providers: [\n {\n provide: SKY_LIB_RESOURCES_PROVIDERS,\n useClass: SkyA11yResourcesProvider,\n multi: true,\n },\n ],\n})\nexport class SkyA11yResourcesModule {}\n","import { Injectable } from '@angular/core';\nimport { SkyAppWindowRef } from '@skyux/core';\n\nimport { SkySkipLink } from './skip-link';\n\n@Injectable()\nexport class SkySkipLinkAdapterService {\n #windowRef: SkyAppWindowRef;\n\n constructor(windowRef: SkyAppWindowRef) {\n this.#windowRef = windowRef;\n }\n\n public skipTo(link: SkySkipLink): void {\n const targetElement = link.elementRef.nativeElement;\n const win = this.#windowRef.nativeWindow;\n const bodyElement = win.document.body;\n\n const bodyMarginTop = parseInt(\n win.getComputedStyle(bodyElement).marginTop,\n 10\n );\n const bodyDefaultPadding = 10;\n const scrollTop =\n targetElement.offsetTop - bodyMarginTop - bodyDefaultPadding;\n\n win.scroll(0, scrollTop);\n\n targetElement.focus();\n }\n}\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n} from '@angular/core';\n\nimport { SkySkipLink } from './skip-link';\nimport { SkySkipLinkAdapterService } from './skip-link-adapter.service';\n\n@Component({\n selector: 'sky-skip-link-host',\n templateUrl: './skip-link-host.component.html',\n styleUrls: ['./skip-link-host.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [SkySkipLinkAdapterService],\n})\nexport class SkySkipLinkHostComponent {\n public get links(): SkySkipLink[] {\n return this.#_links;\n }\n\n public set links(value: SkySkipLink[]) {\n this.#_links = value;\n this.#changeDetector.markForCheck();\n }\n\n #_links: SkySkipLink[] = [];\n\n #changeDetector: ChangeDetectorRef;\n #adapter: SkySkipLinkAdapterService;\n\n constructor(\n changeDetector: ChangeDetectorRef,\n adapter: SkySkipLinkAdapterService\n ) {\n this.#changeDetector = changeDetector;\n this.#adapter = adapter;\n }\n\n public skipTo(link: SkySkipLink): void {\n this.#adapter.skipTo(link);\n }\n}\n","<button\n *ngFor=\"let link of links\"\n class=\"sky-btn sky-btn-primary sky-skip-link\"\n type=\"button\"\n (click)=\"skipTo(link)\"\n>\n {{ 'skyux_list_skip_to_link' | skyLibResources : link.title }}\n</button>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { SkyI18nModule } from '@skyux/i18n';\n\nimport { SkyA11yResourcesModule } from '../shared/sky-a11y-resources.module';\n\nimport { SkySkipLinkHostComponent } from './skip-link-host.component';\n\n/**\n * The Angular module that enables \"skip links\" to be added to the page.\n */\n@NgModule({\n declarations: [SkySkipLinkHostComponent],\n imports: [CommonModule, SkyI18nModule, SkyA11yResourcesModule],\n})\nexport class SkySkipLinkModule {}\n","import { ComponentRef, Injectable } from '@angular/core';\nimport {\n SkyDynamicComponentLocation,\n SkyDynamicComponentService,\n} from '@skyux/core';\n\nimport { SkySkipLink } from './skip-link';\nimport { SkySkipLinkArgs } from './skip-link-args';\nimport { SkySkipLinkHostComponent } from './skip-link-host.component';\n\n/**\n * An Angular service that adds \"skip links\" to the page. Skip links will only be displayed\n * when the page initially loads and the user presses the Tab key, in which case the first link will\n * be displayed and focused. Clicking the button will skip to the specified element. Pressing\n * the Tab key again will move to the next skip link if more than one skip link is specified;\n * otherwise, focus will move to the first focusable element on the page.\n * @dynamic\n */\n@Injectable({\n // Must be 'any' so that the skip link component is created in the context of its module's injector.\n // If set to 'root', the component's dependency injections would only be derived from the root\n // injector and may loose context if the skip link was created from within a lazy-loaded module.\n providedIn: 'any',\n})\nexport class SkySkipLinkService {\n private static host: ComponentRef<SkySkipLinkHostComponent> | undefined;\n\n #dynamicComponentService: SkyDynamicComponentService;\n\n constructor(dynamicComponentService: SkyDynamicComponentService) {\n this.#dynamicComponentService = dynamicComponentService;\n }\n\n public setSkipLinks(args: SkySkipLinkArgs) {\n args.links = args.links.filter((link: SkySkipLink) => {\n const elementRefExists = link.elementRef;\n return elementRefExists;\n });\n\n // Timeout needed in case the consumer sets the skip links within an Angular lifecycle hook.\n setTimeout(() => {\n const host = this.#createHostComponent();\n host.instance.links = args.links;\n });\n }\n\n public removeHostComponent(): void {\n if (SkySkipLinkService.host) {\n this.#dynamicComponentService.removeComponent(SkySkipLinkService.host);\n SkySkipLinkService.host = undefined;\n }\n }\n\n #createHostComponent(): ComponentRef<SkySkipLinkHostComponent> {\n if (!SkySkipLinkService.host) {\n const componentRef = this.#dynamicComponentService.createComponent(\n SkySkipLinkHostComponent,\n {\n location: SkyDynamicComponentLocation.BodyTop,\n }\n );\n\n SkySkipLinkService.host = componentRef;\n }\n\n return SkySkipLinkService.host;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.SkySkipLinkAdapterService"],"mappings":";;;;;;;;;;AAAA;;;;;AAKG;AAWH,MAAM,SAAS,GAA0C;IACvD,OAAO,EAAE,EAAE,uBAAuB,EAAE,EAAE,OAAO,EAAE,aAAa,EAAE,EAAE;CACjE,CAAC;MAEW,wBAAwB,CAAA;IAC5B,SAAS,CACd,UAA4B,EAC5B,IAAY,EAAA;QAEZ,OAAO,qBAAqB,CAAC,SAAS,EAAE,UAAU,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;KAClE;AACF,CAAA;AAED;;AAEG;MAWU,sBAAsB,CAAA;;mHAAtB,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAtB,sBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,sBAAsB,YATvB,aAAa,CAAA,EAAA,CAAA,CAAA;AASZ,sBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,sBAAsB,EARtB,SAAA,EAAA;AACT,QAAA;AACE,YAAA,OAAO,EAAE,2BAA2B;AACpC,YAAA,QAAQ,EAAE,wBAAwB;AAClC,YAAA,KAAK,EAAE,IAAI;AACZ,SAAA;AACF,KAAA,EAAA,OAAA,EAAA,CAPS,aAAa,CAAA,EAAA,CAAA,CAAA;2FASZ,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAVlC,QAAQ;AAAC,YAAA,IAAA,EAA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YAAA,kBAAkB,CAAC,IAAI,GAAG,SAAS,CAAC;AACrC,SAAA;KACF;;;AAGC,IAAA,IAAI,CAAC,kBAAkB,CAAC,IAAI,EAAE;AAC5B,QAAA,MAAM,YAAY,GAAG,sBAAA,CAAA,IAAI,mDAAyB,CAAC,eAAe,CAChE,wBAAwB,EACxB;YACE,QAAQ,EAAE,2BAA2B,CAAC,OAAO;AAC9C,SAAA,CACF,CAAC;AAEF,QAAA,kBAAkB,CAAC,IAAI,GAAG,YAAY,CAAC;AACxC,KAAA;IAED,OAAO,kBAAkB,CAAC,IAAI,CAAC;AACjC,CAAC,CAAA;+GA1CU,kBAAkB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,0BAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAlB,kBAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,cAFjB,KAAK,EAAA,CAAA,CAAA;2FAEN,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAN9B,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;;;;AAIV,oBAAA,UAAU,EAAE,KAAK;iBAClB,CAAA;;;ACvBD;;AAEG;;;;"}
1
+ {"version":3,"file":"skyux-a11y.mjs","sources":["../../../../../libs/components/a11y/src/lib/modules/shared/sky-a11y-resources.module.ts","../../../../../libs/components/a11y/src/lib/modules/skip-link/skip-link-adapter.service.ts","../../../../../libs/components/a11y/src/lib/modules/skip-link/skip-link-host.component.ts","../../../../../libs/components/a11y/src/lib/modules/skip-link/skip-link-host.component.html","../../../../../libs/components/a11y/src/lib/modules/skip-link/skip-link.module.ts","../../../../../libs/components/a11y/src/lib/modules/skip-link/skip-link.service.ts","../../../../../libs/components/a11y/src/skyux-a11y.ts"],"sourcesContent":["/**\n * NOTICE: DO NOT MODIFY THIS FILE!\n * The contents of this file were automatically generated by\n * the 'ng generate @skyux/i18n:lib-resources-module lib/modules/shared/sky-a11y' schematic.\n * To update this file, simply rerun the command.\n */\nimport { NgModule } from '@angular/core';\nimport {\n SKY_LIB_RESOURCES_PROVIDERS,\n SkyAppLocaleInfo,\n SkyI18nModule,\n SkyLibResources,\n SkyLibResourcesProvider,\n getLibStringForLocale,\n} from '@skyux/i18n';\n\nconst RESOURCES: { [locale: string]: SkyLibResources } = {\n 'EN-US': { skyux_list_skip_to_link: { message: 'Skip to {0}' } },\n};\n\nexport class SkyA11yResourcesProvider implements SkyLibResourcesProvider {\n public getString(\n localeInfo: SkyAppLocaleInfo,\n name: string\n ): string | undefined {\n return getLibStringForLocale(RESOURCES, localeInfo.locale, name);\n }\n}\n\n/**\n * Import into any component library module that needs to use resource strings.\n */\n@NgModule({\n exports: [SkyI18nModule],\n providers: [\n {\n provide: SKY_LIB_RESOURCES_PROVIDERS,\n useClass: SkyA11yResourcesProvider,\n multi: true,\n },\n ],\n})\nexport class SkyA11yResourcesModule {}\n","import { Injectable } from '@angular/core';\nimport { SkyAppWindowRef } from '@skyux/core';\n\nimport { SkySkipLink } from './skip-link';\n\n@Injectable()\nexport class SkySkipLinkAdapterService {\n #windowRef: SkyAppWindowRef;\n\n constructor(windowRef: SkyAppWindowRef) {\n this.#windowRef = windowRef;\n }\n\n public skipTo(link: SkySkipLink): void {\n const targetElement = link.elementRef.nativeElement;\n const win = this.#windowRef.nativeWindow;\n const bodyElement = win.document.body;\n\n const bodyMarginTop = parseInt(\n win.getComputedStyle(bodyElement).marginTop,\n 10\n );\n const bodyDefaultPadding = 10;\n const scrollTop =\n targetElement.offsetTop - bodyMarginTop - bodyDefaultPadding;\n\n win.scroll(0, scrollTop);\n\n targetElement.focus();\n }\n}\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n} from '@angular/core';\n\nimport { SkySkipLink } from './skip-link';\nimport { SkySkipLinkAdapterService } from './skip-link-adapter.service';\n\n@Component({\n selector: 'sky-skip-link-host',\n templateUrl: './skip-link-host.component.html',\n styleUrls: ['./skip-link-host.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [SkySkipLinkAdapterService],\n})\nexport class SkySkipLinkHostComponent {\n public get links(): SkySkipLink[] {\n return this.#_links;\n }\n\n public set links(value: SkySkipLink[]) {\n this.#_links = value;\n this.#changeDetector.markForCheck();\n }\n\n #_links: SkySkipLink[] = [];\n\n #changeDetector: ChangeDetectorRef;\n #adapter: SkySkipLinkAdapterService;\n\n constructor(\n changeDetector: ChangeDetectorRef,\n adapter: SkySkipLinkAdapterService\n ) {\n this.#changeDetector = changeDetector;\n this.#adapter = adapter;\n }\n\n public skipTo(link: SkySkipLink): void {\n this.#adapter.skipTo(link);\n }\n}\n","<button\n *ngFor=\"let link of links\"\n class=\"sky-btn sky-btn-primary sky-skip-link\"\n type=\"button\"\n (click)=\"skipTo(link)\"\n>\n {{ 'skyux_list_skip_to_link' | skyLibResources : link.title }}\n</button>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { SkyI18nModule } from '@skyux/i18n';\n\nimport { SkyA11yResourcesModule } from '../shared/sky-a11y-resources.module';\n\nimport { SkySkipLinkHostComponent } from './skip-link-host.component';\n\n/**\n * The Angular module that enables \"skip links\" to be added to the page.\n */\n@NgModule({\n declarations: [SkySkipLinkHostComponent],\n imports: [CommonModule, SkyI18nModule, SkyA11yResourcesModule],\n})\nexport class SkySkipLinkModule {}\n","import { ComponentRef, Injectable } from '@angular/core';\nimport {\n SkyDynamicComponentLocation,\n SkyDynamicComponentService,\n} from '@skyux/core';\n\nimport { SkySkipLink } from './skip-link';\nimport { SkySkipLinkArgs } from './skip-link-args';\nimport { SkySkipLinkHostComponent } from './skip-link-host.component';\n\n/**\n * An Angular service that adds \"skip links\" to the page. Skip links will only be displayed\n * when the page initially loads and the user presses the Tab key, in which case the first link will\n * be displayed and focused. Clicking the button will skip to the specified element. Pressing\n * the Tab key again will move to the next skip link if more than one skip link is specified;\n * otherwise, focus will move to the first focusable element on the page.\n * @dynamic\n */\n@Injectable({\n // Must be 'any' so that the skip link component is created in the context of its module's injector.\n // If set to 'root', the component's dependency injections would only be derived from the root\n // injector and may loose context if the skip link was created from within a lazy-loaded module.\n providedIn: 'any',\n})\nexport class SkySkipLinkService {\n private static host: ComponentRef<SkySkipLinkHostComponent> | undefined;\n\n #dynamicComponentService: SkyDynamicComponentService;\n\n constructor(dynamicComponentService: SkyDynamicComponentService) {\n this.#dynamicComponentService = dynamicComponentService;\n }\n\n public setSkipLinks(args: SkySkipLinkArgs) {\n args.links = args.links.filter((link: SkySkipLink) => {\n const elementRefExists = link.elementRef;\n return elementRefExists;\n });\n\n // Timeout needed in case the consumer sets the skip links within an Angular lifecycle hook.\n setTimeout(() => {\n const host = this.#createHostComponent();\n host.instance.links = args.links;\n });\n }\n\n public removeHostComponent(): void {\n if (SkySkipLinkService.host) {\n this.#dynamicComponentService.removeComponent(SkySkipLinkService.host);\n SkySkipLinkService.host = undefined;\n }\n }\n\n #createHostComponent(): ComponentRef<SkySkipLinkHostComponent> {\n if (!SkySkipLinkService.host) {\n const componentRef = this.#dynamicComponentService.createComponent(\n SkySkipLinkHostComponent,\n {\n location: SkyDynamicComponentLocation.BodyTop,\n }\n );\n\n SkySkipLinkService.host = componentRef;\n }\n\n return SkySkipLinkService.host;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.SkySkipLinkAdapterService"],"mappings":";;;;;;;;;;AAAA;;;;;AAKG;AAWH,MAAM,SAAS,GAA0C;IACvD,OAAO,EAAE,EAAE,uBAAuB,EAAE,EAAE,OAAO,EAAE,aAAa,EAAE,EAAE;CACjE,CAAC;MAEW,wBAAwB,CAAA;IAC5B,SAAS,CACd,UAA4B,EAC5B,IAAY,EAAA;QAEZ,OAAO,qBAAqB,CAAC,SAAS,EAAE,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A,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,0BAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAlB,kBAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,cAFjB,KAAK,EAAA,CAAA,CAAA;2FAEN,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAN9B,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;;;;AAIV,oBAAA,UAAU,EAAE,KAAK;iBAClB,CAAA;;;ACvBD;;AAEG;;;;"}
@@ -27,16 +27,16 @@ class SkyA11yResourcesProvider {
27
27
  */
28
28
  class SkyA11yResourcesModule {
29
29
  }
30
- SkyA11yResourcesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: SkyA11yResourcesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
31
- SkyA11yResourcesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.4", ngImport: i0, type: SkyA11yResourcesModule, exports: [SkyI18nModule] });
32
- SkyA11yResourcesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: SkyA11yResourcesModule, providers: [
30
+ SkyA11yResourcesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyA11yResourcesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
31
+ SkyA11yResourcesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: SkyA11yResourcesModule, exports: [SkyI18nModule] });
32
+ SkyA11yResourcesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyA11yResourcesModule, providers: [
33
33
  {
34
34
  provide: SKY_LIB_RESOURCES_PROVIDERS,
35
35
  useClass: SkyA11yResourcesProvider,
36
36
  multi: true,
37
37
  },
38
38
  ], imports: [SkyI18nModule] });
39
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: SkyA11yResourcesModule, decorators: [{
39
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkyA11yResourcesModule, decorators: [{
40
40
  type: NgModule,
41
41
  args: [{
42
42
  exports: [SkyI18nModule],
@@ -68,21 +68,14 @@ class SkySkipLinkAdapterService {
68
68
  }
69
69
  }
70
70
  _SkySkipLinkAdapterService_windowRef = new WeakMap();
71
- SkySkipLinkAdapterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: SkySkipLinkAdapterService, deps: [{ token: i1.SkyAppWindowRef }], target: i0.ɵɵFactoryTarget.Injectable });
72
- SkySkipLinkAdapterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: SkySkipLinkAdapterService });
73
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: SkySkipLinkAdapterService, decorators: [{
71
+ SkySkipLinkAdapterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkySkipLinkAdapterService, deps: [{ token: i1.SkyAppWindowRef }], target: i0.ɵɵFactoryTarget.Injectable });
72
+ SkySkipLinkAdapterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkySkipLinkAdapterService });
73
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkySkipLinkAdapterService, decorators: [{
74
74
  type: Injectable
75
75
  }], ctorParameters: function () { return [{ type: i1.SkyAppWindowRef }]; } });
76
76
 
77
77
  var _SkySkipLinkHostComponent__links, _SkySkipLinkHostComponent_changeDetector, _SkySkipLinkHostComponent_adapter;
78
78
  class SkySkipLinkHostComponent {
79
- constructor(changeDetector, adapter) {
80
- _SkySkipLinkHostComponent__links.set(this, []);
81
- _SkySkipLinkHostComponent_changeDetector.set(this, void 0);
82
- _SkySkipLinkHostComponent_adapter.set(this, void 0);
83
- __classPrivateFieldSet(this, _SkySkipLinkHostComponent_changeDetector, changeDetector, "f");
84
- __classPrivateFieldSet(this, _SkySkipLinkHostComponent_adapter, adapter, "f");
85
- }
86
79
  get links() {
87
80
  return __classPrivateFieldGet(this, _SkySkipLinkHostComponent__links, "f");
88
81
  }
@@ -90,14 +83,21 @@ class SkySkipLinkHostComponent {
90
83
  __classPrivateFieldSet(this, _SkySkipLinkHostComponent__links, value, "f");
91
84
  __classPrivateFieldGet(this, _SkySkipLinkHostComponent_changeDetector, "f").markForCheck();
92
85
  }
86
+ constructor(changeDetector, adapter) {
87
+ _SkySkipLinkHostComponent__links.set(this, []);
88
+ _SkySkipLinkHostComponent_changeDetector.set(this, void 0);
89
+ _SkySkipLinkHostComponent_adapter.set(this, void 0);
90
+ __classPrivateFieldSet(this, _SkySkipLinkHostComponent_changeDetector, changeDetector, "f");
91
+ __classPrivateFieldSet(this, _SkySkipLinkHostComponent_adapter, adapter, "f");
92
+ }
93
93
  skipTo(link) {
94
94
  __classPrivateFieldGet(this, _SkySkipLinkHostComponent_adapter, "f").skipTo(link);
95
95
  }
96
96
  }
97
97
  _SkySkipLinkHostComponent__links = new WeakMap(), _SkySkipLinkHostComponent_changeDetector = new WeakMap(), _SkySkipLinkHostComponent_adapter = new WeakMap();
98
- SkySkipLinkHostComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: SkySkipLinkHostComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: SkySkipLinkAdapterService }], target: i0.ɵɵFactoryTarget.Component });
99
- SkySkipLinkHostComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: SkySkipLinkHostComponent, selector: "sky-skip-link-host", providers: [SkySkipLinkAdapterService], ngImport: i0, template: "<button\n *ngFor=\"let link of links\"\n class=\"sky-btn sky-btn-primary sky-skip-link\"\n type=\"button\"\n (click)=\"skipTo(link)\"\n>\n {{ 'skyux_list_skip_to_link' | skyLibResources : link.title }}\n</button>\n", styles: [".sky-skip-link{position:absolute;left:-999px;width:1px;height:1px;top:auto}.sky-skip-link:focus,.sky-skip-link:active{display:inline-block;height:auto;width:auto;position:absolute;top:10px;left:10px;margin:auto;z-index:10000}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "pipe", type: i3.SkyLibResourcesPipe, name: "skyLibResources" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
100
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: SkySkipLinkHostComponent, decorators: [{
98
+ SkySkipLinkHostComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkySkipLinkHostComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: SkySkipLinkAdapterService }], target: i0.ɵɵFactoryTarget.Component });
99
+ SkySkipLinkHostComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.1", type: SkySkipLinkHostComponent, selector: "sky-skip-link-host", providers: [SkySkipLinkAdapterService], ngImport: i0, template: "<button\n *ngFor=\"let link of links\"\n class=\"sky-btn sky-btn-primary sky-skip-link\"\n type=\"button\"\n (click)=\"skipTo(link)\"\n>\n {{ 'skyux_list_skip_to_link' | skyLibResources : link.title }}\n</button>\n", styles: [".sky-skip-link{position:absolute;left:-999px;width:1px;height:1px;top:auto}.sky-skip-link:focus,.sky-skip-link:active{display:inline-block;height:auto;width:auto;position:absolute;top:10px;left:10px;margin:auto;z-index:10000}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "pipe", type: i3.SkyLibResourcesPipe, name: "skyLibResources" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
100
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkySkipLinkHostComponent, decorators: [{
101
101
  type: Component,
102
102
  args: [{ selector: 'sky-skip-link-host', changeDetection: ChangeDetectionStrategy.OnPush, providers: [SkySkipLinkAdapterService], template: "<button\n *ngFor=\"let link of links\"\n class=\"sky-btn sky-btn-primary sky-skip-link\"\n type=\"button\"\n (click)=\"skipTo(link)\"\n>\n {{ 'skyux_list_skip_to_link' | skyLibResources : link.title }}\n</button>\n", styles: [".sky-skip-link{position:absolute;left:-999px;width:1px;height:1px;top:auto}.sky-skip-link:focus,.sky-skip-link:active{display:inline-block;height:auto;width:auto;position:absolute;top:10px;left:10px;margin:auto;z-index:10000}\n"] }]
103
103
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: SkySkipLinkAdapterService }]; } });
@@ -107,10 +107,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
107
107
  */
108
108
  class SkySkipLinkModule {
109
109
  }
110
- SkySkipLinkModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: SkySkipLinkModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
111
- SkySkipLinkModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.4", ngImport: i0, type: SkySkipLinkModule, declarations: [SkySkipLinkHostComponent], imports: [CommonModule, SkyI18nModule, SkyA11yResourcesModule] });
112
- SkySkipLinkModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: SkySkipLinkModule, imports: [CommonModule, SkyI18nModule, SkyA11yResourcesModule] });
113
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: SkySkipLinkModule, decorators: [{
110
+ SkySkipLinkModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkySkipLinkModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
111
+ SkySkipLinkModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: SkySkipLinkModule, declarations: [SkySkipLinkHostComponent], imports: [CommonModule, SkyI18nModule, SkyA11yResourcesModule] });
112
+ SkySkipLinkModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkySkipLinkModule, imports: [CommonModule, SkyI18nModule, SkyA11yResourcesModule] });
113
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkySkipLinkModule, decorators: [{
114
114
  type: NgModule,
115
115
  args: [{
116
116
  declarations: [SkySkipLinkHostComponent],
@@ -160,9 +160,9 @@ _SkySkipLinkService_dynamicComponentService = new WeakMap(), _SkySkipLinkService
160
160
  }
161
161
  return SkySkipLinkService.host;
162
162
  };
163
- SkySkipLinkService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: SkySkipLinkService, deps: [{ token: i1.SkyDynamicComponentService }], target: i0.ɵɵFactoryTarget.Injectable });
164
- SkySkipLinkService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: SkySkipLinkService, providedIn: 'any' });
165
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: SkySkipLinkService, decorators: [{
163
+ SkySkipLinkService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkySkipLinkService, deps: [{ token: i1.SkyDynamicComponentService }], target: i0.ɵɵFactoryTarget.Injectable });
164
+ SkySkipLinkService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkySkipLinkService, providedIn: 'any' });
165
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SkySkipLinkService, decorators: [{
166
166
  type: Injectable,
167
167
  args: [{
168
168
  // Must be 'any' so that the skip link component is created in the context of its module's injector.
@@ -1 +1 @@
1
- {"version":3,"file":"skyux-a11y.mjs","sources":["../../../../../libs/components/a11y/src/lib/modules/shared/sky-a11y-resources.module.ts","../../../../../libs/components/a11y/src/lib/modules/skip-link/skip-link-adapter.service.ts","../../../../../libs/components/a11y/src/lib/modules/skip-link/skip-link-host.component.ts","../../../../../libs/components/a11y/src/lib/modules/skip-link/skip-link-host.component.html","../../../../../libs/components/a11y/src/lib/modules/skip-link/skip-link.module.ts","../../../../../libs/components/a11y/src/lib/modules/skip-link/skip-link.service.ts","../../../../../libs/components/a11y/src/skyux-a11y.ts"],"sourcesContent":["/**\n * NOTICE: DO NOT MODIFY THIS FILE!\n * The contents of this file were automatically generated by\n * the 'ng generate @skyux/i18n:lib-resources-module lib/modules/shared/sky-a11y' schematic.\n * To update this file, simply rerun the command.\n */\nimport { NgModule } from '@angular/core';\nimport {\n SKY_LIB_RESOURCES_PROVIDERS,\n SkyAppLocaleInfo,\n SkyI18nModule,\n SkyLibResources,\n SkyLibResourcesProvider,\n getLibStringForLocale,\n} from '@skyux/i18n';\n\nconst RESOURCES: { [locale: string]: SkyLibResources } = {\n 'EN-US': { skyux_list_skip_to_link: { message: 'Skip to {0}' } },\n};\n\nexport class SkyA11yResourcesProvider implements SkyLibResourcesProvider {\n public getString(\n localeInfo: SkyAppLocaleInfo,\n name: string\n ): string | undefined {\n return getLibStringForLocale(RESOURCES, localeInfo.locale, name);\n }\n}\n\n/**\n * Import into any component library module that needs to use resource strings.\n */\n@NgModule({\n exports: [SkyI18nModule],\n providers: [\n {\n provide: SKY_LIB_RESOURCES_PROVIDERS,\n useClass: SkyA11yResourcesProvider,\n multi: true,\n },\n ],\n})\nexport class SkyA11yResourcesModule {}\n","import { Injectable } from '@angular/core';\nimport { SkyAppWindowRef } from '@skyux/core';\n\nimport { SkySkipLink } from './skip-link';\n\n@Injectable()\nexport class SkySkipLinkAdapterService {\n #windowRef: SkyAppWindowRef;\n\n constructor(windowRef: SkyAppWindowRef) {\n this.#windowRef = windowRef;\n }\n\n public skipTo(link: SkySkipLink): void {\n const targetElement = link.elementRef.nativeElement;\n const win = this.#windowRef.nativeWindow;\n const bodyElement = win.document.body;\n\n const bodyMarginTop = parseInt(\n win.getComputedStyle(bodyElement).marginTop,\n 10\n );\n const bodyDefaultPadding = 10;\n const scrollTop =\n targetElement.offsetTop - bodyMarginTop - bodyDefaultPadding;\n\n win.scroll(0, scrollTop);\n\n targetElement.focus();\n }\n}\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n} from '@angular/core';\n\nimport { SkySkipLink } from './skip-link';\nimport { SkySkipLinkAdapterService } from './skip-link-adapter.service';\n\n@Component({\n selector: 'sky-skip-link-host',\n templateUrl: './skip-link-host.component.html',\n styleUrls: ['./skip-link-host.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [SkySkipLinkAdapterService],\n})\nexport class SkySkipLinkHostComponent {\n public get links(): SkySkipLink[] {\n return this.#_links;\n }\n\n public set links(value: SkySkipLink[]) {\n this.#_links = value;\n this.#changeDetector.markForCheck();\n }\n\n #_links: SkySkipLink[] = [];\n\n #changeDetector: ChangeDetectorRef;\n #adapter: SkySkipLinkAdapterService;\n\n constructor(\n changeDetector: ChangeDetectorRef,\n adapter: SkySkipLinkAdapterService\n ) {\n this.#changeDetector = changeDetector;\n this.#adapter = adapter;\n }\n\n public skipTo(link: SkySkipLink): void {\n this.#adapter.skipTo(link);\n }\n}\n","<button\n *ngFor=\"let link of links\"\n class=\"sky-btn sky-btn-primary sky-skip-link\"\n type=\"button\"\n (click)=\"skipTo(link)\"\n>\n {{ 'skyux_list_skip_to_link' | skyLibResources : link.title }}\n</button>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { SkyI18nModule } from '@skyux/i18n';\n\nimport { SkyA11yResourcesModule } from '../shared/sky-a11y-resources.module';\n\nimport { SkySkipLinkHostComponent } from './skip-link-host.component';\n\n/**\n * The Angular module that enables \"skip links\" to be added to the page.\n */\n@NgModule({\n declarations: [SkySkipLinkHostComponent],\n imports: [CommonModule, SkyI18nModule, SkyA11yResourcesModule],\n})\nexport class SkySkipLinkModule {}\n","import { ComponentRef, Injectable } from '@angular/core';\nimport {\n SkyDynamicComponentLocation,\n SkyDynamicComponentService,\n} from '@skyux/core';\n\nimport { SkySkipLink } from './skip-link';\nimport { SkySkipLinkArgs } from './skip-link-args';\nimport { SkySkipLinkHostComponent } from './skip-link-host.component';\n\n/**\n * An Angular service that adds \"skip links\" to the page. Skip links will only be displayed\n * when the page initially loads and the user presses the Tab key, in which case the first link will\n * be displayed and focused. Clicking the button will skip to the specified element. Pressing\n * the Tab key again will move to the next skip link if more than one skip link is specified;\n * otherwise, focus will move to the first focusable element on the page.\n * @dynamic\n */\n@Injectable({\n // Must be 'any' so that the skip link component is created in the context of its module's injector.\n // If set to 'root', the component's dependency injections would only be derived from the root\n // injector and may loose context if the skip link was created from within a lazy-loaded module.\n providedIn: 'any',\n})\nexport class SkySkipLinkService {\n private static host: ComponentRef<SkySkipLinkHostComponent> | undefined;\n\n #dynamicComponentService: SkyDynamicComponentService;\n\n constructor(dynamicComponentService: SkyDynamicComponentService) {\n this.#dynamicComponentService = dynamicComponentService;\n }\n\n public setSkipLinks(args: SkySkipLinkArgs) {\n args.links = args.links.filter((link: SkySkipLink) => {\n const elementRefExists = link.elementRef;\n return elementRefExists;\n });\n\n // Timeout needed in case the consumer sets the skip links within an Angular lifecycle hook.\n setTimeout(() => {\n const host = this.#createHostComponent();\n host.instance.links = args.links;\n });\n }\n\n public removeHostComponent(): void {\n if (SkySkipLinkService.host) {\n this.#dynamicComponentService.removeComponent(SkySkipLinkService.host);\n SkySkipLinkService.host = undefined;\n }\n }\n\n #createHostComponent(): ComponentRef<SkySkipLinkHostComponent> {\n if (!SkySkipLinkService.host) {\n const componentRef = this.#dynamicComponentService.createComponent(\n SkySkipLinkHostComponent,\n {\n location: SkyDynamicComponentLocation.BodyTop,\n }\n );\n\n SkySkipLinkService.host = componentRef;\n }\n\n return SkySkipLinkService.host;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.SkySkipLinkAdapterService"],"mappings":";;;;;;;;;;AAAA;;;;;AAKG;AAWH,MAAM,SAAS,GAA0C;IACvD,OAAO,EAAE,EAAE,uBAAuB,EAAE,EAAE,OAAO,EAAE,aAAa,EAAE,EAAE;CACjE,CAAC;MAEW,wBAAwB,CAAA;IAC5B,SAAS,CACd,UAA4B,EAC5B,IAAY,EAAA;QAEZ,OAAO,qBAAqB,CAAC,SAAS,EAAE,UAAU,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;KAClE;AACF,CAAA;AAED;;AAEG;MAWU,sBAAsB,CAAA;;mHAAtB,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAtB,sBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,sBAAsB,YATvB,aAAa,CAAA,EAAA,CAAA,CAAA;AASZ,sBAAA,CAAA,IAAA,GAAA,EAAA,CAAA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AA;;;;AAIV,oBAAA,UAAU,EAAE,KAAK;AAClB,iBAAA,CAAA;;;ACvBD;;AAEG;;;;"}
1
+ {"version":3,"file":"skyux-a11y.mjs","sources":["../../../../../libs/components/a11y/src/lib/modules/shared/sky-a11y-resources.module.ts","../../../../../libs/components/a11y/src/lib/modules/skip-link/skip-link-adapter.service.ts","../../../../../libs/components/a11y/src/lib/modules/skip-link/skip-link-host.component.ts","../../../../../libs/components/a11y/src/lib/modules/skip-link/skip-link-host.component.html","../../../../../libs/components/a11y/src/lib/modules/skip-link/skip-link.module.ts","../../../../../libs/components/a11y/src/lib/modules/skip-link/skip-link.service.ts","../../../../../libs/components/a11y/src/skyux-a11y.ts"],"sourcesContent":["/**\n * NOTICE: DO NOT MODIFY THIS FILE!\n * The contents of this file were automatically generated by\n * the 'ng generate @skyux/i18n:lib-resources-module lib/modules/shared/sky-a11y' schematic.\n * To update this file, simply rerun the command.\n */\nimport { NgModule } from '@angular/core';\nimport {\n SKY_LIB_RESOURCES_PROVIDERS,\n SkyAppLocaleInfo,\n SkyI18nModule,\n SkyLibResources,\n SkyLibResourcesProvider,\n getLibStringForLocale,\n} from '@skyux/i18n';\n\nconst RESOURCES: { [locale: string]: SkyLibResources } = {\n 'EN-US': { skyux_list_skip_to_link: { message: 'Skip to {0}' } },\n};\n\nexport class SkyA11yResourcesProvider implements SkyLibResourcesProvider {\n public getString(\n localeInfo: SkyAppLocaleInfo,\n name: string\n ): string | undefined {\n return getLibStringForLocale(RESOURCES, localeInfo.locale, name);\n }\n}\n\n/**\n * Import into any component library module that needs to use resource strings.\n */\n@NgModule({\n exports: [SkyI18nModule],\n providers: [\n {\n provide: SKY_LIB_RESOURCES_PROVIDERS,\n useClass: SkyA11yResourcesProvider,\n multi: true,\n },\n ],\n})\nexport class SkyA11yResourcesModule {}\n","import { Injectable } from '@angular/core';\nimport { SkyAppWindowRef } from '@skyux/core';\n\nimport { SkySkipLink } from './skip-link';\n\n@Injectable()\nexport class SkySkipLinkAdapterService {\n #windowRef: SkyAppWindowRef;\n\n constructor(windowRef: SkyAppWindowRef) {\n this.#windowRef = windowRef;\n }\n\n public skipTo(link: SkySkipLink): void {\n const targetElement = link.elementRef.nativeElement;\n const win = this.#windowRef.nativeWindow;\n const bodyElement = win.document.body;\n\n const bodyMarginTop = parseInt(\n win.getComputedStyle(bodyElement).marginTop,\n 10\n );\n const bodyDefaultPadding = 10;\n const scrollTop =\n targetElement.offsetTop - bodyMarginTop - bodyDefaultPadding;\n\n win.scroll(0, scrollTop);\n\n targetElement.focus();\n }\n}\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n} from '@angular/core';\n\nimport { SkySkipLink } from './skip-link';\nimport { SkySkipLinkAdapterService } from './skip-link-adapter.service';\n\n@Component({\n selector: 'sky-skip-link-host',\n templateUrl: './skip-link-host.component.html',\n styleUrls: ['./skip-link-host.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [SkySkipLinkAdapterService],\n})\nexport class SkySkipLinkHostComponent {\n public get links(): SkySkipLink[] {\n return this.#_links;\n }\n\n public set links(value: SkySkipLink[]) {\n this.#_links = value;\n this.#changeDetector.markForCheck();\n }\n\n #_links: SkySkipLink[] = [];\n\n #changeDetector: ChangeDetectorRef;\n #adapter: SkySkipLinkAdapterService;\n\n constructor(\n changeDetector: ChangeDetectorRef,\n adapter: SkySkipLinkAdapterService\n ) {\n this.#changeDetector = changeDetector;\n this.#adapter = adapter;\n }\n\n public skipTo(link: SkySkipLink): void {\n this.#adapter.skipTo(link);\n }\n}\n","<button\n *ngFor=\"let link of links\"\n class=\"sky-btn sky-btn-primary sky-skip-link\"\n type=\"button\"\n (click)=\"skipTo(link)\"\n>\n {{ 'skyux_list_skip_to_link' | skyLibResources : link.title }}\n</button>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { SkyI18nModule } from '@skyux/i18n';\n\nimport { SkyA11yResourcesModule } from '../shared/sky-a11y-resources.module';\n\nimport { SkySkipLinkHostComponent } from './skip-link-host.component';\n\n/**\n * The Angular module that enables \"skip links\" to be added to the page.\n */\n@NgModule({\n declarations: [SkySkipLinkHostComponent],\n imports: [CommonModule, SkyI18nModule, SkyA11yResourcesModule],\n})\nexport class SkySkipLinkModule {}\n","import { ComponentRef, Injectable } from '@angular/core';\nimport {\n SkyDynamicComponentLocation,\n SkyDynamicComponentService,\n} from '@skyux/core';\n\nimport { SkySkipLink } from './skip-link';\nimport { SkySkipLinkArgs } from './skip-link-args';\nimport { SkySkipLinkHostComponent } from './skip-link-host.component';\n\n/**\n * An Angular service that adds \"skip links\" to the page. Skip links will only be displayed\n * when the page initially loads and the user presses the Tab key, in which case the first link will\n * be displayed and focused. Clicking the button will skip to the specified element. Pressing\n * the Tab key again will move to the next skip link if more than one skip link is specified;\n * otherwise, focus will move to the first focusable element on the page.\n * @dynamic\n */\n@Injectable({\n // Must be 'any' so that the skip link component is created in the context of its module's injector.\n // If set to 'root', the component's dependency injections would only be derived from the root\n // injector and may loose context if the skip link was created from within a lazy-loaded module.\n providedIn: 'any',\n})\nexport class SkySkipLinkService {\n private static host: ComponentRef<SkySkipLinkHostComponent> | undefined;\n\n #dynamicComponentService: SkyDynamicComponentService;\n\n constructor(dynamicComponentService: SkyDynamicComponentService) {\n this.#dynamicComponentService = dynamicComponentService;\n }\n\n public setSkipLinks(args: SkySkipLinkArgs) {\n args.links = args.links.filter((link: SkySkipLink) => {\n const elementRefExists = link.elementRef;\n return elementRefExists;\n });\n\n // Timeout needed in case the consumer sets the skip links within an Angular lifecycle hook.\n setTimeout(() => {\n const host = this.#createHostComponent();\n host.instance.links = args.links;\n });\n }\n\n public removeHostComponent(): void {\n if (SkySkipLinkService.host) {\n this.#dynamicComponentService.removeComponent(SkySkipLinkService.host);\n SkySkipLinkService.host = undefined;\n }\n }\n\n #createHostComponent(): ComponentRef<SkySkipLinkHostComponent> {\n if (!SkySkipLinkService.host) {\n const componentRef = this.#dynamicComponentService.createComponent(\n SkySkipLinkHostComponent,\n {\n location: SkyDynamicComponentLocation.BodyTop,\n }\n );\n\n SkySkipLinkService.host = componentRef;\n }\n\n return SkySkipLinkService.host;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.SkySkipLinkAdapterService"],"mappings":";;;;;;;;;;AAAA;;;;;AAKG;AAWH,MAAM,SAAS,GAA0C;IACvD,OAAO,EAAE,EAAE,uBAAuB,EAAE,EAAE,OAAO,EAAE,aAAa,EAAE,EAAE;CACjE,CAAC;MAEW,wBAAwB,CAAA;IAC5B,SAAS,CACd,UAA4B,EAC5B,IAAY,EAAA;QAEZ,OAAO,qBAAqB,CAAC,SAAS,EAAE,UAAU,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;KAClE;AACF,CAAA;AAED;;AAEG;MAWU,sBAAsB,CAAA;;mHAAtB,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAtB,sBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,sBAAsB,YATvB,aAAa,CAAA,EAAA,CAAA,CAAA;AASZ,sBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,sBAAsB,EARtB,SAAA,EAAA;AACT,QAAA;AACE,YAAA,OAAO,EAAE,2BAA2B;AACpC,YAAA,QAAQ,EAAE,wBAAwB;AAClC,YAAA,KAAK,EAAE,IAAI;AACZ,SAAA;AACF,KAAA,EAAA,OAAA,EAAA,CAPS,aAAa,CAAA,EAAA,CAAA,CAAA;2FASZ,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAVlC,QAAQ;A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CAAC,eAAe,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC;AACvE,YAAA,kBAAkB,CAAC,IAAI,GAAG,SAAS,CAAC;AACrC,SAAA;KACF;;;AAGC,IAAA,IAAI,CAAC,kBAAkB,CAAC,IAAI,EAAE;QAC5B,MAAM,YAAY,GAAG,sBAAA,CAAA,IAAI,mDAAyB,CAAC,eAAe,CAChE,wBAAwB,EACxB;YACE,QAAQ,EAAE,2BAA2B,CAAC,OAAO;AAC9C,SAAA,CACF,CAAC;AAEF,QAAA,kBAAkB,CAAC,IAAI,GAAG,YAAY,CAAC;AACxC,KAAA;IAED,OAAO,kBAAkB,CAAC,IAAI,CAAC;AACjC,CAAC,CAAA;+GA1CU,kBAAkB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,0BAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAlB,kBAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,cAFjB,KAAK,EAAA,CAAA,CAAA;2FAEN,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAN9B,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;;;;AAIV,oBAAA,UAAU,EAAE,KAAK;AAClB,iBAAA,CAAA;;;ACvBD;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyux/a11y",
3
- "version": "8.0.0-alpha.6",
3
+ "version": "8.0.0-alpha.7",
4
4
  "author": "Blackbaud, Inc.",
5
5
  "keywords": [
6
6
  "blackbaud",
@@ -40,13 +40,13 @@
40
40
  }
41
41
  },
42
42
  "peerDependencies": {
43
- "@angular/common": "^15.1.4",
44
- "@angular/core": "^15.1.4",
45
- "@skyux/core": "8.0.0-alpha.6",
46
- "@skyux/i18n": "8.0.0-alpha.6"
43
+ "@angular/common": "^15.2.1",
44
+ "@angular/core": "^15.2.1",
45
+ "@skyux/core": "8.0.0-alpha.7",
46
+ "@skyux/i18n": "8.0.0-alpha.7"
47
47
  },
48
48
  "dependencies": {
49
- "tslib": "^2.3.1"
49
+ "tslib": "^2.5.0"
50
50
  },
51
51
  "module": "fesm2015/skyux-a11y.mjs",
52
52
  "es2020": "fesm2020/skyux-a11y.mjs",