You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @deprecated Use `MAT_SELECT_CONFIG` from `@angular/material/select` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
16
+
* @breaking-change 17.0.0
17
+
*/
14
18
MAT_SELECT_CONFIGasMAT_LEGACY_SELECT_CONFIG,
19
+
20
+
/**
21
+
* @deprecated Use `MAT_SELECT_SCROLL_STRATEGY` from `@angular/material/select` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
* @deprecated Use `MAT_SELECT_SCROLL_STRATEGY_PROVIDER` from `@angular/material/select` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
* @deprecated Use `MAT_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY` from `@angular/material/select` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
* @deprecated Use `MAT_SELECT_TRIGGER` from `@angular/material/select` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
40
+
* @breaking-change 17.0.0
41
+
*/
18
42
MAT_SELECT_TRIGGERasMAT_LEGACY_SELECT_TRIGGER,
43
+
44
+
/**
45
+
* @deprecated Use `MatSelectConfig` from `@angular/material/select` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
Copy file name to clipboardExpand all lines: src/material/legacy-select/select-animations.ts
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,8 @@ import {
23
23
*
24
24
* The values below match the implementation of the AngularJS Material mat-select animation.
25
25
* @docs-private
26
+
* @deprecated Use `matSelectAnimations` from `@angular/material/select` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
Copy file name to clipboardExpand all lines: src/material/legacy-select/select-errors.ts
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,8 @@
10
10
* Returns an exception to be thrown when attempting to change a select's `multiple` option
11
11
* after initialization.
12
12
* @docs-private
13
+
* @deprecated Use `getMatSelectDynamicMultipleError` from `@angular/material/select` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
returnError('Cannot change `multiple` mode of select after initialization.');
@@ -20,6 +22,8 @@ export function getMatSelectDynamicMultipleError(): Error {
20
22
* in `multiple` mode. Note that `undefined` and `null` are still valid values to allow for
21
23
* resetting the value.
22
24
* @docs-private
25
+
* @deprecated Use `getMatSelectNonArrayValueError` from `@angular/material/select` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
returnError('Value must be an array in multiple-selection mode.');
@@ -29,6 +33,8 @@ export function getMatSelectNonArrayValueError(): Error {
29
33
* Returns an exception to be thrown when assigning a non-function value to the comparator
30
34
* used to determine if a value corresponds to an option. Note that whether the function
31
35
* actually takes two values and returns a boolean is not checked.
36
+
* @deprecated Use `getMatSelectNonFunctionValueError` from `@angular/material/select` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
* @deprecated Use `MatSelectModule` from `@angular/material/select` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
Copy file name to clipboardExpand all lines: src/material/legacy-select/select.ts
+36-5Lines changed: 36 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -37,16 +37,32 @@ import {matLegacySelectAnimations} from './select-animations';
37
37
* the trigger element.
38
38
*/
39
39
40
-
/** The max height of the select's overlay panel. */
40
+
/**
41
+
* The max height of the select's overlay panel.
42
+
* @deprecated Use `SELECT_PANEL_MAX_HEIGHT` from `@angular/material/select` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
43
+
* @breaking-change 17.0.0
44
+
*/
41
45
exportconstSELECT_PANEL_MAX_HEIGHT=256;
42
46
43
-
/** The panel's padding on the x-axis. */
47
+
/**
48
+
* The panel's padding on the x-axis.
49
+
* @deprecated Use `SELECT_PANEL_PADDING_X` from `@angular/material/select` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
50
+
* @breaking-change 17.0.0
51
+
*/
44
52
exportconstSELECT_PANEL_PADDING_X=16;
45
53
46
-
/** The panel's x axis padding if it is indented (e.g. there is an option group). */
54
+
/**
55
+
* The panel's x axis padding if it is indented (e.g. there is an option group).
56
+
* @deprecated Use `SELECT_PANEL_INDENT_PADDING_X` from `@angular/material/select` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
/** The height of the select items in `em` units. */
61
+
/**
62
+
* The height of the select items in `em` units.
63
+
* @deprecated Use `SELECT_ITEM_HEIGHT_EM` from `@angular/material/select` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
64
+
* @breaking-change 17.0.0
65
+
*/
50
66
exportconstSELECT_ITEM_HEIGHT_EM=3;
51
67
52
68
// TODO(josephperrott): Revert to a constant after 2018 spec updates are fully merged.
* The padding is multiplied by 1.5 because the checkbox's margin is half the padding.
60
76
* The checkbox width is 16px.
77
+
*
78
+
* @deprecated Use `SELECT_MULTIPLE_PANEL_PADDING_X` from `@angular/material/select` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
* The select panel will only "fit" inside the viewport if it is positioned at
66
85
* this value or more away from the viewport boundary.
86
+
* @deprecated Use `SELECT_PANEL_VIEWPORT_PADDING` from `@angular/material/select` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
87
+
* @breaking-change 17.0.0
67
88
*/
68
89
exportconstSELECT_PANEL_VIEWPORT_PADDING=8;
69
90
70
-
/** Change event object that is emitted when the select value has changed. */
91
+
/**
92
+
* Change event object that is emitted when the select value has changed.
93
+
* @deprecated Use `MatSelectChange` from `@angular/material/select` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
94
+
* @breaking-change 17.0.0
95
+
*/
71
96
exportclassMatLegacySelectChange{
72
97
constructor(
73
98
/** Reference to the select that emitted the change event. */
@@ -79,13 +104,19 @@ export class MatLegacySelectChange {
79
104
80
105
/**
81
106
* Allows the user to customize the trigger that is displayed when the select has a value.
107
+
* @deprecated Use `MatSelectTrigger` from `@angular/material/select` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
* @deprecated Use `MatSelect` from `@angular/material/select` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
/** A set of criteria that can be used to filter a list of `MatSelectHarness` instances. */
11
+
/**
12
+
* A set of criteria that can be used to filter a list of `MatSelectHarness` instances.
13
+
* @deprecated Use `SelectHarnessFilters` from `@angular/material/select/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
/** Harness for interacting with a standard mat-select in tests. */
19
+
/**
20
+
* Harness for interacting with a standard mat-select in tests.
21
+
* @deprecated Use `MatSelectHarness` from `@angular/material/select/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
0 commit comments