@angular/cdk 11.2.5 → 11.2.6
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.
- package/a11y/focus-trap/focus-trap.d.ts +4 -4
- package/bundles/cdk-a11y.umd.js +4 -4
- package/bundles/cdk-a11y.umd.js.map +1 -1
- package/bundles/cdk-a11y.umd.min.js.map +1 -1
- package/bundles/cdk-platform.umd.js +3 -2
- package/bundles/cdk-platform.umd.js.map +1 -1
- package/bundles/cdk-platform.umd.min.js +3 -3
- package/bundles/cdk-platform.umd.min.js.map +1 -1
- package/bundles/cdk.umd.js +1 -1
- package/bundles/cdk.umd.js.map +1 -1
- package/bundles/cdk.umd.min.js +1 -1
- package/bundles/cdk.umd.min.js.map +1 -1
- package/esm2015/a11y/focus-trap/focus-trap.js +5 -5
- package/esm2015/platform/features/scrolling.js +4 -3
- package/esm2015/version.js +1 -1
- package/fesm2015/a11y.js +4 -4
- package/fesm2015/a11y.js.map +1 -1
- package/fesm2015/cdk.js +1 -1
- package/fesm2015/cdk.js.map +1 -1
- package/fesm2015/platform.js +3 -2
- package/fesm2015/platform.js.map +1 -1
- package/package.json +1 -1
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-generate/drag-drop/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.__style__.template +1 -1
- package/schematics/paths.d.ts +11 -0
- package/schematics/paths.js +16 -0
|
@@ -13,10 +13,10 @@ import { InteractivityChecker } from '../interactivity-checker/interactivity-che
|
|
|
13
13
|
*
|
|
14
14
|
* This class currently uses a relatively simple approach to focus trapping.
|
|
15
15
|
* It assumes that the tab order is the same as DOM order, which is not necessarily true.
|
|
16
|
-
* Things like `tabIndex > 0`, flex `order`, and shadow roots can cause the two to
|
|
16
|
+
* Things like `tabIndex > 0`, flex `order`, and shadow roots can cause the two to be misaligned.
|
|
17
17
|
*
|
|
18
18
|
* @deprecated Use `ConfigurableFocusTrap` instead.
|
|
19
|
-
* @breaking-change
|
|
19
|
+
* @breaking-change 11.0.0
|
|
20
20
|
*/
|
|
21
21
|
export declare class FocusTrap {
|
|
22
22
|
readonly _element: HTMLElement;
|
|
@@ -38,7 +38,7 @@ export declare class FocusTrap {
|
|
|
38
38
|
/**
|
|
39
39
|
* Inserts the anchors into the DOM. This is usually done automatically
|
|
40
40
|
* in the constructor, but can be deferred for cases like directives with `*ngIf`.
|
|
41
|
-
* @returns Whether the focus trap managed to attach
|
|
41
|
+
* @returns Whether the focus trap managed to attach successfully. This may not be the case
|
|
42
42
|
* if the target element isn't currently in the DOM.
|
|
43
43
|
*/
|
|
44
44
|
attachAnchors(): boolean;
|
|
@@ -111,7 +111,7 @@ export declare class FocusTrap {
|
|
|
111
111
|
/**
|
|
112
112
|
* Factory that allows easy instantiation of focus traps.
|
|
113
113
|
* @deprecated Use `ConfigurableFocusTrapFactory` instead.
|
|
114
|
-
* @breaking-change
|
|
114
|
+
* @breaking-change 11.0.0
|
|
115
115
|
*/
|
|
116
116
|
export declare class FocusTrapFactory {
|
|
117
117
|
private _checker;
|
package/bundles/cdk-a11y.umd.js
CHANGED
|
@@ -1187,10 +1187,10 @@
|
|
|
1187
1187
|
*
|
|
1188
1188
|
* This class currently uses a relatively simple approach to focus trapping.
|
|
1189
1189
|
* It assumes that the tab order is the same as DOM order, which is not necessarily true.
|
|
1190
|
-
* Things like `tabIndex > 0`, flex `order`, and shadow roots can cause the two to
|
|
1190
|
+
* Things like `tabIndex > 0`, flex `order`, and shadow roots can cause the two to be misaligned.
|
|
1191
1191
|
*
|
|
1192
1192
|
* @deprecated Use `ConfigurableFocusTrap` instead.
|
|
1193
|
-
* @breaking-change
|
|
1193
|
+
* @breaking-change 11.0.0
|
|
1194
1194
|
*/
|
|
1195
1195
|
var FocusTrap = /** @class */ (function () {
|
|
1196
1196
|
function FocusTrap(_element, _checker, _ngZone, _document, deferAnchors) {
|
|
@@ -1244,7 +1244,7 @@
|
|
|
1244
1244
|
/**
|
|
1245
1245
|
* Inserts the anchors into the DOM. This is usually done automatically
|
|
1246
1246
|
* in the constructor, but can be deferred for cases like directives with `*ngIf`.
|
|
1247
|
-
* @returns Whether the focus trap managed to attach
|
|
1247
|
+
* @returns Whether the focus trap managed to attach successfully. This may not be the case
|
|
1248
1248
|
* if the target element isn't currently in the DOM.
|
|
1249
1249
|
*/
|
|
1250
1250
|
FocusTrap.prototype.attachAnchors = function () {
|
|
@@ -1472,7 +1472,7 @@
|
|
|
1472
1472
|
/**
|
|
1473
1473
|
* Factory that allows easy instantiation of focus traps.
|
|
1474
1474
|
* @deprecated Use `ConfigurableFocusTrapFactory` instead.
|
|
1475
|
-
* @breaking-change
|
|
1475
|
+
* @breaking-change 11.0.0
|
|
1476
1476
|
*/
|
|
1477
1477
|
var FocusTrapFactory = /** @class */ (function () {
|
|
1478
1478
|
function FocusTrapFactory(_checker, _ngZone, _document) {
|