Skip to content

Commit 3441bf3

Browse files
authored
Merge branch 'master' into mdragnev/combo-itemheight
2 parents 0b9e3ed + 58936f8 commit 3441bf3

17 files changed

+116
-43
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ jobs:
3535

3636
steps:
3737
- name: Checkout repository
38-
uses: actions/checkout@v3
38+
uses: actions/checkout@v4
3939

4040
# Initializes the CodeQL tools for scanning.
4141
- name: Initialize CodeQL
42-
uses: github/codeql-action/init@v2
42+
uses: github/codeql-action/init@v3
4343
with:
4444
languages: ${{ matrix.language }}
4545
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -50,7 +50,7 @@ jobs:
5050
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5151
# If this step fails, then you should remove it and run the build manually (see below)
5252
- name: Autobuild
53-
uses: github/codeql-action/autobuild@v2
53+
uses: github/codeql-action/autobuild@v3
5454

5555
# ℹ️ Command-line programs to run using the OS shell.
5656
# 📚 https://git.io/JvXDl
@@ -64,4 +64,4 @@ jobs:
6464
# make release
6565

6666
- name: Perform CodeQL Analysis
67-
uses: github/codeql-action/analyze@v2
67+
uses: github/codeql-action/analyze@v3

projects/igniteui-angular/src/lib/core/styles/components/checkbox/_checkbox-theme.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@
175175
flex-flow: row nowrap;
176176
align-items: center;
177177
outline-style: none;
178+
cursor: pointer;
178179
}
179180

