@angular/material 18.2.0-rc.0 → 18.2.1
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/button/testing/index.d.ts +1 -1
- package/card/testing/index.d.ts +1 -1
- package/core/style/_menu-common.scss +1 -0
- package/core/testing/index.d.ts +2 -2
- package/core/tokens/m2/mat/_datepicker.scss +1 -1
- package/core/tokens/m2/mat/_standard-button-toggle.scss +1 -1
- package/core/tokens/m2/mdc/_checkbox.scss +2 -0
- package/core/tokens/m3/mat/_datepicker.scss +2 -2
- package/esm2022/button/testing/button-harness.mjs +2 -2
- package/esm2022/card/testing/card-harness.mjs +2 -2
- package/esm2022/checkbox/testing/checkbox-harness.mjs +7 -3
- package/esm2022/core/datetime/native-date-adapter.mjs +2 -2
- package/esm2022/core/testing/optgroup-harness.mjs +2 -2
- package/esm2022/core/testing/option-harness.mjs +2 -2
- package/esm2022/core/version.mjs +1 -1
- package/esm2022/datepicker/calendar-body.mjs +3 -3
- package/esm2022/datepicker/calendar.mjs +3 -3
- package/esm2022/expansion/expansion-animations.mjs +2 -2
- package/esm2022/form-field/form-field.mjs +18 -6
- package/esm2022/form-field/testing/error-harness.mjs +2 -2
- package/esm2022/icon/icon-registry.mjs +3 -4
- package/esm2022/list/list-option.mjs +1 -1
- package/esm2022/list/testing/action-list-harness.mjs +2 -2
- package/esm2022/list/testing/list-harness.mjs +2 -2
- package/esm2022/list/testing/list-item-harness-base.mjs +2 -2
- package/esm2022/list/testing/nav-list-harness.mjs +3 -3
- package/esm2022/list/testing/selection-list-harness.mjs +2 -2
- package/esm2022/menu/menu.mjs +3 -3
- package/esm2022/menu/testing/menu-harness.mjs +2 -2
- package/esm2022/progress-bar/testing/progress-bar-harness.mjs +2 -2
- package/esm2022/radio/testing/radio-harness.mjs +9 -5
- package/esm2022/select/testing/select-harness.mjs +2 -2
- package/esm2022/slide-toggle/slide-toggle.mjs +3 -3
- package/esm2022/slide-toggle/testing/slide-toggle-harness.mjs +7 -3
- package/esm2022/snack-bar/testing/snack-bar-harness.mjs +2 -2
- package/esm2022/tabs/tab-group.mjs +10 -4
- package/esm2022/tabs/tab-header.mjs +9 -3
- package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +3 -3
- package/esm2022/tabs/testing/tab-group-harness.mjs +2 -2
- package/esm2022/tabs/testing/tab-link-harness.mjs +2 -2
- package/esm2022/tabs/testing/tab-nav-bar-harness.mjs +2 -2
- package/expansion/index.d.ts +1 -1
- package/fesm2022/button/testing.mjs +1 -1
- package/fesm2022/button/testing.mjs.map +1 -1
- package/fesm2022/card/testing.mjs +1 -1
- package/fesm2022/card/testing.mjs.map +1 -1
- package/fesm2022/checkbox/testing.mjs +6 -2
- package/fesm2022/checkbox/testing.mjs.map +1 -1
- package/fesm2022/core/testing.mjs +2 -2
- package/fesm2022/core/testing.mjs.map +1 -1
- package/fesm2022/core.mjs +2 -2
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +4 -4
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/expansion.mjs +1 -1
- package/fesm2022/expansion.mjs.map +1 -1
- package/fesm2022/form-field/testing.mjs +1 -1
- package/fesm2022/form-field/testing.mjs.map +1 -1
- package/fesm2022/form-field.mjs +17 -5
- package/fesm2022/form-field.mjs.map +1 -1
- package/fesm2022/icon.mjs +2 -3
- package/fesm2022/icon.mjs.map +1 -1
- package/fesm2022/list/testing.mjs +6 -6
- package/fesm2022/list/testing.mjs.map +1 -1
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/menu/testing.mjs +1 -1
- package/fesm2022/menu/testing.mjs.map +1 -1
- package/fesm2022/menu.mjs +2 -2
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/progress-bar/testing.mjs +1 -1
- package/fesm2022/progress-bar/testing.mjs.map +1 -1
- package/fesm2022/radio/testing.mjs +8 -4
- package/fesm2022/radio/testing.mjs.map +1 -1
- package/fesm2022/select/testing.mjs +1 -1
- package/fesm2022/select/testing.mjs.map +1 -1
- package/fesm2022/slide-toggle/testing.mjs +6 -2
- package/fesm2022/slide-toggle/testing.mjs.map +1 -1
- package/fesm2022/slide-toggle.mjs +2 -2
- package/fesm2022/slide-toggle.mjs.map +1 -1
- package/fesm2022/snack-bar/testing.mjs +1 -1
- package/fesm2022/snack-bar/testing.mjs.map +1 -1
- package/fesm2022/tabs/testing.mjs +3 -3
- package/fesm2022/tabs/testing.mjs.map +1 -1
- package/fesm2022/tabs.mjs +19 -7
- package/fesm2022/tabs.mjs.map +1 -1
- package/form-field/_form-field-native-select.scss +1 -1
- package/form-field/index.d.ts +3 -0
- package/form-field/testing/index.d.ts +1 -1
- package/list/index.d.ts +1 -1
- package/list/testing/index.d.ts +6 -6
- package/menu/testing/index.d.ts +1 -1
- package/package.json +7 -7
- package/prebuilt-themes/azure-blue.css +1 -1
- package/prebuilt-themes/cyan-orange.css +1 -1
- package/prebuilt-themes/deeppurple-amber.css +1 -1
- package/prebuilt-themes/indigo-pink.css +1 -1
- package/prebuilt-themes/magenta-violet.css +1 -1
- package/prebuilt-themes/pink-bluegrey.css +1 -1
- package/prebuilt-themes/purple-green.css +1 -1
- package/prebuilt-themes/rose-red.css +1 -1
- package/progress-bar/testing/index.d.ts +1 -1
- package/radio/testing/index.d.ts +2 -2
- package/schematics/ng-add/index.js +2 -2
- package/schematics/ng-add/index.mjs +2 -2
- package/schematics/ng-generate/m3-theme/index_bundled.js +220 -317
- package/schematics/ng-generate/m3-theme/index_bundled.js.map +4 -4
- package/schematics/ng-update/index_bundled.js +31 -31
- package/select/testing/index.d.ts +1 -1
- package/snack-bar/testing/index.d.ts +1 -1
- package/tabs/_tabs-common.scss +0 -3
- package/tabs/index.d.ts +10 -2
- package/tabs/testing/index.d.ts +3 -3
|
@@ -605,9 +605,9 @@ var require_tslib = __commonJS({
|
|
|
605
605
|
}
|
|
606
606
|
});
|
|
607
607
|
|
|
608
|
-
// bazel-out/
|
|
608
|
+
// bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/data/attribute-selectors.js
|
|
609
609
|
var require_attribute_selectors = __commonJS({
|
|
610
|
-
"bazel-out/
|
|
610
|
+
"bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/data/attribute-selectors.js"(exports) {
|
|
611
611
|
"use strict";
|
|
612
612
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
613
613
|
exports.attributeSelectors = void 0;
|
|
@@ -615,9 +615,9 @@ var require_attribute_selectors = __commonJS({
|
|
|
615
615
|
}
|
|
616
616
|
});
|
|
617
617
|
|
|
618
|
-
// bazel-out/
|
|
618
|
+
// bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/data/class-names.js
|
|
619
619
|
var require_class_names = __commonJS({
|
|
620
|
-
"bazel-out/
|
|
620
|
+
"bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/data/class-names.js"(exports) {
|
|
621
621
|
"use strict";
|
|
622
622
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
623
623
|
exports.classNames = void 0;
|
|
@@ -625,9 +625,9 @@ var require_class_names = __commonJS({
|
|
|
625
625
|
}
|
|
626
626
|
});
|
|
627
627
|
|
|
628
|
-
// bazel-out/
|
|
628
|
+
// bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/data/constructor-checks.js
|
|
629
629
|
var require_constructor_checks = __commonJS({
|
|
630
|
-
"bazel-out/
|
|
630
|
+
"bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/data/constructor-checks.js"(exports) {
|
|
631
631
|
"use strict";
|
|
632
632
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
633
633
|
exports.constructorChecks = void 0;
|
|
@@ -635,9 +635,9 @@ var require_constructor_checks = __commonJS({
|
|
|
635
635
|
}
|
|
636
636
|
});
|
|
637
637
|
|
|
638
|
-
// bazel-out/
|
|
638
|
+
// bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/data/css-selectors.js
|
|
639
639
|
var require_css_selectors = __commonJS({
|
|
640
|
-
"bazel-out/
|
|
640
|
+
"bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/data/css-selectors.js"(exports) {
|
|
641
641
|
"use strict";
|
|
642
642
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
643
643
|
exports.cssSelectors = void 0;
|
|
@@ -645,9 +645,9 @@ var require_css_selectors = __commonJS({
|
|
|
645
645
|
}
|
|
646
646
|
});
|
|
647
647
|
|
|
648
|
-
// bazel-out/
|
|
648
|
+
// bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/data/css-tokens.js
|
|
649
649
|
var require_css_tokens = __commonJS({
|
|
650
|
-
"bazel-out/
|
|
650
|
+
"bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/data/css-tokens.js"(exports) {
|
|
651
651
|
"use strict";
|
|
652
652
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
653
653
|
exports.cssTokens = void 0;
|
|
@@ -688,9 +688,9 @@ var require_css_tokens = __commonJS({
|
|
|
688
688
|
}
|
|
689
689
|
});
|
|
690
690
|
|
|
691
|
-
// bazel-out/
|
|
691
|
+
// bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/data/element-selectors.js
|
|
692
692
|
var require_element_selectors = __commonJS({
|
|
693
|
-
"bazel-out/
|
|
693
|
+
"bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/data/element-selectors.js"(exports) {
|
|
694
694
|
"use strict";
|
|
695
695
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
696
696
|
exports.elementSelectors = void 0;
|
|
@@ -698,9 +698,9 @@ var require_element_selectors = __commonJS({
|
|
|
698
698
|
}
|
|
699
699
|
});
|
|
700
700
|
|
|
701
|
-
// bazel-out/
|
|
701
|
+
// bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/data/input-names.js
|
|
702
702
|
var require_input_names = __commonJS({
|
|
703
|
-
"bazel-out/
|
|
703
|
+
"bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/data/input-names.js"(exports) {
|
|
704
704
|
"use strict";
|
|
705
705
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
706
706
|
exports.inputNames = void 0;
|
|
@@ -708,9 +708,9 @@ var require_input_names = __commonJS({
|
|
|
708
708
|
}
|
|
709
709
|
});
|
|
710
710
|
|
|
711
|
-
// bazel-out/
|
|
711
|
+
// bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/data/method-call-checks.js
|
|
712
712
|
var require_method_call_checks = __commonJS({
|
|
713
|
-
"bazel-out/
|
|
713
|
+
"bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/data/method-call-checks.js"(exports) {
|
|
714
714
|
"use strict";
|
|
715
715
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
716
716
|
exports.methodCallChecks = void 0;
|
|
@@ -718,9 +718,9 @@ var require_method_call_checks = __commonJS({
|
|
|
718
718
|
}
|
|
719
719
|
});
|
|
720
720
|
|
|
721
|
-
// bazel-out/
|
|
721
|
+
// bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/data/output-names.js
|
|
722
722
|
var require_output_names = __commonJS({
|
|
723
|
-
"bazel-out/
|
|
723
|
+
"bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/data/output-names.js"(exports) {
|
|
724
724
|
"use strict";
|
|
725
725
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
726
726
|
exports.outputNames = void 0;
|
|
@@ -728,9 +728,9 @@ var require_output_names = __commonJS({
|
|
|
728
728
|
}
|
|
729
729
|
});
|
|
730
730
|
|
|
731
|
-
// bazel-out/
|
|
731
|
+
// bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/data/property-names.js
|
|
732
732
|
var require_property_names = __commonJS({
|
|
733
|
-
"bazel-out/
|
|
733
|
+
"bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/data/property-names.js"(exports) {
|
|
734
734
|
"use strict";
|
|
735
735
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
736
736
|
exports.propertyNames = void 0;
|
|
@@ -738,9 +738,9 @@ var require_property_names = __commonJS({
|
|
|
738
738
|
}
|
|
739
739
|
});
|
|
740
740
|
|
|
741
|
-
// bazel-out/
|
|
741
|
+
// bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/data/symbol-removal.js
|
|
742
742
|
var require_symbol_removal = __commonJS({
|
|
743
|
-
"bazel-out/
|
|
743
|
+
"bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/data/symbol-removal.js"(exports) {
|
|
744
744
|
"use strict";
|
|
745
745
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
746
746
|
exports.symbolRemoval = void 0;
|
|
@@ -748,9 +748,9 @@ var require_symbol_removal = __commonJS({
|
|
|
748
748
|
}
|
|
749
749
|
});
|
|
750
750
|
|
|
751
|
-
// bazel-out/
|
|
751
|
+
// bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/data/index.js
|
|
752
752
|
var require_data = __commonJS({
|
|
753
|
-
"bazel-out/
|
|
753
|
+
"bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/data/index.js"(exports) {
|
|
754
754
|
"use strict";
|
|
755
755
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
756
756
|
var tslib_1 = require_tslib();
|
|
@@ -768,9 +768,9 @@ var require_data = __commonJS({
|
|
|
768
768
|
}
|
|
769
769
|
});
|
|
770
770
|
|
|
771
|
-
// bazel-out/
|
|
771
|
+
// bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/upgrade-data.js
|
|
772
772
|
var require_upgrade_data = __commonJS({
|
|
773
|
-
"bazel-out/
|
|
773
|
+
"bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/upgrade-data.js"(exports) {
|
|
774
774
|
"use strict";
|
|
775
775
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
776
776
|
exports.materialUpgradeData = void 0;
|
|
@@ -791,9 +791,9 @@ var require_upgrade_data = __commonJS({
|
|
|
791
791
|
}
|
|
792
792
|
});
|
|
793
793
|
|
|
794
|
-
// bazel-out/
|
|
794
|
+
// bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/migrations/m2-theming-v18/migration.js
|
|
795
795
|
var require_migration = __commonJS({
|
|
796
|
-
"bazel-out/
|
|
796
|
+
"bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/migrations/m2-theming-v18/migration.js"(exports) {
|
|
797
797
|
"use strict";
|
|
798
798
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
799
799
|
exports.migrateM2ThemingApiUsages = migrateM2ThemingApiUsages;
|
|
@@ -968,9 +968,9 @@ var require_migration = __commonJS({
|
|
|
968
968
|
}
|
|
969
969
|
});
|
|
970
970
|
|
|
971
|
-
// bazel-out/
|
|
971
|
+
// bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/migrations/m2-theming-v18/index.js
|
|
972
972
|
var require_m2_theming_v18 = __commonJS({
|
|
973
|
-
"bazel-out/
|
|
973
|
+
"bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/migrations/m2-theming-v18/index.js"(exports) {
|
|
974
974
|
"use strict";
|
|
975
975
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
976
976
|
exports.M2ThemingMigration = void 0;
|
|
@@ -1002,7 +1002,7 @@ var require_m2_theming_v18 = __commonJS({
|
|
|
1002
1002
|
}
|
|
1003
1003
|
});
|
|
1004
1004
|
|
|
1005
|
-
// bazel-out/
|
|
1005
|
+
// bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/index.mjs
|
|
1006
1006
|
var ng_update_exports = {};
|
|
1007
1007
|
__export(ng_update_exports, {
|
|
1008
1008
|
updateToV18: () => updateToV18
|
|
@@ -7,7 +7,7 @@ import { MatOptionHarness } from '@angular/material/core/testing';
|
|
|
7
7
|
import { OptgroupHarnessFilters } from '@angular/material/core/testing';
|
|
8
8
|
import { OptionHarnessFilters } from '@angular/material/core/testing';
|
|
9
9
|
|
|
10
|
-
/** Harness for interacting with
|
|
10
|
+
/** Harness for interacting with a mat-select in tests. */
|
|
11
11
|
export declare class MatSelectHarness extends MatFormFieldControlHarness {
|
|
12
12
|
static hostSelector: string;
|
|
13
13
|
private _prefix;
|
|
@@ -3,7 +3,7 @@ import { BaseHarnessFilters } from '@angular/cdk/testing';
|
|
|
3
3
|
import { ContentContainerComponentHarness } from '@angular/cdk/testing';
|
|
4
4
|
import { HarnessPredicate } from '@angular/cdk/testing';
|
|
5
5
|
|
|
6
|
-
/** Harness for interacting with
|
|
6
|
+
/** Harness for interacting with a mat-snack-bar in tests. */
|
|
7
7
|
export declare class MatSnackBarHarness extends ContentContainerComponentHarness<string> {
|
|
8
8
|
/** The selector for the host element of a `MatSnackBar` instance. */
|
|
9
9
|
static hostSelector: string;
|
package/tabs/_tabs-common.scss
CHANGED
|
@@ -300,10 +300,7 @@ $mat-tab-animation-duration: 500ms !default;
|
|
|
300
300
|
-webkit-tap-highlight-color: transparent;
|
|
301
301
|
touch-action: none;
|
|
302
302
|
box-sizing: content-box;
|
|
303
|
-
background: none;
|
|
304
|
-
border: none;
|
|
305
303
|
outline: 0;
|
|
306
|
-
padding: 0;
|
|
307
304
|
|
|
308
305
|
&::-moz-focus-inner {
|
|
309
306
|
border: 0;
|
package/tabs/index.d.ts
CHANGED
|
@@ -624,6 +624,10 @@ export declare class MatTabGroup implements AfterContentInit, AfterContentChecke
|
|
|
624
624
|
get backgroundColor(): ThemePalette;
|
|
625
625
|
set backgroundColor(value: ThemePalette);
|
|
626
626
|
private _backgroundColor;
|
|
627
|
+
/** Aria label of the inner `tablist` of the group. */
|
|
628
|
+
ariaLabel: string;
|
|
629
|
+
/** Sets the `aria-labelledby` of the inner `tablist` of the group. */
|
|
630
|
+
ariaLabelledby: string;
|
|
627
631
|
/** Output to enable support for two-way binding on `[(selectedIndex)]` */
|
|
628
632
|
readonly selectedIndexChange: EventEmitter<number>;
|
|
629
633
|
/** Event emitted when focus has changed within a tab group. */
|
|
@@ -691,7 +695,7 @@ export declare class MatTabGroup implements AfterContentInit, AfterContentChecke
|
|
|
691
695
|
/** Callback for when the focused state of a tab has changed. */
|
|
692
696
|
_tabFocusChanged(focusOrigin: FocusOrigin, index: number): void;
|
|
693
697
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatTabGroup, [null, null, { optional: true; }, { optional: true; }]>;
|
|
694
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatTabGroup, "mat-tab-group", ["matTabGroup"], { "color": { "alias": "color"; "required": false; }; "fitInkBarToContent": { "alias": "fitInkBarToContent"; "required": false; }; "stretchTabs": { "alias": "mat-stretch-tabs"; "required": false; }; "dynamicHeight": { "alias": "dynamicHeight"; "required": false; }; "selectedIndex": { "alias": "selectedIndex"; "required": false; }; "headerPosition": { "alias": "headerPosition"; "required": false; }; "animationDuration": { "alias": "animationDuration"; "required": false; }; "contentTabIndex": { "alias": "contentTabIndex"; "required": false; }; "disablePagination": { "alias": "disablePagination"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; "preserveContent": { "alias": "preserveContent"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; }, { "selectedIndexChange": "selectedIndexChange"; "focusChange": "focusChange"; "animationDone": "animationDone"; "selectedTabChange": "selectedTabChange"; }, ["_allTabs"], ["*"], true, never>;
|
|
698
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatTabGroup, "mat-tab-group", ["matTabGroup"], { "color": { "alias": "color"; "required": false; }; "fitInkBarToContent": { "alias": "fitInkBarToContent"; "required": false; }; "stretchTabs": { "alias": "mat-stretch-tabs"; "required": false; }; "dynamicHeight": { "alias": "dynamicHeight"; "required": false; }; "selectedIndex": { "alias": "selectedIndex"; "required": false; }; "headerPosition": { "alias": "headerPosition"; "required": false; }; "animationDuration": { "alias": "animationDuration"; "required": false; }; "contentTabIndex": { "alias": "contentTabIndex"; "required": false; }; "disablePagination": { "alias": "disablePagination"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; "preserveContent": { "alias": "preserveContent"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; }; }, { "selectedIndexChange": "selectedIndexChange"; "focusChange": "focusChange"; "animationDone": "animationDone"; "selectedTabChange": "selectedTabChange"; }, ["_allTabs"], ["*"], true, never>;
|
|
695
699
|
static ngAcceptInputType_fitInkBarToContent: unknown;
|
|
696
700
|
static ngAcceptInputType_stretchTabs: unknown;
|
|
697
701
|
static ngAcceptInputType_dynamicHeight: unknown;
|
|
@@ -724,13 +728,17 @@ export declare class MatTabHeader extends MatPaginatedTabHeader implements After
|
|
|
724
728
|
_nextPaginator: ElementRef<HTMLElement>;
|
|
725
729
|
_previousPaginator: ElementRef<HTMLElement>;
|
|
726
730
|
_inkBar: MatInkBar;
|
|
731
|
+
/** Aria label of the header. */
|
|
732
|
+
ariaLabel: string;
|
|
733
|
+
/** Sets the `aria-labelledby` of the header. */
|
|
734
|
+
ariaLabelledby: string;
|
|
727
735
|
/** Whether the ripple effect is disabled or not. */
|
|
728
736
|
disableRipple: boolean;
|
|
729
737
|
constructor(elementRef: ElementRef, changeDetectorRef: ChangeDetectorRef, viewportRuler: ViewportRuler, dir: Directionality, ngZone: NgZone, platform: Platform, animationMode?: string);
|
|
730
738
|
ngAfterContentInit(): void;
|
|
731
739
|
protected _itemSelected(event: KeyboardEvent): void;
|
|
732
740
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatTabHeader, [null, null, null, { optional: true; }, null, null, { optional: true; }]>;
|
|
733
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatTabHeader, "mat-tab-header", never, { "disableRipple": { "alias": "disableRipple"; "required": false; }; }, {}, ["_items"], ["*"], true, never>;
|
|
741
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatTabHeader, "mat-tab-header", never, { "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; }, {}, ["_items"], ["*"], true, never>;
|
|
734
742
|
static ngAcceptInputType_disableRipple: unknown;
|
|
735
743
|
}
|
|
736
744
|
|
package/tabs/testing/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { ContentContainerComponentHarness } from '@angular/cdk/testing';
|
|
|
5
5
|
import { HarnessLoader } from '@angular/cdk/testing';
|
|
6
6
|
import { HarnessPredicate } from '@angular/cdk/testing';
|
|
7
7
|
|
|
8
|
-
/** Harness for interacting with
|
|
8
|
+
/** Harness for interacting with a mat-tab-group in tests. */
|
|
9
9
|
export declare class MatTabGroupHarness extends ComponentHarness {
|
|
10
10
|
/** The selector for the host element of a `MatTabGroup` instance. */
|
|
11
11
|
static hostSelector: string;
|
|
@@ -59,7 +59,7 @@ export declare class MatTabHarness extends ContentContainerComponentHarness<stri
|
|
|
59
59
|
private _getContentId;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
/** Harness for interacting with
|
|
62
|
+
/** Harness for interacting with a Angular Material tab link in tests. */
|
|
63
63
|
export declare class MatTabLinkHarness extends ComponentHarness {
|
|
64
64
|
/** The selector for the host element of a `MatTabLink` instance. */
|
|
65
65
|
static hostSelector: string;
|
|
@@ -79,7 +79,7 @@ export declare class MatTabLinkHarness extends ComponentHarness {
|
|
|
79
79
|
click(): Promise<void>;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
/** Harness for interacting with
|
|
82
|
+
/** Harness for interacting with a mat-tab-nav-bar in tests. */
|
|
83
83
|
export declare class MatTabNavBarHarness extends ComponentHarness {
|
|
84
84
|
/** The selector for the host element of a `MatTabNavBar` instance. */
|
|
85
85
|
static hostSelector: string;
|