Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(material/schematics): v15 ng-update scss migration (#25395)
* feat(material/schematics): v15 ng-update scss migration * fixup! feat(material/schematics): v15 ng-update scss migration * fixup! feat(material/schematics): v15 ng-update scss migration
- Loading branch information
1 parent
c7c9a25
commit 00d5f27
Showing
4 changed files
with
184 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
src/material/schematics/ng-update/migrations/legacy-components-v15/constants.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/** | ||
* @license | ||
* Copyright Google LLC All Rights Reserved. | ||
* | ||
* Use of this source code is governed by an MIT-style license that can be | ||
* found in the LICENSE file at https://angular.io/license | ||
*/ | ||
|
||
export const COMPONENTS = [ | ||
'autocomplete', | ||
'button', | ||
'card', | ||
'checkbox', | ||
'chips', | ||
'dialog', | ||
'form-field', | ||
'input', | ||
'menu', | ||
'option', | ||
'optgroup', | ||
'paginator', | ||
'progress-bar', | ||
'progress-spinner', | ||
'radio', | ||
'select', | ||
'slide-toggle', | ||
'snack-bar', | ||
'table', | ||
'tabs', | ||
'tooltip', | ||
]; | ||
|
||
export const MIXINS = COMPONENTS.flatMap(component => [ | ||
`${component}-theme`, | ||
`${component}-color`, | ||
`${component}-density`, | ||
`${component}-typography`, | ||
]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters