Currently we've got links either pointing to google.com/design or material.io. These changes make everything consistent by pointing everything to material.io. Also fixes a couple of links that were pointing to a 404.
Add an argument to mat-elevation and mat-overridable-elevation that allows the opacities of the
elevation shadow components to be scaled proportionately. Add missing $color argument to
mat-overridable-elevation and extract default values into variables. Add documentation
for new argument.
* Creating a custom form field docs -- updated ngControl section to reflect errors injecting NgControl
If the component already implements ControlValueAccessor, injecting NgControl in the constructor (as described in the docs) may fail. Added an alternate way.
* Update creating-a-custom-form-field-control.md
* added word "provider" for clarity
* docs(theming): updated guide with proposed documentation
* docs(theming): updated guide using theming.scss to indicate how the user
can use the preconfigured hues as well as the contrast modifier.
* docs(theming): typo fix
* feat(form-field): add support for separate label and placeholder
* Adds the ability for the user to specify both a label and placeholder text for a form field.
* Renames all of the "floating placeholder" related terminology to refer to a "floating label" instead.
* Aligns the input placeholder color with the Material spec.
Fixes#6194.
* fix: add transition to placeholder text
Removes any usages of the Renderer2 from the codebase. They're no longer necessary after Angular switched to Domino which is closer to the native DOM API.
Since the switch to the `mat-` prefix, the compatibility mode is no longer necessary. These changes remove anything that was left.
BREAKING CHANGE:
The `MATERIAL_COMPATIBILITY_MODE`, `CompatibilityModule`, `NoConflictStyleCompatibilityMode`, `MatPrefixRejector`, `MdPrefixRejector` symbols have been removed.
BREAKING CHANGE: Now that the Overlay is part of the cdk rather than Angular Material directly,
the `themeClass` property has been removed. To add a class to the
overlay for theming, you can do
```ts
overlayContainer.getContainerElement().classList.add('my-theme-class');
```
Adds a note to the typography guide about the font-family having to be quoted. It seems like we can't handle this gracefull within the mixin using the built-in `is-string` function from SASS.
Fixes#6668.
* docs(hammerjs): new import location for Universal
As mentioned in #308, if hammerjs is imported in AppModule, Universal server-side rendering will fail as hammerjs is a browser specific library using window, document... So it must be imported in browser entry point src/main.ts instead.
* docs(hammerjs): new import location for Universal
As mentioned in #308, if hammerjs is imported in AppModule, Universal server-side rendering will fail as hammerjs is a browser specific library using window, document... So it must be imported in browser entry point src/main.ts instead.
* docs: individual cdk entry points for systemjs
* Updates the SystemJS guide section to show that the individual CDK entry points need to be mapped manually.
* Address feedback
Allows for the typography config to be specified optionally through the `mat-core` mixin, avoiding some of the extra bloat that comes from overriding the typography after a theme is defined.
Fixes#5589.
* The getting started guide includes a brief section for the SystemJS configuration of a project using Angular Material. This extra section now also needs to include the CDK package.
Fixes#5624
* includes @angular/cdk in github material installation instructions
* Mention the latest builds instructions
Add the latest builds instructions in the installation section (Step 1).
* Delete the installation section
The Getting Started section has all the information necessary to proceed with installations: https://github.com/angular/material2/issues/5552#issuecomment-313581831