@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
package/fesm2015/a11y.js
CHANGED
|
@@ -868,10 +868,10 @@ function getWindow(node) {
|
|
|
868
868
|
*
|
|
869
869
|
* This class currently uses a relatively simple approach to focus trapping.
|
|
870
870
|
* It assumes that the tab order is the same as DOM order, which is not necessarily true.
|
|
871
|
-
* Things like `tabIndex > 0`, flex `order`, and shadow roots can cause the two to
|
|
871
|
+
* Things like `tabIndex > 0`, flex `order`, and shadow roots can cause the two to be misaligned.
|
|
872
872
|
*
|
|
873
873
|
* @deprecated Use `ConfigurableFocusTrap` instead.
|
|
874
|
-
* @breaking-change
|
|
874
|
+
* @breaking-change 11.0.0
|
|
875
875
|
*/
|
|
876
876
|
class FocusTrap {
|
|
877
877
|
constructor(_element, _checker, _ngZone, _document, deferAnchors = false) {
|
|
@@ -919,7 +919,7 @@ class FocusTrap {
|
|
|
919
919
|
/**
|
|
920
920
|
* Inserts the anchors into the DOM. This is usually done automatically
|
|
921
921
|
* in the constructor, but can be deferred for cases like directives with `*ngIf`.
|
|
922
|
-
* @returns Whether the focus trap managed to attach
|
|
922
|
+
* @returns Whether the focus trap managed to attach successfully. This may not be the case
|
|
923
923
|
* if the target element isn't currently in the DOM.
|
|
924
924
|
*/
|
|
925
925
|
attachAnchors() {
|
|
@@ -1142,7 +1142,7 @@ class FocusTrap {
|
|
|
1142
1142
|
/**
|
|
1143
1143
|
* Factory that allows easy instantiation of focus traps.
|
|
1144
1144
|
* @deprecated Use `ConfigurableFocusTrapFactory` instead.
|
|
1145
|
-
* @breaking-change
|
|
1145
|
+
* @breaking-change 11.0.0
|
|
1146
1146
|
*/
|
|
1147
1147
|
class FocusTrapFactory {
|
|
1148
1148
|
constructor(_checker, _ngZone, _document) {
|