Skip to content

Commit 49eeeee

Browse files
authored
Merge pull request #109 from UiPath/fix/update-peer-deps
chore(ng-update): bump to 10.2
2 parents b06e7b6 + a0e46c3 commit 49eeeee

22 files changed

+1615
-2565
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# v10.0.0-rc.3 (2020-11-05)
2+
* **ng** update to `10.2`
3+
* **rxjs** version bump
4+
* **chore** update peerDependencies
5+
* **chore** update import types
6+
17
# v10.0.0-rc.2 (2020-10-28)
28
* **grid** differentiate between user sort and programmatic sort events
39
* **grid** a11y: announce only user `sort` events

package-lock.json

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

package.json

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-components",
3-
"version": "10.0.0-rc.2",
3+
"version": "10.0.0-rc.3",
44
"author": {
55
"name": "UiPath Inc",
66
"url": "https://uipath.com"
@@ -60,34 +60,34 @@
6060
},
6161
"private": false,
6262
"dependencies": {
63-
"@angular/animations": "10.0.11",
64-
"@angular/cdk": "10.1.3",
65-
"@angular/cdk-experimental": "10.1.3",
66-
"@angular/common": "10.0.11",
67-
"@angular/compiler": "10.0.11",
68-
"@angular/core": "10.0.11",
69-
"@angular/forms": "10.0.11",
70-
"@angular/material": "^10.1.3",
71-
"@angular/platform-browser": "10.0.11",
72-
"@angular/platform-browser-dynamic": "10.0.11",
73-
"@angular/router": "10.0.11",
63+
"@angular/animations": "10.2.2",
64+
"@angular/cdk": "10.2.7",
65+
"@angular/cdk-experimental": "^10.2.7",
66+
"@angular/common": "10.2.2",
67+
"@angular/compiler": "10.2.2",
68+
"@angular/core": "10.2.2",
69+
"@angular/forms": "10.2.2",
70+
"@angular/material": "^10.2.7",
71+
"@angular/platform-browser": "10.2.2",
72+
"@angular/platform-browser-dynamic": "10.2.2",
73+
"@angular/router": "10.2.2",
7474
"clipboard": "2.0.4",
7575
"core-js": "2.5.4",
7676
"lodash-es": "4.17.15",
7777
"moment": "2.24.0",
7878
"moment-timezone": "0.5.25",
7979
"object-hash": "2.0.1",
80-
"rxjs": "6.5.4",
80+
"rxjs": "6.6.3",
8181
"scroll-into-view-if-needed": "2.2.20",
8282
"tslib": "^2.0.0",
8383
"zone.js": "~0.10.3"
8484
},
8585
"devDependencies": {
86-
"@angular-devkit/build-angular": "~0.1000.7",
87-
"@angular-devkit/build-ng-packagr": "~0.1000.7",
88-
"@angular/cli": "10.0.7",
89-
"@angular/compiler-cli": "10.0.11",
90-
"@angular/language-service": "10.0.11",
86+
"@angular-devkit/build-angular": "~0.1002.0",
87+
"@angular-devkit/build-ng-packagr": "~0.1002.0",
88+
"@angular/cli": "10.2.0",
89+
"@angular/compiler-cli": "10.2.2",
90+
"@angular/language-service": "10.2.2",
9191
"@commitlint/cli": "^8.1.0",
9292
"@commitlint/config-conventional": "^8.1.0",
9393
"@commitlint/core": "^8.1.0",

projects/angular/components/ui-grid/src/components/ui-grid-toggle-columns/ui-grid-toggle-columns.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {
1212
ViewChild,
1313
ViewEncapsulation,
1414
} from '@angular/core';
15-
import { MatAnchor } from '@angular/material/button';
15+
import type { MatAnchor } from '@angular/material/button';
1616
import {
1717
MatSelect,
1818
MatSelectChange,

projects/angular/components/ui-grid/src/header/ui-grid-header.directive.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import type { QueryList } from '@angular/core';
12
import {
23
AfterViewInit,
34
ContentChildren,
@@ -6,7 +7,6 @@ import {
67
Input,
78
OnDestroy,
89
Output,
9-
QueryList,
1010
} from '@angular/core';
1111

1212
import { IFilterModel } from '../models';

projects/angular/components/ui-grid/src/managers/resize/types/resizableGrid.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
1-
import {
1+
import type {
22
ChangeDetectorRef,
33
ElementRef,
44
EventEmitter,
55
QueryList,
66
SimpleChanges,
77
} from '@angular/core';
88

9-
import {
9+
import type {
1010
Observable,
1111
Subject,
1212
} from 'rxjs';
1313

14-
import { UiGridColumnDirective } from '../../../body/ui-grid-column.directive';
14+
import type {
15+
UiGridColumnDirective,
16+
} from '../../../body/ui-grid-column.directive';
1517

1618
/**
1719
* @internal

projects/angular/components/ui-grid/src/managers/visibility-manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { isDevMode } from '@angular/core';
22

3-
import { isEqual } from 'lodash-es';
3+
import isEqual from 'lodash-es/isEqual';
44
import { BehaviorSubject } from 'rxjs';
55
import {
66
filter,

projects/angular/components/ui-grid/src/ui-grid.component.spec.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ import {
33
ViewChild,
44
} from '@angular/core';
55
import {
6-
async,
76
ComponentFixture,
87
discardPeriodicTasks,
98
fakeAsync,
109
flush,
1110
TestBed,
1211
tick,
12+
waitForAsync,
1313
} from '@angular/core/testing';
1414
import { MatCheckbox } from '@angular/material/checkbox';
1515
import { MatMenuItem } from '@angular/material/menu';
@@ -420,8 +420,8 @@ describe('Component: UiGrid', () => {
420420

421421
expect(matCheckbox.checked).toEqual(false);
422422
rowCheckboxList.forEach((checkbox, i) => {
423-
expect(checkbox.checked).toEqual(false);
424-
expect(checkbox.ariaLabel).toEqual(`Select row ${i}`);
423+
expect(checkbox.checked).toEqual(false);
424+
expect(checkbox.ariaLabel).toEqual(`Select row ${i}`);
425425
});
426426
expect(grid.hasValueOnVisiblePage).toEqual(false);
427427
});
@@ -1164,7 +1164,7 @@ describe('Component: UiGrid', () => {
11641164
});
11651165

11661166
describe('Filter: search', () => {
1167-
it(`should have the items in the custom value list`, async(async () => {
1167+
it(`should have the items in the custom value list`, waitForAsync(async () => {
11681168
const items = generateListFactory(() => ({
11691169
label: faker.random.word(),
11701170
value: faker.random.number(),
@@ -1184,7 +1184,7 @@ describe('Component: UiGrid', () => {
11841184
searchFilter.items.forEach((item, idx) => expect(item.text).toEqual(items[idx].label));
11851185
}));
11861186

1187-
it(`should NOT have any filter options`, async(async () => {
1187+
it(`should NOT have any filter options`, waitForAsync(async () => {
11881188
fixture.detectChanges();
11891189

11901190
const searchFilter = fixture.debugElement.query(By.css('.ui-grid-search-filter')).componentInstance as UiSuggestComponent;
@@ -1271,7 +1271,7 @@ describe('Component: UiGrid', () => {
12711271
fixture.detectChanges();
12721272
});
12731273

1274-
it('should trigger an event emission when the filter changes', async(async () => {
1274+
it('should trigger an event emission when the filter changes', waitForAsync(async () => {
12751275
const items = generateListFactory(() => ({
12761276
label: faker.random.word(),
12771277
value: faker.random.number(),

projects/angular/components/ui-grid/src/ui-grid.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import type { QueryList } from '@angular/core';
12
import {
23
AfterContentInit,
34
ChangeDetectionStrategy,
@@ -14,7 +15,6 @@ import {
1415
OnDestroy,
1516
Optional,
1617
Output,
17-
QueryList,
1818
SimpleChanges,
1919
ViewEncapsulation,
2020
} from '@angular/core';

projects/angular/components/ui-password-indicator/src/ui-password-indicator.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
OnInit,
77
ViewEncapsulation,
88
} from '@angular/core';
9-
import { AbstractControl } from '@angular/forms';
9+
import type { AbstractControl } from '@angular/forms';
1010

1111
import {
1212
combineLatest,

0 commit comments

Comments
 (0)