Skip to content

Commit 5b2d032

Browse files
Merge branch 'master' into mtihova/fix-15136-master
2 parents 89e6041 + 66906e3 commit 5b2d032

File tree

18 files changed

+187
-68
lines changed

18 files changed

+187
-68
lines changed

ROADMAP.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22

33
# Current Milestone
44

5-
## Milestone 35, (Due by Jan, 2025)
5+
## Milestone 36, version 19.1 (Due by Feb, 2025)
66

7-
1. Tile Manager - new component [#239](https://github.com/IgniteUI/igniteui-angular/issues/239)
8-
2. Query Builder component update [#14979](https://github.com/IgniteUI/igniteui-angular/issues/14979)
9-
3. IgxBannerComponent - Support collapsed input [#14890](https://github.com/IgniteUI/igniteui-angular/issues/14890)
10-
4. Update of the carousel component [#15025](https://github.com/IgniteUI/igniteui-angular/issues/15025)
7+
1. Query Builder multi-table query support [#14979](https://github.com/IgniteUI/igniteui-angular/issues/14979)
8+
2. IgxBannerComponent - Support collapsed input [#14890](https://github.com/IgniteUI/igniteui-angular/issues/14890)
9+
3. Carousel component vertical orientation support [#15025](https://github.com/IgniteUI/igniteui-angular/issues/15025)
1110

1211
## Going down the road
1312

1413
1. Provide an option to modify the default enter edit mode conditions, to e.g. allow edit mode start on a single click [#14658](https://github.com/IgniteUI/igniteui-angular/issues/14658)
1514
2. Provide an excel-like navigation mode for editing where all arrow keys navigate the cell in edit mode. [#14659](https://github.com/IgniteUI/igniteui-angular/issues/14659)
1615
3. Extend the 18.2 editorOptions property to allow modifying numeric editors to not change the value on up/down arrow press [#14660](https://github.com/IgniteUI/igniteui-angular/issues/14660)
16+
4. Tile Manager - layout component [#239](https://github.com/IgniteUI/igniteui-angular/issues/239)
1717

1818
# Previous Milestone
1919

projects/igniteui-angular-elements/src/themes/light/fluent.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ $palette: igx.$light-fluent-palette;
77

88
@include igx.core();
99
@include igx.typography($font-family: igx.$fluent-typeface, $type-scale: igx.$fluent-type-scale);
10-
@include igx.fluent-light-theme($palette: $palette, $exclude: vars.$unused-themes);
1110

1211
@include util.elements-theme(
1312
$palette: $palette,

projects/igniteui-angular/migrations/update-19_1_0/changes/theme-changes.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,12 @@
114114
"owner": "time-picker-theme",
115115
"remove": true,
116116
"type": "property"
117+
},
118+
{
119+
"name": "$palette",
120+
"owner": "color-classes",
121+
"remove": true,
122+
"type": "property"
117123
}
118124
]
119125
}

projects/igniteui-angular/migrations/update-19_1_0/index.spec.ts

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,26 @@ describe(`Update to ${version}`, () => {
3636
);
3737
});
3838
});
39+
40+
it('should remove the $palette property from the color-classes mixin', async () => {
41+
const testFilePath = `/testSrc/appPrefix/component/test.component.scss`;
42+
43+
appTree.create(
44+
testFilePath,
45+
`@include color-classes(
46+
$palette: $some-palette,
47+
$prop: 'color',
48+
$prefix: 'bg'
49+
);`
50+
);
51+
52+
const tree = await schematicRunner.runSchematic(migrationName, {}, appTree);
53+
54+
expect(tree.readContent(testFilePath)).toEqual(
55+
`@include color-classes(
56+
$prop: 'color',
57+
$prefix: 'bg'
58+
);`
59+
);
60+
});
3961
});

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,9 @@ import {
77
} from '@angular/core';
88
import { IgxRippleDirective } from '../directives/ripple/ripple.directive';
99
import { CheckboxBaseDirective } from './checkbox-base.directive';
10-
import { IBaseEventArgs } from '../core/utils';
1110
import { ControlValueAccessor } from '@angular/forms';
1211
import { EditorProvider, EDITOR_PROVIDER } from '../core/edit-provider';
1312

14-
export interface IChangeCheckboxEventArgs extends IBaseEventArgs {
15-
checked: boolean;
16-
value?: any;
17-
}
1813
/**
1914
* Allows users to make a binary choice for a certain condition.
2015
*
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export { type LabelPosition, IChangeCheckboxEventArgs } from "./checkbox-base.directive";
2+
export * from "./checkbox.component";

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" *ngIf="displaySearchInput">
39-
<igx-input-group>
39+
<igx-input-group type="line">
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]="getSearchPlaceholderText()"

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@
504504
@if $variant == 'bootstrap' {
505505
color: contrast-color($color: 'success', $variant: 600);
506506
} @else {
507-
color: contrast-color($color: 'success', $variant: if($variant = 'indigo', 900, 500));
507+
color: contrast-color($color: 'success', $variant: if($variant == 'indigo', 900, 500));
508508
}
509509
background: color($color: 'success', $variant: 500);
510510
border-color: color($color: 'success', $variant: 500);
@@ -590,7 +590,7 @@
590590
@if $variant == 'bootstrap' {
591591
color: contrast-color($color: 'error', $variant: 600);
592592
} @else {
593-
color: contrast-color($color: 'error', $variant: if($variant = 'indigo', 900, 500));
593+
color: contrast-color($color: 'error', $variant: if($variant == 'indigo', 900, 500));
594594
}
595595
background: color($color: 'error', $variant: 500);
596596
border-color: color($color: 'error', $variant: 500);

projects/igniteui-angular/src/lib/directives/button/button.directive.ts

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ import {
77
Output,
88
Renderer2,
99
booleanAttribute,
10-
AfterContentInit
10+
AfterContentInit,
11+
OnDestroy
1112
} from '@angular/core';
1213
import { mkenum } from '../../core/utils';
1314
import { IBaseEventArgs } from '../../core/utils';
@@ -46,7 +47,7 @@ export type IgxButtonType = typeof IgxButtonType[keyof typeof IgxButtonType];
4647
selector: '[igxButton]',
4748
standalone: true
4849
})
49-
export class IgxButtonDirective extends IgxButtonBaseDirective implements AfterContentInit {
50+
export class IgxButtonDirective extends IgxButtonBaseDirective implements AfterContentInit, OnDestroy {
5051
private static ngAcceptInputType_type: IgxButtonType | '';
5152

5253
/**
@@ -92,6 +93,12 @@ export class IgxButtonDirective extends IgxButtonBaseDirective implements AfterC
9293
*/
9394
private _selected = false;
9495

96+
private emitSelected() {
97+
this.buttonSelected.emit({
98+
button: this
99+
});
100+
}
101+
95102
/**
96103
* Gets or sets whether the button is selected.
97104
* Mainly used in the IgxButtonGroup component and it will have no effect if set separately.
@@ -121,11 +128,11 @@ export class IgxButtonDirective extends IgxButtonBaseDirective implements AfterC
121128
}
122129

123130
public ngAfterContentInit() {
124-
this.nativeElement.addEventListener('click', () => {
125-
this.buttonSelected.emit({
126-
button: this
127-
});
128-
});
131+
this.nativeElement.addEventListener('click', this.emitSelected.bind(this));
132+
}
133+
134+
public ngOnDestroy(): void {
135+
this.nativeElement.removeEventListener('click', this.emitSelected);
129136
}
130137

131138
/**

projects/igniteui-angular/src/lib/directives/radio/radio-group.directive.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { startWith, takeUntil } from 'rxjs/operators';
1010
import { mkenum } from '../../core/utils';
1111
import { IgxRadioComponent } from '../../radio/radio.component';
1212
import { IgxDirectionality } from '../../services/direction/directionality';
13-
import { IChangeCheckboxEventArgs } from '../../checkbox/checkbox.component';
13+
import { IChangeCheckboxEventArgs } from '../../checkbox/public_api';
1414

1515
/**
1616
* Determines the Radio Group alignment

0 commit comments

Comments
 (0)