@angular/cdk 9.2.3 → 9.2.4
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/_text-field.scss +19 -4
- package/a11y/index.metadata.json +1 -1
- package/bundles/cdk-a11y.umd.js +8 -3
- package/bundles/cdk-a11y.umd.js.map +1 -1
- package/bundles/cdk-a11y.umd.min.js +1 -1
- package/bundles/cdk-a11y.umd.min.js.map +1 -1
- package/bundles/cdk-overlay.umd.js +2 -12
- package/bundles/cdk-overlay.umd.js.map +1 -1
- package/bundles/cdk-overlay.umd.min.js +2 -2
- package/bundles/cdk-overlay.umd.min.js.map +1 -1
- package/bundles/cdk-text-field.umd.js +7 -4
- package/bundles/cdk-text-field.umd.js.map +1 -1
- package/bundles/cdk-text-field.umd.min.js +2 -2
- package/bundles/cdk-text-field.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-monitor/focus-monitor.js +10 -5
- package/esm2015/a11y/focus-trap/configurable-focus-trap-factory.js +3 -3
- package/esm2015/a11y/focus-trap/focus-trap.js +1 -1
- package/esm2015/a11y/live-announcer/live-announcer.js +1 -1
- package/esm2015/overlay/keyboard/overlay-keyboard-dispatcher.js +2 -2
- package/esm2015/overlay/overlay-ref.js +3 -33
- package/esm2015/text-field/autosize.js +14 -5
- package/esm2015/version.js +1 -1
- package/esm5/a11y/focus-monitor/focus-monitor.js +9 -4
- package/esm5/overlay/keyboard/overlay-keyboard-dispatcher.js +2 -2
- package/esm5/overlay/overlay-ref.js +3 -13
- package/esm5/text-field/autosize.js +8 -5
- package/esm5/version.js +1 -1
- package/fesm2015/a11y.js +9 -4
- package/fesm2015/a11y.js.map +1 -1
- package/fesm2015/cdk.js +1 -1
- package/fesm2015/cdk.js.map +1 -1
- package/fesm2015/overlay.js +3 -33
- package/fesm2015/overlay.js.map +1 -1
- package/fesm2015/text-field.js +13 -4
- package/fesm2015/text-field.js.map +1 -1
- package/fesm5/a11y.js +8 -3
- package/fesm5/a11y.js.map +1 -1
- package/fesm5/cdk.js +1 -1
- package/fesm5/cdk.js.map +1 -1
- package/fesm5/overlay.js +3 -13
- package/fesm5/overlay.js.map +1 -1
- package/fesm5/text-field.js +7 -4
- package/fesm5/text-field.js.map +1 -1
- package/overlay/index.metadata.json +1 -1
- package/overlay/overlay-ref.d.ts +0 -3
- package/package.json +1 -1
- package/schematics/ng-add/index.js +1 -1
- package/text-field/_text-field.scss +19 -4
- package/text-field/autosize.d.ts +2 -0
- package/text-field/index.metadata.json +1 -1
- package/text-field-prebuilt.css +1 -1
package/fesm5/cdk.js
CHANGED
|
@@ -8,7 +8,7 @@ import { Version } from '@angular/core';
|
|
|
8
8
|
* found in the LICENSE file at https://angular.io/license
|
|
9
9
|
*/
|
|
10
10
|
/** Current version of the Angular Component Development Kit. */
|
|
11
|
-
var VERSION = new Version('9.2.
|
|
11
|
+
var VERSION = new Version('9.2.4');
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* @license
|
package/fesm5/cdk.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cdk.js","sources":["../../../../../../src/cdk/version.ts","../../../../../../src/cdk/public-api.ts","../../../../../../src/cdk/index.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {Version} from '@angular/core';\n\n/** Current version of the Angular Component Development Kit. */\nexport const VERSION = new Version('9.2.
|
|
1
|
+
{"version":3,"file":"cdk.js","sources":["../../../../../../src/cdk/version.ts","../../../../../../src/cdk/public-api.ts","../../../../../../src/cdk/index.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {Version} from '@angular/core';\n\n/** Current version of the Angular Component Development Kit. */\nexport const VERSION = new Version('9.2.4');\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nexport * from './version';\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;AAAA;;;;;;;AAQA,AAEA;AACA,IAAa,OAAO,GAAG,IAAI,OAAO,CAAC,mBAAmB,CAAC;;ACXvD;;;;;;GAMG;;ACNH;;;;;;GAMG;;;;"}
|
package/fesm5/overlay.js
CHANGED
|
@@ -7,7 +7,7 @@ import { coerceCssPixelValue, coerceArray, coerceBooleanProperty } from '@angula
|
|
|
7
7
|
import { Directionality, BidiModule } from '@angular/cdk/bidi';
|
|
8
8
|
import { DomPortalOutlet, TemplatePortal, PortalModule } from '@angular/cdk/portal';
|
|
9
9
|
import { Platform } from '@angular/cdk/platform';
|
|
10
|
-
import { Subject, Subscription,
|
|
10
|
+
import { Subject, Subscription, merge } from 'rxjs';
|
|
11
11
|
import { take, takeUntil } from 'rxjs/operators';
|
|
12
12
|
import { ESCAPE, hasModifierKey } from '@angular/cdk/keycodes';
|
|
13
13
|
|
|
@@ -521,7 +521,7 @@ var OverlayKeyboardDispatcher = /** @class */ (function () {
|
|
|
521
521
|
// (e.g. for select and autocomplete). We skip overlays without keydown event subscriptions,
|
|
522
522
|
// because we don't want overlays that don't handle keyboard events to block the ones below
|
|
523
523
|
// them that do.
|
|
524
|
-
if (overlays[i].
|
|
524
|
+
if (overlays[i]._keydownEvents.observers.length > 0) {
|
|
525
525
|
overlays[i]._keydownEvents.next(event);
|
|
526
526
|
break;
|
|
527
527
|
}
|
|
@@ -724,18 +724,8 @@ var OverlayRef = /** @class */ (function () {
|
|
|
724
724
|
this._detachments = new Subject();
|
|
725
725
|
this._locationChanges = Subscription.EMPTY;
|
|
726
726
|
this._backdropClickHandler = function (event) { return _this._backdropClick.next(event); };
|
|
727
|
-
this._keydownEventsObservable = new Observable(function (observer) {
|
|
728
|
-
var subscription = _this._keydownEvents.subscribe(observer);
|
|
729
|
-
_this._keydownEventSubscriptions++;
|
|
730
|
-
return function () {
|
|
731
|
-
subscription.unsubscribe();
|
|
732
|
-
_this._keydownEventSubscriptions--;
|
|
733
|
-
};
|
|
734
|
-
});
|
|
735
727
|
/** Stream of keydown events dispatched to this overlay. */
|
|
736
728
|
this._keydownEvents = new Subject();
|
|
737
|
-
/** Amount of subscriptions to the keydown events. */
|
|
738
|
-
this._keydownEventSubscriptions = 0;
|
|
739
729
|
if (_config.scrollStrategy) {
|
|
740
730
|
this._scrollStrategy = _config.scrollStrategy;
|
|
741
731
|
this._scrollStrategy.attach(this);
|
|
@@ -897,7 +887,7 @@ var OverlayRef = /** @class */ (function () {
|
|
|
897
887
|
};
|
|
898
888
|
/** Gets an observable of keydown events targeted to this overlay. */
|
|
899
889
|
OverlayRef.prototype.keydownEvents = function () {
|
|
900
|
-
return this.
|
|
890
|
+
return this._keydownEvents.asObservable();
|
|
901
891
|
};
|
|
902
892
|
/** Gets the current overlay configuration, which is immutable. */
|
|
903
893
|
OverlayRef.prototype.getConfig = function () {
|