Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
133 commits
Select commit Hold shift + click to select a range
335a960
fix(toolbar): Fix disabled colors for falt and icon buttons in grid t…
Sep 12, 2019
8efda87
Merge branch 'master' into igniteui-angular-4958-master
desig9stein Sep 25, 2019
8ce7b94
fix(igxHiearchicalGrid): Prevent up/down arrow key navigation from fo…
Sep 25, 2019
ca99e95
fix(igxGrid): Ceil the scrollLeft in case browser is zoomed and retur…
Sep 27, 2019
f88056f
fix(igHierarchicalGrid): Fix navigating down to partially visible cel…
skrustev Oct 1, 2019
628269d
fix(nav-drawer): bypass all calls to browsers' object, #4426
wnvko Oct 2, 2019
20e70e6
fix(nav-drawer): move isPlatformBrowser to util, #4426
wnvko Oct 3, 2019
d68a589
test(nav-drawer): fix failing tests, #4426
wnvko Oct 3, 2019
c687267
chore(naf-drawer): remove fit and fdescribe
wnvko Oct 3, 2019
2820362
fix(grid): Fixes bug #5643
3phase Oct 3, 2019
aa6bf28
fix(grid): Adding test for bug #5643
3phase Oct 3, 2019
94e2823
fix(grid): Adds tests for bug #5643
3phase Oct 4, 2019
a0e3164
test(nav-drawer): reset testing module after all nav-drawer tests, #4426
wnvko Oct 4, 2019
d5aeb06
Merge branch '8.2.x' of https://github.com/IgniteUI/igniteui-angular …
3phase Oct 4, 2019
37a26d2
fix(grid): Reverts test.ts to its old state #5643
3phase Oct 4, 2019
d365396
chore(nav-drawer): make isOs and isPlatformBrowser properties, #4426
wnvko Oct 7, 2019
f4d558f
Merge branch '8.2.x' of https://github.com/IgniteUI/igniteui-angular …
3phase Oct 7, 2019
c8903e6
Merge branch '8.2.x' of https://github.com/IgniteUI/igniteui-angular …
3phase Oct 7, 2019
af2f5e1
fix(tabs): add resize observers for tabs #5582
DiyanDimitrov Oct 7, 2019
3f1e24c
fix(tabs): check if resize observer is created #5582
DiyanDimitrov Oct 7, 2019
37051f7
feat(highlight): replace inline styles with theme
simeonoff Oct 7, 2019
99deb29
Merge branch 'master' into #fix-5403
simeonoff Oct 7, 2019
1d29d00
test(text-highlight): fix failing tests
simeonoff Oct 8, 2019
f2af831
chore(changelog): update the changelog
simeonoff Oct 8, 2019
3062b6e
Merge pull request #5866 from IgniteUI/mkirova/fix-5552-master
mpavlinov Oct 8, 2019
4edbfd2
Merge branch '8.2.x' into #fix-5403
simeonoff Oct 8, 2019
6562740
chore(nav-drawer): change isPlatform and isIOS to public fields
wnvko Oct 8, 2019
dad5e8a
Merge branch 'master' into mvenkov/update-nav-drawer-for-server-side-…
wnvko Oct 8, 2019
c7b9b8d
Merge branch '8.2.x' into mvenkov/update-nav-drawer-for-server-side-r…
wnvko Oct 8, 2019
8f6cef2
Merge branch '8.2.x' into ddimitrov/fix-5582-8.2.x
DiyanDimitrov Oct 8, 2019
dcd4bd4
fix(combo): fix combo label position with no placeholder, #5599 (#5916)
ViktorSlavov Oct 8, 2019
26407d7
chore(*): Moving resizeObserverIgnoreError in configureTestSuite.
Oct 8, 2019
07325c8
Merge branch '8.2.x' into #fix-5403
simeonoff Oct 8, 2019
1fac018
Merge branch '8.2.x' into mkirova/fix-5937
mpavlinov Oct 8, 2019
73a00bc
Merge branch '8.2.x' into mvenkov/update-nav-drawer-for-server-side-r…
kdinev Oct 8, 2019
c22b65d
fix(grid): edited text in row editing gets cut
simeonoff Oct 8, 2019
c989f5b
fix(igxGrid): Fix ExpressionChangedAfterItHasBeenCheckedError when gr…
Oct 8, 2019
ee5d736
Merge branch '8.2.x' of https://github.com/IgniteUI/igniteui-angular …
3phase Oct 9, 2019
1cf9da3
Merge branch '8.2.x' into ddimitrov/fix-5582-8.2.x
kdinev Oct 9, 2019
4758df1
fix(groupby): Resolves requested changes #5643
3phase Oct 9, 2019
764fbad
fix(groupby): Makes newly introduced method name not so general #5643
3phase Oct 9, 2019
94b4dfc
Merge branch '8.2.x' into mkirova/fix-4520-8.2.x
ChronosSF Oct 9, 2019
54e853e
Merge branch '8.2.x' into mkiorva/fix-5897
ChronosSF Oct 9, 2019
8829ca7
test(adv-filtering): add test for col-group #5886
tachojelev Oct 9, 2019
b4117c9
Update CHANGELOG.md
simeonoff Oct 9, 2019
a549a60
fix(igxChip): Fix onSelection.originalEvent not returning correct val…
skrustev Oct 9, 2019
c0ba115
Merge pull request #5919 from IgniteUI/pbozhinov/fix-bug-5643
ChronosSF Oct 9, 2019
4ef9cde
Merge branch '8.2.x' into mkirova/fix-5937
ChronosSF Oct 9, 2019
3c4e1c5
Merge branch 'master' into SKrastev/fix-5940-8.2.x
ChronosSF Oct 9, 2019
ae2c974
Merge branch '8.2.x' into SKrastev/fix-5940-8.2.x
kdinev Oct 9, 2019
8c93086
Merge branch '8.2.x' into #fix-5403
DiyanDimitrov Oct 9, 2019
16c01a1
chore(*): Small update to the changelog to include all events changed.
skrustev Oct 9, 2019
cadf2b0
Merge branch 'SKrastev/fix-5940-8.2.x' of https://github.com/IgniteUI…
skrustev Oct 9, 2019
5ec36af
Merge branch '8.2.x' into igniteui-angular-4958-master
simeonoff Oct 9, 2019
345b844
fix(chip): Remove CSS "focus-within" since it is NOT supported by IE1…
Oct 9, 2019
56834cd
fix(adv-filtering): exclude col-groups #5886
tachojelev Oct 9, 2019
b5a4acf
Merge branch '8.2.x' into tzhelev/fix-5886-8.2.x
tachojelev Oct 9, 2019
a27ba0a
Merge branch '8.2.x' into IE-EDGE-CHIP-FOCUS-8.2
simeonoff Oct 9, 2019
c9c605c
Merge branch '8.2.x' into fix-#5902
simeonoff Oct 9, 2019
7212a9f
Merge pull request #5941 from IgniteUI/mkirova/fix-5937
ChronosSF Oct 9, 2019
57f32ec
Merge branch '8.2.x' into mkirova/fix-4520-8.2.x
ChronosSF Oct 9, 2019
eaa063f
Merge branch '8.2.x' into ddimitrov/fix-5582-8.2.x
DiyanDimitrov Oct 9, 2019
c701c95
Merge branch '8.2.x' into SKrastev/fix-5251-8.2.x
zdrawku Oct 9, 2019
a5f044b
feat(grid): Exposes verticalScrollContainer elems as a public propert…
3phase Oct 9, 2019
1e68769
chore(*): Update failing test.
skrustev Oct 9, 2019
b061a50
Merge branch '8.2.x' into #fix-5403
DiyanDimitrov Oct 10, 2019
ee232e8
Merge pull request #5930 from IgniteUI/ddimitrov/fix-5582-8.2.x
DiyanDimitrov Oct 10, 2019
96cb799
Merge branch 'master' into 8.2.x
DiyanDimitrov Oct 10, 2019
a010dbc
Merge branch '8.2.x' into #fix-5403
DiyanDimitrov Oct 10, 2019
2ae94c7
fix(grid): check if data is defined in the pagingPipe #5949
nrobakova Oct 10, 2019
fafae8d
Merge branch '8.2.x' of https://github.com/IgniteUI/igniteui-angular …
nrobakova Oct 10, 2019
c7f787b
chore(*): add missed component
nrobakova Oct 10, 2019
95c83b4
Merge branch '8.2.x' into mkirova/fix-4520-8.2.x
ChronosSF Oct 10, 2019
6155e58
Merge branch '8.2.x' into SKrastev/fix-5251-8.2.x
ChronosSF Oct 10, 2019
92d9733
Merge branch '8.2.x' into mkiorva/fix-5897
ChronosSF Oct 10, 2019
a2a92a8
chore(*): update sample columns
nrobakova Oct 10, 2019
00b2e93
feat(grid): Moves dataView in grid-base and refactors all uses #5069
3phase Oct 10, 2019
40a52c2
feat(grid): Fixes lint errors #5069
3phase Oct 10, 2019
992b3ba
feat(grid): Adds made changes to CHANGELOG #5069
3phase Oct 10, 2019
e0a0eaf
Merge pull request #5933 from IgniteUI/#fix-5403
DiyanDimitrov Oct 10, 2019
be1475a
Merge branch '8.2.x' into tzhelev/fix-5886-8.2.x
DiyanDimitrov Oct 10, 2019
d8f8228
feat(grid): Resolves requested changes #5069
3phase Oct 10, 2019
d38428d
chore(*): address review comments #5886
tachojelev Oct 10, 2019
14c40c5
Merge branch 'tzhelev/fix-5886-8.2.x' of https://github.com/IgniteUI/…
tachojelev Oct 10, 2019
f5c0d86
chore(*): remove resizeObserverIgnoreError #5886
tachojelev Oct 10, 2019
be4b9ad
fix(grid): hovering selected row in dark theme is white
simeonoff Oct 10, 2019
118703a
Merge branch '8.2.x' into mvenkov/update-nav-drawer-for-server-side-r…
Lipata Oct 10, 2019
b8e4526
Merge branch '8.2.x' into fix-5959
simeonoff Oct 10, 2019
6849a20
Merge pull request #5952 from IgniteUI/tzhelev/fix-5886-8.2.x
DiyanDimitrov Oct 10, 2019
5c65467
Merge branch '8.2.x' into mvenkov/update-nav-drawer-for-server-side-r…
Lipata Oct 10, 2019
89db51e
Merge branch '8.2.x' into SKrastev/fix-5251-8.2.x
ChronosSF Oct 10, 2019
b317e80
Merge branch '8.2.x' into mkirova/fix-4520-8.2.x
ChronosSF Oct 10, 2019
9a7fcb0
Merge branch '8.2.x' into mkiorva/fix-5897
ChronosSF Oct 10, 2019
4ea38eb
Merge master into SKrastev/fix-5940-8.2.x
skrustev Oct 10, 2019
5523216
Merge branch '8.2.x' into fix-5959
simeonoff Oct 10, 2019
6ce4040
Merge pull request #5908 from IgniteUI/mvenkov/update-nav-drawer-for-…
Lipata Oct 10, 2019
5521a1f
feat(grid): Resolves requested changes #5069
3phase Oct 10, 2019
108cd8c
Update grid-base.component.ts
3phase Oct 10, 2019
587edcc
Removes unneeded full stop from changelog
3phase Oct 10, 2019
6c78b92
Updates changelog
3phase Oct 10, 2019
e45738a
Merge branch '8.2.x' into igniteui-angular-4958-master
kdinev Oct 10, 2019
63ec8b8
Merge branch '8.2.x' into SKrastev/fix-5251-8.2.x
zdrawku Oct 10, 2019
389f855
Merge branch '8.2.x' of https://github.com/IgniteUI/igniteui-angular …
3phase Oct 10, 2019
b22104a
Merge branch '8.2.x' into mkirova/fix-4520-8.2.x
ChronosSF Oct 10, 2019
62d259a
Merge branch '8.2.x' into SKrastev/fix-5940-8.2.x
ChronosSF Oct 10, 2019
65d7207
Merge branch '8.2.x' into mkiorva/fix-5897
ChronosSF Oct 10, 2019
49d229d
Merge pull request #5873 from IgniteUI/mkirova/fix-4520-8.2.x
ChronosSF Oct 10, 2019
a857247
Merge branch '8.2.x' into SKrastev/fix-5251-8.2.x
ChronosSF Oct 10, 2019
30182c2
Merge branch '8.2.x' into mkiorva/fix-5897
ChronosSF Oct 10, 2019
6004466
Merge branch '8.2.x' into SKrastev/fix-5940-8.2.x
ChronosSF Oct 10, 2019
bd57fe9
Merge pull request #5900 from IgniteUI/SKrastev/fix-5251-8.2.x
ChronosSF Oct 10, 2019
09f3cc1
Merge branch '8.2.x' into SKrastev/fix-5940-8.2.x
ChronosSF Oct 10, 2019
b72166a
Merge branch '8.2.x' into mkiorva/fix-5897
ChronosSF Oct 10, 2019
17a6ad5
Merge branch '8.2.x' into fix-5959
simeonoff Oct 10, 2019
0104fde
Merge branch '8.2.x' into IE-EDGE-CHIP-FOCUS-8.2
simeonoff Oct 10, 2019
94bc4b1
Merge pull request #5953 from IgniteUI/SKrastev/fix-5940-8.2.x
ChronosSF Oct 11, 2019
307dbad
Merge branch '8.2.x' into mkiorva/fix-5897
ChronosSF Oct 11, 2019
8f02b9e
Merge pull request #5782 from desig9stein/igniteui-angular-4958-master
kdinev Oct 11, 2019
d88c41b
Merge branch '8.2.x' into fix-#5902
rkaraivanov Oct 11, 2019
06c5385
Merge branch '8.2.x' into nrobakova/fix-issue-5949
rkaraivanov Oct 11, 2019
5a73141
Merge pull request #5956 from IgniteUI/nrobakova/fix-issue-5949
rkaraivanov Oct 11, 2019
cd68e87
Merge branch '8.2.x' into IE-EDGE-CHIP-FOCUS-8.2
rkaraivanov Oct 11, 2019
a21dc1d
Merge branch '8.2.x' into mkiorva/fix-5897
ChronosSF Oct 11, 2019
dae0130
Merge pull request #5955 from IgniteUI/IE-EDGE-CHIP-FOCUS-8.2
rkaraivanov Oct 11, 2019
f414af5
Merge branch '8.2.x' into mkiorva/fix-5897
ChronosSF Oct 11, 2019
14a7775
Merge pull request #5942 from IgniteUI/mkiorva/fix-5897
ChronosSF Oct 12, 2019
191940b
Merge branch '8.2.x' into fix-#5902
kdinev Oct 13, 2019
03b1287
Merge branch '8.2.x' into pbozhinov/feat-5069
kdinev Oct 13, 2019
8d2a638
Merge pull request #5943 from IgniteUI/fix-#5902
kdinev Oct 13, 2019
e2a6b27
Merge branch '8.2.x' into pbozhinov/feat-5069
kdinev Oct 13, 2019
b6fbbc4
Merge pull request #5961 from IgniteUI/pbozhinov/feat-5069
kdinev Oct 13, 2019
df6d0b4
Merge branch '8.2.x' into fix-5959
kdinev Oct 13, 2019
ce9218c
Merge pull request #5963 from IgniteUI/fix-5959
kdinev Oct 13, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
# Ignite UI for Angular Change Log
# Ignite UI for Angular Change Log

