Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(material/core): Move remaining MDC core functionality out of expe…
…rimental (#25503)
- Loading branch information
Showing
43 changed files
with
172 additions
and
749 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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
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
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 |
---|---|---|
@@ -1,20 +1,21 @@ | ||
@use '@angular/material' as mat; | ||
@use '@angular/material-experimental' as experimental; | ||
|
||
// Plus imports for other components in your app. | ||
|
||
// Include the common styles for Angular Material. We include this here so that you only | ||
// have to load a single css file for Angular Material in your app. | ||
// **Be sure that you only ever include this mixin once!** | ||
@include mat.core(); | ||
@include experimental.all-mdc-component-typographies(); | ||
|
||
// Define the default theme (same as the example above). | ||
$candy-app-primary: mat.define-palette(mat.$indigo-palette); | ||
$candy-app-accent: mat.define-palette(mat.$pink-palette, A200, A100, A400); | ||
$candy-app-theme: mat.define-light-theme($candy-app-primary, $candy-app-accent); | ||
$candy-app-theme: mat.define-light-theme(( | ||
color: (primary: $candy-app-primary, accent: $candy-app-accent), | ||
typography: mat.define-typography-config(), | ||
density: 0 | ||
)); | ||
|
||
// Include the default theme styles. | ||
@include mat.all-component-themes($candy-app-theme); | ||
@include mat.all-legacy-component-themes($candy-app-theme); | ||
@include experimental.all-mdc-component-themes($candy-app-theme); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,7 @@ | ||
// Theme bundles | ||
@forward './mdc-core/theming/all-theme' show all-mdc-component-themes; | ||
@forward './mdc-core/color/all-color' show all-mdc-component-colors; | ||
@forward './mdc-core/typography/all-typography' show all-mdc-component-typographies, | ||
define-mdc-typography-config; | ||
@forward './mdc-core/density/all-density' show all-mdc-component-densities; | ||
|
||
// Component themes | ||
@forward './column-resize/column-resize-theme' as column-resize-* show column-resize-color, | ||
column-resize-typography, column-resize-density, column-resize-theme; | ||
@forward './popover-edit/popover-edit-theme' as popover-edit-* show popover-edit-color, | ||
popover-edit-typography, popover-edit-density, popover-edit-theme; | ||
|
||
// MDC-related themes | ||
@forward './mdc-core/core-theme' as mdc-core-* show mdc-core-theme, mdc-core-color, | ||
mdc-core-density, mdc-core-typography; | ||
|
||
// Additional public APIs for individual components |
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 |
---|---|---|
@@ -1,6 +1,5 @@ | ||
entryPoints = [ | ||
"column-resize", | ||
"mdc-core", | ||
"menubar", | ||
"popover-edit", | ||
"selection", | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
src/material-experimental/mdc-core/color/_all-color.import.scss
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
src/material-experimental/mdc-core/density/_all-density.import.scss
This file was deleted.
Oops, something went wrong.
25 changes: 0 additions & 25 deletions
25
src/material-experimental/mdc-core/density/_all-density.scss
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.