File tree Expand file tree Collapse file tree 6 files changed +11
-22
lines changed
projects/igniteui-angular
migrations/update-9_1_0/changes
core/styles/components/navbar Expand file tree Collapse file tree 6 files changed +11
-22
lines changed Original file line number Diff line number Diff line change 25
25
"selector" : " igx-grid" ,
26
26
"type" : " component"
27
27
}
28
- },
29
- {
30
- "name" : " <igx-action-icon" ,
31
- "replaceWith" : " <igx-icon igxActionIcon"
32
- },
33
- {
34
- "name" : " IgxActionIconDirective" ,
35
- "replaceWith" : " IgxNavbarActionDirective"
36
28
}
37
29
]
38
30
}
Original file line number Diff line number Diff line change 3
3
"changes" : [
4
4
{
5
5
"type" : " component" ,
6
- "selector" : " <igx-action-icon" ,
7
- "replaceWith" : " <igx-icon igxNavbarAction "
6
+ "selector" : " <igx-action-icon> " ,
7
+ "replaceWith" : " <igx-navbar-action> "
8
8
}
9
9
]
10
10
}
Original file line number Diff line number Diff line change 137
137
}
138
138
}
139
139
140
- [igxNavbarAction ] {
140
+ igx-navbar-action , [igxNavbarAction ] {
141
141
display : flex ;
142
142
align-items : center ;
143
143
}
144
144
145
- [igxNavbarTitle ] {
145
+ igx-navbar-title , [igxNavbarTitle ] {
146
146
display : flex ;
147
147
align-items : center ;
148
- font-size : $navbar-title-fz ;
149
- line-height : $navbar-title-lh ;
150
148
user-select : none ;
151
149
}
152
150
}
Original file line number Diff line number Diff line change 2
2
< div class ="igx-navbar__left ">
3
3
< igx-icon (click) ="_triggerAction() " fontSet ="material " *ngIf ="isActionButtonVisible "> {{actionButtonIcon}}
4
4
</ igx-icon >
5
- < ng-content select ="[igxNavbarAction] "> </ ng-content >
5
+ < ng-content select ="igx-navbar-action, [igxNavbarAction] "> </ ng-content >
6
6
< h1 *ngIf ="!isTitleContentVisible " class ="igx-navbar__title " [attr.id] ="titleId "> {{ title }}</ h1 >
7
- </ div >
8
- < div class ="igx-navbar__middle ">
9
- < ng-content select ="[igxNavbarTitle] "> </ ng-content >
7
+ < ng-content select ="igx-navbar-title,[igxNavbarTitle] "> </ ng-content >
10
8
</ div >
11
9
< div class ="igx-navbar__right ">
12
10
< ng-content > </ ng-content >
Original file line number Diff line number Diff line change @@ -17,12 +17,12 @@ import { IgxIconModule } from '../icon/public_api';
17
17
*/
18
18
@Directive ( {
19
19
// tslint:disable-next-line:directive-selector
20
- selector : '[igxNavbarAction]'
20
+ selector : 'igx-navbar-action, [igxNavbarAction]'
21
21
} )
22
22
export class IgxNavbarActionDirective { }
23
23
24
24
@Directive ( {
25
- selector : '[igxNavbarTitle]' ,
25
+ selector : 'igx-navbar-title, [igxNavbarTitle]' ,
26
26
27
27
} )
28
28
export class IgxNavbarTitleDirective { }
Original file line number Diff line number Diff line change @@ -39,7 +39,9 @@ <h4 class="sample-title">With custom nav icon and action icons</h4>
39
39
< igx-icon > favorite</ igx-icon >
40
40
< igx-icon > more_vert</ igx-icon >
41
41
42
- < igx-icon igxNavbarAction fontSet ="material " class ="bidirectional-icon "> arrow_back</ igx-icon >
42
+ < igx-navbar-action >
43
+ < igx-icon fontSet ="material " class ="bidirectional-icon "> arrow_back</ igx-icon >
44
+ </ igx-navbar-action >
43
45
</ igx-navbar >
44
46
</ div >
45
47
</ article >
@@ -49,7 +51,6 @@ <h4 class="sample-title">Navbar with title directive</h4>
49
51
< div class ="navbar-sample dark-navbar ">
50
52
< igx-navbar title ="Title sample ">
51
53
< igx-icon igxNavbarAction > home</ igx-icon >
52
- < div igxNavbarAction > IG</ div >
53
54
54
55
< div igxNavbarTitle > IG Title</ div >
55
56
You can’t perform that action at this time.
0 commit comments