Skip to content

3.24.0

Compare
Choose a tag to compare
@ant-design-bot ant-design-bot released this 16 Oct 06:36
· 11431 commits to master since this release
  • 🔥 Promote Yuque on home page.
  • Table
    • 🌟 Added tableLayout property for table-layout attribute. And using tableLayout="fixed" by default in scroll table to resolve align issue caused by cell content. #17284
    • 🌟 Added column.ellipsis to ellipsize cell content.
    • 🌟 Added the scroll.scrollToFirstRowOnChange property to set whether to scroll to the top of the table after page changing. #18726
    • 🌟 filterDropdown added a visible parameter to get the display state of the dropdown box. #17614 @sedx
    • 🌟 title added a sortColumn parameter to get the currently sorted column. #19012 @swillis12
    • 🌟 The sorter parameter of onChange will always contain column information when sorting. #19226
    • 🐞 Fix Table filter submenu checkbox margin. #e1a4f28
  • 🌟 Anchor added a onChange attribute to listen for changes to anchor links. #18715
  • Upload
  • 🌟 Input.Search added a loading property to show the state in the load. #18771
  • 🌟 Grid's gutter property added support for vertical spacing. Now you can set an array for gutter and the second value of the array for vertical spacing. #18979
  • 🌟 message added support for updating content with a unique key. #18678
  • 🌟 Layout added a zeroWidthTriggerStyle property to control the style of the special trigger that appears when collapsedWidth is 0. #19079
  • 🌟 Drawer added the drawerStyle and headerStyle properties. #19109
  • PageHeader
    • 💄 Redesigned. #19100
    • 🌟 Added ghost property to set whether white background is needed. #19100
  • ConfigProvider
    • 🌟 Added pageHeader to globally control the style of PageHeader. #19100
    • 🐞 Fixed the issue that moment can't be tree-shark. #19115
  • 🐞 Fixed the issue that the removeIcon and clearIcon properties of TreeSelect didn't work. #18949
  • 🐞 Fixed the issue that the switcherIcon does not take effect after the Tree setting showLine. #18829 @MrHeer
  • 🐞 Fixed the issue that the Slider component set the handle size and positioned incorrectly. #19120
  • Collapse
  • 🐞 Fixed the issue that defaultExpandAll does not take effect when Tree.DirectoryTree component passed treeData. #19148
  • 🐞 Fixed the issue with some of the Menu styles under Dropdown. #19150
  • 🐞 Fixed Cascader's placeholder internationalization error. #19227 @kagawagao
  • 🌟 Added less variables @typography-title-margin-top, @typography-title-margin-bottom. #18746
  • 🗑 Discard the autosize property of Input.TextArea, use autoSize instead. #19177

  • 🔥 首页新增语雀的推广链接。
  • Table
    • 🌟 新增 tableLayout 属性,支持设置表格的 table-layout 布局,并在固定表头/列下默认开启 tableLayout="fixed",解决因为表格自动根据内容排版造成的列对齐问题。#17284
    • 🌟 新增 column.ellipsis 支持单元格内容自动省略。
    • 🌟 新增 scroll.scrollToFirstRowOnChange 属性,用于设置在翻页后是否滚动到表格顶部。#18726
    • 🌟 filterDropdown 新增 visible 参数,用于获取下拉框的显示状态。#17614 @sedx
    • 🌟 title 方法新增 sortColumn 参数,用于获取当前排序的列。#19012 @swillis12
    • 🌟 排序时 onChangesorter 参数将始终包含 column 信息。#19226
    • 🐞 修复过滤下拉菜单的间距问题。#e1a4f28
  • 🌟 Anchor 新增 onChange 属性,用于监听锚点链接的改变。#18715
  • Upload
  • 🌟 Input.Search 新增 loading 属性,用于展示加载中的状态。#18771
  • 🌟 Grid 的 gutter 属性新增垂直间距的支持,现在你可以给 gutter 设置一个数组,数组的第二个值就表示垂直间距。#18979
  • 🌟 message 新增支持通过唯一的 key 来更新内容。#18678
  • 🌟 Layout 新增 zeroWidthTriggerStyle 属性以控制当 collapsedWidth0 时,出现的特殊 trigger 的样式。#19079
  • 🌟 Drawer 新增 drawerStyleheaderStyle 属性。#19109
  • PageHeader
    • 💄 重新设计了样式 #19100
    • 🌟 新增 ghost 属性,用于设置是否需要白底背景。#19100
  • ConfigProvider
    • 🌟 新增 pageHeader 用于全局控制 PageHeader 的样式。#19100
    • 🐞 修复 moment 不能被 tree shaking 的问题。#19115
  • 🐞 修复 TreeSelect 的 removeIconclearIcon 属性不生效的问题。#18949
  • 🐞 修复 Tree 设置 showLineswitcherIcon 不生效的问题。#18829 @MrHeer
  • 🐞 修复 Slider 组件设置 handle 大小后定位错误的问题。#19120
  • Collapse
  • 🐞 修复 Tree.DirectoryTree 组件传入 treeDatadefaultExpandAll 不生效的问题。#19148
  • 🐞 修复 Dropdown 下部分 Menu 样式错乱的问题。#19150
  • 🐞 修复 Cascader 的 placeholder 国际化错误。#19227 @kagawagao
  • 🌟 新增 less 变量 @typography-title-margin-top@typography-title-margin-bottom#18746
  • 🗑 废弃 Input.TextArea 的 autosize 属性,请使用 autoSize 代替。#19177