13.1.0
2022-02-25
Bug Fixes
- button: prevent default event fire (#7267) (2306e0d)
- date-picker: fix
z-index
toauto
in inline mode (#7172) (26006f6) - date-picker: fix disable time when date changes (#7236) (ae67952)
- i18n: update fa-IR.ts translations (#7249) (a7a0b41)
- i18n: update pt_BR.ts translations (#7218) (95c7816)
- input: do not set box-sizing when measuring (#7214) (035dc94), closes #7203
- input: incorrect background color in disabled state (#7250) (7acb8db)
- radio: emit
false
to thengModel
whenever the radio button is deselected (#7270) (2704237) - select: fix keyboard event error when option data is empty (#7222) (4bd86ca), closes #7242
- slider: fix keydown not trigger nzOnAfterChange (#7252) (f419c07), closes #7251
Features
- alert: support nzAction for customizing actions (#7246) (eb3b1ba)
- drawer: support new apis nzSize and nzExtra (#7227) (d2e5b76)
- i18n: add
kk_KZ
to i18n (#7261) (3580fb0) - i18n: add
km_KH
(#7220) (f972391)
Performance Improvements
- auto-complete: do not run change detection when the promise resolves (#7138) (e95d941)
- back-top: do not run change detection if there are no
nzClick
listeners (#7179) (7d091bb) - carousel: do not run change detection when the timer fires (#7136) (fc991d1)
- collapse: do not run change detection if the panel is disabled (#7181) (3c3eac9)
- dropdown: do not run change detection if the dropdown has been clicked inside (#7135) (4679592)
- image: do not run change detection if there are no
containerClick
listeners (#7147) (f0f52a4) - mention: do not run change detection when the dropdown cannot be closed (#7146) (b72bd27)
- mention: do not trigger change detections if there are no event listeners (#7130) (73af728)
- resizable: do not run change detection on
mousedown
andtouchstart
events (#7170) (9a8d794) - select: do not run change detection on events if the
nz-option-item
is disabled (#7133) (a1bbdab) - select: do not run change detection unnecessarily on click events (#7175) (fd63d22)
- table: do not run change detection if the sorting is not shown (#7174) (e541761)
- table: do not unnecessarily re-enter the Angular zone (#7142) (5a5df13)
- table: spawn timers and add listener outside of the zone (#7140) (ec248c9)
- tabs: do not run change detection when the promise resolves (#7144) (148f84d)
- time-picker: do not run change detection when the timer fires (#7143) (72da774)
- tree-view: do not run change detection on click events if the
nz-tree-node-option
is disabled or there are nonzClick
listeners (#7178) (0054f59) - typography: do not run change detection on
input
andkeydown
events (#7185) (ad547fb)
13.1.0
2022-02-25
Bug Fixes
- button: 修复 nzLoading 为 true 情况下仍可点击问题 (#7267) (2306e0d)
- date-picker: 内联模式下修改
z-index
为auto
(#7172) (26006f6) - date-picker: 修复日期变化时禁用时间段未同步问题 (#7236) (ae67952)
- i18n: 修复 fa-IR.ts 翻译缺失内容 (#7249) (a7a0b41)
- i18n: 修复 pt_BR.ts 翻译缺失内容 (#7218) (95c7816)
- input: 删除 box-sizing 设置 (#7214) (035dc94), closes #7203
- input: 修复 disabled 状态下样式不正确问题 (#7250) (7acb8db)
- radio: 修复 radio 确保取消选中状态返回
false
(#7270) (2704237) - select: 修复下拉选项值为空时键盘事件报错问题 (#7222) (4bd86ca), closes #7242
- slider: 修复
keydown
事件未触发 nzOnAfterChange 问题 (#7252) (f419c07), closes #7251
Features
- alert: 支持
nzAction
自定义操作项 (#7246) (eb3b1ba) - drawer: 支持
nzSize
属性与nzExtra
自定义操作项 (#7227) (d2e5b76) - i18n: 添加
kk_KZ
哈萨克语国际化 (#7261) (3580fb0) - i18n: 添加
km_KH
高棉国际化 (#7220) (f972391)
Performance Improvements
- auto-complete: 减少触发不必要的脏值检测 (#7138) (e95d941)
- back-top: 减少触发不必要的脏值检测 (#7179) (7d091bb)
- carousel: 减少触发不必要的脏值检测 (#7136) (fc991d1)
- collapse: 减少触发不必要的脏值检测 (#7181) (3c3eac9)
- dropdown: 减少触发不必要的脏值检测 (#7135) (4679592)
- image: 减少触发不必要的脏值检测 (#7147) (f0f52a4)
- mention: 减少触发不必要的脏值检测 (#7146) (b72bd27)
- mention: 减少触发不必要的脏值检测 (#7130) (73af728)
- resizable: 减少触发不必要的脏值检测 (#7170) (9a8d794)
- select: 减少触发不必要的脏值检测 (#7133) (a1bbdab)
- select: 减少触发不必要的脏值检测 (#7175) (fd63d22)
- table: 减少触发不必要的脏值检测 (#7174) (e541761)
- table: 减少触发不必要的脏值检测 (#7142) (5a5df13)
- table: 减少触发不必要的脏值检测 (#7140) (ec248c9)
- tabs: 减少触发不必要的脏值检测 (#7144) (148f84d)
- time-picker: 减少触发不必要的脏值检测 (#7143) (72da774)
- tree-view: 减少触发不必要的脏值检测 (#7178) (0054f59)
- typography: 减少触发不必要的脏值检测 (#7185) (ad547fb)