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(list): add list component #214

Merged
merged 1 commit into from
Mar 21, 2016
Merged

feat(list): add list component #214

merged 1 commit into from
Mar 21, 2016

Conversation

kara
Copy link
Contributor

@kara kara commented Mar 21, 2016

r: @jelbourn

Ref: #107

This PR is for the static md-list only, not selection or action lists.

@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Mar 21, 2016
@kara kara added the in progress This issue is currently in progress label Mar 21, 2016
@kara kara force-pushed the list branch 5 times, most recently from c18e5a3 to 07ba824 Compare March 21, 2016 06:39
@kara kara added pr: needs review and removed in progress This issue is currently in progress labels Mar 21, 2016
@kara kara changed the title WIP: list component feat(list): add list component Mar 21, 2016
@@ -0,0 +1 @@
<ng-content></ng-content>
Copy link
Member

Choose a reason for hiding this comment

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

optional: could inline this into the template property for list.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, agree. Originally I separated it in case it got any larger, but it didn't. Inlining.

$md-dense-two-line-height: 60px;
$md-dense-three-line-height: 76px;

@mixin md-list-item-base($font-size, $base-height, $avatar-height,
Copy link
Member

Choose a reason for hiding this comment

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

It might be good for these mixins to describe what's captured in the base and what is left to the specific uses.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@kara kara force-pushed the list branch 4 times, most recently from 871437c to 1e9bf43 Compare March 21, 2016 19:06
@@ -5,6 +5,8 @@ export LOGS_DIR=/tmp/angular-material2-build/logs
export SAUCE_USERNAME=angular-ci
export SAUCE_ACCESS_KEY=9b988f434ff8-fbca-8aa4-4ae3-35442987
export TRAVIS_JOB_NUMBER=12345
export BROWSER_PROVIDER_READY_FILE=/tmp/angular-material2-build/readyfile
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note: Added at Rob's request to help travis pass.

@kara kara force-pushed the list branch 2 times, most recently from dd69303 to d62d34d Compare March 21, 2016 19:28
$md-list-top-padding: 8px;
$md-list-font-size: 16px;
$md-list-secondary-font: 14px;
//height for single-line lists
Copy link
Member

Choose a reason for hiding this comment

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

Space after //

@jelbourn
Copy link
Member

Going to add a README in a follow-up PR?

@jelbourn
Copy link
Member

LGTM

@kara
Copy link
Contributor Author

kara commented Mar 21, 2016

Yes, README coming in my next PR

@kara kara merged commit fb71eb1 into angular:master Mar 21, 2016
@kara kara mentioned this pull request Mar 21, 2016
6 tasks
andrewseguin pushed a commit to andrewseguin/components that referenced this pull request Oct 15, 2018
@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 5, 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.

3 participants