Skip to content

docs: remove mat stylers from docs #3517

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

Merged
merged 2 commits into from
Mar 10, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/lib/grid-list/grid-tile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ export class MdGridTileText implements AfterContentInit {

/**
* Directive whose purpose is to add the mat- CSS styling to this selector.
* @docs-private
*/
@Directive({
selector: '[md-grid-avatar], [mat-grid-avatar]',
Expand All @@ -80,6 +81,7 @@ export class MdGridAvatarCssMatStyler {}

/**
* Directive whose purpose is to add the mat- CSS styling to this selector.
* @docs-private
*/
@Directive({
selector: 'md-grid-tile-header, mat-grid-tile-header',
Expand All @@ -91,6 +93,7 @@ export class MdGridTileHeaderCssMatStyler {}

/**
* Directive whose purpose is to add the mat- CSS styling to this selector.
* @docs-private
*/
@Directive({
selector: 'md-grid-tile-footer, mat-grid-tile-footer',
Expand Down
14 changes: 12 additions & 2 deletions src/lib/list/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export class MdList {}

/**
* Directive whose purpose is to add the mat- CSS styling to this selector.
* @docs-private
*/
@Directive({
selector: 'md-list, mat-list',
Expand All @@ -40,6 +41,7 @@ export class MdListCssMatStyler {}

/**
* Directive whose purpose is to add the mat- CSS styling to this selector.
* @docs-private
*/
@Directive({
selector: 'md-nav-list, mat-nav-list',
Expand All @@ -51,6 +53,7 @@ export class MdNavListCssMatStyler {}

/**
* Directive whose purpose is to add the mat- CSS styling to this selector.
* @docs-private
*/
@Directive({
selector: 'md-divider, mat-divider',
Expand All @@ -60,7 +63,10 @@ export class MdNavListCssMatStyler {}
})
export class MdDividerCssMatStyler {}

/* Need directive for a ContentChild query in list-item */
/**
* Directive whose purpose is to add the mat- CSS styling to this selector.
* @docs-private
*/
@Directive({
selector: '[md-list-avatar], [mat-list-avatar]',
host: {
Expand All @@ -69,7 +75,10 @@ export class MdDividerCssMatStyler {}
})
export class MdListAvatarCssMatStyler {}

/* Need directive to add mat- CSS styling */
/**
* Directive whose purpose is to add the mat- CSS styling to this selector.
* @docs-private
*/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missed the subheader styler below it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thanks

@Directive({
selector: '[md-list-icon], [mat-list-icon]',
host: {
Expand All @@ -80,6 +89,7 @@ export class MdListIconCssMatStyler {}

/**
* Directive whose purpose is to add the mat- CSS styling to this selector.
* @docs-private
*/
@Directive({
selector: '[md-subheader], [mat-subheader]',
Expand Down
2 changes: 2 additions & 0 deletions src/lib/progress-spinner/progress-spinner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ type EasingFn = (currentTime: number, startValue: number,

/**
* Directive whose purpose is to add the mat- CSS styling to this selector.
* @docs-private
*/
@Directive({
selector: 'md-progress-spinner, mat-progress-spinner',
Expand All @@ -45,6 +46,7 @@ export class MdProgressSpinnerCssMatStyler {}

/**
* Directive whose purpose is to add the mat- CSS styling to this selector.
* @docs-private
*/
@Directive({
selector: 'md-progress-circle, mat-progress-circle',
Expand Down