@angular/material 18.2.9 → 18.2.10
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/esm2022/chips/chip-input.mjs +2 -2
- package/esm2022/core/version.mjs +1 -1
- package/esm2022/tabs/tab-body.mjs +3 -9
- package/fesm2022/chips.mjs +1 -1
- package/fesm2022/chips.mjs.map +1 -1
- package/fesm2022/core.mjs +1 -1
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/tabs.mjs +2 -8
- package/fesm2022/tabs.mjs.map +1 -1
- package/package.json +2 -2
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
- package/schematics/ng-generate/m3-theme/index_bundled.js +2 -2
- package/schematics/ng-update/index_bundled.js +31 -31
package/fesm2022/tabs.mjs
CHANGED
|
@@ -12,7 +12,7 @@ import * as i4 from '@angular/cdk/a11y';
|
|
|
12
12
|
import { FocusKeyManager, CdkMonitorFocus } from '@angular/cdk/a11y';
|
|
13
13
|
import { hasModifierKey, SPACE, ENTER } from '@angular/cdk/keycodes';
|
|
14
14
|
import { SharedResizeObserver } from '@angular/cdk/observers/private';
|
|
15
|
-
import { takeUntil, debounceTime, startWith, switchMap, skip, filter
|
|
15
|
+
import { takeUntil, debounceTime, startWith, switchMap, skip, filter } from 'rxjs/operators';
|
|
16
16
|
import { CdkObserveContent } from '@angular/cdk/observers';
|
|
17
17
|
import { DOCUMENT } from '@angular/common';
|
|
18
18
|
import { trigger, state, style, transition, animate } from '@angular/animations';
|
|
@@ -1081,13 +1081,7 @@ class MatTabBody {
|
|
|
1081
1081
|
changeDetectorRef.markForCheck();
|
|
1082
1082
|
});
|
|
1083
1083
|
}
|
|
1084
|
-
|
|
1085
|
-
// invoked twice in some browsers. See https://github.com/angular/angular/issues/24084.
|
|
1086
|
-
this._translateTabComplete
|
|
1087
|
-
.pipe(distinctUntilChanged((x, y) => {
|
|
1088
|
-
return x.fromState === y.fromState && x.toState === y.toState;
|
|
1089
|
-
}))
|
|
1090
|
-
.subscribe(event => {
|
|
1084
|
+
this._translateTabComplete.subscribe(event => {
|
|
1091
1085
|
// If the transition to the center is complete, emit an event.
|
|
1092
1086
|
if (this._isCenterPosition(event.toState) && this._isCenterPosition(this._position)) {
|
|
1093
1087
|
this._onCentered.emit();
|