Skip to content

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 virtual prop 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.
  • Table
    • 🆕 Table pagination position add more option. #22647 @hengkx
    • 🆕 Table selection column support renderCell. #21711
    • 🆕 Table sorter adding hint tooltip and a new prop showSorterTooltip. #21631 @AshoneA
  • 🆕 Tag component support icon prop. #22418 @vtsybulin
  • 🆕 Grid add useBreakpoint hook. #22226
  • 🆕 Card support tabProps. #22207
  • 🆕 Pagination add autoResize prop. #21959 @wendellhu95
  • 🆕 Add render props support for Popover/Popconfirm. #22034 @nossbigg
  • 🆕 TimePicker.RangePicker support order prop. #21948
  • 🆕 Carousel dots support object to pass className. #21848
  • 🆕 Form validateMessages support ${label} variable. #21835
  • 🆕 Expose all Dropdown props in Breadcrumb.Item. #20763 @paranoidjk
  • ⌨️ Improve Tabs Accessibility. #22287
    • Add Tabs keyboard prop.
    • Tabs extraContent don't trigger keyboard navigation now.
  • 🛠 Warning Form.Item with defaultValue when it's controlled. #22571
  • 🛠 Menu.Item Tooltip could be hidden by falsy title prop. #22202
  • 🛠 Typography onExpand function support event parameter. #22092 @BlazPocrnja
  • 🛠 Simplify Popconfirm and Popover dom structure. #22052
  • 🐞 Fix Autocomplete display null when value is null. #21955
  • 🐞 Adjust Drawer close button without title style to avoid overlap with scroll bar. #22710
  • 🐞 Fix Calendar style details. #22676
  • Table
    • 🐞 Fix Table fixed column shadow style in Safari. #22680
    • 🐞 Fix Table style affect nest table element. #22643
    • 🐞 Fix Table emptyText is not centered and show pagination when empty data. #22548 @hengkx
    • 🐞 Fix Table rowSelection event bubbling with onRow. #22566 @hengkx
  • 🐞 Fix Input with suffix only 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 processing status color. #22303
  • 💄 Remove Select dropdown group title mouse click style. #22581
  • 💄 Redesign Table filter menu buttons and fix Dropdown edge padding style. #22072
  • 💄 Move @form-item-label-height from form styles to theme variables. #22600 @slavakam
  • 💄 Add less variables @link-focus-decoration and @link-focus-outline. #22511
  • 💄 add separator cursor disabled of DatePicker. #22563
  • RTL
    • 💄 Optimize Checkbox inner RTL style issue. #22627
    • 🐞 Optimize Upload picture-card RTL 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
  • Typescript
    • 🛠 replace deprecated React.SFC with React.FC. #22691 @Rustin-Liu
    • 🐞 Fix Form.Item children definition. #22662

  • 🔥 支持紧凑模式主题。#22126 @AshoneA
  • 🔥 新的 Space 组件以支持内联组件的间距样式。#22363
  • 🔥 DatePicker 支持季度选择器。#22468
  • 🆕 Tree/TreeSelect/Select 支持 virtual 属性以关闭虚拟滚动。#21955
  • 🆕 改进 Pagination 使用体验。#22711
    • Pagination 当 total > 50 时默认显示切换页数选择器。
    • 统一 Pagination 十页以内的页码个数使其宽度更统一。
    • Pagination 调整默认页数选项为 10, 20, 50, 100
  • Table
    • 🆕 Table 分页位置增加更多选项。#22647 @hengkx
    • 🆕 Table 选择列支持 renderCell#21711
    • 🆕 Table 排序增加下次排序的提示,并增加 showSorterTooltip 属性开关。#21631 @AshoneA
  • 🆕 Tag 支持 icon 属性。#22418 @vtsybulin
  • 🆕 Grid 添加 useBreakpoint hook. #22226
  • 🆕 Card 支持 tabProps#22207
  • 🆕 Menu.Item 上的 Tooltip 现在可以使用 title={null} 来禁用。#22202
  • 🆕 Pagination supports autoResize prop。#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 valuenull 时,值展示 null 的问题。#21955
  • 🐞 调整 Drawer 无 title 时关闭按钮样式以避免遮挡滚动条。#22710
  • 🐞 修复 Calendar 的一些样式细节问题。#22676
  • Table
    • 🐞 修复 Table 在 Safari 下固定列的阴影样式问题。#22680
    • 🐞 修复 Table 样式影响内嵌 table 的问题。#22643
    • 🐞 修复 Table 同时设置 rowSelectiononRow 事件冒泡问题。#22566 @hengkx
    • 🐞 修复 Table 空文本没有居中的问题与空数据依然展示了分页的问题。#22548 @hengkx
  • 🐞 修复 Input 只配置 suffix 时的样式对齐问题。#22603
  • 🐞 修复 Alert 无法和 Tooltip/Popover 一起使用的问题。#22594
  • 🐞 修复嵌套动态 Form.Item 会被 react 警告更新移除节点的信息。#22575
  • 💄 调整 Tag processing 状态颜色。#22303
  • 💄 移除 Select 下拉组标题的鼠标可点击样式。#22581
  • 💄 迁移 @form-item-label-height less 变量到主题变量中。#22600 @slavakam
  • 💄 优化 Table 筛选菜单按钮的样式并修复 Dropdown 二级菜单的上下边距。#22072
  • 💄 新增 less 变量 @link-focus-decoration@link-focus-outline#22511
  • 💄 新增 DatePicker disabled 时,分隔符鼠标禁用样式。#22563
  • RTL
    • 💄 优化 CheckBox inner RTL 样式问题。#22627
    • 🐞 优化 Upload picture-card RTL 样式问题。#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
  • Typescript
    • 🛠 替换废弃的 React.SFCReact.FC#22691 @Rustin-Liu
    • 🐞 修复 Form.Item children 的类型定义。#22662