-
-
+
@@ -485,7 +485,7 @@ export class NzPageDemoIconComponent implements OnInit, OnDestroy {
onIconClick(e: MouseEvent, icon: string): void {
const target = e.target as HTMLElement;
- const copiedString = ` `;
+ const copiedString = ` `;
target.classList.add('copied');
this._copy(copiedString).then(() => {
setTimeout(() => {
diff --git a/components/input-number/demo/group.ts b/components/input-number/demo/group.ts
index 87a38ff8c2..1999a8a164 100644
--- a/components/input-number/demo/group.ts
+++ b/components/input-number/demo/group.ts
@@ -23,7 +23,7 @@ import { Component } from '@angular/core';
-
+
diff --git a/components/input-number/input-number-group-slot.component.ts b/components/input-number/input-number-group-slot.component.ts
index 7b6f4f5fc1..60f16ec03b 100644
--- a/components/input-number/input-number-group-slot.component.ts
+++ b/components/input-number/input-number-group-slot.component.ts
@@ -11,7 +11,7 @@ import { ChangeDetectionStrategy, Component, Input, TemplateRef, ViewEncapsulati
encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush,
template: `
-
+
{{ template }}
`,
diff --git a/components/input-number/input-number-group.spec.ts b/components/input-number/input-number-group.spec.ts
index 0cc8621e0d..7df076635f 100644
--- a/components/input-number/input-number-group.spec.ts
+++ b/components/input-number/input-number-group.spec.ts
@@ -423,7 +423,7 @@ export class NzTestInputNumberGroupMixComponent {}
-
+
diff --git a/components/input-number/input-number.component.ts b/components/input-number/input-number.component.ts
index 8850895b63..1bbd49f4d0 100644
--- a/components/input-number/input-number.component.ts
+++ b/components/input-number/input-number.component.ts
@@ -55,7 +55,7 @@ import { getStatusClassNames, InputBoolean, isNotNil } from 'ng-zorro-antd/core/
(mousedown)="up($event)"
[class.ant-input-number-handler-up-disabled]="disabledUp"
>
-
+
-
+
diff --git a/components/input/demo/allow-clear.ts b/components/input/demo/allow-clear.ts
index a32935fa1e..b680018e1f 100644
--- a/components/input/demo/allow-clear.ts
+++ b/components/input/demo/allow-clear.ts
@@ -7,14 +7,14 @@ import { Component } from '@angular/core';
-
+ >
@@ -22,14 +22,14 @@ import { Component } from '@angular/core';
-
+ >
`
})
diff --git a/components/input/demo/password-input.ts b/components/input/demo/password-input.ts
index 1093d2e73e..4701be1f24 100644
--- a/components/input/demo/password-input.ts
+++ b/components/input/demo/password-input.ts
@@ -12,7 +12,11 @@ import { Component } from '@angular/core';
/>
-
+
`,
styles: [
diff --git a/components/input/demo/presuffix.ts b/components/input/demo/presuffix.ts
index 097b041f88..d40f13ce58 100644
--- a/components/input/demo/presuffix.ts
+++ b/components/input/demo/presuffix.ts
@@ -6,9 +6,9 @@ import { Component } from '@angular/core';
-
+
-
+
diff --git a/components/input/demo/search-input.ts b/components/input/demo/search-input.ts
index 2839dc141f..15f569f172 100644
--- a/components/input/demo/search-input.ts
+++ b/components/input/demo/search-input.ts
@@ -7,7 +7,7 @@ import { Component } from '@angular/core';
-
+
@@ -15,7 +15,7 @@ import { Component } from '@angular/core';
-
+
diff --git a/components/input/demo/status.ts b/components/input/demo/status.ts
index 0aaf54ddb0..906ad7d35e 100644
--- a/components/input/demo/status.ts
+++ b/components/input/demo/status.ts
@@ -12,7 +12,7 @@ import { Component } from '@angular/core';
-
+
`
})
diff --git a/components/input/input-group-slot.component.ts b/components/input/input-group-slot.component.ts
index 17ce12e23d..bbda01b9db 100644
--- a/components/input/input-group-slot.component.ts
+++ b/components/input/input-group-slot.component.ts
@@ -11,7 +11,7 @@ import { ChangeDetectionStrategy, Component, Input, TemplateRef, ViewEncapsulati
encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush,
template: `
-
+
{{ template }}
`,
diff --git a/components/input/input-group.spec.ts b/components/input/input-group.spec.ts
index 4585c132e0..d885139a38 100644
--- a/components/input/input-group.spec.ts
+++ b/components/input/input-group.spec.ts
@@ -401,7 +401,7 @@ export class NzTestInputGroupColComponent {}
-
+
diff --git a/components/layout/demo/custom-trigger.ts b/components/layout/demo/custom-trigger.ts
index 3ae9fa4e51..d7daf6d574 100644
--- a/components/layout/demo/custom-trigger.ts
+++ b/components/layout/demo/custom-trigger.ts
@@ -21,19 +21,19 @@ import { Component } from '@angular/core';
-
+
File
-
+ >
diff --git a/components/layout/demo/fixed-sider.ts b/components/layout/demo/fixed-sider.ts
index bd49d1ace7..8daf8c5689 100644
--- a/components/layout/demo/fixed-sider.ts
+++ b/components/layout/demo/fixed-sider.ts
@@ -8,35 +8,35 @@ import { Component } from '@angular/core';
-
+
nav 1
-
+
nav 2
-
+
nav 3
-
+
nav 4
-
+
nav 5
-
+
nav 6
-
+
nav 7
-
+
nav 8
diff --git a/components/layout/demo/responsive.ts b/components/layout/demo/responsive.ts
index f9e5819eae..6889369584 100644
--- a/components/layout/demo/responsive.ts
+++ b/components/layout/demo/responsive.ts
@@ -8,19 +8,19 @@ import { Component } from '@angular/core';
-
+
nav 1
-
+
nav 2
-
+
nav 3
-
+
nav 4
diff --git a/components/layout/demo/side.ts b/components/layout/demo/side.ts
index 2e54613ccb..a7897a4432 100644
--- a/components/layout/demo/side.ts
+++ b/components/layout/demo/side.ts
@@ -8,11 +8,11 @@ import { Component } from '@angular/core';
-
+
Option 1
-
+
Option 2
@@ -29,7 +29,7 @@ import { Component } from '@angular/core';
-
+
File
diff --git a/components/layout/layout.spec.ts b/components/layout/layout.spec.ts
index 7afbe974af..3023ae0670 100644
--- a/components/layout/layout.spec.ts
+++ b/components/layout/layout.spec.ts
@@ -231,12 +231,12 @@ describe('layout', () => {
-
+ >
Bill is a cat.
@@ -245,7 +245,7 @@ describe('layout', () => {
-
+
`
})
@@ -304,7 +304,7 @@ export class NzLayoutSideComponent {
-
+
`
})
diff --git a/components/layout/sider-trigger.component.ts b/components/layout/sider-trigger.component.ts
index 2da8876a80..eaeaf1b2cf 100644
--- a/components/layout/sider-trigger.component.ts
+++ b/components/layout/sider-trigger.component.ts
@@ -29,11 +29,11 @@ import { NzBreakpointKey } from 'ng-zorro-antd/core/services';
-
-
+
+
-
+
`,
host: {
diff --git a/components/list/demo/vertical.ts b/components/list/demo/vertical.ts
index 468e485a06..c0f61c9f8e 100644
--- a/components/list/demo/vertical.ts
+++ b/components/list/demo/vertical.ts
@@ -25,15 +25,15 @@ interface ItemData {
{{ item.content }}
diff --git a/components/list/list.spec.ts b/components/list/list.spec.ts
index 42111ab5a3..11fa581899 100644
--- a/components/list/list.spec.ts
+++ b/components/list/list.spec.ts
@@ -312,7 +312,7 @@ class TestListWithTemplateComponent {
-
+
156
diff --git a/components/mention/mention.component.ts b/components/mention/mention.component.ts
index acfb37e5db..b5cd5dbf1a 100644
--- a/components/mention/mention.component.ts
+++ b/components/mention/mention.component.ts
@@ -93,7 +93,7 @@ export type MentionPlacement = 'top' | 'bottom';
class="ant-mentions-dropdown-menu-item ant-mentions-dropdown-menu-item-disabled"
*ngIf="filteredSuggestions.length === 0"
>
-
+
diff --git a/components/menu/demo/horizontal.ts b/components/menu/demo/horizontal.ts
index 285aaa5c7e..760c5bf17e 100755
--- a/components/menu/demo/horizontal.ts
+++ b/components/menu/demo/horizontal.ts
@@ -5,11 +5,11 @@ import { Component } from '@angular/core';
template: `
-
+
Navigation One
-
+
Navigation Two
diff --git a/components/menu/demo/inline-collapsed.ts b/components/menu/demo/inline-collapsed.ts
index b6b8e4f461..8cb489c25f 100644
--- a/components/menu/demo/inline-collapsed.ts
+++ b/components/menu/demo/inline-collapsed.ts
@@ -5,7 +5,7 @@ import { Component } from '@angular/core';
template: `
-
+
-
+
Navigation One
diff --git a/components/menu/demo/recursive.ts b/components/menu/demo/recursive.ts
index 90b8b12260..12ebb7e483 100644
--- a/components/menu/demo/recursive.ts
+++ b/components/menu/demo/recursive.ts
@@ -14,7 +14,7 @@ import { Component } from '@angular/core';
[nzDisabled]="menu.disabled"
[nzSelected]="menu.selected"
>
-
+
{{ menu.title }}
-SubTitle
+SubTitle
-SubTitle
+SubTitle
```
| Param | Description | Type | Default value |
@@ -84,10 +84,10 @@ You can set the title of `[nz-menu-group]` in the following ways.
```html
-SubTitle
+SubTitle
-SubTitle
+SubTitle
```
| Param | Description | Type | Default value |
diff --git a/components/menu/doc/index.zh-CN.md b/components/menu/doc/index.zh-CN.md
index e7d003dda4..daac8ef069 100755
--- a/components/menu/doc/index.zh-CN.md
+++ b/components/menu/doc/index.zh-CN.md
@@ -63,10 +63,10 @@ import { NzMenuModule } from 'ng-zorro-antd/menu';
```html
-SubTitle
+SubTitle
-SubTitle
+SubTitle
```
| 参数 | 说明 | 类型 | 默认值 |
@@ -86,10 +86,10 @@ import { NzMenuModule } from 'ng-zorro-antd/menu';
```html
-SubTitle
+SubTitle
-SubTitle
+SubTitle
```
| 参数 | 说明 | 类型 | 默认值 |
| --- | --- | --- | --- |
diff --git a/components/menu/menu.spec.ts b/components/menu/menu.spec.ts
index 459b33d056..3b6b7a1207 100644
--- a/components/menu/menu.spec.ts
+++ b/components/menu/menu.spec.ts
@@ -540,7 +540,7 @@ describe('menu', () => {
-
+
Navigation Three - Submenu
@@ -592,7 +592,7 @@ export class NzTestMenuHorizontalComponent {
-
+
Navigation One
@@ -616,7 +616,7 @@ export class NzTestMenuInlineComponent {
-
+
{{ l1.text }}
@@ -649,11 +649,11 @@ export class NzDemoMenuNgForComponent {
template: `
-
+
Navigation One
-
+
Navigation Two
@@ -765,7 +765,7 @@ export class NzTestNgIfMenuComponent {
template: `
-
+
Navigation One
@@ -783,11 +783,11 @@ export class NzTestSubMenuSelectedComponent {}
template: `
-
+
-
+
Navigation One
diff --git a/components/menu/submenu-title.component.ts b/components/menu/submenu-title.component.ts
index 55729b2d95..c0d2cf7130 100644
--- a/components/menu/submenu-title.component.ts
+++ b/components/menu/submenu-title.component.ts
@@ -28,7 +28,7 @@ import { NzMenuModeType } from './menu.types';
encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush,
template: `
-
+
{{ nzTitle }}
@@ -38,11 +38,11 @@ import { NzMenuModeType } from './menu.types';
*ngIf="isMenuInsideDropDown; else notDropdownTpl"
class="ant-dropdown-menu-submenu-expand-icon"
>
-
-
+
+
-
+
`,
host: {
diff --git a/components/message/message.component.ts b/components/message/message.component.ts
index b8e7fce071..d5c8d9308a 100644
--- a/components/message/message.component.ts
+++ b/components/message/message.component.ts
@@ -38,11 +38,11 @@ import { NzMessageData } from './typings';
-
-
-
-
-
+
+
+
+
+
diff --git a/components/modal/modal-close.component.ts b/components/modal/modal-close.component.ts
index db00c1ca02..c421b0fd10 100644
--- a/components/modal/modal-close.component.ts
+++ b/components/modal/modal-close.component.ts
@@ -13,7 +13,7 @@ import { ModalOptions } from './modal-types';
template: `
-
+
`,
diff --git a/components/modal/modal-confirm-container.component.ts b/components/modal/modal-confirm-container.component.ts
index 77bc6edac4..e4a2a2977a 100644
--- a/components/modal/modal-confirm-container.component.ts
+++ b/components/modal/modal-confirm-container.component.ts
@@ -49,7 +49,7 @@ import { ModalOptions } from './modal-types';
-
+
diff --git a/components/notification/demo/custom-icon.ts b/components/notification/demo/custom-icon.ts
index 06d13e9ef6..7490454f25 100644
--- a/components/notification/demo/custom-icon.ts
+++ b/components/notification/demo/custom-icon.ts
@@ -9,7 +9,7 @@ import { NzNotificationService } from 'ng-zorro-antd/notification';
-
+
Notification Title
diff --git a/components/notification/demo/placement.ts b/components/notification/demo/placement.ts
index 764154427d..ae8cfc6120 100644
--- a/components/notification/demo/placement.ts
+++ b/components/notification/demo/placement.ts
@@ -6,29 +6,29 @@ import { NzNotificationPlacement, NzNotificationService } from 'ng-zorro-antd/no
selector: 'nz-demo-notification-placement',
template: `
-
+
top
-
+
bottom
-
+
topLeft
-
+
topRight
-
+
bottomLeft
-
+
bottomRight
`,
diff --git a/components/notification/notification.component.ts b/components/notification/notification.component.ts
index 4c9b179c78..18d230a36d 100644
--- a/components/notification/notification.component.ts
+++ b/components/notification/notification.component.ts
@@ -34,30 +34,30 @@ import { NzNotificationData } from './typings';
>
-
-
+
-
+
-
+
+ >
@@ -73,11 +73,11 @@ import { NzNotificationData } from './typings';
-
+
-
+
diff --git a/components/page-header/demo/content.ts b/components/page-header/demo/content.ts
index 920e5ea801..9fbc8c0e18 100644
--- a/components/page-header/demo/content.ts
+++ b/components/page-header/demo/content.ts
@@ -42,7 +42,7 @@ import { Component } from '@angular/core';
nzPlacement="bottomRight"
style="border: none; padding: 0"
>
-
+
diff --git a/components/page-header/page-header.component.ts b/components/page-header/page-header.component.ts
index 246c3d358f..1b6aa0fac9 100644
--- a/components/page-header/page-header.component.ts
+++ b/components/page-header/page-header.component.ts
@@ -44,7 +44,7 @@ const NZ_CONFIG_MODULE_NAME: NzConfigKey = 'pageHeader';
diff --git a/components/page-header/page-header.spec.ts b/components/page-header/page-header.spec.ts
index 58b05bb1c3..2b197b905f 100644
--- a/components/page-header/page-header.spec.ts
+++ b/components/page-header/page-header.spec.ts
@@ -112,7 +112,7 @@ describe('NzPageHeaderComponent', () => {
const fixture = TestBed.createComponent(NzDemoPageHeaderBasicComponent);
const pageHeader = fixture.debugElement.query(By.directive(NzPageHeaderComponent));
fixture.detectChanges();
- expect(pageHeader.nativeElement.querySelector('.ant-page-header-back i.anticon-arrow-left')).toBeTruthy();
+ expect(pageHeader.nativeElement.querySelector('.ant-page-header-back span.anticon-arrow-left')).toBeTruthy();
});
it('should does not have an default back icon', () => {
@@ -161,7 +161,7 @@ describe('NzPageHeaderComponent', () => {
it('should have an default back icon', () => {
fixture.detectChanges();
- expect(pageHeader.nativeElement.querySelector('.ant-page-header-back i.anticon-arrow-right')).toBeTruthy();
+ expect(pageHeader.nativeElement.querySelector('.ant-page-header-back span.anticon-arrow-right')).toBeTruthy();
});
});
});
diff --git a/components/pagination/pagination-item.component.ts b/components/pagination/pagination-item.component.ts
index 6cc838fbbb..f82f59abf1 100644
--- a/components/pagination/pagination-item.component.ts
+++ b/components/pagination/pagination-item.component.ts
@@ -30,14 +30,14 @@ import { PaginationItemRenderContext, PaginationItemType } from './pagination.ty
{{ page }}
@@ -45,12 +45,12 @@ import { PaginationItemRenderContext, PaginationItemType } from './pagination.ty
diff --git a/scripts/site/_site/doc/app/components-overview/components-overview.component.html b/scripts/site/_site/doc/app/components-overview/components-overview.component.html
index abadadd600..b98df30fad 100644
--- a/scripts/site/_site/doc/app/components-overview/components-overview.component.html
+++ b/scripts/site/_site/doc/app/components-overview/components-overview.component.html
@@ -26,7 +26,7 @@
{{ language === 'en' ? 'Components Overview' : '组件总览' }}
/>
-
+
diff --git a/scripts/site/_site/doc/app/footer/footer-item.component.ts b/scripts/site/_site/doc/app/footer/footer-item.component.ts
index 33525154d3..b12d443987 100644
--- a/scripts/site/_site/doc/app/footer/footer-item.component.ts
+++ b/scripts/site/_site/doc/app/footer/footer-item.component.ts
@@ -6,7 +6,7 @@ import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core
template: `
{{ title }}
diff --git a/scripts/site/_site/doc/app/header/header.component.ts b/scripts/site/_site/doc/app/header/header.component.ts
index 3bcae8145c..037f3c00a8 100644
--- a/scripts/site/_site/doc/app/header/header.component.ts
+++ b/scripts/site/_site/doc/app/header/header.component.ts
@@ -19,7 +19,7 @@ const RESPONSIVE_SM = 1200;
changeDetection: ChangeDetectionStrategy.OnPush,
template: `