Skip to content

Commit 2c7c402

Browse files
authored
docs: update changelog of v20 (#9266)
1 parent 8066f7b commit 2c7c402

19 files changed

Lines changed: 143 additions & 134 deletions

CHANGELOG.md

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
* **select:** add `nzOnClear` callback ([#9188](https://github.com/NG-ZORRO/ng-zorro-antd/issues/9188)) ([e047ac2](https://github.com/NG-ZORRO/ng-zorro-antd/commit/e047ac249b16b547525a0ca4d13beeef620f44c4))
88
* **avatar:** add `loading` and `fetchpriority` attributes ([#7347](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7347)) ([ff8419f](https://github.com/NG-ZORRO/ng-zorro-antd/commit/ff8419f6614bdac8bc3c778e470da08b679889d0))
99
* **popconfirm:** add `nzOkButtonProps` and `nzCancelButtonProps` ([#9245](https://github.com/NG-ZORRO/ng-zorro-antd/issues/9245)) ([22e2a9f](https://github.com/NG-ZORRO/ng-zorro-antd/commit/22e2a9fb148fd875c76fb339c6582d92aef62791))
10+
* **tree-select:** render title of selected node in innerHTML ([#9259](https://github.com/NG-ZORRO/ng-zorro-antd/issues/9259)) ([8066f7b](https://github.com/NG-ZORRO/ng-zorro-antd/commit/8066f7bb082c95652a2e158a01e55382992fe8c6))
1011

1112
### Bug Fixes
1213

@@ -16,6 +17,7 @@
1617
* **tabs:** prevent incorrect scroll offset on tab focus ([#9186](https://github.com/NG-ZORRO/ng-zorro-antd/issues/9186)) ([4f658e0](https://github.com/NG-ZORRO/ng-zorro-antd/commit/4f658e0834e99ea2be0ffd4ead2dd041ec88fb83))
1718
* **schematics:** ng add failed when call twice ([#9171](https://github.com/NG-ZORRO/ng-zorro-antd/issues/9171)) ([d0a9748](https://github.com/NG-ZORRO/ng-zorro-antd/commit/d0a974848c0e31ad41ba69a5af60c002a7b251cd))
1819
* **water-mark:** make server-side compatible ([#9250](https://github.com/NG-ZORRO/ng-zorro-antd/issues/9250)) ([a70a682](https://github.com/NG-ZORRO/ng-zorro-antd/commit/a70a682c8aa4d073bb150abd4b69104fbe21e2ed))
20+
* **icon:** debounce icon rendering on animation frame ([#8579](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8579)) ([c0709d1](https://github.com/NG-ZORRO/ng-zorro-antd/commit/c0709d1e01d80969a48634fe8194dbfd49f6192f))
1921

2022
### Code Refactoring
2123

@@ -74,17 +76,18 @@ The `exportAs` of components are updated to follow `camelCase` and start with `n
7476
The following APIs are marked as **deprecated** in v20 and will be removed in the next major version.
7577
Please refer to related documentation for better alternatives.
7678

77-
| Module | API |
78-
|------------------------------|------------------------------------------------------------------------------|
79-
| `ng-zorro-antd/autocomplete` | `NZ_AUTOCOMPLETE_VALUE_ACCESSOR` <br /> `getNzAutocompleteMissingPanelError` |
80-
| `ng-zorro-antd/button` | `NzButtonGroupComponent` |
81-
| `ng-zorro-antd/core/form` | `NzFormPatchModule` |
82-
| `ng-zorro-antd/checkbox` | `NzCheckBoxOptionInterface` |
83-
| `ng-zorro-antd/input` | `NzInputGroupComponent#nzCompact` |
84-
| `ng-zorro-antd/mention` | `NZ_MENTION_TRIGGER_ACCESSOR` |
85-
| `ng-zorro-antd/message` | `NzMessageModule` |
86-
| `ng-zorro-antd/notification` | `NzNotificationModule`<br/>`NzNotificationServiceModule` |
87-
| `ng-zorro-antd/tabs` | `NzTabsetComponent` |
79+
| Module | API |
80+
|--------------------------------|------------------------------------------------------------------------------|
81+
| `ng-zorro-antd/autocomplete` | `NZ_AUTOCOMPLETE_VALUE_ACCESSOR` <br /> `getNzAutocompleteMissingPanelError` |
82+
| `ng-zorro-antd/button` | `NzButtonGroupComponent` |
83+
| `ng-zorro-antd/core/form` | `NzFormPatchModule` |
84+
| `ng-zorro-antd/core/highlight` | `NzHighlightModule` |
85+
| `ng-zorro-antd/checkbox` | `NzCheckBoxOptionInterface` |
86+
| `ng-zorro-antd/input` | `NzInputGroupComponent#nzCompact` |
87+
| `ng-zorro-antd/mention` | `NZ_MENTION_TRIGGER_ACCESSOR` |
88+
| `ng-zorro-antd/message` | `NzMessageModule` |
89+
| `ng-zorro-antd/notification` | `NzNotificationModule`<br/>`NzNotificationServiceModule` |
90+
| `ng-zorro-antd/tabs` | `NzTabsetComponent` |
8891

8992

9093

components/affix/doc/index.en-US.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
category: Components
3-
type: Navigation
3+
type: Other
44
title: Affix
55
cover: 'https://gw.alipayobjects.com/zos/alicdn/tX6-md4H6/Affix.svg'
66
description: Make an element stick to viewport.

components/affix/doc/index.zh-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
category: Components
33
subtitle: 固钉
4-
type: 导航
4+
type: 其它
55
title: Affix
66
cover: 'https://gw.alipayobjects.com/zos/alicdn/tX6-md4H6/Affix.svg'
77
description: 将页面元素钉在可视范围。

components/anchor/doc/index.en-US.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
category: Components
3-
type: Other
3+
type: Navigation
44
title: Anchor
55
cover: 'https://gw.alipayobjects.com/zos/alicdn/_1-C1JwsC/Anchor.svg'
66
description: Hyperlinks to scroll on one page.

components/anchor/doc/index.zh-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
category: Components
33
subtitle: 锚点
4-
type: 其他
4+
type: 导航
55
title: Anchor
66
cover: 'https://gw.alipayobjects.com/zos/alicdn/_1-C1JwsC/Anchor.svg'
77
description: 用于跳转到页面指定位置。

components/notification/doc/index.en-US.md

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -31,25 +31,25 @@ The component provides a number of service methods using the following methods a
3131
- `NzNotificationService.info(title, content, [options])`
3232
- `NzNotificationService.warning(title, content, [options])`
3333

34-
| Argument | Description | Type | Default |
35-
|----------|--------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------|---------|
36-
| title | Title | `string \| TemplateRef<void>` | - |
37-
| content | Notification content | `NzNotificationContentType` | - |
38-
| options | Support setting the parameters for the current notification box, see the table below | `object` | - |
34+
| Argument | Description | Type | Default |
35+
|-----------|--------------------------------------------------------------------------------------|-------------------------------|---------|
36+
| `title` | Title | `string \| TemplateRef<void>` | - |
37+
| `content` | Notification content | `NzNotificationContentType` | - |
38+
| `options` | Support setting the parameters for the current notification box, see the table below | `object` | - |
3939

4040
The parameters that are set by the `options` support are as follows:
4141

42-
| Argument | Description | Type |
43-
|----------------|------------------------------------------------------------------------|-----------------------------------------------------------------|
44-
| nzKey | The unique identifier of the Notification | `string` |
45-
| nzDuration | Duration (milliseconds), does not disappear when set to 0 | `number` |
46-
| nzPauseOnHover | Do not remove automatically when mouse is over while setting to `true` | `boolean` |
47-
| nzAnimate | Whether to turn on animation | `boolean` |
48-
| nzStyle | Custom inline style | `object` |
49-
| nzClass | Custom CSS class | `object` |
50-
| nzData | Anything that would be used as template context | `any` |
51-
| nzCloseIcon | Custom close icon | `TemplateRef<void> \| string` |
52-
| nzButton | Custom button | `TemplateRef<{ $implicit: NzNotificationComponent }> \| string` |
42+
| Argument | Description | Type |
43+
|------------------|------------------------------------------------------------------------|-----------------------------------------------------------------|
44+
| `nzKey` | The unique identifier of the Notification | `string` |
45+
| `nzDuration` | Duration (milliseconds), does not disappear when set to 0 | `number` |
46+
| `nzPauseOnHover` | Do not remove automatically when mouse is over while setting to `true` | `boolean` |
47+
| `nzAnimate` | Whether to turn on animation | `boolean` |
48+
| `nzStyle` | Custom inline style | `object` |
49+
| `nzClass` | Custom CSS class | `object` |
50+
| `nzData` | Anything that would be used as template context | `any` |
51+
| `nzCloseIcon` | Custom close icon | `TemplateRef<void> \| string` |
52+
| `nzButton` | Custom button | `TemplateRef<{ $implicit: NzNotificationComponent }> \| string` |
5353

5454
Methods for destruction are also provided:
5555

@@ -59,16 +59,16 @@ Methods for destruction are also provided:
5959

6060
You can use `NzConfigService` to configure this component globally. Please check the [Global Configuration](/docs/global-config/en) chapter for more information.
6161

62-
| Parameter | Description | Type | Default |
63-
|----------------|-----------------------------------------------------------------------------------------|------------------|------------|
64-
| nzDuration | Duration (milliseconds), does not disappear when set to 0 | `number` | 4500 |
65-
| nzMaxStack | The maximum number of notifications that can be displayed at the same time | `number` | 8 |
66-
| nzPauseOnHover | Do not remove automatically when mouse is over while setting to `true` | `boolean` | `true` |
67-
| nzAnimate | Whether to turn on animation | `boolean` | `true` |
68-
| nzTop | The top of the notification when it pops up from the top. | `string` | 24px |
69-
| nzBottom | The bottom of the notification when it pops up from the bottom. | `string` | 24px |
70-
| nzPlacement | Popup position, optional `topLeft` `topRight` `bottomLeft` `bottomRight` `top` `bottom` | `string` | `topRight` |
71-
| nzDirection | Direction of the text in the notification | `'ltr' \| 'rtl'` | - |
62+
| Parameter | Description | Type | Default |
63+
|------------------|-----------------------------------------------------------------------------------------|------------------|------------|
64+
| `nzDuration` | Duration (milliseconds), does not disappear when set to 0 | `number` | 4500 |
65+
| `nzMaxStack` | The maximum number of notifications that can be displayed at the same time | `number` | 8 |
66+
| `nzPauseOnHover` | Do not remove automatically when mouse is over while setting to `true` | `boolean` | `true` |
67+
| `nzAnimate` | Whether to turn on animation | `boolean` | `true` |
68+
| `nzTop` | The top of the notification when it pops up from the top. | `string` | 24px |
69+
| `nzBottom` | The bottom of the notification when it pops up from the bottom. | `string` | 24px |
70+
| `nzPlacement` | Popup position, optional `topLeft` `topRight` `bottomLeft` `bottomRight` `top` `bottom` | `string` | `topRight` |
71+
| `nzDirection` | Direction of the text in the notification | `'ltr' \| 'rtl'` | - |
7272

7373
### NzNotificationRef
7474

0 commit comments

Comments
 (0)