Skip to content

Commit 315a002

Browse files
authored
Merge branch 'master' into grid-docs
2 parents 8b33b23 + 54b8d9c commit 315a002

File tree

6 files changed

+65
-21
lines changed

6 files changed

+65
-21
lines changed

projects/igniteui-angular/core/src/core/styles/components/button/_button-theme.scss

Lines changed: 22 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,7 @@
426426
&:active {
427427
background: var-get($flat-theme, 'focus-background');
428428
color: var-get($flat-theme, 'focus-foreground');
429+
border-color: var-get($flat-theme, 'focus-border-color');
429430

430431
igx-icon {
431432
color: var-get($flat-theme, 'focus-foreground');
@@ -524,18 +525,20 @@
524525
color: var-get($outlined-theme, 'focus-visible-foreground');
525526
border-color: var-get($outlined-theme, 'focus-visible-border-color');
526527

527-
igx-icon {
528-
color: var-get($outlined-theme, 'focus-visible-foreground');
528+
@if $variant == 'material' or $variant == 'bootstrap' {
529+
igx-icon {
530+
color: var-get($outlined-theme, 'icon-color-hover');
531+
}
532+
} @else {
533+
igx-icon {
534+
color: var-get($outlined-theme, 'icon-color');
535+
}
529536
}
530537

531538
@if $variant == 'bootstrap' {
532539
box-shadow: 0 0 0 rem(4px) var-get($outlined-theme, 'shadow-color');
533540
} @else if $variant == 'indigo' {
534541
box-shadow: 0 0 0 rem(3px) var-get($outlined-theme, 'shadow-color');
535-
536-
igx-icon {
537-
color: var-get($outlined-theme, 'icon-color');
538-
}
539542
}
540543

541544
&:hover {
@@ -551,15 +554,10 @@
551554
&:active {
552555
background: var-get($outlined-theme, 'focus-background');
553556
color: var-get($outlined-theme, 'focus-foreground');
557+
border-color: var-get($outlined-theme, 'focus-border-color');
554558

555-
@if $variant == 'material' {
556-
border-color: var-get($outlined-theme, 'focus-border-color');
557-
558-
igx-icon {
559-
color: var-get($outlined-theme, 'focus-foreground');
560-
}
561-
} @else {
562-
border-color: var-get($outlined-theme, 'active-border-color');
559+
igx-icon {
560+
color: var-get($outlined-theme, 'focus-foreground');
563561
}
564562

565563
@if $variant == 'indigo' {
@@ -681,6 +679,11 @@
681679
&:active {
682680
color: var-get($contained-theme, 'focus-foreground');
683681
background: var-get($contained-theme, 'focus-background');
682+
border-color: var-get($contained-theme, 'focus-border-color');
683+
684+
igx-icon {
685+
color: var-get($contained-theme, 'focus-foreground');
686+
}
684687

685688
@if $variant == 'indigo' {
686689
igx-icon {
@@ -818,6 +821,11 @@
818821
&:active {
819822
background: var-get($fab-theme, 'focus-background');
820823
color: var-get($fab-theme, 'focus-foreground');
824+
border-color: var-get($fab-theme, 'focus-border-color');
825+
826+
igx-icon {
827+
color: var-get($contained-theme, 'focus-foreground');
828+
}
821829

822830
@if $variant == 'indigo' {
823831
igx-icon {

projects/igniteui-angular/core/src/core/styles/components/grid/_grid-theme.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1010,10 +1010,10 @@
10101010
}
10111011

10121012
%igx-icon--error {
1013-
@if $variant == 'fluent' and $theme-variant == 'light' or $variant == 'material' and $theme-variant == 'light' {
1014-
color: color($color: 'gray', $variant: 600);
1015-
} @else {
1013+
@if $variant == 'indigo' or $theme-variant == 'dark' {
10161014
color: color($color: 'gray', $variant: 500);
1015+
} @else {
1016+
color: color($color: 'gray', $variant: 600);
10171017
}
10181018
}
10191019
}

projects/igniteui-angular/grids/grid/src/public_api.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,11 @@ import {
7676
IgxRowAddTextDirective,
7777
IgxRowEditActionsDirective,
7878
IgxRowEditTabStopDirective,
79-
IgxRowEditTextDirective
79+
IgxRowEditTextDirective,
80+
IgxGridActionButtonComponent,
81+
IgxGridPinningActionsComponent,
82+
IgxGridActionsBaseDirective,
83+
IgxGridEditingActionsComponent
8084
} from "igniteui-angular/grids/core";
8185
import {
8286
IgxPaginatorComponent,
@@ -118,6 +122,11 @@ export const IGX_GRID_DIRECTIVES = [
118122
IgxDragIndicatorIconDirective,
119123
IgxRowDragGhostDirective,
120124
IgxGridStateDirective,
125+
// IGX_GRID_ACTIONS
126+
IgxGridPinningActionsComponent,
127+
IgxGridEditingActionsComponent,
128+
IgxGridActionsBaseDirective,
129+
IgxGridActionButtonComponent,
121130
// IGX_GRID_HEADERS_DIRECTIVES:
122131
IgxGridHeaderComponent,
123132
IgxGridHeaderGroupComponent,

projects/igniteui-angular/grids/hierarchical-grid/src/public_api.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,11 @@ import {
7878
IgxExcelStyleSearchComponent,
7979
IgxExcelStyleColumnOperationsTemplateDirective,
8080
IgxExcelStyleFilterOperationsTemplateDirective,
81-
IgxExcelStyleLoadingValuesTemplateDirective
81+
IgxExcelStyleLoadingValuesTemplateDirective,
82+
IgxGridActionButtonComponent,
83+
IgxGridActionsBaseDirective,
84+
IgxGridEditingActionsComponent,
85+
IgxGridPinningActionsComponent
8286
} from "igniteui-angular/grids/core";
8387
import {
8488
IgxPaginatorComponent,
@@ -111,6 +115,11 @@ export const IGX_HIERARCHICAL_GRID_DIRECTIVES = [
111115
IgxDragIndicatorIconDirective,
112116
IgxRowDragGhostDirective,
113117
IgxGridStateDirective,
118+
// IGX_GRID_ACTIONS
119+
IgxGridPinningActionsComponent,
120+
IgxGridEditingActionsComponent,
121+
IgxGridActionsBaseDirective,
122+
IgxGridActionButtonComponent,
114123
// IGX_GRID_HEADERS_DIRECTIVES:
115124
IgxGridHeaderComponent,
116125
IgxGridHeaderGroupComponent,

projects/igniteui-angular/grids/pivot-grid/src/public_api.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,11 @@ import {
6868
IgxExcelStyleSearchComponent,
6969
IgxExcelStyleColumnOperationsTemplateDirective,
7070
IgxExcelStyleFilterOperationsTemplateDirective,
71-
IgxExcelStyleLoadingValuesTemplateDirective
71+
IgxExcelStyleLoadingValuesTemplateDirective,
72+
IgxGridActionButtonComponent,
73+
IgxGridActionsBaseDirective,
74+
IgxGridEditingActionsComponent,
75+
IgxGridPinningActionsComponent
7276
} from "igniteui-angular/grids/core";
7377

7478
/* NOTE: Pivot grid directives collection for ease-of-use import in standalone components scenario */
@@ -91,6 +95,11 @@ export const IGX_PIVOT_GRID_DIRECTIVES = [
9195
IgxDragIndicatorIconDirective,
9296
IgxRowDragGhostDirective,
9397
IgxGridStateDirective,
98+
// IGX_GRID_ACTIONS
99+
IgxGridPinningActionsComponent,
100+
IgxGridEditingActionsComponent,
101+
IgxGridActionsBaseDirective,
102+
IgxGridActionButtonComponent,
94103
// IGX_GRID_HEADERS_DIRECTIVES:
95104
IgxGridHeaderComponent,
96105
IgxGridHeaderGroupComponent,

projects/igniteui-angular/grids/tree-grid/src/public_api.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,11 @@ import {
7979
IgxExcelStyleSearchComponent,
8080
IgxExcelStyleColumnOperationsTemplateDirective,
8181
IgxExcelStyleFilterOperationsTemplateDirective,
82-
IgxExcelStyleLoadingValuesTemplateDirective
82+
IgxExcelStyleLoadingValuesTemplateDirective,
83+
IgxGridActionButtonComponent,
84+
IgxGridActionsBaseDirective,
85+
IgxGridEditingActionsComponent,
86+
IgxGridPinningActionsComponent
8387
} from "igniteui-angular/grids/core";
8488
import {
8589
IgxPaginatorComponent,
@@ -113,6 +117,11 @@ export const IGX_TREE_GRID_DIRECTIVES = [
113117
IgxDragIndicatorIconDirective,
114118
IgxRowDragGhostDirective,
115119
IgxGridStateDirective,
120+
// IGX_GRID_ACTIONS
121+
IgxGridPinningActionsComponent,
122+
IgxGridEditingActionsComponent,
123+
IgxGridActionsBaseDirective,
124+
IgxGridActionButtonComponent,
116125
// IGX_GRID_HEADERS_DIRECTIVES:
117126
IgxGridHeaderComponent,
118127
IgxGridHeaderGroupComponent,

0 commit comments

Comments
 (0)