antd 4.1.0
- 🔥 Support compact mode theme. #22126 @AshoneA
- 🔥 New Space component to resolve inline component margin style. #22363
- 🔥 DatePicker support quarter picker. #22468
- 🆕 Tree/TreeSelect/Select support
virtualprop to disable virtual scroll. #21955 - 🆕 Improve Pagination switch experience. #22711
- Pagination will show size changer when
total > 50. - Unify Pagination items to fixed length.
- Change default size options to
10, 20, 50, 100.
- Pagination will show size changer when
- Table
- 🆕 Tag component support
iconprop. #22418 @vtsybulin - 🆕 Grid add
useBreakpointhook. #22226 - 🆕 Card support
tabProps. #22207 - 🆕 Pagination add
autoResizeprop. #21959 @wendellhu95 - 🆕 Add render props support for Popover/Popconfirm. #22034 @nossbigg
- 🆕 TimePicker.RangePicker support
orderprop. #21948 - 🆕 Carousel
dotssupport object to passclassName. #21848 - 🆕 Form
validateMessagessupport${label}variable. #21835 - 🆕 Expose all Dropdown props in Breadcrumb.Item. #20763 @paranoidjk
- ⌨️ Improve Tabs Accessibility. #22287
- Add Tabs
keyboardprop. - Tabs
extraContentdon't trigger keyboard navigation now.
- Add Tabs
- 🛠 Warning Form.Item with
defaultValuewhen it's controlled. #22571 - 🛠 Menu.Item Tooltip could be hidden by falsy
titleprop. #22202 - 🛠 Typography
onExpandfunction support event parameter. #22092 @BlazPocrnja - 🛠 Simplify Popconfirm and Popover dom structure. #22052
- 🐞 Fix Autocomplete display
nullwhenvalueisnull. #21955 - 🐞 Adjust Drawer close button without
titlestyle to avoid overlap with scroll bar. #22710 - 🐞 Fix Calendar style details. #22676
- Table
- 🐞 Fix Input with
suffixonly align style issue. #22603 - 🐞 Fix Alert cannot work with Tooltip/Popover. #22594
- 🐞 Fix nest dynamic Form.Item get react unmounted update warning. #22575
- 💄 Adjust Tag
processingstatus color. #22303 - 💄 Remove Select dropdown group title mouse click style. #22581
- 💄 Redesign Table filter menu buttons and fix Dropdown edge
paddingstyle. #22072 - 💄 Move
@form-item-label-heightfrom form styles to theme variables. #22600 @slavakam - 💄 Add less variables
@link-focus-decorationand@link-focus-outline. #22511 - 💄 add separator cursor
disabledof DatePicker. #22563 - RTL
- 💄 Optimize Checkbox
innerRTL style issue. #22627 - 🐞 Optimize Upload
picture-cardRTL style issue. #22630 - 🐞 Fix Badge RTL number style issue. #22665
- 🐞 Fix Select RTL style issue when select multiple options can be cleared. #22596
- 🐞 Fix Progress RTL style issue. #22558
- 🐞 Fix Badge RTL style issue. #22551
- 🐞 Fix Input RTL style issue. #22525
- 🐞 Fix Steps RTL style issue. #22523
- 💄 Optimize Tabs RTL icon style issue. #22653
- 💄 Optimize Input.Group RTL style issue. #22624
- 💄 Optimize Timeline label mode RTL style issue. #22652
- 💄 Optimization Select dropdown group RTL style issue. #22584
- 💄 Optimization Dropdown.Button RTL style issue. #22519
- 💄 Optimize Checkbox
- Typescript
- 🛠 replace deprecated
React.SFCwithReact.FC. #22691 @Rustin-Liu - 🐞 Fix Form.Item
childrendefinition. #22662
- 🛠 replace deprecated
- 🔥 支持紧凑模式主题。#22126 @AshoneA
- 🔥 新的 Space 组件以支持内联组件的间距样式。#22363
- 🔥 DatePicker 支持季度选择器。#22468
- 🆕 Tree/TreeSelect/Select 支持
virtual属性以关闭虚拟滚动。#21955 - 🆕 改进 Pagination 使用体验。#22711
- Pagination 当
total > 50时默认显示切换页数选择器。 - 统一 Pagination 十页以内的页码个数使其宽度更统一。
- Pagination 调整默认页数选项为
10, 20, 50, 100。
- Pagination 当
- Table
- 🆕 Tag 支持
icon属性。#22418 @vtsybulin - 🆕 Grid 添加
useBreakpointhook. #22226 - 🆕 Card 支持
tabProps。#22207 - 🆕 Menu.Item 上的 Tooltip 现在可以使用
title={null}来禁用。#22202 - 🆕 Pagination supports
autoResizeprop。#21959 @wendellhu95 - 🆕 Popover/Popconfirm 添加 render props 支持。#22034 @nossbigg
- 🆕 TimePicker.RangePicker 支持
order属性用于设置排序行为。#21948 - 🆕 Carousel
dots支持对象传递className。#21848 - 🆕 Form
validateMessages支持${label}变量。#21835 - 🆕 暴露 Breadcrumb.Item 组件的所有 Dropdown 的可配置属性。#20763 @paranoidjk
- ⌨️ 增强 Tabs 可访问性。#22287
- 新增 Tabs keyboard 属性用于开关键盘切换功能。
- Tabs
extraContent里的元素不再触发键盘切换功能。
- 🛠 添加 Form.Item 在受控时使用
defaultValue的警告信息。#22571 - 🛠 Typography
onExpand添加事件参数。#22092 @BlazPocrnja - 🛠 简化 Popconfirm 和 Popover 的 dom 结构。#22052
- 🐞 修复 Autocomplete
value为null时,值展示null的问题。#21955 - 🐞 调整 Drawer 无
title时关闭按钮样式以避免遮挡滚动条。#22710 - 🐞 修复 Calendar 的一些样式细节问题。#22676
- Table
- 🐞 修复 Input 只配置
suffix时的样式对齐问题。#22603 - 🐞 修复 Alert 无法和 Tooltip/Popover 一起使用的问题。#22594
- 🐞 修复嵌套动态 Form.Item 会被 react 警告更新移除节点的信息。#22575
- 💄 调整 Tag
processing状态颜色。#22303 - 💄 移除 Select 下拉组标题的鼠标可点击样式。#22581
- 💄 迁移
@form-item-label-heightless 变量到主题变量中。#22600 @slavakam - 💄 优化 Table 筛选菜单按钮的样式并修复 Dropdown 二级菜单的上下边距。#22072
- 💄 新增 less 变量
@link-focus-decoration和@link-focus-outline。#22511 - 💄 新增 DatePicker
disabled时,分隔符鼠标禁用样式。#22563 - RTL
- 💄 优化 CheckBox
innerRTL 样式问题。#22627 - 🐞 优化 Upload
picture-cardRTL 样式问题。#22630 - 🐞 修复 Badge RTL 数字显示样式问题。#22665
- 🐞 修复 Select RTL 多选可清空时,选项样式问题。#22596
- 🐞 修复 Progress RTL 样式问题。#22558
- 🐞 修复 Badge RTL 样式问题。#22551
- 🐞 修复 Input RTL 样式问题。#22525
- 🐞 修复 Steps RTL 样式问题。#22523
- 💄 优化 Tabs RTL 按钮样式问题。#22653
- 💄 优化 Input.Group RTL 样式问题。#22624
- 💄 优化 Timeline label RTL 样式问题。#22652
- 💄 优化 Select group RTL 样式问题。#22584
- 💄 优化 Dropdown.Button RTL 样式问题。#22519
- 💄 优化 CheckBox
- Typescript
- 🛠 替换废弃的
React.SFC为React.FC。#22691 @Rustin-Liu - 🐞 修复 Form.Item
children的类型定义。#22662
- 🛠 替换废弃的