github ant-design/ant-design 4.6.0

latest releases: 5.16.5, 5.16.4, 5.16.3...
3 years ago
  • 💄 Darker @text-color for WCAG 2.0 on contrast ratio. #25630
  • 🔥 New Image component. #26296
  • 🔥 Table support sticky prop to sticky header and scroll bar. #25939
  • Form
    • 🆕 Form support style of required mark with requiredMark and deprecate hideRequiredMark prop. #26309
    • 🆕 Form.List support the second index param in add. #26081
  • 🆕 VirtualList support no blink jump and fix Select blank dropdown issue. #26306
  • Typography
    • 🆕 Support Typography.Text success type. #26145 @llwslc
    • 🆕 Typography copyable support hide tooltip and editable support config icon and tooltip. #25953 @llwslc
    • 🆕 Add Typography.Title level 5. #25861
    • 🆕 Typography add maxLength & autoSize with editable config #25373 @CornerSkyless
  • 🐞 Fix Transfer filterOption not trigger when search spaces. #26335
  • Progress
    • 🐞 Fix Progress steps don't support trailColor. #26323
    • 🐞 Fix Progress success.percent not working when type="circle". #26307
  • 🐞 Fix Textarea don't display defaultValue when value is undefined. #26327
  • Cascader
    • 🐞 Fix Cascader options not open with search after ESC pressing. #26271 @flyerH
    • 💄 Optimize Cascader clear animation. #26186
  • 🗑 Remove deprecated Button.Group and please use Space component instead. #26260
  • Select
    • 🆕 Select support onClear prop. #25907
    • 🐞 Fix Select mode="tags" showing duplicated items when search. #25907
    • 🐞 Fixed the style exception that was disabled when Select focused. #26255
    • 🐞 Fix Select icon overlap with selections when showArrow enabled. #26168 @zhangchen915
  • DatePicker
    • 🐞 Fix panel not correct when picker changed. #26093
    • 🐞 Fix RangePicker do not close panel when click clear icon. #26188
  • 🐞 Fix Pagination font family style. #26230 @albertms10
  • 🐞 Fix Space children remount in some case. #26219
  • Badge
  • 🆕 Tabs tabBarExtraSlot support extra position. #25138 @jesse3mh9a
  • 💄 Optimize the display effect of Descriptions when there is more content. #25903
  • 🆕 message could be detroied by message.desctroy(key). #26052 @lihqi
  • 💄 Adjust InputNumber handler bar to be hidden when readOnly. #25998
  • Locale
  • RTL
    • 💄 Optimize the connection line style in Tree RTL mode. #26205
    • 💄 Optimize Dropdown RTL writing to avoid dark mode style overlays. #26206
  • TypeScript

  • 💄 加深默认文本 @text-color 以满足 WCAG 2.0 对比度的规范。#25630
  • 🔥 新增图片组件 Image。#26296
  • 🔥 Table 新增 sticky 属性以支持固定表头和滚动条。#25939
  • Form
    • 🆕 Form 添加 requiredMark 属性以支持设置必选样式,废弃原 hideRequiredMark#26309
    • 🆕 Form.List 中的 add 方法支持第二个 index 参数。#26081
  • 🆕 虚拟滚动支持无闪动滚动,修复 Select/TreeSelect 滚动时列表空白的问题。#26306
  • Typography
    • 🆕 新增 Typography.Text success 类型。#26145 @llwslc
    • 🆕 Typography copyable 支持隐藏提示,editable 支持设置图标与提示。#25953 @llwslc
    • 🆕 新增 Typography.Title 5 级标题。#25861
    • 🆕 Typography 的 editable 配置中增加了 maxLengthautoSize 属性。#25373 @CornerSkyless
  • 🐞 修复 Transfer 搜索空格时 filterOption 没有触发的问题。#26335
  • Progress
    • 🐞 修复 Progress steps 属性对于 trailColor 不生效的问题。#26323
    • 🐞 修复 Progress 当 type="circle"success.percent 不生效的问题。#26307
  • 🐞 修复 Textarea 当 valueundefined 时未显示 defaultValue 问题。#26327
  • Cascader
    • 🐞 修复 Cascader 在按下 ESC 键,然后通过输入进行搜索时 options 不展开的问题。#26271 @flyerH
    • 💄 优化 Cascader 清除动画效果。#26186
  • 🗑 移除遗留的 Button.Group 支持,请使用 Space 代替。#26260
  • Select
    • 🆕 Select 支持 onClear 属性。#25907
    • 🐞 修复 Select mode="tags" 搜索显示两条重复条目的问题。#25907
    • 🐞 修复 Select 聚焦时被禁用的样式异常问题。#26255
    • 🐞 修复多选模式的 Select 在 showArrow 时图标重叠问题。#26168 @zhangchen915
  • DatePicker
    • 🐞 修复 picker 属性改变时渲染面板不会改变的问题。#26093
    • 🐞 修复 RangePicker 点击清除按钮面板不会关闭的问题。#26188
  • 🐞 修复 Pagination 字体相关样式问题。#26230 @albertms10
  • 🐞 修复 Space children 有时会重新渲染的问题。#26219
  • Badge
  • 🆕 Tabs 可自定义tabBarExtraContent 的渲染位置。#25138 @jesse3mh9a
  • 💄 优化 Descriptions 在内容比较多时的显示效果。#25903
  • 🆕 message 支持通过 message.desctroy(key) 销毁。#26052 @lihqi
  • 💄 调整 InputNumber 操作栏在 readOnly 时为隐藏。#25998
  • 国际化
  • RTL
    • 💄 优化 Tree RTL 模式下连接线的样式。#26205
    • 💄 优化 Dropdown RTL 写法避免暗黑模式样式覆盖。#26206
  • TypeScript

Don't miss a new ant-design release

NewReleases is sending notifications on new releases.