mike-north / ember-material-lite

Material Design Lite for Ember.js Apps
http://mike.works/ember-material-lite
MIT License
148 stars 51 forks source link

Components #1

Open mike-north opened 9 years ago

mike-north commented 9 years ago
Component Reference Implementation Tests Complete
Badges
Buttons
Cards
Tabs
Navbar
Loading
Menus
Sliders
Toggles
Tables
Text Fields
Tooltips
sakozz commented 9 years ago

It would be great to have side navigation with drawer also. Any plan for this feature or is it included with Navbar ?

mike-north commented 9 years ago

@sunil-shrestha it's already included with the navbar

sakozz commented 9 years ago

Nice. Now i can see it in documentation also. Sample codes are not appearing though.

mike-north commented 9 years ago

@sunil-shrestha example code should be showing up again now. Thanks for your patience

rynam0 commented 9 years ago

This is coming along quite nicely! Nice work.

mike-north commented 9 years ago

We now have a decent implementation of all components. I'll start to back-fill tests, and ensure we have a consistent API surface whenever possible

rynam0 commented 9 years ago

Any intention on adding checkbox list like in ember-cli-materialize, Mike?

sakozz commented 9 years ago

First of all, big thanks to @truenorth for bringing Material-design-lite to ember community.

I have been testing with Nav components and so far looks great. Now i come to a case where the drawer nav-items are different from the main nav items. If i am not wrong, we now have same nav items in side nav as on the main nav. Do you have any plan to include this kind of use case or is it possible already?

mike-north commented 9 years ago

Until we have some more sophisticated content projection options, there's no way to do this without making use of private APIs (and thus introducing risk to consuming apps). My advice is to extend from the existing nav component, but supply your own template.

sakozz commented 9 years ago

Thanks, the latest release seem to provide enough flexibility for Nav now.

mike-north commented 9 years ago

Yep, I was able to use ember-composability to make this work.

rohanthacker commented 9 years ago

@mike-north How do you currently handle layouts when using this addon? Especially across different views. The nav-bar overlaps content and when fixedDrawer is enabled it overlaps the main content

mike-north commented 9 years ago

@rohanthacker not sure exactly what you're asking. Can you elaborate?

rohanthacker commented 9 years ago

@mike-north My apologies. I want to know how you handle layout when using this addon.? Because currently the nav-bar overlaps the content of the page. Also when fixedDrawer is enable, it too overlaps the content.

Screenshot of drawer overlapping content

Screenshot of nav overlapping content

mike-north commented 9 years ago

@rohanthacker This should be handled in the same way that Material Design Lite handles it http://www.getmdl.io/components/index.html#layout-section/layout

remkoboschker commented 8 years ago

Are there any plans to support the new components dialogs, lists and snackbar? I understand that pull request are welcome.