-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
feat: add camelCase selectors where they were missing #4901
Conversation
src/lib/list/list.ts
Outdated
}) | ||
export class MdListSubheaderCssMatStyler {} | ||
|
||
@Component({ | ||
moduleId: module.id, | ||
selector: 'md-list-item, mat-list-item, a[md-list-item], a[mat-list-item]', | ||
selector: 'md-list-item, mat-list-item, a[md-list-item], a[mat-list-item],' + | ||
'a[mdListItem], a[matListItem]', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So it looks like we're just doing away with dash-case attrs entirely, even for components? (I'm happy with that, I've wanted it for a while) shouldn't we do button too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one was a mistake, reverted
aa90297
to
39b9add
Compare
Officially for review now; I will update the tests and demos in follow-up PRs (trying to avoid merge conflicts) |
src/lib/card/card.ts
Outdated
host: { | ||
'[class.mat-card-image]': 'true' | ||
} | ||
selector: '[md-card-lg-image], [mat-card-lg-image], [mdCarDImageLarge], [matCardImageLarge]', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo here? Should be mdCardImageLarge
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@@ -43,9 +42,7 @@ export class MdDialogTitle { } | |||
*/ | |||
@Directive({ | |||
selector: '[md-dialog-content], md-dialog-content, [mat-dialog-content], mat-dialog-content', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should [md-dialog-content]
be updated to camelcase too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@Input() | ||
get mdAutosizeMinRows(): number { return this.minRows; } | ||
set mdAutosizeMinRows(value: number) { this.minRows = value; } | ||
@Input('matAutosizeMaxRows') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is now private but relied on in internal tests. Do you want to make it deprecated for use and then make private after that?
@jelbourn Rebase? |
27edb98
to
cec97cf
Compare
Done |
cec97cf
to
b3ed5aa
Compare
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
true
class bindings once and for all.md-tab-nav-bar
to justmdTabNav
md-card-sm-image
tomdCardImageSmall
)cc @andrewseguin @kara @mmalerba @tinayuangao for discussion before I do the tests/demos
After this, all of the dash-case selectors would be announced as deprecated in the changelog and removed once I can get them all out of Google apps