Commit Graph

76 Commits

Author SHA1 Message Date
Aarón García Hervás e51f759519 Update creating-a-custom-form-field-control.md (#11561) 2018-05-30 08:14:47 -07:00
Ammar Hasan e6f306225e docs: add name flag to commands in schematic guide (#11283) 2018-05-11 13:54:45 -07:00
Kristiyan Kostadinov f13713e5ab docs: consistent links to Material spec (#11288)
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.
2018-05-11 10:39:43 -07:00
Stephen Fluin 96d55506be docs: fix typo in schematics guide (#11270) 2018-05-10 10:12:53 -07:00
Ben Elliott fbf5648c38 feat(elevation): add $opacity argument to elevation mixins (#10877)
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.
2018-05-10 09:09:10 -07:00
Longfld d4cfea1538 docs(getting-started): show hammerjs via systemjs.config (#10711) 2018-05-09 11:39:07 -07:00
Kristiyan Kostadinov 9dadf371d5 chore: remove references to the web animations polyfill (#11179)
Gets rid of the Web animations polyfill from our demo apps, as well as from the docs. The polyfill is not longer required as of Angular 6.
2018-05-08 09:59:01 -07:00
Igor Minar 86ef891c93 docs: update information about schematics (#11091) 2018-05-02 08:48:59 -07:00
Austin f4b0ea3498 docs: add schematics guide (#10502) 2018-04-05 22:24:16 -07:00
Kristiyan Kostadinov fe493457b5 chore(bidi): update docs to be explicit about only looking at elements within Angular (#10076) 2018-02-21 15:48:20 -08:00
timmoy f6537a18ff docs(theming): update mat-color usage for numeric hue and -contrast modifier (#9977) 2018-02-17 07:06:43 -08:00
rellis-of-rhindleton 98daab3935 updated Creating a Custom Form Field doc ngControl section (#9855)
* 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
2018-02-09 14:19:26 -08:00
timmoy 535dcf1782 docs(theming): Document hue options available for mat-color sass function (#9681)
* 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
2018-01-31 10:26:08 -08:00
Paul Gschwendtner 7613f98a7b chore: fix missing cdk table overview (#9574)
Fixes that the cdk-table overview file is not showing up in the docs.

Fixes #9554.
2018-01-25 12:58:52 -08:00
Dougie 23e22be7b3 Yarn option for Gesture hammerjs (#9417) 2018-01-18 10:41:58 -08:00
Roy 75eccb53f7 docs: use correct naming Sass (#9375) 2018-01-18 10:39:30 -08:00
Roy ae4e465bb6 docs(form-field): set correct method name (#9374) 2018-01-18 10:38:52 -08:00
Julius Bacosa 7af4eb0147 docs(getting-started): correct yarn command (#9269) 2018-01-08 09:29:22 -08:00
Dougie a4d7d28583 docs(getting-started): include yarn snippets (#9137) 2018-01-03 13:55:06 -08:00
Seraya Takahashi f383b70175 docs: fix typo in component customization guide (#8793) 2017-12-07 10:23:46 -08:00
Kristiyan Kostadinov d6fec3573c feat(form-field): add support for separate label and placeholder (#8223)
* 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
2017-11-28 12:09:27 -08:00
Kristiyan Kostadinov 2cf3860e59 refactor: remove renderer usages (#8235)
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.
2017-11-21 08:59:04 -08:00
Arthur Bogaart a4779d1954 docs: add 'input' level to typography (#8477) 2017-11-20 10:58:15 -08:00
Will Howell 3b50d3d08f docs(elevation): add guide for elevation helpers (#8172)
* docs(elevation): add guide for elevation helpers

- Credit to @M-a-c for intitial version

* Remove extra newlines

* Address comments
2017-11-01 21:05:27 -07:00
Kristiyan Kostadinov 8c389b4c26 docs: add note about web animations polyfill (#8069)
Adds a note that the WebAnimations polyfill is required for component animations to work in all browsers.
2017-10-27 10:16:39 -07:00
Kristiyan Kostadinov dcef604506 refactor: remove compatibility mode (#7689)
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.
2017-10-27 09:56:04 -07:00
mmalerba e129e3db1e docs(input, select): update docs and create more examples (#7673)
* update input docs

* input examples

* select docs & examples

* add troubleshooting section for select

* address comments

* address more comments
2017-10-11 22:20:42 -07:00
Christian Grail 4d97271786 highlight alternate angular material/cdk install (#7552) 2017-10-06 15:10:27 -07:00
Jeremy Elbourn 0e36c66235 docs(changelog): add missing breaking changes (#7585) 2017-10-06 08:54:42 -07:00
mmalerba adf9b5b978 docs(form-field): add docs, examples, and guide (#7424) 2017-10-04 15:46:10 -07:00
Mitt bd5d9dce0e docs(themes): fix typos to improve readability (#7425) 2017-10-02 13:10:25 -07:00
Will Howell 128442db1c docs(bidi): update to secondary entry-points (#7332) 2017-09-28 15:32:42 -07:00
Andrew Seguin 20a23f16e8 fix: remove all md prefixes (#7241) 2017-09-28 13:45:03 -07:00
Jeremy Elbourn a944f6e0f2 feat(overlay): replace OverlayContainer themeClass w/ addClass/removeClass methods (#6975)
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');
```
2017-09-20 16:04:41 -07:00
Kristiyan Kostadinov cd16ec634f docs(typography): add note about font-family quotes (#6742)
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.
2017-09-01 08:11:24 -07:00
Will Howell c86d13c8fe docs(styles): add guide for overriding styles (#6541) 2017-08-21 12:35:06 -07:00
Cyrille Tuzi 1af2ce6e17 docs(getting-started): mention importing hammer in same file as bootstrap (#6225)
* 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.
2017-08-04 14:00:09 -07:00
Andrew Seguin 1748397d83 fix(table): column class names should be css friendly (#6173)
* fix(table): column class names should be css friendly

* rename function

* add to docs, replace with -, make var

* fix test
2017-08-02 15:36:30 -07:00
Austin f5dc120fd7 chore(docs): correcting headers and adding header linking (#6040)
* chore(*): correcting headers and adding header linking

* chore(*): add specific class name

* Update docs.ts
2017-08-01 14:17:51 -07:00
Paul Gschwendtner 88772d46f5 docs: individual cdk entry points for systemjs (#6105)
* 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
2017-07-31 11:22:21 -07:00
Will Howell 844c5be3a7 docs(table): clean up formatting and typos (#5884) 2017-07-19 17:36:49 -07:00
Elad Bezalel bb316cb0e4 docs(bidi): add initial guide (#5474) 2017-07-13 10:23:47 -07:00
Kristiyan Kostadinov 72148c0657 feat(typography): allow typography config to be passed via mat-core (#5625)
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.
2017-07-11 09:24:05 -07:00
Paul Gschwendtner 145ca8e818 docs(getting-started): include cdk in systemjs config (#5626)
* 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
2017-07-10 11:37:41 -07:00
Juliano eedf36cafd fix(github docs): Includes @angular/cdk in installation instructions (#5555)
* 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
2017-07-07 10:16:15 -07:00
Jeremy Elbourn 8a74973c8a docs(table): add missing table JsDoc (#5525) 2017-07-05 18:50:27 -07:00
Jeremy Elbourn 45624077c6 docs: add temporary docs for cdk (#5429) 2017-07-05 16:29:35 -07:00
Andrew Seguin 6499ccbb5c Table docs (#5449)
* docs(table): initial table docs

* add filtering msg

* add overview

* fix height

* split cdk table into guide

* revisions

* add to examples

* fix heading

* example changes

* lint

* example style prefix, rename file

* newline
2017-07-05 16:28:51 -07:00
Kristiyan Kostadinov 51d1794291 docs: add a typography guide (#5197) 2017-06-19 12:22:37 -07:00
Mike Dory 6c9ca95baa Punctuation fix/addition (#4772)
Adding a period at the end of one of the notes sentences.
2017-05-25 14:37:48 -06:00