Skip to content
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

Merged
merged 2 commits into from
Feb 14, 2017

Conversation

mmalerba
Copy link
Contributor

@mmalerba mmalerba commented Feb 8, 2017

styling still needs some love

@mmalerba mmalerba requested a review from kara February 8, 2017 22:32
@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Feb 8, 2017
<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">
Copy link
Contributor

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?

Copy link
Contributor Author

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

import {By} from '@angular/platform-browser';


describe('MsCalendar', () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: is it MdCalendar?

@tinayuangao
Copy link
Contributor

LGTM

@mmalerba mmalerba merged commit 158f2af into angular:datepicker Feb 14, 2017
mmalerba added a commit that referenced this pull request Feb 27, 2017
…d year views (#2994)

* create a calendar component that pulls together month and year views

styling still needs some love

* fix typo
mmalerba added a commit that referenced this pull request Mar 2, 2017
…d year views (#2994)

* create a calendar component that pulls together month and year views

styling still needs some love

* fix typo
mmalerba added a commit to mmalerba/components that referenced this pull request Mar 6, 2017
…d year views (angular#2994)

* create a calendar component that pulls together month and year views

styling still needs some love

* fix typo
mmalerba added a commit that referenced this pull request Mar 17, 2017
…d year views (#2994)

* create a calendar component that pulls together month and year views

styling still needs some love

* fix typo
mmalerba added a commit to mmalerba/components that referenced this pull request Mar 28, 2017
…d year views (angular#2994)

* create a calendar component that pulls together month and year views

styling still needs some love

* fix typo
mmalerba added a commit that referenced this pull request Apr 14, 2017
…d year views (#2994)

* create a calendar component that pulls together month and year views

styling still needs some love

* fix typo
mmalerba added a commit that referenced this pull request Apr 20, 2017
…d year views (#2994)

* create a calendar component that pulls together month and year views

styling still needs some love

* fix typo
mmalerba added a commit that referenced this pull request Apr 29, 2017
…d year views (#2994)

* create a calendar component that pulls together month and year views

styling still needs some love

* fix typo
mmalerba added a commit that referenced this pull request May 5, 2017
…d year views (#2994)

* create a calendar component that pulls together month and year views

styling still needs some love

* fix typo
mmalerba added a commit that referenced this pull request May 9, 2017
…d year views (#2994)

* create a calendar component that pulls together month and year views

styling still needs some love

* fix typo
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes PR author has agreed to Google's Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants