github ant-design/ant-design 4.8.0

latest releases: 5.15.4, 4.24.16, 5.15.3...
3 years ago
  • Image
    • 🔥 Image support preview.getContainer property. #26713 @rfreling
    • 🐞 Fix Image style prop not acting on img element. #27446
  • 🆕 ConfigProvider support form.requiredMark. #27322
  • 🆕 Statistic support loading prop. #26811 @appleshell
  • Avatar
    • 🔥 Support Image element as prop for Avatar component. #27448 @n0ruSh
    • 🆕 Avatar.Group support size props. #27348
  • 🆕 Row support noWrap to make Col in line. #27469
  • Tree
    • 🐞 Fix Tree text selecting when double click switcher icon. #27476
    • 🐞 Fix Tree with showLine not connect line when title break line. #27386
  • Modal
    • 🆕 modal.update() supports functional updating. #27163 @Mongkii
    • 🆕 Modal method support bodyStyle props. #27292
    • 🐞 Fix Modal missing modalRender prop. #27272 @jieny
    • 🐞 rootPrefixCls set in Modal.config can be effective for the antd components used in title and content. #27376 @Chersquwn
  • Input
    • 🆕 Input.Textarea support size props. #27110
    • 🐞 Fix Input missing className when allowClear is true. #27462
  • Table
    • 🆕 Table.Summary.Cell support align prop. #27365
    • 🐞 Fix Table onShowSizeChange trigger twice. #27417
    • 🐞 Fix Table pagination cache previous config issue. #27412
  • Typography
    • 🐞 Fix Typography Invalid regular expression issue with particular content. #27383 @ttys026
    • 💄 Fix disabled Typography.Link hover or active color. @27487 @Liu-Ya
  • Steps
    • 🐞 Fix title is not centered when enabling progressDot. #27406
    • 🐞 Fix style in small screen. #27499
  • 🐞 Fix PageHeader that empty dom will be displayed when title is empty. #27485
  • 🐞 Fix Slider keep tooltip align with handle when dragging. #27489
  • 🐞 Fix RangePicker selected range border style. #27438
  • 💄 Adjust Collapse arrow position align with first line. #27363
  • 💄 Fix Descriptions style when label use block element. #27375
  • 💄 Fix Select abnormal border style in Form validation. #27378

  • Image
    • 🔥 Image 支持 preview.getContainer 属性用于指定预览对话框的容器。#26713 @rfreling
    • 🐞 修复 Image style 属性未作用于 img 元素的问题。#27446
  • 🆕 ConfigProvider 增加 form.requiredMark 配置。#27322
  • 🆕 Statistic 组件增加 loading 属性。#26811 @appleshell
  • Avatar
    • 🔥 Avatar 组件支持直接传入 Image 元素。#27448 @n0ruSh
    • 🆕 Avatar.Group 增加 size 属性。#27348
  • 🆕 Row 支持 noWrap 属性以使 Col 不错行。#27469
  • Tree
    • 🐞 修复 Tree 双击折叠图标时会选中文字的问题。#27476
    • 🐞 修复 Tree 配置 showLinetitle 多行的时候,线会截断的问题。#27386
  • Modal
    • 🆕 modal.update() 支持函数式更新。#27163 @Mongkii
    • 🆕 Modal method 增加 bodyStyle 属性。#27292
    • 🐞 Fix Modal missing modalRender prop。#27272 @jieny
    • 🐞 Modal.config 中设置的 rootPrefixCls 可以对titlecontent下使用的 antd 组件生效。#27376 @Chersquwn
  • Input
    • 🆕 Input.Textarea 支持 size 属性。#27110
    • 🐞 修复 Input allowClearclassName 丢失的问题。#27462
  • Table
    • 🆕 Table.Summary.Cell 支持 align 配置。#27365
    • 🐞 修复 Table 切换页长时 onShowSizeChange 触发两次的问题。#27417
    • 🐞 修复 Table pagination 有时候会缓存先前设置的问题。#27412
  • Typography
    • 🐞 修复 Typography 特定内容出现非法正则表达式错误的问题。#27383 @ttys026
    • 💄 修复 Typography.Link 禁用时鼠标悬浮或点击的颜色问题。@27487 @Liu-Ya
  • Steps
    • 🐞 修复当开启 progressDot 时,标题未居中对齐的问题。#27406
    • 🐞 修复在小屏幕下的各类样式错乱问题。#27499
  • 🐞 修复 PageHeader title 为空时,会展示空 DOM 的问题。#27485
  • 🐞 修复 Slider 拖拽时提示内容对齐问题。#27489
  • 🐞 修复 RangePicker 选择同一时间后再次选择时边框样式异常的问题。#27438
  • 💄 调整 Collapse 折叠箭头的位置与第一行文字对齐。#27363
  • 💄 修复 Descriptions 在 label 自定义为块状元素时的样式问题。#27375
  • 💄 修复 Select 组件在 Form 中触发校验时边框样式异常的问题。#27378

Don't miss a new ant-design release

NewReleases is sending notifications on new releases.