-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Description
Is this a regression?
- Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
16.2.x
Description
The @angular/material/theming
entrypoint is broken in v17.x.
It looks like the src/material/_theming.scss
file was deliberately removed as part of 86e9e52#diff-bfa19b8f86d56d399fc0cb86ac55e1b95d161f081beb123cd2bcf31196eae030
However, I can't seem to find any mention of this breaking change in the release notes, nor is the problem automatically fixed by the migration schematic.
Additionally, the entrypoint still appears in the package.json:
https://github.com/angular/components/blob/main/src/material/package-base.json#L20
Reproduction
StackBlitz link:
Steps to reproduce:
1.
2.
Expected Behavior
Either the entrypoint should still work, or there should be some documentation as to how to migrate away from it.
I was previously using it to import public values such as $light-primary-text
for use in my own palettes.
Actual Behavior
The entrypoint no longer works, but still appears in the package.json.
Environment
- Angular: 17.x
- CDK/Material: 17.x
- Browser(s): N/A
- Operating System (e.g. Windows, macOS, Ubuntu): Windows