Releases: NG-ZORRO/ng-zorro-antd
Releases · NG-ZORRO/ng-zorro-antd
18.2.0
18.2.0
2024-11-07
Bug Fixes
- i18n: add missing translations to
nb_NO
(#8712) (8c9bcd1) - i18n: add missing translations to
hu_HU
(#8769) (9e21ae8) - badge: NG0955 warning in nz-badge-sup component (#8858) (cc52555)
- select: multiple select cause switch size flash when init (#8851) (d28876c)
- carousel: correctly switch slides in rtl mode (#8705) (85f23a1)
- drawer: emit
nzVisibleChange
when close on navigation (#8850) (29827df) - modal,drawer: secondary overlays not scrolling inside (#8804) (ed7951d)
- modal: remove dark backdrop when
nzMask
is false (#8798) (f2f04fe) - transfer: correctly set transfer button disable state (#8824) (195ad26)
Features
- datepicker: send event emitter when panel mode change (#8685) (6462a47)
- tabs: support
destroyInactiveTabPane
(#8845) (0de6d62)
18.2.0
2024-11-07
Bug Fixes
- i18n: 添加国际化文案
nb_NO
(#8712) (8c9bcd1) - i18n: 添加国际化文案
hu_HU
(#8769) (9e21ae8) - badge: 修复组件中的 NG0955 警告 (#8858) (cc52555)
- select: 修复多选模式下和 switch 一起使用时,引发初始化时 switch 组件大小闪烁 (#8851) (d28876c)
- carousel: 修复 rtl 模式下轮播图切换异常 (#8705) (85f23a1)
- drawer: 导航关闭时发射
nzVisibleChange
事件 (#8850) (29827df) - modal,drawer: 修复弹出容器中滚动异常 (#8804) (ed7951d)
- modal: 修复
nzMask
为false
时遮罩被渲染 (#8798) (f2f04fe) - transfer: 正确更新穿梭按钮的禁用状态 (#8824) (195ad26)
Features
18.1.1
18.1.1
2024-08-20
Bug Fixes
- fix ngtypecheck reference issue caused by @angular/compiler-cli#56945 (#8699) (8e459c1)
- date-picker: fix the NG0956 warning when recreating entire collection (#8658) (70a0817)
- grid: fix the NG0955 warning in showcase (#8679) (6414c92)
- tree-select: clear selected nodes when user set value (#8693) (91927bc)
18.1.1
2024-08-20
Bug Fixes
18.1.0
18.1.0
2024-07-25
Bug Fixes
- cascader: hide placeholder when trigger
compositionstart
event (#8641) (17b0ea3) - i18n: add missing translations to
pt_BR
(#7790) (6fc1c78) - i18n: add scanned field to QRCode for
fr_BE
,fr_CA
,fr_FR
andlv_LV
(#8614) (9b69410) - schematics: import missing
RouterLink
in template (#8621) (032a0c2) - transfer: disabling selection does not affect selecting all (#8633) (75d8c7b)
Features
- breadcrumb: add
nzRouteFn
(#6313) (6d805c4) - i18n: add
en_AU
(#7919) (c4e6c8d) - icon: add
provideNzIcons
andprovideNzIconPatchs
API (#8650) (b22672d) - popconfirm: support popconfirm template context (#7989) (6d27073)
- table: support
nzSummary
(#8639) (20bb5b2) - table: support
nzFixed
fornzSummary
(#8642) (bef12e6) - tree-select: support TemplateRef type for
nzNotFoundContent
(#8638) (13e8a45)
18.1.0
2024-07-25
Bug Fixes
- cascader:
compositionstart
事件触发时隐藏 placeholder (#8641) (17b0ea3) - i18n: 更新
pt_BR
国际化文案 (#7790) (6fc1c78) - i18n: 更新
fr_BE
,fr_CA
,fr_FR
,lv_LV
国际化文案 (#8614) (9b69410) - schematics: 修复模板中
RouterLink
引入缺失问题 (#8621) (032a0c2) - transfer: 修复选项全部禁用后全选按钮仍可点击 (#8633) (75d8c7b)
Features
- breadcrumb: 新增
nzRouteFn
以格式化面包屑路由 (#6313) (6d805c4) - i18n: 添加国际化文案
en_AU
(#7919) (c4e6c8d) - icon: 新增
provideNzIcons
和provideNzIconsPatch
API (#8650) (b22672d) - popconfirm: 新增支持
nzPopconfirmTitleContext
上下文 (#7989) (6d27073) - table: 新增支持
nzSummary
总结栏 (#8639) (20bb5b2) - table: 总结栏支持
nzFixed
固定 (#8642) (bef12e6) - tree-select:
nzNotFoundContent
支持 TemplateRef 类型 (#8638) (13e8a45)
18.0.1
18.0.1
2024-06-27
Bug Fixes
- graph: fix @for track function (#8587) (7687ff2)
- icon: fix @for track function (#8588) (8a27bab)
- table: fix @for track function (#8593) (b275063)
- pagination: fix @for track function (#8586) (6bb95c0)
- i18n: add missing german translations
de_DE
(#8605) (8d75378) - i18n: add scanned field to QRCode
fa_IR
(#8597) (9c6e4bf) - table: missing no-result in fixed header table (#8574) (6cff80e)
18.0.1
2024-06-27
Bug Fixes
- graph: 修复 @for track 表达式异常 (#8587) (7687ff2)
- icon: 修复 @for track 表达式异常 (#8588) (8a27bab)
- table: 修复 @for track 表达式异常 (#8593) (b275063)
- pagination: 修复 @for track 表达式异常 (#8586) (6bb95c0)
- i18n: 更新
de_DE
国际化文案 (#8605) (8d75378) - i18n: 更新
fa_IR
国际化文案 (#8597) (9c6e4bf) - table: 修复固定表头下渲染内容缺失问题 (#8574) (6cff80e)
18.0.0
18.0.0
2024-06-06
⚠ BREAKING CHANGES
- collapse: change nzExpandIconPosition type from
left
|right
tostart
|end
(#8561) (3ad5674) - no longer use inline JavaScript in Less (#8552) (7e873c8)
No need to wrap Less functions provided by antd (including colorEasing
, colorPalette
, tinycolor
) with ~`` anymore.
- color(~`colorPalette('@{primary-color}', 5)`)
+ color(colorPalette('@{primary-color}', 5))
Bug Fixes
- cascader,select,time-picker,tooltip,tree-select: take in account shadow dom when getting the target of an event (#7853) (843b703)
- tooltip: fix arrow color when custom color (#8555) (92c586b)
- upload: prevent drop event for firefox only (#8551) (c6e7bd7)
- rate: half value when allow half is false (#8536) (7742fe3)
Features
- date-picker: support quarter selection of date picker (#8478) (3513889), closes #7818 #7380
- qrcode: qrcode supports scanned state (#8447) (0be6178)
- rate: emit hover change when leave (#8448) (38dcc31)
- statistic: support for loading state (#8537) (21c8b62)
- table: support setting virtual height when having no data (#8457) (724d841)
18.0.0
2024-06-06
⚠ BREAKING CHANGES
- collapse:
nzExpandIconPosition
类型从left
|right
变更为start
|end
(#8561) (3ad5674) - Less 中不再使用 inline JavaScript (#8552) (7e873c8)
使用 antd 提供的 Less 函数时不再需要用 ~`` 包裹,例如:
- color(~`colorPalette('@{primary-color}', 5)`)
+ color(colorPalette('@{primary-color}', 5))
受影响的函数包括:colorEasing
,colorPalette
,tinycolor
Bug Fixes
- cascader,select,time-picker,tooltip,tree-select: 修复在 shadow DOM 中获取
EventTarget
异常问题 (#7853) (843b703) - tooltip: 修复箭头颜色未被自定义颜色覆盖问题 (#8555) (92c586b)
- upload: 仅在 firefox 浏览器中阻止拖拽事件 (#8551) (c6e7bd7)
- rate: 修复
nzAllowHalf
为false
时展示半星 (#8536) (7742fe3)
Features
17.4.1
17.4.1
2024-05-24
Bug Fixes
- card: use skeleton instead to card-loading-content (#8528) (a36ebd3)
- color-picker: avoid emitted twice nzOnChange event (#8530) (5dea059)
- list: static query list-item-action template (#8527) (85301e0)
- popconfirm: fix message icon style (#8511) (4f1f9bb)
- tooltip,popover,popconfirm: fix hydration error (#8512) (5009ec0)
Features
Performance Improvements
- back-top: remove the redundant changeDetectorRef (c1e39e7)
- qr-code: improved background drawing efficiency (#8543) (db09bf7)
17.4.1
2024-05-24
Bug Fixes
- card: 使用
skeleton
代替card-loading-content
(#8528) (a36ebd3) - color-picker: 避免两次
nzOnChange
事件 (#8530) (5dea059) - list: 静态查询列表项操作模板 (#8527) (85301e0)
- popconfirm: icon 样式丢失 (#8511) (4f1f9bb)
- tooltip,popover,popconfirm: SSR 引入的异常 (#8512) (5009ec0)
Features
Performance Improvements
17.4.0
17.4.0
2024-04-19
Bug Fixes
- autocomplete: remove
NgZone
dependency (#8462) (24bb1bc) - button: add
ant-btn-default
class (#8501) (1588199) - calendar: year dropdown update issue when date is changed programmatically (#8286) (ee68a2c)
- date-picker: remove unsafe style (#8458) (e6b83eb)
- drawer: remove inline style to resolve CSP issue (#8065) (5e89441)
- graph: bring back the disappeared arrows of edge (#8493) (342841c)
- graph: remove
NgZone
dependency (#8460) (a4ec21a) - icon: missing swap icon (#8433) (f1a4050)
- image: wrong next/prev btn in rtl mode (#8468) (886138d)
- list: remove
NgZone
dependency (#8439) (1ec0e76) - notification:
nzMaxStack
initial value error (#8451) (2c09162) - pagination: add accessible name for
nz-pagination-item
(#8476) (47ee143) - slider: fix the style of markers in vertical mode (#8494) (9bcce6c)
- tag: borderless style is invalid in default state (#8495) (b35e6d6), closes #8492
- typography: remove
NgZone
dependency (#8440) (af7fb5d) - upload: remove inline style to resolve CSP issue (#8064) (1ac84a8)
Features
- modal: supports masked layer response for each click (#8429) (31b90fa)
- notification: popup order adjustment (#8450) (742f14a)
- select: support
nzOptionHeightPx
in global config (#8504) (4efc5ab), closes #8503 - skeleton: support for square shape of skeleton button (#8481) (af1483a)
17.4.0
2024-04-19
Bug Fixes
- autocomplete: 移除
NgZone
依赖 (#8462) (24bb1bc) - button: 补充
ant-btn-default
Class (#8501) (1588199) - calendar: 修复年份下拉框数据更新异常问题 (#8286) (ee68a2c)
- date-picker: 移除内联样式 (#8458) (e6b83eb)
- drawer: 移除内联样式 (#8065) (5e89441)
- graph: 修复箭头渲染异常问题 (#8493) (342841c)
- graph: 移除
NgZone
依赖 (#8460) (a4ec21a) - icon: 补充 SwapOutline 图标 (#8433) (f1a4050)
- image: 修复 rtl 模式下预览切换按钮位置异常 (#8468) (886138d)
- list: 移除
NgZone
依赖 (#8439) (1ec0e76) - notification: 修复
nzMaxStack
初始值问题 (#8451) (2c09162) - pagination:
nz-pagination-item
支持可访问名称 (#8476) (47ee143) - slider: 修复垂直模式下标度刻记样式异常 (#8494) (9bcce6c)
- tag: 修复无边框样式异常 (#8495) (b35e6d6), closes #8492
- typography: 移除
NgZone
依赖 (#8440) (af7fb5d) - upload: 移除内联样式 (#8064) (1ac84a8)
Features
17.3.0
17.3.0
2024-03-11
Bug Fixes
- doc: replaced link for monaco editor options (#8393) (fdfc816)
- docs: fix progress, code-editor docs error (#8383) (407e76a)
- select: issue with nzScrollToBottom while display scaling (#8355) (bb0468e)
- avatar: avatar not re-scaling properly (#8365) (e7b1fa0)
- carousel: not adapting to new size when resizing (#8374) (6e1decb)
- cdk: zIndex is not used properly when creating overlay (#8373) (b932d65)
- i18n: add missing pt texts (#8426) (d575c53)
- i18n: added missing translations to ja_JP (#8290) (662b730)
- i18n: added missing translations to vi_VN (#8295) (987a799)
- tabs: slide indicator missing in small screens (#8372) (a0b08be)
- tabs: wrong cursor (#8386) (3dc1579)
Features
- improve schematics (#8411) (921f1c1)
- anchor: horizontal anchors (#8342) (9cc44f8)
- calendar: custom header (#8418) (ec7ec35)
- color-picker: built-in color-picker package (#8428) (534fe62)
- drawer: return componentRef when nzContent is a component (#8339) (f71162b)
- image: now supports horizontal and vertical flip (#8168) (e856515)
- image: zoom using mouse wheel (#8180) (4235c29)
- modal: draggable (#8419) (ce33294)
- modal: expose componentRef nzContent (#8389) (e53000e)
- segmented: now supports segmented with icon only (#8368) (e8dea7a)
- select: select max tag count (#8371) (18b898e)
17.3.0
2024-03-11
Bug Fixes
- doc: 更新 monaco editor 参考链接 (#8393) (fdfc816)
- docs: 修复部分文档问题 (#8383) (407e76a)
- select: 修复缩放页面时
nzScrollToBottom
未触发问题 (#8355) (bb0468e) - avatar: 修复部分场景无法正确缩放问题 (#8365) (e7b1fa0)
- carousel: 修复调整大小时不适应新的大小问题 (#8374) (6e1decb)
- cdk:
zIndex
设置问题 (#8373) (b932d65) - i18n: 添加国际化文案 (#8426) (d575c53)
- i18n: 添加国际化文案
ja_JP
(#8290) (662b730) - i18n: 添加国际化文案
vi_VN
(#8295) (987a799) - tabs: 修复小屏幕下
tab
定位样式丢失问题 (#8372) (a0b08be) - tabs: 修复光标样式 (#8386) (3dc1579)
Features
- 优化 schematics (#8411) (921f1c1)
- anchor: 支持水平锚点 (#8342) (9cc44f8)
- calendar: 支持自定义 header (#8418) (ec7ec35)
- color-picker: 转为内置
color-picker
组件 (#8428) (534fe62) - drawer:
nzContent
类型为组件时返回componentRef
(#8339) (f71162b) - image: 支持水平和垂直翻转 (#8168) (e856515)
- image: 支持鼠标滚动缩放 (#8180) (4235c29)
- modal: 支持拖拽 (#8419) (ce33294)
- modal:
nzContent
返回componentRef
对象 (#8389) (e53000e) - segmented: 支持仅图标展示 (#8368) (e8dea7a)
- select: 支持多选最大值设置 (#8371) (18b898e)
17.2.0
17.2.0
2024-01-29
Bug Fixes
- table: add missing import to nz-table-inner-scroll (#8328) (936317e)
- tree-select: fix search box exception when Chinese search (#8324) (aacd62b)
- pipeline job failed (#8367) (6024bcc)
Features
- color-picker: make color picker standalone (#8316) (b050474)
- tag: borderless mode (#8320) (e428083)
- timeline: allow custom color (#8335) (66a88db)
17.2.0
2024-01-29
Bug Fixes
- table: 修复
nz-table-inner-scroll
未正确 import 问题 (#8328) (936317e) - tree-select: 修复中文搜索异常问题 (#8324) (aacd62b)
- 修复 pipeline 依赖报错问题 (#8367) (6024bcc)
Features
17.1.0
17.1.0
2023-12-17
Bug Fixes
- fix logic for generating directive tags (#8171) (e37eab2)
- calendar: style radio button not apply (#8298) (996e141)
- core: warning cron parser common js dependencies (#8277) (138d666)
- cron-expression: output type error (#8189) (ad02381), closes #8188
- select: input clear when nzAutoClear (#8167) (fefcb68)
- tabs: aria controls have wrong value (#8237) (d9a2d27)
- tooltip: color of the tooltip arrow does not change (#8192) (bc344ed)
Features
- alert: support standalone component (#8182) (167bed0)
- anchor: support standalone component (#8185) (03cda21)
- autocomplete: support standalone component (#8193) (548e842)
- avatar: support standalone component (#8194) (4e2cb74)
- back-top: support standalone component (#8195) (db5d5f4)
- badge: support standalone component (#8201) (3d1427f)
- breadcrumb: support standalone component (#8202) (165f171)
- button: support standalone component (#8275) (3c09507)
- calendar: support standalone component (#8274) (80d68a3)
- card: component support standalone (#8273) (0902a4b)
- carousel: support standalone component (#8272) (e4244fb)
- cascader: support standalone component (#8271) (3ab6e5b)
- cdk: support standalone component (#8270) (d66bcba)
- checkbox: support standalone component (#8269) (1491fb3)
- code-editor: support standalone component (#8268) (24547c6)
- collapse: support standalone component (#8267) (dc43fa5)
- color-picker: disable alpha (#8178) (0bebd6a)
- comment: support standalone component (#8266) (5af11ea)
- core: make no-animation standalone (#8257) (de579bc)
- core: support standalone component (#8265) (c51e8da)
- cron-expression: support standalone component (#8264) (ae6ceeb)
- date-picker: support standalone component (#8263) (ac48fba)
- description: support standalone component (#8262) (128f4c0)
- divider: support standalone component (#8258) (3a7cd50)
- drawer: support standalone component (#8256) (2fbe4c0)
- dropdown: support standalone component #8254 (#8255) (c5df26f)
- empty: support standalone component (#8254) (15636d2)
- experimental-image: support standalone component (#8253) (7325781)
- flex: add flex component (#8145) (f8fedfc)
- form: support standalone component (#8252) (e742e39)
- graph: support standalone component (#8251) (d2f1d30)
- grid: support standalone component (#8250) (208652c)
- i18n: support standalone component (#8249) (a91cac7)
- icon: support standalone component (#8248) (b0dbfbc)
- image: support standalone component (#8200) (63b8777)
- input-number: support standalone component (#8246) (6210fa0)
- input: support standalone component (#8247) (0a7028c)
- layout: support standalone component (#8245) (d21f8a1)
- list: support standalone component (#8244) (1f3010f...