Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# v10.0.0-rc.3 (2020-11-05)
* **ng** update to `10.2`
* **rxjs** version bump
* **chore** update peerDependencies
* **chore** update import types

# v10.0.0-rc.2 (2020-10-28)
* **grid** differentiate between user sort and programmatic sort events
* **grid** a11y: announce only user `sort` events
Expand Down
3,848 changes: 1,454 additions & 2,394 deletions package-lock.json

Large diffs are not rendered by default.

36 changes: 18 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-components",
"version": "10.0.0-rc.2",
"version": "10.0.0-rc.3",
"author": {
"name": "UiPath Inc",
"url": "https://uipath.com"
Expand Down Expand Up @@ -60,34 +60,34 @@
},
"private": false,
"dependencies": {
"@angular/animations": "10.0.11",
"@angular/cdk": "10.1.3",
"@angular/cdk-experimental": "10.1.3",
"@angular/common": "10.0.11",
"@angular/compiler": "10.0.11",
"@angular/core": "10.0.11",
"@angular/forms": "10.0.11",
"@angular/material": "^10.1.3",
"@angular/platform-browser": "10.0.11",
"@angular/platform-browser-dynamic": "10.0.11",
"@angular/router": "10.0.11",
"@angular/animations": "10.2.2",
"@angular/cdk": "10.2.7",
"@angular/cdk-experimental": "^10.2.7",
"@angular/common": "10.2.2",
"@angular/compiler": "10.2.2",
"@angular/core": "10.2.2",
"@angular/forms": "10.2.2",
"@angular/material": "^10.2.7",
"@angular/platform-browser": "10.2.2",
"@angular/platform-browser-dynamic": "10.2.2",
"@angular/router": "10.2.2",
"clipboard": "2.0.4",
"core-js": "2.5.4",
"lodash-es": "4.17.15",
"moment": "2.24.0",
"moment-timezone": "0.5.25",
"object-hash": "2.0.1",
"rxjs": "6.5.4",
"rxjs": "6.6.3",
"scroll-into-view-if-needed": "2.2.20",
"tslib": "^2.0.0",
"zone.js": "~0.10.3"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.1000.7",
"@angular-devkit/build-ng-packagr": "~0.1000.7",
"@angular/cli": "10.0.7",
"@angular/compiler-cli": "10.0.11",
"@angular/language-service": "10.0.11",
"@angular-devkit/build-angular": "~0.1002.0",
"@angular-devkit/build-ng-packagr": "~0.1002.0",
"@angular/cli": "10.2.0",
"@angular/compiler-cli": "10.2.2",
"@angular/language-service": "10.2.2",
"@commitlint/cli": "^8.1.0",
"@commitlint/config-conventional": "^8.1.0",
"@commitlint/core": "^8.1.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
ViewChild,
ViewEncapsulation,
} from '@angular/core';
import { MatAnchor } from '@angular/material/button';
import type { MatAnchor } from '@angular/material/button';
import {
MatSelect,
MatSelectChange,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import type { QueryList } from '@angular/core';
import {
AfterViewInit,
ContentChildren,
Expand All @@ -6,7 +7,6 @@ import {
Input,
OnDestroy,
Output,
QueryList,
} from '@angular/core';

import { IFilterModel } from '../models';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
import {
import type {
ChangeDetectorRef,
ElementRef,
EventEmitter,
QueryList,
SimpleChanges,
} from '@angular/core';

import {
import type {
Observable,
Subject,
} from 'rxjs';

import { UiGridColumnDirective } from '../../../body/ui-grid-column.directive';
import type {
UiGridColumnDirective,
} from '../../../body/ui-grid-column.directive';

/**
* @internal
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { isDevMode } from '@angular/core';

import { isEqual } from 'lodash-es';
import isEqual from 'lodash-es/isEqual';
import { BehaviorSubject } from 'rxjs';
import {
filter,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ import {
ViewChild,
} from '@angular/core';
import {
async,
ComponentFixture,
discardPeriodicTasks,
fakeAsync,
flush,
TestBed,
tick,
waitForAsync,
} from '@angular/core/testing';
import { MatCheckbox } from '@angular/material/checkbox';
import { MatMenuItem } from '@angular/material/menu';
Expand Down Expand Up @@ -420,8 +420,8 @@ describe('Component: UiGrid', () => {

expect(matCheckbox.checked).toEqual(false);
rowCheckboxList.forEach((checkbox, i) => {
expect(checkbox.checked).toEqual(false);
expect(checkbox.ariaLabel).toEqual(`Select row ${i}`);
expect(checkbox.checked).toEqual(false);
expect(checkbox.ariaLabel).toEqual(`Select row ${i}`);
});
expect(grid.hasValueOnVisiblePage).toEqual(false);
});
Expand Down Expand Up @@ -1164,7 +1164,7 @@ describe('Component: UiGrid', () => {
});

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

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

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

it('should trigger an event emission when the filter changes', async(async () => {
it('should trigger an event emission when the filter changes', waitForAsync(async () => {
const items = generateListFactory(() => ({
label: faker.random.word(),
value: faker.random.number(),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import type { QueryList } from '@angular/core';
import {
AfterContentInit,
ChangeDetectionStrategy,
Expand All @@ -14,7 +15,6 @@ import {
OnDestroy,
Optional,
Output,
QueryList,
SimpleChanges,
ViewEncapsulation,
} from '@angular/core';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
OnInit,
ViewEncapsulation,
} from '@angular/core';
import { AbstractControl } from '@angular/forms';
import type { AbstractControl } from '@angular/forms';

import {
combineLatest,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { AbstractControl } from '@angular/forms';
import type { AbstractControl } from '@angular/forms';

export type IPasswordValidationFn = (value: string) => boolean;
export interface IRegexLike {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import {
ViewChild,
} from '@angular/core';
import {
async,
ComponentFixture,
fakeAsync,
TestBed,
tick,
waitForAsync,
} from '@angular/core/testing';
import { MAT_SNACK_BAR_DEFAULT_OPTIONS } from '@angular/material/snack-bar';
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
Expand Down Expand Up @@ -69,7 +69,7 @@ describe('Service: UiSnackBarService', () => {
}
};

beforeEach(async(() => {
beforeEach(waitForAsync(() => {
securitySettings = {
restrictHtml: false,
};
Expand Down
Loading