yarn antd 4.7.0

latest releases: 5.16.5, 5.16.4, 5.16.3...
3 years ago
  • 🔥 Input.TextArea support word count. #26952 @zhangchen915
  • 🔥 DatePicker support custom format by passing a function. #26845
  • Form
    • 🔥 Form.Item support tooltip to customize tooltip. #26780
    • 🆕 Form.List support rules validation and add Form.ErrorList to show the errors. #26676
    • 🆕 Form.Item support messageVariables prop. #26597
    • 🐞 Fix Form onValuesChange second param return fully store values instead of validate fields. #26808
  • Upload
    • 🔥 Upload can custom the item of file list by itemRender now. #26333
    • 🆕 Upload custom action icons now supports callback functions. #26684 @mwaddell
  • Table
    • 🆕 Table sticky now support getContainer. #26973
    • 🐞 Fix Table should not render dropdown filter icon when filterDropdown is undefined. #27002 @shangyilim
  • Modal
    • 🛠 Refactor Modal animation code so that it will remove all dom element when closed. #26940
    • 🆕 Modal add modalRender prop which can be used for draggable dialog. #26507 @jhoneybee
  • 🆕 Space add split prop. #26948
  • 🆕 Image preview prop now support visible and onVisibleChange. #26915
  • 🆕 InputNumber will trigger onStep prop when click up/down buttons. #27075
  • 🆕 Avatar size support responsive config. #26244 @willamesoares
  • 🐞 Fix Radio.Button children cannot apply Tooltip. #27050
  • RTL
    • ⬅️ Fix List action button position in RTL mode. #26964
    • ⬅️ Fix Transfer pagination style in RTL mode. #26960
    • ⬅️ Fix Upload style in RTL mode. #26961
    • ⬅️ Optimize Tag style to avoid the interaction between theme and RTL mode. #26955
    • ⬅️ Optimize Cascader and Tree style of the data expansion loading icon in RTL mode. #27010
  • TypeScript
    • 🤖 Fix typo TimeLineItemProps to TimelineItemProps. #27001 @mgcrea
    • 🤖 Fix Slider missing autoFocus prop. #26995 @shangyilim
    • 🤖 Fix Slider step prop not accepting null value. #26984 @shangyilim
    • 🤖 Fix Slider.Range trackStyle and handleStyle should be array. #27033
    • 🤖 Optimize Tag onClose TypeScript definition. #26932
    • 🤖 Improve Form TypeScript definition to support getFieldsValue return generic type without namePath argument. #26791
  • Locale

  • 🔥 Input.TextArea 支持字数统计功能。#26952 @zhangchen915
  • 🔥 DatePicker format 支持传入一个函数以自定义显示内容。#26845
  • Form
    • 🔥 Form.Item 支持 tooltip 属性自定义提示信息。#26780
    • 🆕 Form.List 支持 rules 校验并添加 Form.ErrorList 组件用于展示。#26676
    • 🆕 Form.Item 支持 messageVariables 属性。#26597
    • 🐞 修复 Form onValuesChange 第二个参数返回整个 store 的值而不是有效字段值的问题。#26808
  • Upload
    • 🔥 Upload 添加 itemRender 用于自定义文件列表项。#26333
    • 🆕 Upload removeIcondownloadIcon 现在支持传入一个函数。#26684 @mwaddell
  • Table
    • 🆕 Table sticky 支持 getContainer 以指定滚动容器。#26973
    • 🐞 修复 Table column.filterDropdownundefined 时依旧会展示筛选菜单的问题。#27002 @shangyilim
  • Modal
    • 🛠 重构 Modal 组件动画,现在关闭时将完全清理相关 Dom 节点。#26940
    • 🆕 Modal 新增 modalRender 属性,支持可拖拽的对话框。#26507 @jhoneybee
  • 🆕 Space 增加 split 属性以支持分隔符间隔。#26948
  • 🆕 Image preview 属性扩展支持 visibleonVisibleChange#26915
  • 🆕 InputNumber 点击上下按钮时将触发 onStep#27075
  • 🆕 Avatar size 可以进行响应式的大小配置。#26244 @willamesoares
  • 🐞 修复 Radio.Button 内无法使用 Tooltip 的问题。#27050
  • RTL
    • ⬅️ 修复 List 按钮在 RTL 模式下的样式。#26964
    • ⬅️ 优化 Transfer 分页在 RTL 模式下的样式。#26960
    • ⬅️ 修复 Upload RTL 模式下样式。#26961
    • ⬅️ 优化 Tag 样式避免主题和 RTL 模式互相影响。#26955
    • ⬅️ 优化 Cascader/Tree 组件中数据扩展 loading 按钮在 RTL 模式下的样式。#27010
  • TypeScript
    • 🤖 修复 TimeLineItemPropsTimelineItemProps#27001 @mgcrea
    • 🤖 修复 Slider autoFocus 属性定义。#26995 @shangyilim
    • 🤖 修复 Slider step 属性不接收 null 的问题。#26984 @shangyilim
    • 🤖 修复 Slider.Range trackStylehandleStyle 应该接受数组的问题。#27033
    • 🤖 优化 Tag onClose TypeScript 定义。#26932
    • 🤖 调整 Form 定义,现在当 getFieldsValue 不配置 namePath 时返回类型为 FormValue 的泛型定义。#26791
  • 国际化

Don't miss a new antd release

NewReleases is sending notifications on new releases.