@@ -21,8 +21,11 @@ export class MdCardContent {}
21
21
* @docs -private
22
22
*/
23
23
@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
+ }
26
29
} )
27
30
export class MdCardTitle { }
28
31
@@ -31,8 +34,11 @@ export class MdCardTitle {}
31
34
* @docs -private
32
35
*/
33
36
@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
+ }
36
42
} )
37
43
export class MdCardSubtitle { }
38
44
@@ -61,47 +67,47 @@ export class MdCardFooter {}
61
67
* @docs -private
62
68
*/
63
69
@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' }
66
72
} )
67
- export class MdCardSmImage { }
73
+ export class MdCardImage { }
68
74
69
75
/**
70
76
* Image used in a card, needed to add the mat- CSS styling.
71
77
* @docs -private
72
78
*/
73
79
@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' }
76
82
} )
77
- export class MdCardMdImage { }
83
+ export class MdCardSmImage { }
78
84
79
85
/**
80
86
* Image used in a card, needed to add the mat- CSS styling.
81
87
* @docs -private
82
88
*/
83
89
@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' }
86
92
} )
87
- export class MdCardLgImage { }
93
+ export class MdCardMdImage { }
88
94
89
95
/**
90
96
* Image used in a card, needed to add the mat- CSS styling.
91
97
* @docs -private
92
98
*/
93
99
@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' }
96
102
} )
97
- export class MdCardImage { }
103
+ export class MdCardLgImage { }
98
104
99
105
/**
100
106
* Large image used in a card, needed to add the mat- CSS styling.
101
107
* @docs -private
102
108
*/
103
109
@Directive ( {
104
- selector : '[md-card-xl-image], [mat-card-xl-image]' ,
110
+ selector : '[md-card-xl-image], [mat-card-xl-image], [mdCardImageXLarge], [matCardImageXLarge] ' ,
105
111
host : { 'class' : 'mat-card-xl-image' }
106
112
} )
107
113
export class MdCardXlImage { }
@@ -111,7 +117,7 @@ export class MdCardXlImage {}
111
117
* @docs -private
112
118
*/
113
119
@Directive ( {
114
- selector : '[md-card-avatar], [mat-card-avatar]' ,
120
+ selector : '[md-card-avatar], [mat-card-avatar], [mdCardAvatar], [matCardAvatar] ' ,
115
121
host : { 'class' : 'mat-card-avatar' }
116
122
} )
117
123
export class MdCardAvatar { }
0 commit comments