yarn antd 4.18.0

latest releases: 5.21.0, 5.20.6, 5.20.5...
2 years ago
  • 🐞 Fix Skeleton missing style prop. #33405
  • 🐞 Fix Descriptions overflow style cause other components being cut. #33392
  • 🆕 Unique Select-like component generic as OptionType to support FieldNames type. #33364
  • 🐞 Fix Slider rail hover color when it is disabled. #33369 @chen-jingjie
  • Table
    • 🆕 Table colSpan & rowSpan move to onCell function to optimize performance. #33114
    • 🆕 Table support Table.EXPAND_COLUMN & Table.SELECTION_COLUMN to customize column order. #33026
  • Form
    • 🔥 Form.List nest Form.Item no longer need pass fieldKey anymore. #32689
    • 🆕 Form label can wrap via setting labelWrap now. #33048
  • 🆕 ConfigProvider support Form colon. 9bc148a @seaSuper
  • 🆕 add prefix to InputNumber. #32600 @Austaras
  • 🆕 Modal static function support wrapClassName prop. #32676 @cwjTerrace
  • 🆕 Popconfirm add showCancel prop. #32620 @cwjTerrace
  • 🆕 Dropdown.Button supports loading property now. #32467 @kaysonwu
  • 🆕 Input adds showCount property. #32522 @cwjTerrace
  • 🆕 Alert supports closeIcon now. #32345 @chen-jingjie
  • Typography
    • 🆕 for editable Paragraph, edit can be triggered by clicking the icon or the value itself (or both) with triggerType. #32219 @kachanovskiy
    • 🆕 Typography support enterIcon to config confirm icon. #32220 @kachanovskiy
  • 🆕 Divider added orientationMargin APIs for customizing margin-left/right of title. #32084 @neotan
  • 🆕 Avatar add maxPopoverTrigger to support configuration of popover trigger. #32197 @RiteshMakan
  • 🆕 Upload supports showUploadList.previewIcon now. #32059 @1040961807
  • 🏴󠁥󠁳󠁣󠁴󠁿 Fix Catalan (ca_ES) missing translation key with Form. #33377 @ZzGGitter
  • 🇫🇮 Fix Finland (fi_FI) missing translation key with Table. #33372 @ZakarFin
  • 🇰🇭 Added locales for Khmer (km_KH) translation. #32853 @vireakkeosokvibol
  • TypeScript

  • 🐞 修复 Skeleton 不支持 style 的问题。#33405
  • 🐞 修复 Descriptions 内使用其他组件会被切割的问题。#33392
  • 🆕 统一类 Select 组件泛型定义为 OptionType 以支持自定义 FieldNames 匹配。#33364
  • 🐞 修复 Slider 禁用时 hover 色彩的问题。#33369 @chen-jingjie
  • Table
    • 🆕 Table colSpanrowSpan 迁移至 onCell 方法中,以优化渲染性能。#33114
    • 🆕 Table 支持 Table.EXPAND_COLUMN 和 Table.SELECTION_COLUMN 以实现自定义列排序。#33026
  • Form
    • 🔥 Form.List 嵌套使用 Form.Item 时不再需要手工指定 fieldKey#32689
    • 🆕 Form 现在支持通过 labelWrap 开启标签可换行。#33048
  • 🆕 ConfigProvider 支持 Form 的 colon 配置。9bc148a @seaSuper
  • 🆕 InputNumber 增加 prefix 属性支持。#32600 @Austaras
  • 🆕 Modal 静态方法支持 wrapClassName 属性。#32676 @cwjTerrace
  • 🆕 Popconfirm 新增是否显示取消按钮。#32620 @cwjTerrace
  • 🆕 Dropdown.Button 新增 loading 属性。#32467 @kaysonwu
  • 🆕 Input 新增 showCount 属性。#32522 @cwjTerrace
  • 🆕 Alert 支持 closeIcon 自定义关闭图标。#32345 @chen-jingjie
  • Typography
    • 🆕 对于可编辑段落,可以通过配置 triggerType 配置触发编辑状态。#32219 @kachanovskiy
    • 🆕 Typography 支持 enterIcon 以设置编辑确认图标。#32220 @kachanovskiy
  • 🆕 Divider 增加了 orientationMargin 属性以设置间距。#32084 @neotan
  • 🆕 Avatar.Group 添加 maxPopoverTrigger 以定制剩余头像展示的触发逻辑。#32197 @RiteshMakan
  • 🆕 Upload 新增 showUploadList.previewIcon 用于自定义预览图标。#32059 @1040961807
  • 🏴󠁥󠁳󠁣󠁴󠁿 修复加泰罗尼亚语 (ca_ES) 对 Form 缺失翻译问题。#33377 @ZzGGitter
  • 🇫🇮 修复芬兰语 (fi_FI) 对 Table 的缺失翻译问题。#33372 @ZakarFin
  • 🇰🇭 新增高棉语 (km_KH) 语言包。#32853 @vireakkeosokvibol
  • TypeScript

Don't miss a new antd release

NewReleases is sending notifications on new releases.