@angular/material 7.3.6 → 7.3.7
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/bundles/material-bottom-sheet.umd.js +5 -2
- package/bundles/material-bottom-sheet.umd.js.map +1 -1
- package/bundles/material-bottom-sheet.umd.min.js +1 -1
- package/bundles/material-bottom-sheet.umd.min.js.map +1 -1
- package/bundles/material-chips.umd.js +16 -7
- package/bundles/material-chips.umd.js.map +1 -1
- package/bundles/material-chips.umd.min.js +1 -1
- package/bundles/material-chips.umd.min.js.map +1 -1
- package/bundles/material-core.umd.js +36 -2
- package/bundles/material-core.umd.js.map +1 -1
- package/bundles/material-core.umd.min.js +1 -1
- package/bundles/material-core.umd.min.js.map +1 -1
- package/bundles/material-dialog.umd.js +1 -20
- package/bundles/material-dialog.umd.js.map +1 -1
- package/bundles/material-dialog.umd.min.js +1 -1
- package/bundles/material-dialog.umd.min.js.map +1 -1
- package/bundles/material-form-field.umd.js +1 -1
- package/bundles/material-form-field.umd.js.map +1 -1
- package/bundles/material-form-field.umd.min.js +1 -1
- package/bundles/material-form-field.umd.min.js.map +1 -1
- package/bundles/material-grid-list.umd.js +1 -1
- package/bundles/material-grid-list.umd.min.js +1 -1
- package/bundles/material-sidenav.umd.js +2 -0
- package/bundles/material-sidenav.umd.js.map +1 -1
- package/bundles/material-sidenav.umd.min.js +1 -1
- package/bundles/material-sidenav.umd.min.js.map +1 -1
- package/bundles/material-tabs.umd.js +11 -11
- package/bundles/material-tabs.umd.min.js +1 -1
- package/bundles/material-tooltip.umd.js +4 -5
- package/bundles/material-tooltip.umd.js.map +1 -1
- package/bundles/material-tooltip.umd.min.js +1 -1
- package/bundles/material-tooltip.umd.min.js.map +1 -1
- package/bundles/material.umd.js +78 -50
- package/bundles/material.umd.js.map +1 -1
- package/bundles/material.umd.min.js +18 -18
- package/bundles/material.umd.min.js.map +1 -1
- package/chips/typings/chip-list.d.ts +2 -2
- package/chips/typings/chip.d.ts +2 -0
- package/chips/typings/index.metadata.json +1 -1
- package/core/typings/index.metadata.json +1 -1
- package/core/typings/option/option.d.ts +7 -0
- package/dialog/typings/dialog-content-directives.d.ts +0 -5
- package/dialog/typings/index.metadata.json +1 -1
- package/esm2015/bottom-sheet.js +5 -2
- package/esm2015/bottom-sheet.js.map +1 -1
- package/esm2015/chips.js +14 -5
- package/esm2015/chips.js.map +1 -1
- package/esm2015/core.js +23 -2
- package/esm2015/core.js.map +1 -1
- package/esm2015/dialog.js +1 -20
- package/esm2015/dialog.js.map +1 -1
- package/esm2015/form-field.js +1 -1
- package/esm2015/form-field.js.map +1 -1
- package/esm2015/grid-list.js +1 -1
- package/esm2015/material.js +3 -3
- package/esm2015/material.js.map +1 -1
- package/esm2015/sidenav.js +2 -0
- package/esm2015/sidenav.js.map +1 -1
- package/esm2015/tabs.js +1 -1
- package/esm2015/tooltip.js +4 -5
- package/esm2015/tooltip.js.map +1 -1
- package/esm5/bottom-sheet.es5.js +5 -2
- package/esm5/bottom-sheet.es5.js.map +1 -1
- package/esm5/chips.es5.js +16 -7
- package/esm5/chips.es5.js.map +1 -1
- package/esm5/core.es5.js +36 -2
- package/esm5/core.es5.js.map +1 -1
- package/esm5/dialog.es5.js +1 -20
- package/esm5/dialog.es5.js.map +1 -1
- package/esm5/form-field.es5.js +1 -1
- package/esm5/form-field.es5.js.map +1 -1
- package/esm5/grid-list.es5.js +1 -1
- package/esm5/material.es5.js +3 -3
- package/esm5/material.es5.js.map +1 -1
- package/esm5/sidenav.es5.js +2 -0
- package/esm5/sidenav.es5.js.map +1 -1
- package/esm5/tabs.es5.js +1 -1
- package/esm5/tooltip.es5.js +4 -5
- package/esm5/tooltip.es5.js.map +1 -1
- package/form-field/typings/index.metadata.json +1 -1
- package/grid-list/typings/index.d.ts +1 -1
- package/grid-list/typings/index.metadata.json +1 -1
- package/material.d.ts +1 -1
- package/material.metadata.json +3 -3
- package/package.json +4 -4
- package/schematics/ng-generate/table/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +3 -3
- package/sidenav/typings/index.metadata.json +1 -1
- package/tabs/typings/index.d.ts +5 -5
- package/tabs/typings/index.metadata.json +1 -1
- package/tooltip/typings/index.metadata.json +1 -1
- package/typings/chips/chip-list.d.ts +2 -2
- package/typings/chips/chip.d.ts +2 -0
- package/typings/chips/index.metadata.json +1 -1
- package/typings/core/index.metadata.json +1 -1
- package/typings/core/option/option.d.ts +7 -0
- package/typings/dialog/dialog-content-directives.d.ts +0 -5
- package/typings/dialog/index.metadata.json +1 -1
- package/typings/esm5/chips/chip-list.d.ts +2 -2
- package/typings/esm5/chips/chip.d.ts +2 -0
- package/typings/esm5/chips/index.metadata.json +1 -1
- package/typings/esm5/core/index.metadata.json +1 -1
- package/typings/esm5/core/option/option.d.ts +7 -0
- package/typings/esm5/dialog/dialog-content-directives.d.ts +0 -5
- package/typings/esm5/dialog/index.metadata.json +1 -1
- package/typings/esm5/form-field/index.metadata.json +1 -1
- package/typings/esm5/grid-list/index.d.ts +1 -1
- package/typings/esm5/grid-list/index.metadata.json +1 -1
- package/typings/esm5/index.metadata.json +1 -1
- package/typings/esm5/sidenav/index.metadata.json +1 -1
- package/typings/esm5/tabs/index.d.ts +5 -5
- package/typings/esm5/tabs/index.metadata.json +1 -1
- package/typings/esm5/tooltip/index.metadata.json +1 -1
- package/typings/form-field/index.metadata.json +1 -1
- package/typings/grid-list/index.d.ts +1 -1
- package/typings/grid-list/index.metadata.json +1 -1
- package/typings/index.metadata.json +1 -1
- package/typings/sidenav/index.metadata.json +1 -1
- package/typings/tabs/index.d.ts +5 -5
- package/typings/tabs/index.metadata.json +1 -1
- package/typings/tooltip/index.metadata.json +1 -1
- package/schematics/ng-update/data/attribute-selectors.ts +0 -11
- package/schematics/ng-update/data/class-names.ts +0 -31
- package/schematics/ng-update/data/constructor-checks.ts +0 -50
- package/schematics/ng-update/data/css-selectors.ts +0 -110
- package/schematics/ng-update/data/element-selectors.ts +0 -23
- package/schematics/ng-update/data/index.ts +0 -17
- package/schematics/ng-update/data/input-names.ts +0 -118
- package/schematics/ng-update/data/method-call-checks.ts +0 -11
- package/schematics/ng-update/data/output-names.ts +0 -102
- package/schematics/ng-update/data/property-names.ts +0 -219
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
import {TargetVersion, VersionChanges} from '@angular/cdk/schematics';
|
|
10
|
-
|
|
11
|
-
export interface MaterialCssSelectorData {
|
|
12
|
-
/** The CSS selector to replace. */
|
|
13
|
-
replace: string;
|
|
14
|
-
/** The new CSS selector. */
|
|
15
|
-
replaceWith: string;
|
|
16
|
-
/** Whitelist where this replacement is made. If omitted it is made in all files. */
|
|
17
|
-
whitelist?: {
|
|
18
|
-
/** Replace this name in stylesheet files. */
|
|
19
|
-
stylesheet?: boolean,
|
|
20
|
-
/** Replace this name in HTML files. */
|
|
21
|
-
html?: boolean,
|
|
22
|
-
/** Replace this name in TypeScript strings. */
|
|
23
|
-
strings?: boolean
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export const cssSelectors: VersionChanges<MaterialCssSelectorData> = {
|
|
28
|
-
[TargetVersion.V6]: [
|
|
29
|
-
{
|
|
30
|
-
pr: 'https://github.com/angular/material2/pull/10296',
|
|
31
|
-
changes: [
|
|
32
|
-
{
|
|
33
|
-
replace: '.mat-form-field-placeholder',
|
|
34
|
-
replaceWith: '.mat-form-field-label'
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
replace: '.mat-input-container',
|
|
38
|
-
replaceWith: '.mat-form-field'
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
replace: '.mat-input-flex',
|
|
42
|
-
replaceWith: '.mat-form-field-flex'
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
replace: '.mat-input-hint-spacer',
|
|
46
|
-
replaceWith: '.mat-form-field-hint-spacer'
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
replace: '.mat-input-hint-wrapper',
|
|
50
|
-
replaceWith: '.mat-form-field-hint-wrapper'
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
replace: '.mat-input-infix',
|
|
54
|
-
replaceWith: '.mat-form-field-infix'
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
replace: '.mat-input-invalid',
|
|
58
|
-
replaceWith: '.mat-form-field-invalid'
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
replace: '.mat-input-placeholder',
|
|
62
|
-
replaceWith: '.mat-form-field-label'
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
replace: '.mat-input-placeholder-wrapper',
|
|
66
|
-
replaceWith: '.mat-form-field-label-wrapper'
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
replace: '.mat-input-prefix',
|
|
70
|
-
replaceWith: '.mat-form-field-prefix'
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
replace: '.mat-input-ripple',
|
|
74
|
-
replaceWith: '.mat-form-field-ripple'
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
replace: '.mat-input-subscript-wrapper',
|
|
78
|
-
replaceWith: '.mat-form-field-subscript-wrapper'
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
replace: '.mat-input-suffix',
|
|
82
|
-
replaceWith: '.mat-form-field-suffix'
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
replace: '.mat-input-underline',
|
|
86
|
-
replaceWith: '.mat-form-field-underline'
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
replace: '.mat-input-wrapper',
|
|
90
|
-
replaceWith: '.mat-form-field-wrapper'
|
|
91
|
-
}
|
|
92
|
-
]
|
|
93
|
-
},
|
|
94
|
-
|
|
95
|
-
// TODO(devversion): this shouldn't be here because it's not a CSS selector. Move into misc
|
|
96
|
-
// rule.
|
|
97
|
-
{
|
|
98
|
-
pr: 'https://github.com/angular/material2/pull/10430',
|
|
99
|
-
changes: [
|
|
100
|
-
{
|
|
101
|
-
replace: '$mat-font-family',
|
|
102
|
-
replaceWith: "Roboto, 'Helvetica Neue', sans-serif",
|
|
103
|
-
whitelist: {
|
|
104
|
-
stylesheet: true
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
]
|
|
108
|
-
}
|
|
109
|
-
]
|
|
110
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
import {ElementSelectorUpgradeData, TargetVersion, VersionChanges} from '@angular/cdk/schematics';
|
|
10
|
-
|
|
11
|
-
export const elementSelectors: VersionChanges<ElementSelectorUpgradeData> = {
|
|
12
|
-
[TargetVersion.V6]: [
|
|
13
|
-
{
|
|
14
|
-
pr: 'https://github.com/angular/material2/pull/10297',
|
|
15
|
-
changes: [
|
|
16
|
-
{
|
|
17
|
-
replace: 'mat-input-container',
|
|
18
|
-
replaceWith: 'mat-form-field'
|
|
19
|
-
}
|
|
20
|
-
]
|
|
21
|
-
}
|
|
22
|
-
]
|
|
23
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
export * from './attribute-selectors';
|
|
10
|
-
export * from './class-names';
|
|
11
|
-
export * from './constructor-checks';
|
|
12
|
-
export * from './css-selectors';
|
|
13
|
-
export * from './element-selectors';
|
|
14
|
-
export * from './input-names';
|
|
15
|
-
export * from './method-call-checks';
|
|
16
|
-
export * from './output-names';
|
|
17
|
-
export * from './property-names';
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
import {InputNameUpgradeData, TargetVersion, VersionChanges} from '@angular/cdk/schematics';
|
|
10
|
-
|
|
11
|
-
export const inputNames: VersionChanges<InputNameUpgradeData> = {
|
|
12
|
-
[TargetVersion.V6]: [
|
|
13
|
-
{
|
|
14
|
-
pr: 'https://github.com/angular/material2/pull/10218',
|
|
15
|
-
changes: [
|
|
16
|
-
{
|
|
17
|
-
replace: 'align',
|
|
18
|
-
replaceWith: 'labelPosition',
|
|
19
|
-
whitelist: {
|
|
20
|
-
elements: ['mat-radio-group', 'mat-radio-button']
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
]
|
|
24
|
-
},
|
|
25
|
-
|
|
26
|
-
{
|
|
27
|
-
pr: 'https://github.com/angular/material2/pull/10279',
|
|
28
|
-
changes: [
|
|
29
|
-
{
|
|
30
|
-
replace: 'align',
|
|
31
|
-
replaceWith: 'position',
|
|
32
|
-
whitelist: {
|
|
33
|
-
elements: ['mat-drawer', 'mat-sidenav']
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
]
|
|
37
|
-
},
|
|
38
|
-
|
|
39
|
-
{
|
|
40
|
-
pr: 'https://github.com/angular/material2/pull/10294',
|
|
41
|
-
changes: [
|
|
42
|
-
{
|
|
43
|
-
replace: 'dividerColor',
|
|
44
|
-
replaceWith: 'color',
|
|
45
|
-
whitelist: {
|
|
46
|
-
elements: ['mat-form-field']
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
replace: 'floatPlaceholder',
|
|
51
|
-
replaceWith: 'floatLabel',
|
|
52
|
-
whitelist: {
|
|
53
|
-
elements: ['mat-form-field']
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
]
|
|
57
|
-
},
|
|
58
|
-
|
|
59
|
-
{
|
|
60
|
-
pr: 'https://github.com/angular/material2/pull/10309',
|
|
61
|
-
changes: [
|
|
62
|
-
{
|
|
63
|
-
replace: 'mat-dynamic-height',
|
|
64
|
-
replaceWith: 'dynamicHeight',
|
|
65
|
-
whitelist: {
|
|
66
|
-
elements: ['mat-tab-group']
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
]
|
|
70
|
-
},
|
|
71
|
-
|
|
72
|
-
{
|
|
73
|
-
pr: 'https://github.com/angular/material2/pull/10342',
|
|
74
|
-
changes: [
|
|
75
|
-
{
|
|
76
|
-
replace: 'align',
|
|
77
|
-
replaceWith: 'labelPosition',
|
|
78
|
-
whitelist: {
|
|
79
|
-
elements: ['mat-checkbox']
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
]
|
|
83
|
-
},
|
|
84
|
-
|
|
85
|
-
{
|
|
86
|
-
pr: 'https://github.com/angular/material2/pull/10344',
|
|
87
|
-
changes: [
|
|
88
|
-
{
|
|
89
|
-
replace: 'tooltip-position',
|
|
90
|
-
replaceWith: 'matTooltipPosition',
|
|
91
|
-
whitelist: {
|
|
92
|
-
attributes: ['matTooltip']
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
]
|
|
96
|
-
},
|
|
97
|
-
|
|
98
|
-
{
|
|
99
|
-
pr: 'https://github.com/angular/material2/pull/10373',
|
|
100
|
-
changes: [
|
|
101
|
-
{
|
|
102
|
-
replace: 'thumb-label',
|
|
103
|
-
replaceWith: 'thumbLabel',
|
|
104
|
-
whitelist: {
|
|
105
|
-
elements: ['mat-slider']
|
|
106
|
-
}
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
replace: 'tick-interval',
|
|
110
|
-
replaceWith: 'tickInterval',
|
|
111
|
-
whitelist: {
|
|
112
|
-
elements: ['mat-slider']
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
]
|
|
116
|
-
}
|
|
117
|
-
]
|
|
118
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
import {MethodCallUpgradeData, VersionChanges} from '@angular/cdk/schematics';
|
|
10
|
-
|
|
11
|
-
export const methodCallChecks: VersionChanges<MethodCallUpgradeData> = {};
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
import {OutputNameUpgradeData, TargetVersion, VersionChanges} from '@angular/cdk/schematics';
|
|
10
|
-
|
|
11
|
-
export const outputNames: VersionChanges<OutputNameUpgradeData> = {
|
|
12
|
-
[TargetVersion.V6]: [
|
|
13
|
-
{
|
|
14
|
-
pr: 'https://github.com/angular/material2/pull/10163',
|
|
15
|
-
changes: [
|
|
16
|
-
{
|
|
17
|
-
replace: 'change',
|
|
18
|
-
replaceWith: 'selectionChange',
|
|
19
|
-
whitelist: {
|
|
20
|
-
elements: ['mat-select'],
|
|
21
|
-
},
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
replace: 'onClose',
|
|
25
|
-
replaceWith: 'closed',
|
|
26
|
-
whitelist: {
|
|
27
|
-
elements: ['mat-select'],
|
|
28
|
-
},
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
replace: 'onOpen',
|
|
32
|
-
replaceWith: 'opened',
|
|
33
|
-
whitelist: {
|
|
34
|
-
elements: ['mat-select'],
|
|
35
|
-
},
|
|
36
|
-
},
|
|
37
|
-
],
|
|
38
|
-
},
|
|
39
|
-
|
|
40
|
-
{
|
|
41
|
-
pr: 'https://github.com/angular/material2/pull/10279',
|
|
42
|
-
changes: [
|
|
43
|
-
{
|
|
44
|
-
replace: 'align-changed',
|
|
45
|
-
replaceWith: 'positionChanged',
|
|
46
|
-
whitelist: {
|
|
47
|
-
elements: ['mat-drawer', 'mat-sidenav'],
|
|
48
|
-
},
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
replace: 'close',
|
|
52
|
-
replaceWith: 'closed',
|
|
53
|
-
whitelist: {
|
|
54
|
-
elements: ['mat-drawer', 'mat-sidenav'],
|
|
55
|
-
},
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
replace: 'open',
|
|
59
|
-
replaceWith: 'opened',
|
|
60
|
-
whitelist: {
|
|
61
|
-
elements: ['mat-drawer', 'mat-sidenav'],
|
|
62
|
-
},
|
|
63
|
-
},
|
|
64
|
-
],
|
|
65
|
-
},
|
|
66
|
-
|
|
67
|
-
{
|
|
68
|
-
pr: 'https://github.com/angular/material2/pull/10309',
|
|
69
|
-
changes: [
|
|
70
|
-
{
|
|
71
|
-
replace: 'selectChange',
|
|
72
|
-
replaceWith: 'selectedTabChange',
|
|
73
|
-
whitelist: {
|
|
74
|
-
elements: ['mat-tab-group'],
|
|
75
|
-
},
|
|
76
|
-
},
|
|
77
|
-
],
|
|
78
|
-
},
|
|
79
|
-
|
|
80
|
-
{
|
|
81
|
-
pr: 'https://github.com/angular/material2/pull/10311',
|
|
82
|
-
changes: [
|
|
83
|
-
{
|
|
84
|
-
replace: 'remove',
|
|
85
|
-
replaceWith: 'removed',
|
|
86
|
-
whitelist: {
|
|
87
|
-
attributes: ['mat-chip', 'mat-basic-chip'],
|
|
88
|
-
elements: ['mat-chip', 'mat-basic-chip'],
|
|
89
|
-
},
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
replace: 'destroy',
|
|
93
|
-
replaceWith: 'destroyed',
|
|
94
|
-
whitelist: {
|
|
95
|
-
attributes: ['mat-chip', 'mat-basic-chip'],
|
|
96
|
-
elements: ['mat-chip', 'mat-basic-chip'],
|
|
97
|
-
},
|
|
98
|
-
},
|
|
99
|
-
],
|
|
100
|
-
},
|
|
101
|
-
],
|
|
102
|
-
};
|
|
@@ -1,219 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
import {PropertyNameUpgradeData, TargetVersion, VersionChanges} from '@angular/cdk/schematics';
|
|
10
|
-
|
|
11
|
-
export const propertyNames: VersionChanges<PropertyNameUpgradeData> = {
|
|
12
|
-
[TargetVersion.V6]: [
|
|
13
|
-
{
|
|
14
|
-
pr: 'https://github.com/angular/material2/pull/10163',
|
|
15
|
-
changes: [
|
|
16
|
-
{
|
|
17
|
-
replace: 'change',
|
|
18
|
-
replaceWith: 'selectionChange',
|
|
19
|
-
whitelist: {
|
|
20
|
-
classes: ['MatSelect']
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
replace: 'onOpen',
|
|
25
|
-
replaceWith: 'openedChange.pipe(filter(isOpen => isOpen))',
|
|
26
|
-
whitelist: {
|
|
27
|
-
classes: ['MatSelect']
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
replace: 'onClose',
|
|
32
|
-
replaceWith: 'openedChange.pipe(filter(isOpen => !isOpen))',
|
|
33
|
-
whitelist: {
|
|
34
|
-
classes: ['MatSelect']
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
]
|
|
38
|
-
},
|
|
39
|
-
|
|
40
|
-
{
|
|
41
|
-
pr: 'https://github.com/angular/material2/pull/10218',
|
|
42
|
-
changes: [
|
|
43
|
-
{
|
|
44
|
-
replace: 'align',
|
|
45
|
-
replaceWith: 'labelPosition',
|
|
46
|
-
whitelist: {
|
|
47
|
-
classes: ['MatRadioGroup', 'MatRadioButton']
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
]
|
|
51
|
-
},
|
|
52
|
-
|
|
53
|
-
{
|
|
54
|
-
pr: 'https://github.com/angular/material2/pull/10253',
|
|
55
|
-
changes: [
|
|
56
|
-
{
|
|
57
|
-
replace: 'extraClasses',
|
|
58
|
-
replaceWith: 'panelClass',
|
|
59
|
-
whitelist: {
|
|
60
|
-
classes: ['MatSnackBarConfig']
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
]
|
|
64
|
-
},
|
|
65
|
-
|
|
66
|
-
{
|
|
67
|
-
pr: 'https://github.com/angular/material2/pull/10279',
|
|
68
|
-
changes: [
|
|
69
|
-
{
|
|
70
|
-
replace: 'align',
|
|
71
|
-
replaceWith: 'position',
|
|
72
|
-
whitelist: {
|
|
73
|
-
classes: ['MatDrawer', 'MatSidenav']
|
|
74
|
-
}
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
replace: 'onAlignChanged',
|
|
78
|
-
replaceWith: 'onPositionChanged',
|
|
79
|
-
whitelist: {
|
|
80
|
-
classes: ['MatDrawer', 'MatSidenav']
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
replace: 'onOpen',
|
|
85
|
-
replaceWith: 'openedChange.pipe(filter(isOpen => isOpen))',
|
|
86
|
-
whitelist: {
|
|
87
|
-
classes: ['MatDrawer', 'MatSidenav']
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
replace: 'onClose',
|
|
92
|
-
replaceWith: 'openedChange.pipe(filter(isOpen => !isOpen))',
|
|
93
|
-
whitelist: {
|
|
94
|
-
classes: ['MatDrawer', 'MatSidenav']
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
]
|
|
98
|
-
},
|
|
99
|
-
|
|
100
|
-
{
|
|
101
|
-
pr: 'https://github.com/angular/material2/pull/10293',
|
|
102
|
-
changes: [
|
|
103
|
-
{
|
|
104
|
-
replace: 'shouldPlaceholderFloat',
|
|
105
|
-
replaceWith: 'shouldLabelFloat',
|
|
106
|
-
whitelist: {
|
|
107
|
-
classes: ['MatFormFieldControl', 'MatSelect']
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
]
|
|
111
|
-
},
|
|
112
|
-
|
|
113
|
-
{
|
|
114
|
-
pr: 'https://github.com/angular/material2/pull/10294',
|
|
115
|
-
changes: [
|
|
116
|
-
{
|
|
117
|
-
replace: 'dividerColor',
|
|
118
|
-
replaceWith: 'color',
|
|
119
|
-
whitelist: {
|
|
120
|
-
classes: ['MatFormField']
|
|
121
|
-
}
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
replace: 'floatPlaceholder',
|
|
125
|
-
replaceWith: 'floatLabel',
|
|
126
|
-
whitelist: {
|
|
127
|
-
classes: ['MatFormField']
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
]
|
|
131
|
-
},
|
|
132
|
-
|
|
133
|
-
{
|
|
134
|
-
pr: 'https://github.com/angular/material2/pull/10309',
|
|
135
|
-
changes: [
|
|
136
|
-
{
|
|
137
|
-
replace: 'selectChange',
|
|
138
|
-
replaceWith: 'selectedTabChange',
|
|
139
|
-
whitelist: {
|
|
140
|
-
classes: ['MatTabGroup']
|
|
141
|
-
}
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
replace: '_dynamicHeightDeprecated',
|
|
145
|
-
replaceWith: 'dynamicHeight',
|
|
146
|
-
whitelist: {
|
|
147
|
-
classes: ['MatTabGroup']
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
]
|
|
151
|
-
},
|
|
152
|
-
|
|
153
|
-
{
|
|
154
|
-
pr: 'https://github.com/angular/material2/pull/10311',
|
|
155
|
-
changes: [
|
|
156
|
-
{
|
|
157
|
-
replace: 'destroy',
|
|
158
|
-
replaceWith: 'destroyed',
|
|
159
|
-
whitelist: {
|
|
160
|
-
classes: ['MatChip']
|
|
161
|
-
}
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
replace: 'onRemove',
|
|
165
|
-
replaceWith: 'removed',
|
|
166
|
-
whitelist: {
|
|
167
|
-
classes: ['MatChip']
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
]
|
|
171
|
-
},
|
|
172
|
-
|
|
173
|
-
{
|
|
174
|
-
pr: 'https://github.com/angular/material2/pull/10342',
|
|
175
|
-
changes: [
|
|
176
|
-
{
|
|
177
|
-
replace: 'align',
|
|
178
|
-
replaceWith: 'labelPosition',
|
|
179
|
-
whitelist: {
|
|
180
|
-
classes: ['MatCheckbox']
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
]
|
|
184
|
-
},
|
|
185
|
-
|
|
186
|
-
{
|
|
187
|
-
pr: 'https://github.com/angular/material2/pull/10344',
|
|
188
|
-
changes: [
|
|
189
|
-
{
|
|
190
|
-
replace: '_positionDeprecated',
|
|
191
|
-
replaceWith: 'position',
|
|
192
|
-
whitelist: {
|
|
193
|
-
classes: ['MatTooltip']
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
]
|
|
197
|
-
},
|
|
198
|
-
|
|
199
|
-
{
|
|
200
|
-
pr: 'https://github.com/angular/material2/pull/10373',
|
|
201
|
-
changes: [
|
|
202
|
-
{
|
|
203
|
-
replace: '_thumbLabelDeprecated',
|
|
204
|
-
replaceWith: 'thumbLabel',
|
|
205
|
-
whitelist: {
|
|
206
|
-
classes: ['MatSlider']
|
|
207
|
-
}
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
replace: '_tickIntervalDeprecated',
|
|
211
|
-
replaceWith: 'tickInterval',
|
|
212
|
-
whitelist: {
|
|
213
|
-
classes: ['MatSlider']
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
]
|
|
217
|
-
},
|
|
218
|
-
]
|
|
219
|
-
};
|