Skip to content

18.0.0

Compare
Choose a tag to compare
@simplejason simplejason released this 19 Jun 02:08
· 190 commits to master since this release
1f137a3

18.0.0

2024-06-06

⚠ BREAKING CHANGES

  • collapse: change nzExpandIconPosition type from left | right to start | 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


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))

受影响的函数包括:colorEasingcolorPalettetinycolor

Bug Fixes

  • cascader,select,time-picker,tooltip,tree-select: 修复在 shadow DOM 中获取 EventTarget 异常问题 (#7853) (843b703)
  • tooltip: 修复箭头颜色未被自定义颜色覆盖问题 (#8555) (92c586b)
  • upload: 仅在 firefox 浏览器中阻止拖拽事件 (#8551) (c6e7bd7)
  • rate: 修复 nzAllowHalffalse 时展示半星 (#8536) (7742fe3)

Features