Skip to content

Commit ecd09c5

Browse files
Merge branch 'master' into ganastasov/refactor-14315-master
2 parents 43f6311 + 5d93288 commit ecd09c5

File tree

52 files changed

+1932
-608
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+1932
-608
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ All notable changes for each version of this project will be documented in this
66
### New Features
77
- `IgxSimpleCombo`
88
- Introduced ability for Simple Combo to automatically select and retain valid input on "Tab" press enhancing user experience by streamlining data entry and reducing the need for manual selection improving form navigation.
9+
- `IgxGrid`, `IgxTreeGrid`, `IgxHierarchicalGrid`
10+
- To streamline the sorting of columns with custom formats, a new `FormattedValuesSortingStrategy` has been introduced. This strategy simplifies the sorting process by allowing direct sorting based on formatted values, eliminating the need to extend the `DefaultSortingStrategy` or implement a custom `ISortingStrategy`. This enhancement improves the ease of handling sorting with custom column formatters.
911

1012
#### Scrollbar: New CSS variables
1113

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"@types/source-map": "0.5.2",
7575
"express": "^4.21.0",
7676
"fflate": "^0.8.1",
77-
"igniteui-theming": "^12.0.0",
77+
"igniteui-theming": "^12.2.1",
7878
"igniteui-trial-watermark": "^3.0.2",
7979
"lodash-es": "^4.17.21",
8080
"rxjs": "^7.8.0",

