yarn antd 4.10.0

latest releases: 5.18.3, 5.18.2, 5.18.1...
3 years ago

🎉 Happy New Year!

  • 🐞 Fix the compatibility issue of less 4.0.0.
  • 🐞 Fix the problem of cursor jumping when Typography is editable. #28545
  • 🐞 Fix the problem that repeatedly clicking on expanded nodes when Tree dynamically loads data will lead to wrong status.#28349 @liuchao233
  • 🐞 Fix the problem that TreeSelect & Select cannot open the dropdown menu when it's searchValue has value. #28574
  • 🐞 Fix Dropdown disabled menu item link style. #28578
  • 🐞 Fix Progress steps display accuracy issue. #28530 @gaoryrt
  • 🐞 Fix Radio align issue in Chrome. #28616
  • 🐞 Fix Collapse arrow position not aligned when change @collapse-header-padding variable. #28507
  • 💄 Optimize the white border style of Card images. #28624
  • Input
    • 🐞 Fix TextArea value get cut when input chinese words. #28456
    • 🆕 The showCount property of Input.TextArea now supports passing in a method to customize the display format of the number. #28145 @MrHeer
    • 🆕 Input focus supports configuring the cursor position when getting focus. #28602
  • Modal
    • 🆕 Modal.method adds an afterClose callback that will be triggered after the Modal is completely closed. #28053 @liuchao233
    • 🐞 Fix the problem that Modal can be dragged outside the viewport. #28438 @mumiao
  • Table
    • 🐞 Fix the problem that Table childrenColumnName and checkStrictly={false} cannot be used together. #28568
    • 🐞 Fix Table selection abnormal behavior when inside Checkbox.Group. #28576
    • 🐞 Fix the problem that the sticky header style is messy when there is no data. #28323
    • 🐞 Fix the problem that onChange listener always receives empty list as filters parameter if use a custom filterDropdown. #28627 @Meowu
    • 🆕 Adds expandable.columnWidth to customize the width of the expanded column. #28249
    • 🆕 Adds clear all option from selection. #28580 @n0ruSh
  • Image
  • Upload
    • 🐞 Fix a warning even when not using transformFile. #28455 @YanYuanFE
    • 🐞 Fix Upload fileList cannot work with data that is produced by immer. #28636 @mumiao
    • 🆕 Upload adds a new maxCount property to limit the number of files. #28367
  • DatePicker
  • Select
  • 🆕 Slider add a new range.draggableTrack prop. #28592
  • 🆕 Descriptions support setting labelStyle & contentStyle directly. #28613
  • 🆕 message added a new onClick callback that will be triggered when the message is clicked. #28148 @ZeroTo0ne
  • 🆕 The scrollToFirstError property of the Form adds support for setting the position for scrolling. #28272 @vouis
  • 🆕 Steps support reponsive which allows to turn off reponsive change. #28459
  • 🌐 Localization
    • 🇭🇷 Improved Croatian language support. #28458
  • TypeScript

🎉 新年快乐!

  • 🐞 修复不兼容 less 4.0.0 的问题。
  • 🐞 修复 Typography 可编辑态光标跳动的问题。#28545
  • 🐞 修复 Tree 动态加载数据时重复点击展开节点会导致状态错误的问题。#28349 @liuchao233
  • 🐞 修复 TreeSelect & Select searchValue 在受控且有值时,下拉菜单无法打开的问题。#28574
  • 🐞 修复 Dropdown 禁用菜单项内的链接样式。#28578
  • 🐞 修复 Progress steps 显示精度问题。#28530 @gaoryrt
  • 🐞 修复 Radio 在 Chrome 下的对齐样式问题。#28616
  • 🐞 修复 Collapse 修改 @collapse-header-padding 时箭头位置不居中的问题。#28507
  • 💄 优化 Card 图片白边样式。#28624
  • Input
    • 🐞 修复 Input.TextArea 有 maxLength 时输入中文被截断的问题。#28456
    • 🆕 Input.TextArea 的 showCount 属性现在支持传入一个方法来自定义数字的展示格式了。#28145 @MrHeer
    • 🆕 Input focus 支持配置获取焦点时的光标位置。#28602
  • Modal
    • 🐞 修复 Modal 可以被拖拽到窗口外的问题。#28438 @mumiao
    • 🆕 Modal.method 新增 afterClose 回调,会在 Modal 完全关闭后触发。#28053 @liuchao233
  • Table
    • 🐞 修复 childrenColumnNamecheckStrictly={false} 无法一起使用的问题。#28568
    • 🐞 修复 Checkbox.Group 内选择行为异常的问题。#28576
    • 🐞 修复无数据时固定表头样式错乱的问题。#28323
    • 🐞 修复自定义 filterDropdownonChange 事件的 filters 参数总是接收空数组的问题。#28627 @Meowu
    • 🆕 新增 expandable.columnWidth 以自定义展开列的宽度。#28249
    • 🆕 选择项新增清空所有选项。#28580 @n0ruSh
  • Image
  • Upload
    • 🐞 修复不使用 transformFile 时也会有警告的问题。#28455 @YanYuanFE
    • 🐞 修复 Upload 的 fileList 和 immer 数据配合使用报错问题。#28636 @mumiao
    • 🆕 Upload 新增 maxCount 属性以限制文件数量。#28367
  • DatePicker
  • Select
  • 🆕 Slider 新增 range.draggableTrack 以支持范围刻度整体可拖拽。#28592
  • 🆕 message 新增 onClick 回调,会在消息被点击时触发。#28148 @ZeroTo0ne
  • 🆕 Descriptions 上可以统一设置 labelStylecontentStyle#28613
  • 🆕 Form 的 scrollToFirstError 属性支持设置滚动的位置参数。#28272 @vouis
  • 🆕 Steps 新增 reponsive 属性用于关闭响应式样式。#28459
  • 🌐 国际化
    • 🇭🇷 改进克罗地亚语的支持。#28458
  • TypeScript

Don't miss a new antd release

NewReleases is sending notifications on new releases.