Components: feat(divider): move divider out of mat-list

Created on 6 Jul 2017  路  2Comments  路  Source: angular/components

Bug, feature request, or proposal:

Feature request

What is the expected behavior?

Pursuant to the spec, dividers are used in areas other than plain lists, most notably in cards.

What is the current behavior?

Using mat-divider requires MatList, even when used in other components.

What are the steps to reproduce?

  1. Try to use mat-divider without importing MatListModule

What is the use-case or motivation for changing an existing behavior?

There should be an ability, like in AngularJS Material, to use mat-divider without relying on MatList. This would also be a great opportunity to implement the inset divider, would close #2017, and open up an opportunity to implement the vertical (or at least responsive) option that was in Material 1.0.

Obviously not a priority, but a nice to have feature.

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

All current as of 7/5/2017 (@angular/[email protected])

P5 feature needs discussion

Most helpful comment

In cards specs, there are full-bleed divider and inset dividers

All 2 comments

In cards specs, there are full-bleed divider and inset dividers

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._

Was this page helpful?
0 / 5 - 0 ratings

Related issues

LoganDupont picture LoganDupont  路  3Comments

jelbourn picture jelbourn  路  3Comments

savaryt picture savaryt  路  3Comments

theunreal picture theunreal  路  3Comments

constantinlucian picture constantinlucian  路  3Comments