projects/igniteui-angular/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"igniteui-trial-watermark": "^3.0.2",
7575
"lodash-es": "^4.17.21",
7676
"uuid": "^9.0.0",
77-
"igniteui-theming": "^12.0.0",
77+
"igniteui-theming": "^12.2.1",
7878
"@igniteui/material-icons-extended": "^3.0.0"
7979
},
8080
"peerDependencies": {

projects/igniteui-angular/src/lib/checkbox/checkbox.component.html

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,16 @@
2525
class="igx-checkbox__composite-wrapper"
2626
>
2727
<span #label class="igx-checkbox__composite">
28-
<svg class="igx-checkbox__composite-mark" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
29-
<path d="M4.1,12.7 9,17.6 20.3,6.3" />
30-
</svg>
28+
@if (theme === 'indigo') {
29+
<svg class="igx-checkbox__composite-mark" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
30+
<rect width="18" height="4" x="2" y="9" rx="1.85"/>
31+
<path d="M19.033 5a1.966 1.966 0 0 0-1.418.586l-8.479 8.577-2.753-2.77a1.971 1.971 0 0 0-2.8 0 1.998 1.998 0 0 0 0 2.822l4.155 4.196a1.955 1.955 0 0 0 2.8 0l9.879-9.99a1.998 1.998 0 0 0 0-2.821 1.966 1.966 0 0 0-1.384-.6Z"/>
32+
</svg>
33+
} @else {
34+
<svg class="igx-checkbox__composite-mark" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
35+
<path d="M4.1,12.7 9,17.6 20.3,6.3"/>
36+
</svg>
37+
}
3138
</span>
3239

3340
<div class="igx-checkbox__ripple"></div>

projects/igniteui-angular/src/lib/checkbox/checkbox.component.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import { IBaseEventArgs, mkenum } from '../core/utils';
2020
import { EditorProvider, EDITOR_PROVIDER } from '../core/edit-provider';
2121
import { noop, Subject } from 'rxjs';
2222
import { takeUntil } from 'rxjs/operators';
23+
import { IgxTheme, ThemeService } from '../services/theme/theme.service';
2324

2425
export const LabelPosition = /*@__PURE__*/mkenum({
2526
BEFORE: 'before',
@@ -428,11 +429,20 @@ export class IgxCheckboxComponent implements EditorProvider, AfterViewInit, Cont
428429
*/
429430
private _required = false;
430431

432+
/**
433+
* @hidden
434+
* @internal
435+
*/
436+
protected theme: IgxTheme = 'material';
437+
431438
constructor(
432439
protected cdr: ChangeDetectorRef,
433440
protected renderer: Renderer2,
441+
protected themeService: ThemeService,
434442
@Optional() @Self() public ngControl: NgControl,
435443
) {
444+
this.theme = this.themeService?.globalTheme;
445+
436446
if (this.ngControl !== null) {
437447
this.ngControl.valueAccessor = this;
438448
}

projects/igniteui-angular/src/lib/combo/combo.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
[width]="itemsWidth || '100%'" (opening)="handleOpening($event)" (closing)="handleClosing($event)"
3737
(opened)="handleOpened()" (closed)="handleClosed()">
3838
<div class="igx-combo__search">
39-
<igx-input-group *ngIf="displaySearchInput" theme="material" >
39+
<igx-input-group *ngIf="displaySearchInput">
4040
<input igxInput #searchInput name="searchInput" autocomplete="off" type="text"
4141
[(ngModel)]="searchValue" (ngModelChange)="handleInputChange($event)" (keyup)="handleKeyUp($event)"
4242
(keydown)="handleKeyDown($event)" (focus)="dropdown.onBlur($event)" [attr.placeholder]="searchPlaceholder"

projects/igniteui-angular/src/lib/core/styles/components/badge/_badge-theme.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
--size: #{rem(22px)};
9999
--_badge-size: var(--size);
100100

101-
display: flex;
101+
display: inline-flex;
102102
justify-content: center;
103103
align-items: center;
104104
min-width: var(--_badge-size);
@@ -138,7 +138,7 @@
138138

139139
%igx-badge-value {
140140
white-space: nowrap;
141-
padding: $badge-value-padding;
141+
padding-inline: $badge-value-padding;
142142
}
143143

144144
%igx-badge--success {

projects/igniteui-angular/src/lib/core/styles/components/banner/_banner-theme.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,11 @@
146146
flex-wrap: wrap;
147147
align-self: flex-end;
148148
gap: rem(8px);
149+
150+
> a {
151+
display: inline-flex;
152+
align-items: center;
153+
}
149154
}
150155
}
151156

projects/igniteui-angular/src/lib/core/styles/components/calendar/_calendar-component.scss

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,10 @@
146146
@extend %date-selected-special !optional;
147147
}
148148

149+
@include e(date, $mods: ('selected', 'special', 'active')) {
150+
@extend %date-selected-special-active !optional;
151+
}
152+
149153
@include e(date, $mods: ('selected', 'range')) {
150154
@extend %date-selected-range !optional;
151155
}
@@ -219,10 +223,22 @@
219223
@extend %date-range-selected-special-last !optional;
220224
}
221225

222-
@include e(date, $mods: ('selected', 'special', 'first', 'last')) {
226+
@include e(date, $mods: ('range', 'selected', 'special', 'first', 'last')) {
223227
@extend %date-selected-special-first-last !optional;
224228
}
225229

230+
@include e(date, $mods: ('selected', 'special', 'current', 'first', 'last')) {
231+
@extend %date-selected-special-current-first-last !optional;
232+
}
233+
234+
@include e(date, $mods: ('selected', 'special', 'current', 'preview', 'first')) {
235+
@extend %date-selected-special-current-last !optional;
236+
}
237+
238+
@include e(date, $mods: ('selected', 'special', 'current', 'preview', 'last')) {
239+
@extend %date-selected-special-current-first !optional;
240+
}
241+
226242
@include e(date, $mods: ('range', 'selected', 'active')) {
227243
@extend %date-range-selected-active !optional;
228244
}
@@ -299,6 +315,14 @@
299315
@extend %date-selected-current-active !optional;
300316
}
301317

318+
@include e(date, $mods: ('current', 'selected', 'special')) {
319+
@extend %date-selected-current-special !optional;
320+
}
321+
322+
@include e(date, $mods: ('current', 'selected', 'special', 'active')) {
323+
@extend %date-selected-current-special-active !optional;
324+
}
325+
302326
@include e(date, 'special') {
303327
@extend %date-special !optional;
304328
}
@@ -307,16 +331,26 @@
307331
@extend %date-special-current !optional;
308332
}
309333

334+
@include e(date, $mods: ('special', 'current', 'selected')) {
335+
@extend %date-special-current-selected !optional;
336+
}
337+
338+
@include e(date, $mods: ('special', 'current', 'selected', 'active')) {
339+
@extend %date-special-current-selected-active !optional;
340+
}
341+
310342
@include e(date, $mods: ('special' 'active')) {
311343
@extend %date-special-active !optional;
312344
}
313345

314346
@include e(date, $mods: ('special', 'current', 'active')) {
315347
@extend %date-special-current !optional;
348+
@extend %date-special-current-active !optional;
316349
}
317350

318351
@include e(date, $mods: ('special', 'current', 'active', 'range')) {
319352
@extend %date-special-current !optional;
353+
@extend %date-special-current-active !optional;
320354
}
321355

322356
@include e(date, 'first') {

0 commit comments

Comments
 (0)