180181
%cbx-display--disabled {
@@ -211,7 +212,6 @@
211212
%cbx-composite {
212213
position: relative;
213214
display: inline-block;
214-
cursor: pointer;
215215
width: $size;
216216
height: $size;
217217
min-width: $size;
@@ -500,7 +500,6 @@
500500
%cbx-label {
501501
display: inline-block;
502502
color: var-get($theme, 'label-color');
503-
cursor: pointer;
504503
user-select: none;
505504
word-wrap: break-all;
506505
transition: color .2s $ease-out-quad;

projects/igniteui-angular/src/lib/core/styles/components/chip/_chip-theme.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@
384384
}
385385

386386
@if $variant == 'indigo' {
387-
%igx-icon-display {
387+
igx-icon {
388388
--size: #{sizable(rem(14px), rem(14px), rem(16px))}
389389
}
390390
}

projects/igniteui-angular/src/lib/core/styles/components/combo/_combo-theme.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,14 +174,14 @@
174174
// The wrapping element here is needed
175175
// in order to override the !important rule of .igx-icon--inactive.
176176
%igx-combo__case-icon {
177-
.igx-icon {
177+
igx-icon {
178178
// Important is needed since the .igx-icon--inactive has !important
179179
color: color($color: 'gray', $variant: 600) !important;
180180
}
181181
}
182182

183183
%igx-combo__case-icon--active {
184-
.igx-icon {
184+
igx-icon {
185185
color: color($color: 'primary')
186186
}
187187
}

projects/igniteui-angular/src/lib/core/styles/components/grid/_excel-filtering-theme.scss

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -99,13 +99,9 @@
9999
}
100100
}
101101

102-
igx-icon {
103-
@if $variant == 'indigo' {
104-
--component-size: 2;
105-
} @else {
106-
width: var(--igx-icon-size, #{rem(15px)});
107-
height: var(--igx-icon-size, #{rem(15px)});
108-
font-size: var(--igx-icon-size, #{rem(15px)});
102+
@if $variant != 'indigo' {
103+
igx-icon {
104+
--size: var(--igx-icon-size, #{rem(15px)});
109105
}
110106
}
111107
}

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

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1204,7 +1204,7 @@
12041204
} @else {
12051205
padding-inline: pad-inline(rem(8px), rem(12px), rem(16px));
12061206

1207-
%igx-icon-display {
1207+
igx-icon {
12081208
opacity: if($theme-variant == 'light', .75, .85);
12091209

12101210
&:hover {
@@ -1458,12 +1458,12 @@
14581458
} @else {
14591459
padding-inline: pad-inline(rem(8px), rem(12px), rem(16px));
14601460

1461-
%igx-icon-display {
1461+
igx-icon {
14621462
opacity: if($theme-variant == 'light', .75, .85);
14631463
}
14641464

14651465
&:hover {
1466-
%igx-icon-display {
1466+
igx-icon {
14671467
opacity: 1;
14681468
}
14691469
}
@@ -2035,13 +2035,10 @@
20352035
position: relative;
20362036
display: flex;
20372037

2038-
igx-icon {
2039-
@if $variant == 'indigo' {
2040-
--component-size: 2;
2041-
} @else {
2042-
width: var(--igx-icon-size, #{rem(15px)});
2043-
height: var(--igx-icon-size, #{rem(15px)});
2044-
font-size: var(--igx-icon-size, #{rem(15px)});
2038+
2039+
@if $variant != 'indigo' {
2040+
igx-icon {
2041+
--size: var(--igx-icon-size, #{rem(15px)});
20452042
}
20462043
}
20472044

@@ -2147,15 +2144,15 @@
21472144
%grid-excel-icon {
21482145
color: var-get($theme, 'header-selected-text-color');
21492146

2150-
%igx-icon-display {
2147+
igx-icon {
21512148
color: var-get($theme, 'header-selected-text-color');
21522149
}
21532150

21542151
&:focus,
21552152
&:hover {
21562153
color: var-get($theme, 'header-selected-text-color');
21572154

2158-
%igx-icon-display {
2155+
igx-icon {
21592156
color: var-get($theme, 'header-selected-text-color');
21602157
}
21612158
}
@@ -2499,7 +2496,7 @@
24992496
}
25002497

25012498
%igx-group-label__icon {
2502-
&.igx-icon {
2499+
@at-root igx-icon#{&} {
25032500
--component-size: #{if($variant == 'indigo', 2, 1)};
25042501

25052502
color: var-get($theme, 'group-label-icon');
@@ -3447,10 +3444,9 @@
34473444
}
34483445

34493446
@if $variant == 'indigo' {
3450-
%igx-icon-display {
3447+
igx-icon {
34513448
opacity: if($theme-variant == 'light', .75, .85);
34523449

3453-
34543450
&:hover {
34553451
opacity: 1;
34563452
cursor: pointer;

projects/igniteui-angular/src/lib/core/styles/components/radio/_radio-theme.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,6 @@
212212
height: $size;
213213
min-width: $size;
214214
line-height: $size;
215-
cursor: pointer;
216215
color: var-get($theme, 'label-color');
217216
user-select: none;
218217

@@ -400,7 +399,6 @@
400399

401400
%radio-label {
402401
color: var-get($theme, 'label-color');
403-
cursor: pointer;
404402
user-select: none;
405403
word-wrap: break-all;
406404

projects/igniteui-angular/src/lib/core/styles/components/switch/_switch-theme.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,6 @@
290290
border: rem(1px) solid var-get($theme, 'border-color');
291291
border-radius: var-get($theme, 'border-radius-track');
292292
background: var-get($theme, 'track-off-color');
293-
cursor: pointer;
294293
user-select: none;
295294
transition: $input-transition;
296295

@@ -557,7 +556,6 @@
557556
%switch-label {
558557
display: inline-block;
559558
color: var-get($theme, 'label-color');
560-
cursor: pointer;
561559
user-select: none;
562560
word-wrap: break-all;
563561

projects/igniteui-angular/src/lib/grids/filtering/excel-style/excel-style-custom-dialog.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ export class IgxExcelStyleCustomDialogComponent implements AfterViewInit {
136136

137137
public onClearButtonClick() {
138138
this.filteringService.clearFilter(this.column.field);
139+
this.selectedOperator = null;
139140
this.createInitialExpressionUIElement();
140141
this.cdr.detectChanges();
141142
}

projects/igniteui-angular/src/lib/grids/filtering/excel-style/excel-style-filtering.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,8 @@ export class IgxGridExcelStyleFilteringComponent extends BaseFilteringComponent
509509
this.filterValues = this.generateFilterValues();
510510
this.generateListData();
511511
this.expressionsList.forEach(expr => {
512-
if (this.column.dataType === GridColumnDataType.String && this.column.filteringIgnoreCase && expr.expression.searchVal) {
512+
if (this.column.dataType === GridColumnDataType.String && this.column.filteringIgnoreCase
513+
&& expr.expression.searchVal && expr.expression.searchVal instanceof Set) {
513514
this.modifyExpression(expr);
514515
}
515516
});

0 commit comments

Comments
 (0)