@@ -21,8 +21,11 @@ export class MdCardContent {}
2121 * @docs -private
2222 */
2323@Directive ( {
24- selector : 'md-card-title, mat-card-title, [md-card-title], [mat-card-title]' ,
25- host : { 'class' : 'mat-card-title' }
24+ selector : 'md-card-title, mat-card-title, [md-card-title], [mat-card-title],' +
25+ '[mdCardTitle], [matCardTitle]' ,
26+ host : {
27+ 'class' : 'mat-card-title '
28+ }
2629} )
2730export class MdCardTitle { }
2831
@@ -31,8 +34,11 @@ export class MdCardTitle {}
3134 * @docs -private
3235 */
3336@Directive ( {
34- selector : 'md-card-subtitle, mat-card-subtitle, [md-card-subtitle], [mat-card-subtitle]' ,
35- host : { 'class' : 'mat-card-subtitle' }
37+ selector : 'md-card-subtitle, mat-card-subtitle, [md-card-subtitle], [mat-card-subtitle],' +
38+ '[mdCardSubtitle], [matCardSubtitle]' ,
39+ host : {
40+ 'class' : 'mat-card-subtitle '
41+ }
3642} )
3743export class MdCardSubtitle { }
3844
@@ -61,47 +67,47 @@ export class MdCardFooter {}
6167 * @docs -private
6268 */
6369@Directive ( {
64- selector : '[md-card-sm- image], [mat-card-sm- image]' ,
65- host : { 'class' : 'mat-card-sm- image' }
70+ selector : '[md-card-image], [mat-card-image], [mdCardImage], [matCardImage ]' ,
71+ host : { 'class' : 'mat-card-image' }
6672} )
67- export class MdCardSmImage { }
73+ export class MdCardImage { }
6874
6975/**
7076 * Image used in a card, needed to add the mat- CSS styling.
7177 * @docs -private
7278 */
7379@Directive ( {
74- selector : '[md-card-md -image], [mat-card-md -image]' ,
75- host : { 'class' : 'mat-card-md -image' }
80+ selector : '[md-card-sm -image], [mat-card-sm -image], [mdCardImageSmall], [matCardImageSmall ]' ,
81+ host : { 'class' : 'mat-card-sm -image' }
7682} )
77- export class MdCardMdImage { }
83+ export class MdCardSmImage { }
7884
7985/**
8086 * Image used in a card, needed to add the mat- CSS styling.
8187 * @docs -private
8288 */
8389@Directive ( {
84- selector : '[md-card-lg -image], [mat-card-lg -image]' ,
85- host : { 'class' : 'mat-card-lg -image' }
90+ selector : '[md-card-md -image], [mat-card-md -image], [mdCardImageMedium], [matCardImageMedium ]' ,
91+ host : { 'class' : 'mat-card-md -image' }
8692} )
87- export class MdCardLgImage { }
93+ export class MdCardMdImage { }
8894
8995/**
9096 * Image used in a card, needed to add the mat- CSS styling.
9197 * @docs -private
9298 */
9399@Directive ( {
94- selector : '[md-card-image], [mat-card-image]' ,
95- host : { 'class' : 'mat-card-image' }
100+ selector : '[md-card-lg- image], [mat-card-lg- image], [mdCardImageLarge], [matCardImageLarge ]' ,
101+ host : { 'class' : 'mat-card-lg- image' }
96102} )
97- export class MdCardImage { }
103+ export class MdCardLgImage { }
98104
99105/**
100106 * Large image used in a card, needed to add the mat- CSS styling.
101107 * @docs -private
102108 */
103109@Directive ( {
104- selector : '[md-card-xl-image], [mat-card-xl-image]' ,
110+ selector : '[md-card-xl-image], [mat-card-xl-image], [mdCardImageXLarge], [matCardImageXLarge] ' ,
105111 host : { 'class' : 'mat-card-xl-image' }
106112} )
107113export class MdCardXlImage { }
@@ -111,7 +117,7 @@ export class MdCardXlImage {}
111117 * @docs -private
112118 */
113119@Directive ( {
114- selector : '[md-card-avatar], [mat-card-avatar]' ,
120+ selector : '[md-card-avatar], [mat-card-avatar], [mdCardAvatar], [matCardAvatar] ' ,
115121 host : { 'class' : 'mat-card-avatar' }
116122} )
117123export class MdCardAvatar { }
0 commit comments