Skip to content

Commit 076dcca

Browse files
chore(release): release version 11.0.0-beta.1
1 parent de24f29 commit 076dcca

32 files changed

+141
-145
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ To see more in [devui.design](https://devui.design/home).
2323

2424
## Angular Support
2525

26-
Now supports Angular <font color=red>`^10.0.0`</font>
26+
Now supports Angular <font color=red>`^11.0.0`</font>
2727

2828
## Getting Started
2929

README_zh_CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ DevUI Design设计系统包含了DevUI规则、设计语言和最佳实践的资
2323

2424
## Angular版本
2525

26-
当前支持的angular版本<font color=red>`^10.0.0`</font>
26+
当前支持的angular版本<font color=red>`^11.0.0`</font>
2727

2828
## 快速开始
2929

angular.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@
156156
"prefix": "lib",
157157
"architect": {
158158
"build": {
159-
"builder": "@angular-devkit/build-ng-packagr:build",
159+
"builder": "@angular-devkit/build-angular:ng-packagr",
160160
"options": {
161161
"tsConfig": "devui/tsconfig.lib.json",
162162
"project": "devui/ng-package.json"

devui/button/button.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Component, DebugElement } from '@angular/core';
2-
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
2+
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
33
import { By } from '@angular/platform-browser';
44
import { ButtonModule } from 'ng-devui/button';
55
import { LoadingComponent } from './../loading/loading.component';
@@ -44,7 +44,7 @@ class TestButtonAutoFocusComponent {
4444

4545
describe('Button', () => {
4646
let fixture: ComponentFixture<any>;
47-
beforeEach(async(() => {
47+
beforeEach(waitForAsync(() => {
4848
TestBed.configureTestingModule({
4949
imports: [ButtonModule],
5050
declarations: [TestButtonComponent, TestButtonAutoFocusComponent],

devui/carousel/carousel-item.component.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
1+
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
22

33
import { CarouselItemComponent } from './carousel-item.component';
44

55
describe('CarouselItemComponent', () => {
66
let component: CarouselItemComponent;
77
let fixture: ComponentFixture<CarouselItemComponent>;
88

9-
beforeEach(async(() => {
9+
beforeEach(waitForAsync(() => {
1010
TestBed.configureTestingModule({
1111
declarations: [ CarouselItemComponent ]
1212
})

devui/carousel/carousel.component.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Component, ViewChild } from '@angular/core';
2-
import { async, ComponentFixture, fakeAsync, TestBed, tick } from '@angular/core/testing';
2+
import { ComponentFixture, fakeAsync, TestBed, tick, waitForAsync } from '@angular/core/testing';
33
import { By } from '@angular/platform-browser';
44
import { CarouselComponent } from './carousel.component';
55
import { CarouselModule } from './carousel.module';
@@ -38,7 +38,7 @@ describe('CarouselComponent', () => {
3838
let fixture: ComponentFixture<TestCarouselComponent>;
3939
let carouselElement: HTMLElement;
4040

41-
beforeEach(async(() => {
41+
beforeEach(waitForAsync(() => {
4242
TestBed.configureTestingModule({
4343
imports: [CarouselModule],
4444
declarations: [ TestCarouselComponent ],

devui/datepicker/dateRangePicker.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// tslint:disable: max-line-length
22
import { Component, DebugElement, ElementRef, TemplateRef, ViewChild } from '@angular/core';
3-
import { async, ComponentFixture, fakeAsync, TestBed, tick } from '@angular/core/testing';
3+
import { ComponentFixture, fakeAsync, TestBed, tick, waitForAsync } from '@angular/core/testing';
44
import { FormsModule } from '@angular/forms';
55
import { By } from '@angular/platform-browser';
66
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
@@ -126,7 +126,7 @@ describe('dateRangePicker', () => {
126126
let component: TestDateRangePickerComponent;
127127
let domHelper: DomHelper<TestDateRangePickerComponent>;
128128

129-
beforeEach(async(() => {
129+
beforeEach(waitForAsync(() => {
130130
TestBed.configureTestingModule({
131131
imports: [DatepickerModule, NoopAnimationsModule, FormsModule],
132132
declarations: [TestDateRangePickerComponent]
@@ -277,7 +277,7 @@ describe('dateRangePickerOrigin', () => {
277277
let debugEl: DebugElement;
278278
let component: TestDateRangePickerOriginComponent;
279279

280-
beforeEach(async(() => {
280+
beforeEach(waitForAsync(() => {
281281
TestBed.configureTestingModule({
282282
imports: [DatepickerModule, NoopAnimationsModule, FormsModule],
283283
declarations: [TestDateRangePickerOriginComponent]
@@ -322,7 +322,7 @@ describe('dateRangePickerComponent', () => {
322322
let debugEl: DebugElement;
323323
let component: TestDateRangePickerCmpComponent;
324324

325-
beforeEach(async(() => {
325+
beforeEach(waitForAsync(() => {
326326
TestBed.configureTestingModule({
327327
imports: [DatepickerModule, NoopAnimationsModule, FormsModule],
328328
declarations: [TestDateRangePickerCmpComponent]

devui/datepicker/datepicker.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Component, DebugElement, ElementRef, TemplateRef, ViewChild } from '@angular/core';
2-
import { async, ComponentFixture, fakeAsync, TestBed, tick } from '@angular/core/testing';
2+
import { ComponentFixture, fakeAsync, TestBed, tick, waitForAsync } from '@angular/core/testing';
33
import { FormsModule } from '@angular/forms';
44
import { By } from '@angular/platform-browser';
55
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
@@ -183,7 +183,7 @@ describe('datePicker', () => {
183183
let component: TestDatePickerDirectiveComponent;
184184
let domHelper: DomHelper<TestDatePickerDirectiveComponent>;
185185

186-
beforeEach(async(() => {
186+
beforeEach(waitForAsync(() => {
187187
TestBed.configureTestingModule({
188188
imports: [DatepickerModule, NoopAnimationsModule, FormsModule],
189189
declarations: [TestDatePickerDirectiveComponent]
@@ -306,7 +306,7 @@ describe('datePicker', () => {
306306
let component: TestDatePickerAppendToBodyComponent;
307307
let domHelper: DomHelper<TestDatePickerAppendToBodyComponent>;
308308

309-
beforeEach(async(() => {
309+
beforeEach(waitForAsync(() => {
310310
TestBed.configureTestingModule({
311311
imports: [DatepickerModule, NoopAnimationsModule, FormsModule],
312312
declarations: [TestDatePickerAppendToBodyComponent]
@@ -433,7 +433,7 @@ describe('datePicker', () => {
433433
let component: TestDatePickerCmpComponent;
434434
let domHelper: DomHelper<TestDatePickerCmpComponent>;
435435

436-
beforeEach(async(() => {
436+
beforeEach(waitForAsync(() => {
437437
TestBed.configureTestingModule({
438438
imports: [DatepickerModule, NoopAnimationsModule, FormsModule],
439439
declarations: [TestDatePickerCmpComponent]

devui/datepicker/twoDatePicker.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// tslint:disable: max-line-length
22
import { Component, DebugElement, ElementRef, ViewChild } from '@angular/core';
3-
import { async, ComponentFixture, fakeAsync, TestBed, tick } from '@angular/core/testing';
3+
import { ComponentFixture, fakeAsync, TestBed, tick, waitForAsync } from '@angular/core/testing';
44
import { FormsModule } from '@angular/forms';
55
import { By } from '@angular/platform-browser';
66
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
@@ -529,7 +529,7 @@ describe('twoDatePicker', () => {
529529
let component: TestTwoDatePickerComponent;
530530
let domHelper: DomHelper<TestTwoDatePickerComponent>;
531531

532-
beforeEach(async(() => {
532+
beforeEach(waitForAsync(() => {
533533
TestBed.configureTestingModule({
534534
imports: [DatepickerModule, NoopAnimationsModule, FormsModule],
535535
declarations: [TestTwoDatePickerComponent]
@@ -736,7 +736,7 @@ describe('twoDatePickerDiv', () => {
736736
let component: TestTwoDatePickerDivComponent;
737737
let domHelper: DomHelper<TestTwoDatePickerDivComponent>;
738738

739-
beforeEach(async(() => {
739+
beforeEach(waitForAsync(() => {
740740
TestBed.configureTestingModule({
741741
imports: [DatepickerModule, NoopAnimationsModule, FormsModule],
742742
declarations: [TestTwoDatePickerDivComponent],

devui/form/form.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Component, DebugElement } from '@angular/core';
2-
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
2+
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
33
import { By } from '@angular/platform-browser';
44
import { FormDirective } from './form.directive';
55
import { FormModule } from './form.module';
@@ -29,7 +29,7 @@ class TestFormComponent {
2929
}
3030

3131
describe('dForm', () => {
32-
beforeEach(async(() => {
32+
beforeEach(waitForAsync(() => {
3333
TestBed.configureTestingModule({
3434
imports: [FormModule],
3535
declarations: [TestFormComponent]

0 commit comments

Comments
 (0)