-
Notifications
You must be signed in to change notification settings - Fork 6.8k
fix(material/core): Move remaining MDC core functionality out of experimental #25503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
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); |
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 |
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.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.