18.0.0
18.0.0
2024-06-06
⚠ BREAKING CHANGES
- collapse: change nzExpandIconPosition type from
left|righttostart|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)