Releases: NG-ZORRO/ng-zorro-antd
Releases · NG-ZORRO/ng-zorro-antd
14.1.0
14.1.0
2022-10-09
Bug Fixes
- cascader: fix wrong format of docs (#7604) (8b92c63)
- i18n: update it_IT.ts (#7646) (aecb788)
- pagination: add ul tag (#7500) (becdd68)
- segmented: fix index.less not imported in entry.less (#7624) (1d6a646)
- select: fix broken cdk virtual scroll integration (#7642) (1f10a9c)
- select: input field length restricted to 82px (#7626) (82159e3)
- statistic: remove top-level redundant
div
element (#7659) (07df410) - steps: remove top-level redundant
div
element (#7582) (60beabc) - typography: focus the element and set the value even if the zone is already stable (#7320) (2d2fe33)
Features
- popconfirm: support async close (#7533) (797b261)
- select: support placement (#7537) (dda0e6d)
- date-picker: add nzShowWeekNumber property (#7621) (2cb80fc)
- menu: add support nzPlacement for nz-submenu (#7420) (b1223bd), closes #4743
- select: add string array support for nzDropdownClassName (#7643) (966dc8f)
- time-picker: support input readonly (#7660) (2dcefe2)
14.1.0
2022-10-09
Bug Fixes
- cascader: 修复文档格式 (#7604) (8b92c63)
- i18n: 更新国际化文案 (#7646) (aecb788)
- pagination: dom 结构添加
ul
标签以同步antd
结构 (#7500) (becdd68) - segmented: 修复
index.less
文件未导入问题 (#7624) (1d6a646) - select: 修复虚拟滚动出现空白区域问题 (#7642) (1f10a9c)
- select: 修复
select
组件内输入框input
元素宽度不占满问题 (#7626) (82159e3) - statistic: 移除顶层多余的
div
元素 (#7659) (07df410) - steps: 移除顶层多余的
div
元素 (#7582) (60beabc) - typography: 修复部分场景下聚焦元素不生效问题 (#7320) (2d2fe33)
Features
- popconfirm: 支持异步关闭 (#7533) (797b261)
- select: 支持指定弹出位置 (#7537) (dda0e6d)
- date-picker: 新增
nzShowWeekNumber
属性显示周数 (#7621) (2cb80fc) - menu: 支持指定弹出位置 (#7420) (b1223bd), closes #4743
- select:
nzDropdownClassName
属性支持string
数组 (#7643) (966dc8f) - time-picker: 新增
nzInputReadOnly
属性支持input
标签设置为只读 (#7660) (2dcefe2)
14.0.0
14.0.0
2022-08-25
Install ng-zorro-antd
$ cd PROJECT-NAME
$ ng add [email protected]
Bug Fixes
Features
- icon: change tag of nz-icon from
<i>
to<span>
(#7586) (7242111) - popconfirm: support async close (#7533) (797b261)
- <i nz-icon nzType="search" nzTheme="outline"></i>
+ <span nz-icon nzType="search" nzTheme="outline"></span>
BREAKING CHANGES
14.0.0
2022-08-25
安装 ng-zorro-antd
$ cd PROJECT-NAME
$ ng add [email protected]
Bug Fixes
Features
- icon:
nz-icon
使用方式从i
元素变更为span
元素 (#7586) (7242111) - popconfirm: 支持基于
Promise
的异步关闭 (#7533) (797b261)
- <i nz-icon nzType="search" nzTheme="outline"></i>
+ <span nz-icon nzType="search" nzTheme="outline"></span>
BREAKING CHANGES
14.0.0-beta.0
14.0.0-beta.0
2022-08-01
Not recommended for production environment
Install ng-zorro-antd
$ cd PROJECT-NAME
$ ng add [email protected]
Features
- <i nz-icon nzType="search" nzTheme="outline"></i>
+ <span nz-icon nzType="search" nzTheme="outline"></span>
2022-08-01
beta
版本不建议在生产环境使用
安装 ng-zorro-antd
$ cd PROJECT-NAME
$ ng add [email protected]
Features
- <i nz-icon nzType="search" nzTheme="outline"></i>
+ <span nz-icon nzType="search" nzTheme="outline"></span>
13.4.0
13.4.0
2022-07-25
Bug Fixes
- datepicker: focus input when opened programmatically (#7512) (b3a27d8)
- transfer: uncheck "Select all" checkbox when filtered items are moved (#7419) (1e9c11e)
Features
- notification: support top and bottom placement (#7540) (d8b26dd)
- anchor: sync new properties (#7494) (254b429)
- badge: support size (#7405) (f40dd38)
- date-picker: support date-picker placement (#7527) (a652470)
- input-number: add borderless support (#7539) (ea1138b)
- switch: add nzId input (#6815) (4c71bdb)
- time-picker: support borderless (#7547) (a8c3f95)
Performance Improvements
13.4.0
2022-07-25
Bug Fixes
Features
- notification: 支持指定位置弹出 (#7540) (d8b26dd)
- anchor: 支持设置滚动偏移量等功能 (#7494) (254b429)
- badge: 支持设置
nzSize
属性 (#7405) (f40dd38) - date-picker: 支持指定弹出位置 (#7527) (a652470)
- input-number: 支持无边框模式 (#7539) (ea1138b)
- switch: 添加
nzId
属性指定内部元素 id (#6815) (4c71bdb) - time-picker: 支持无边框模式 (#7547) (a8c3f95)
Performance Improvements
13.3.2
13.3.1
13.3.0
13.3.0
2022-06-15
Bug Fixes
- icon: add missing zorro used icon: deleteOutline (#7499) (ba6bade)
- tooltip: is not aligned on first display (#7457) (23a2fd5), closes #7453
- transfer:
submit
behavior for button inside form (#7413) (0cfebca), closes #7410
Features
- cascader: support setting status (#7452) (e10908e)
- date-picker: support setting status (#7479) (c3d0874)
- form: make form work with status (#7489) (98ac620)
- input-number: support input number group (#7488) (b038fa2)
- input-number: support setting status (#7462) (0c9287a)
- input: support setting status (#7472) (999215e)
- mentions: support setting status (#7467) (ac38b2d)
- segmented: implement new component (#7404) (95a31da)
- select: support setting status (#7478) (44b7fe0)
- time-picker: support setting status (#7473) (0d8249b)
- transfer: support setting status (#7475) (9b98fe1)
- tree-select: add status (#7477) (40815ad)
13.3.0
2022-06-15
Bug Fixes
- icon: 修复 deleteOutline 图标缺失问题 (#7499) (ba6bade)
- tooltip: 修复首次显示时位置不正确问题 (#7457) (23a2fd5), closes #7453
- transfer: 修复在表单内部使用时错误触发
submit
问题 (#7413) (0cfebca), closes #7410
Features
- cascader: 支持设置校验状态 (#7452) (e10908e)
- date-picker: 支持设置校验状态 (#7479) (c3d0874)
- form: 支持根据表单状态设置子组件校验状态 (#7489) (98ac620)
- input-number: 支持数字输入框前缀后缀组合 (#7488) (b038fa2)
- input-number: 支持设置校验状态 (#7462) (0c9287a)
- input: 支持设置校验状态 (#7472) (999215e)
- mentions: 支持设置校验状态 (#7467) (ac38b2d)
- segmented: 新增分段控制器组件 (#7404) (95a31da)
- select: 支持设置校验状态 (#7478) (44b7fe0)
- time-picker: 支持设置校验状态 (#7473) (0d8249b)
- transfer: 支持设置校验状态 (#7475) (9b98fe1)
- tree-select: 支持设置校验状态 (#7477) (40815ad)
13.2.2
13.2.1
13.2.0
13.2.0
2022-04-26
Bug Fixes
- carousel: fix nzAfterChange callback value not correctly (#7326) (b517bd4), closes #7323
- cascader: fix the problem of disappearing drop-down menu (#7381) (3d41ce0)
- cascader: update position when click menu item (#7306) (4c669a5)
- i18n: update fr translations (#7364) (64e1c7c)
- list: re-enter the Angular zone when the
NgZone.onStable
emits (#7314) (425f8df) - modal: no longer trigger any action when closing (#7336) (d169452)
- popconfirm: reverting missing nzPopconfirmVisibleChange (#7338) (561041c)
- upload: fix upload drag drop will open new tab in firefox 91 and 92 (#7190) (9b51874)
Features
- code-editor: add global configuration to support monaco require config (#7121) (21ec517)
- code-editor: support MonacoEnvironment config in NZ_CONFIG (#7359) (4dfd9cd), closes #6502
- image: nz-image add press
left
orright
to switch image (#7321) (b5f82b5) - input-number: add
nzReadOnly
property (#7372) (0da7496), closes #7369
Performance Improvements
- anchor: mark
scroll
listener as passive (#7330) (aab060f) - back-top: mark
scroll
listener as passive (#7329) (7f3c4e1) - cascader: do not run change detection on
change
event (#7312) (cb803f9) - image: do not run change detection when the image preview is clicked (#7309) (752a5b6)
- input-number: do not run change detection when
mouseup
andmouseleave
events are dispatched on handlers (#7313) (54386ef) - modal: call
focus()
on the next rendering frame to prevent frame drop (#7293) (106d346) - resizable: mark
mousedown
andtouchstart
listeners as passive (#7331) (518997b) - tree-view: do not run change detection when the
nz-tree-node-checkbox
is clicked (#7307) (1e0872b)
13.2.0
2022-04-26
Bug Fixes
- carousel: 修复
nzAfterChange
回调未正确触发问题 (#7326) (b517bd4), closes #7323 - cascader: 修复
hover
模式选项框无法错误隐藏问题 (#7381) (3d41ce0) - cascader: 修复选项框超出区域被遮挡问题 (#7306) (4c669a5)
- i18n: 修复部分翻译缺失问题 (#7364) (64e1c7c)
- list: 修复
NgZone.onStable
事件后未正确触发脏值检测问题 (#7314) (425f8df) - modal: 关闭弹窗过程中忽略点击确认取消按钮行为 (#7336) (d169452)
- popconfirm: 修复
nzPopconfirmVisibleChange
未触发问题 (#7338) (561041c) - upload: 修复在 Firefox 91/92 版本中拖拽文件会打开新页面问题 (#7190) (9b51874)
Features
- code-editor: 支持设置自定义配置以支持 monaco editor 配置 (#7121) (21ec517)
- code-editor: 支持在
NZ_CONFIG
定义window.MonacoEnvironment
(#7359) (4dfd9cd), closes #6502 - image: 支持点击键盘左右方向键切换图片 (#7321) (b5f82b5)
- input-number: 增加
nzReadOnly
属性支持只读方式 (#7372) (0da7496), closes #7369
Performance Improvements
- anchor: 使用
passive
改善的滚屏性能 (#7330) (aab060f) - back-top: 使用
passive
改善的滚屏性能 (#7329) (7f3c4e1) - cascader: 减少触发不必要的脏值检测 (#7312) (cb803f9)
- image: 减少触发不必要的脏值检测 (#7309) (752a5b6)
- input-number: 减少触发不必要的脏值检测 (#7313) (54386ef)
- modal: 优化在不同设备上渲染帧率效果 (#7293) (106d346)
- resizable: 使用
passive
改善性能 (#7331) (518997b) - tree-view: 减少触发不必要的脏值检测 (#7307) (1e0872b)