All notable changes for each version of this project will be documented in this file.

## 8.2.3
- `IgxTextHighlightDirective` - The default highlight directive styles have been moved to a Sass theme - `igx-highlight-theme`; You can modify the resting and active background and text color styles of the directive by passing the respective properties to the Sass theme. You can still pass your own CSS classes to the highlight directive via the cssClass and activeCssClass inputs.

- `IgxChip`
- **Breaking Change** The `originalEvent` property for the events `onMoveStart`, `onMoveEnd`, `onClick` and `onSelection` now provides the events, passed from the `igxDrag` directive. The passed original events are in other words the previous events that triggered the `igxChip` ones. They also have original events until a browser event is reached.

## 8.2.0
### New theme
Ignite UI for angular now have a new theme that mimics Microsoft "Fluent" design system.
Expand Down Expand Up @@ -75,6 +81,7 @@ For more information about the theming please read our [documentation](https://w
- `isCellSelected` method has been deprecated. Now you can use `selected` property.
- `rowSelectable` property has been deprecated. Now you can use `rowSelection` property to enable row selection and also you can show and hide the row selectors by setting `hideRowSelectors` property to true or false (which is the default value).
- Removed deprecated event `OnFocusChange`
- `IgxGridBaseComponent` exposes a new property, `dataView` that returns the currently transformed paged/filtered/sorted/grouped data, displayed in the grid
- **Breaking Change** `igxExcelStyleSortingTemplate` directive is renamed to `igxExcelStyleSorting`.
- **Breaking Change** `igxExcelStyleMovingTemplate` directive is renamed to `igxExcelStyleMoving`.
- **Breaking Change** `igxExcelStyleHidingTemplate` directive is renamed to `igxExcelStyleHiding`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
(dragStart)="onChipDragStart($event)"
(dragEnd)="onChipDragEnd()"
(transitioned)="onChipMoveEnd($event)"
(click)="onChipDragClicked($event)"
(dragClick)="onChipDragClicked($event)"
igxDrop
(enter)="onChipDragEnterHandler($event)"
(dropped)="onChipDrop($event)">
Expand Down
10 changes: 5 additions & 5 deletions projects/igniteui-angular/src/lib/chips/chip.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import { IBaseEventArgs } from '../core/utils';


export interface IBaseChipEventArgs extends IBaseEventArgs {
originalEvent: PointerEvent | MouseEvent | TouchEvent | KeyboardEvent | IDropBaseEventArgs;
originalEvent: IDragBaseEventArgs | IDropBaseEventArgs | KeyboardEvent | MouseEvent | TouchEvent;
owner: IgxChipComponent;
}

Expand Down Expand Up @@ -557,7 +557,7 @@ export class IgxChipComponent extends DisplayDensityBase {
// Start chip igxDrag behavior
public onChipDragStart(event: IDragStartEventArgs) {
this.onMoveStart.emit({
originalEvent: event.originalEvent,
originalEvent: event,
owner: this
});
event.cancel = !this.draggable || this.disabled;
Expand All @@ -578,7 +578,7 @@ export class IgxChipComponent extends DisplayDensityBase {
public onChipMoveEnd(event: IDragBaseEventArgs) {
// moveEnd is triggered after return animation has finished. This happen when we drag and release the chip.
this.onMoveEnd.emit({
originalEvent: event.originalEvent,
originalEvent: event,
owner: this
});

Expand All @@ -592,14 +592,14 @@ export class IgxChipComponent extends DisplayDensityBase {
*/
public onChipDragClicked(event: IDragBaseEventArgs) {
const clickEventArgs: IChipClickEventArgs = {
originalEvent: event.originalEvent,
originalEvent: event,
owner: this,
cancel: false
};
this.onClick.emit(clickEventArgs);

if (!clickEventArgs.cancel && this.selectable && !this.disabled) {
this.changeSelection(!this.selected, event.originalEvent);
this.changeSelection(!this.selected, event);
}
}
// End chip igxDrag behavior
Expand Down
10 changes: 10 additions & 0 deletions projects/igniteui-angular/src/lib/chips/chip.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -415,9 +415,19 @@ describe('IgxChip', () => {
fix.detectChanges();
expect(secondChipComp.onSelection.emit).toHaveBeenCalled();
expect(secondChipComp.onSelectionDone.emit).not.toHaveBeenCalled();
expect(secondChipComp.onSelection.emit).not.toHaveBeenCalledWith({
originalEvent: null,
owner: secondChipComp,
cancel: false,
selected: true
});

await wait(400);
expect(secondChipComp.onSelectionDone.emit).toHaveBeenCalled();
expect(secondChipComp.onSelectionDone.emit).not.toHaveBeenCalledWith({
originalEvent: null,
owner: secondChipComp
});
}));

it('should not fire onSelection event when selectable is false', () => {
Expand Down
22 changes: 11 additions & 11 deletions projects/igniteui-angular/src/lib/chips/chips-area.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ import {
IChipEnterDragAreaEventArgs,
IBaseChipEventArgs
} from './chip.component';
import { IDropBaseEventArgs } from '../directives/drag-drop/drag-drop.directive';
import { IDropBaseEventArgs, IDragBaseEventArgs } from '../directives/drag-drop/drag-drop.directive';
import { takeUntil } from 'rxjs/operators';
import { Subject } from 'rxjs';

export interface IBaseChipsAreaEventArgs {
originalEvent: PointerEvent | MouseEvent | TouchEvent | KeyboardEvent | IDropBaseEventArgs;
originalEvent: IDragBaseEventArgs | IDropBaseEventArgs | KeyboardEvent | MouseEvent | TouchEvent;
owner: IgxChipsAreaComponent;
}

Expand Down Expand Up @@ -152,7 +152,6 @@ export class IgxChipsAreaComponent implements DoCheck, AfterViewInit, OnDestroy

private modifiedChipsArray: IgxChipComponent[];
private _differ: IterableDiffer<IgxChipComponent> | null = null;
private selectedChips: IgxChipComponent[] = [];
protected destroy$ = new Subject<boolean>();

constructor(public cdr: ChangeDetectorRef, public element: ElementRef,
Expand All @@ -166,11 +165,11 @@ export class IgxChipsAreaComponent implements DoCheck, AfterViewInit, OnDestroy
public ngAfterViewInit() {
// If we have initially selected chips through their inputs, we need to get them, because we cannot listen to their events yet.
if (this.chipsList.length) {
this.selectedChips = this.chipsList.filter((item: IgxChipComponent) => item.selected);
if (this.selectedChips.length) {
const selectedChips = this.chipsList.filter((item: IgxChipComponent) => item.selected);
if (selectedChips.length) {
this.onSelection.emit({
originalEvent: null,
newSelection: this.selectedChips,
newSelection: selectedChips,
owner: this
});
}
Expand Down Expand Up @@ -324,16 +323,17 @@ export class IgxChipsAreaComponent implements DoCheck, AfterViewInit, OnDestroy
* @hidden
*/
protected onChipSelectionChange(event: IChipSelectEventArgs) {
if (event.selected) {
this.selectedChips.push(event.owner);
} else if (!event.selected) {
this.selectedChips = this.selectedChips.filter((chip) => {
let selectedChips = this.chipsList.filter((chip) => chip.selected);
if (event.selected && !selectedChips.includes(event.owner)) {
selectedChips.push(event.owner);
} else if (!event.selected && selectedChips.includes(event.owner)) {
selectedChips = selectedChips.filter((chip) => {
return chip.id !== event.owner.id;
});
}
this.onSelection.emit({
originalEvent: event.originalEvent,
newSelection: this.selectedChips,
newSelection: selectedChips,
owner: this
});
}
Expand Down
23 changes: 9 additions & 14 deletions projects/igniteui-angular/src/lib/chips/chips-area.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,8 @@ describe('IgxChipsArea', () => {
const firstChipComp = fix.componentInstance.chips.toArray()[1];
spyOn(firstChipComp.onClick, 'emit');

firstChipComp.chipArea.nativeElement.click();
firstChipComp.chipArea.nativeElement.dispatchEvent(new PointerEvent('pointerdown', { pointerId: 1}));
firstChipComp.chipArea.nativeElement.dispatchEvent(new PointerEvent('pointerup'));

fix.detectChanges();
expect(firstChipComp.onClick.emit).toHaveBeenCalled();
Expand Down Expand Up @@ -857,26 +858,22 @@ describe('IgxChipsArea', () => {

const chipAreaComp = fix.componentInstance.chipsArea;
const secondChipComp = fix.componentInstance.chips.toArray()[1];
const pointerDownEvt = new PointerEvent('pointerdown', { pointerId: 1 });
const pointerUpEvt = new PointerEvent('pointerup', { pointerId: 1 });

spyOn(chipAreaComp.onSelection, 'emit');
fix.detectChanges();

secondChipComp.chipArea.nativeElement.click();
secondChipComp.chipArea.nativeElement.dispatchEvent(pointerDownEvt);
fix.detectChanges();

expect(chipAreaComp.onSelection.emit).toHaveBeenCalledWith({
originalEvent: null,
owner: chipAreaComp,
newSelection: [secondChipComp]
});

secondChipComp.chipArea.nativeElement.click();
secondChipComp.chipArea.nativeElement.dispatchEvent(pointerUpEvt);
fix.detectChanges();

expect(chipAreaComp.onSelection.emit).toHaveBeenCalledWith({
expect(chipAreaComp.onSelection.emit).toHaveBeenCalled();
expect(chipAreaComp.onSelection.emit).not.toHaveBeenCalledWith({
originalEvent: null,
owner: chipAreaComp,
newSelection: []
newSelection: [secondChipComp]
});
});

Expand All @@ -889,8 +886,6 @@ describe('IgxChipsArea', () => {
fix.detectChanges();

const secondChipComp = fix.componentInstance.chips.toArray();

expect(chipAreaComp['selectedChips']).toEqual([secondChipComp[0], secondChipComp[1]]);
expect(chipAreaComp.onSelection.emit).toHaveBeenCalledWith({
originalEvent: null,
owner: chipAreaComp,
Expand Down
4 changes: 2 additions & 2 deletions projects/igniteui-angular/src/lib/combo/combo.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<ng-container ngProjectAs="igx-hint, [igxHint]">
<ng-content select="igx-hint, [igxHint]"></ng-content>
</ng-container>
<input igxInput #comboInput name="comboInput" type="text" [value]="value" readonly [placeholder]="placeholder"
<input igxInput #comboInput name="comboInput" type="text" [value]="value" readonly [attr.placeholder]="placeholder"
[disabled]="disabled" (blur)="onBlur()" />
<ng-container ngProjectAs="igx-suffix">
<ng-content select="igx-suffix"></ng-content>
Expand All @@ -47,7 +47,7 @@
<igx-input-group *ngIf="displaySearchInput" [displayDensity]="displayDensity" class="igx-combo__search">
<input class="igx-combo-input" igxInput #searchInput name="searchInput" autocomplete="off" type="text"
[(ngModel)]="searchValue" (ngModelChange)="handleInputChange($event)" (keyup)="handleKeyUp($event)"
(keydown)="handleKeyDown($event)" (focus)="dropdown.onBlur($event)" [placeholder]="searchPlaceholder"
(keydown)="handleKeyDown($event)" (focus)="dropdown.onBlur($event)" [attr.placeholder]="searchPlaceholder"
aria-autocomplete="both" [attr.aria-owns]="dropdown.id" [attr.aria-labelledby]="ariaLabelledBy" />
</igx-input-group>
<ng-container *ngTemplateOutlet="headerTemplate">
Expand Down
2 changes: 1 addition & 1 deletion projects/igniteui-angular/src/lib/combo/combo.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ export class IgxComboComponent extends DisplayDensityBase implements IgxComboBas
* ```
*/
@Input()
public placeholder = '';
public placeholder;

/**
* @hidden @internal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
@extend %igx-chip__item--hover !optional;
}

&:focus,
&:focus-within {
&:focus {
@extend %igx-chip__item--focus !optional;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -402,9 +402,20 @@
display: none;
}

&:focus-within {
// FIX IE11 and Edge focus styles.
// [focus-within] is not supported by IE & Edge.
&:focus {
outline-style: none;
color: igx-color(map-get($theme, 'palette'), error);

igx-icon {
color: igx-color(map-get($theme, 'palette'), error);
}
}

igx-icon {
&:focus{
outline-style: none;
}
}

[dir='rtl'] & {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,38 +168,11 @@
height: map-get($grid-toolbar-height, 'comfortable');

%igx-button--flat {
background: --var($theme, 'button-background');
color: --var($theme, 'button-text-color');
margin-left: rem(8);

&:hover {
background: --var($theme, 'button-hover-background');
color: --var($theme, 'button-hover-text-color');
}

&:focus,
&:active {
background: --var($theme, 'button-focus-background');
color: --var($theme, 'button-focus-text-color');
}
}

%igx-button--icon {
background: --var($theme, 'button-background');
color: --var($theme, 'button-text-color');
margin-left: rem(8);
border-radius: 0;

&:hover {
background: --var($theme, 'button-hover-background');
color: --var($theme, 'button-hover-text-color');
}

&:focus,
&:active {
background: --var($theme, 'button-focus-background');
color: --var($theme, 'button-focus-text-color');
}
}

%igx-grid-toolbar__button-space {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1189,6 +1189,7 @@
%grid-cell-text {
font-style: italic;
color: --var($theme, 'cell-edited-value-color');
padding: 0 1px;
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
////
/// @group components
/// @author <a href="https://github.com/simeonoff" target="_blank">Simeon Simeonoff</a>
/// @requires {mixin} bem-block
/// @requires {mixin} bem-elem
/// @requires {mixin} bem-mod
////
@include b(igx-highlight) {
// Register the component in the component registry
$this: bem--selector-to-string(&);
@include register-component(str-slice($this, 2, -1));

@extend %igx-highlight !optional;

@include m(active) {
@extend %igx-highlight !optional;
@extend %igx-highlight--active !optional;
}
}

Loading