* feat(rtl): add translate3d support for directions
* feat(rtl): add transform-origin support for directions
* fix(transform): add missing origins
* fix(transform): when given a percentage, calc on rtl
* fix(transform-origin): be same as before
* fix(translate3d): no double minus
* fix(translate3d): use transform instead of cloning code
* style(scss-lint): remove empty line
* fix(merge): fix bad merge
* refactor(transform-origin): nicer logic
* style(): add eof line
* fix(transform): remove unneeded mixin
* feat(rtl): add transform mixin and str-split function
* Merge remote-tracking branch 'remotes/upstream/rtl-transform' into transform-rtl
# Conflicts:
# src/themes/ionic.mixins.scss
* fix(transform): fix string comparison
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
BREAKING CHANGES:
Colors should be passed in the `color` input on components, not added
individually as an attribute on the component.
For example:
```
<ion-tabs primary>
```
Becomes
```
<ion-tabs color=”primary”>
```
Or to bind an expression to color:
```
<ion-navbar [color]="barColor">
...
</ion-navbar>
```
```ts
@Component({
templateUrl: 'build/pages/about/about.html'
})
export class AboutPage {
barColor: string;
constructor(private nav: NavController, platform: Platform) {
this.barColor = platform.is('android') ? 'primary' : 'light';
}
}
```
Reason for this change:
It was difficult to dynamically add colors to components, especially if
the name of the color attribute was unknown in the template.
This change keeps the css flat since we aren’t chaining color
attributes on components and instead we assign a class to the component
which includes the color’s name.
This allows you to easily toggle a component between multiple colors.
Speeds up performance because we are no longer reading through all of
the attributes to grab the color ones.
references #7467closes#7087closes#7401closes#7523