-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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(datepicker): add calendar component that pulls together month and year views #2994
Conversation
styling still needs some love
<div class="mat-calendar-spacer"></div> | ||
<button class="mat-calendar-button mat-calendar-previous-button" (click)="_previousClicked()"> | ||
<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24" | ||
fill="#000000"> |
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.
Use css color instead of hard code in html? Why do we put this in a svg file?
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.
These are "keyboard arrow left" and "keyboard arrow right" from go/icons. I'd rather not mess with the contents of the svgs. I'm embedding them because its a pattern we already follow elsewhere in the code (I assume to avoid incurring additional resource requests). see: https://github.com/angular/material2/blob/master/src/lib/checkbox/checkbox.html#L24
src/lib/datepicker/calendar.spec.ts
Outdated
import {By} from '@angular/platform-browser'; | ||
|
||
|
||
describe('MsCalendar', () => { |
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.
nit: is it MdCalendar?
LGTM |
…d year views (#2994) * create a calendar component that pulls together month and year views styling still needs some love * fix typo
…d year views (#2994) * create a calendar component that pulls together month and year views styling still needs some love * fix typo
…d year views (angular#2994) * create a calendar component that pulls together month and year views styling still needs some love * fix typo
…d year views (#2994) * create a calendar component that pulls together month and year views styling still needs some love * fix typo
…d year views (angular#2994) * create a calendar component that pulls together month and year views styling still needs some love * fix typo
…d year views (#2994) * create a calendar component that pulls together month and year views styling still needs some love * fix typo
…d year views (#2994) * create a calendar component that pulls together month and year views styling still needs some love * fix typo
…d year views (#2994) * create a calendar component that pulls together month and year views styling still needs some love * fix typo
…d year views (#2994) * create a calendar component that pulls together month and year views styling still needs some love * fix typo
…d year views (#2994) * create a calendar component that pulls together month and year views styling still needs some love * fix typo
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. |
styling still needs some love