-
Notifications
You must be signed in to change notification settings - Fork 358
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ltr): add fallback styles for
ltr
+ additional support. (#413)
* feat(): move rlt fab into components toolbar as a menu option * fix(chips): added fallback for ltr support * fix(): leverage rtl mixin in chips * fix(toolbar): set fallback for ltr * chore(): move ltr option to the whole components page * feat(data-table): add fallback for ltr and fix selected rtl * feat(dialog): add fallback for ltr in dialogs * feat(expansion-panel): add fallback ltr * feat(layouts): add ltr fallback and fix rtl * feat(menu): added fallback for ltr * feat(notifications): rollback since this was already working * fix(): remove unused code * fix(search): margin for rtl and fallback for ltr * feat(search): change animation depending on rtl/ltr in search input * fix(search): fix rtl in search box * fix(paging): remove unused style * fix(stepper): icon in rtl * feat(file-upload): add rtl support * rollback: we will fix this in a separate PR * rollback: we need to rethink how pad, pull and push for rtl * fix(): use default ltr * feat(): added some support for rtl in json-formatter * feat(paging): support paging rtl * feat(rtl): set dir in root `html` tag
- Loading branch information
1 parent
5d63323
commit e270687
Showing
33 changed files
with
245 additions
and
239 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,8 @@ | ||
<td-layout #layout #root="$implicit" [dir]="direction"> | ||
<td-layout #layout> | ||
<td-navigation-drawer sidenavTitle="Covalent" logo="assets:teradata"> | ||
<md-nav-list> | ||
<a *ngFor="let item of routes" md-list-item (click)="layout.close()" [routerLink]="[item.route]"><md-icon>{{item.icon}}</md-icon>{{item.title}}</a> | ||
</md-nav-list> | ||
</td-navigation-drawer> | ||
<a md-fab color="accent" class="mat-fab-postion-bottom fixed" style="z-index: 999; bottom: 15px; margin: 20px; padding: 10px;" (click)="root.dir = (root.dir == 'rtl' ? 'ltr' : 'rtl'); changeDir(root);" title="Toggle between RTL and LTR"> | ||
{{root.dir.toUpperCase()}} | ||
</a> | ||
<router-outlet></router-outlet> | ||
</td-layout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.