feat(item): deprecate item-left / item-right attributes for item-start / item-end (#11125)

item-start and item-end make more sense for RTL

* refactor(item): replaced item-left with item-start
replaced item-right with item-end

* style(item): fix spacing

* fix(item): add backwards support for left/right in ng-content

* fix(item): deprecated old variables, not breaking change

* fix(scss): fix variable name

* fix(item): old attributes deprecated support
This commit is contained in:
Amit Moryossef
2017-05-05 18:53:32 +03:00
committed by Brandy Carney
parent 6d11499417
commit 26c653e43e
73 changed files with 663 additions and 582 deletions

View File

@ -61,8 +61,10 @@ $label-wp-text-color-focused: color($colors-wp, primary) !default;
transform: translate3d(0, 0, 0) scale(.8);
}
.item-wp.item-label-stacked [item-right],
.item-wp.item-label-floating [item-right] {
.item-wp.item-label-stacked [item-right], // deprecated
.item-wp.item-label-floating [item-right], // deprecated
.item-wp.item-label-stacked [item-end],
.item-wp.item-label-floating [item-end] {
margin-top: $item-wp-padding-media-top + 4;
margin-bottom: $item-wp-padding-media-top + 4;
}