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

Update paper-card for 1.0 #338

Conversation

joukevandermaas
Copy link
Contributor

@joukevandermaas joukevandermaas commented Apr 14, 2016

  • Add support for headers & avatars
  • Create components for most common card 'parts' (actions, header, title, content)
  • Use contextual components (but not mandatory)
  • Add support for cards with various image sizes
  • Add support for 'dark' (colored) cards (not in Angular Material 1.06)
  • Update changelog

@@ -2,6 +2,6 @@ import Ember from 'ember';
import FlexMixin from '../mixins/flex-mixin';

export default Ember.Component.extend(FlexMixin, {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Let's destructure stuff and not use FlexMixin since it will be removed.

@miguelcobain
Copy link
Collaborator

miguelcobain commented Apr 15, 2016

What do you mean by

Add support for cards with various images

and

Add support for 'dark' (colored) cards

?
Is there any demo of that in AM?
https://material.angularjs.org/1.0.6/demo/card

@miguelcobain
Copy link
Collaborator

Also, please rebase to have the latest upstream changes. They will fix the build errors of this PR.

@@ -0,0 +1,3 @@
<md-card-actions class="{{class}} layout-{{layout}} layout-align-{{layoutAlignClassName}}">
Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't think we need to provide specific layout and layoutAlign properties.
Won't these flex classes be part of the public API?

- Add support for headers & avatars
- Use contextual components (but not mandatory)
- Create components for actions, headers, titles, etc.
@joukevandermaas joukevandermaas changed the title [WIP] Update paper-card for 1.0 Update paper-card for 1.0 Apr 15, 2016
@joukevandermaas
Copy link
Contributor Author

@miguelcobain please review again, now that I think all the changes are in. I rebased on the latest upstream changes and 08edccb contains the image/media cards I was referring to.

I can squash when you're done with the review, although I believe GitHub supports it from the web UI now.

@heat
Copy link

heat commented Apr 17, 2016

👍

@SaladFork SaladFork closed this Apr 19, 2016
@SaladFork
Copy link
Contributor

Unfortunately GitHub doesn't seem to allow you to change the base branch you are PRing against and automatically closes any PRs when the base branch is deleted.

Moving forward we are using the master branch for 1.0.0 work so please feel free to open a new PR against master :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants