Skip to content

antd 3.4.0

  • Tree
    • 🛠 In this version, we refactored the underlying code of Tree to resolve some long living issues.
    • 🌟 Added defaultExpandParent for expanding parent at first render.
    • 🌟 Added disabled for disabling the whole tree.
    • 🌟 Added TreeNode[icon] to allow setting custom node icon.
    • 🌟 Improved the check logic for disabled TreeNode.
  • 🌟 Anchor added getContainer for setting the container of scroll content.
  • 🌟 Table added a new less variable @table-expanded-row-bg. #9789
  • 🐞 Fixed a less syntax error. #9832 @jojoLockLock
  • 🐞 Fixed moment.locale invoking error in LocaleProvider. #9853
  • 🐞 Fixed issue resulting in style of WeekPicker not works. #9848
  • 🐞 Fixed type definition of Layout.Sider. #9885 @zachguo
  • 💄 Improved style of Modal for long contents. #9592
  • 🌟 Added new locale Slovenian.

  • Tree
    • 🛠 在这个版本里,我们重构了 Tree 底层的代码,以解决一些存在了很久的问题。
    • 🌟 新增 defaultExpandParent 用于在第一次渲染时自动展开父节点。
    • 🌟 新增 disabled 用于禁用整棵树。
    • 🌟 TreeNode 新增 icon 用于设置自定义图标。
    • 🌟 优化了 TreeNode 设置 disabled 时的勾选逻辑。
  • 🌟 Anchor 新增 getContainer 用于指定内容滚动的容器。
  • 🌟 Table 新增 less 变量 @table-expanded-row-bg#9789
  • 🐞 修复一处 less 语法错误。#9832 @jojoLockLock
  • 🐞 修复 LocaleProvider 中 moment.locale 调用报错的问题。 #9853
  • 🐞 修复 WeekPicker 的 style 属性不生效的问题。#9848
  • 🐞 修复 Layout.Sider 的 TypeScript 定义。#9885 @zachguo
  • 💄 优化了 Modal 中超长内容的显示。#9592
  • 🌟 新增斯洛维尼亚语。