Skip to content

antd 4.2.1

  • Form
    • 🐞 Fix Form.Item get React warning for getValueProps. #23875
    • 🐞 Fix Form.Item help style issue when validateStatus is not error. #23945
  • Table
    • 🐞 Fix selection column width issue when fix header. #23806
    • 💄 Adjust selection column css selector priority to enable customize width. #23914
  • DatePicker
    • 🐞 Fix miss placeholder when placeholder is undefined. #23818
    • 🐞 Fix clear icon color style. #23811
  • Switch
    • 🐞 Fix loading style for the dark theme. #23766 @vsn4ik
    • 🐞 Fix unCheckedChildren not showing. #23791
  • 🐞 Fix Upload error message location to scroll in the float layer. #24001 @mraiguo
  • 💄 Tweak Comment render unnecessary div style when avatar is empty. #23994 @Xuhao
  • 🐞 Fix Select focus border style in Input.Group. #23985
  • 🐞 Fix Steps subTitle showing [object Object] title. #23989
  • 💄 Tweak Select close icon position. #23963
  • 🐞 Fix Drawer width="50%" hidden problem when no mask. #23925
  • 🐞 Fix Textarea with allowClear has error height style. #23835
  • 💄 Adjust Modal.xxx function async to avoid block React events. #23826
  • 🐞 Fix Menu with controlled openKeys abnormal behavior when inlineCollapsed changed. #23822
  • 🐞 Fix Button loading animation. #23783
  • 🐞 Fix Slider marks selected problem when dragging. #23773
  • 🛠 Timeline refactors with React Hooks. #23631 @hengkx
  • 🌎 Localization
    • 🌐 Add Farsi fa_IR default locale template localisations. #23926 @NarimanMov
    • 🌐 Add default en default locale template localisations for Form. #23859 @mjfwebb
  • 📦 Reduce bundle size
    • 🗑 Reduce bundle size via removing react-lifecycles-compat. #23969
    • 🛠 Reduce bundle size via excluding package.json from source code. #23957
    • 🛠 Upgrade rc-animate to 3.x to reduce bundle size. #23937
  • RTL
    • 🐞 Fix Input clear icon style in RTL. #23999
    • 🐞 Fix DatePicker panel style in RTL. #24028 @xrkffgg
    • 💄 Optimize DatePicker active bar style in RTL. #23981
    • 🐞 Fix Transfer search padding style in RTL. #23962
    • 💄 Optimize Layout style of RTL. #23921
    • 💄 Optimize Button loading style in RT. #23776
    • 💄 Optimize Input.Search style in RTL. #23797
  • TypeScript

  • Form
    • 🐞 修复 Form.Item 使用 getValueProps React 会报警的问题。#23875
    • 🐞 修复 Form.Item helpvalidateStatus 不是 error 时的样式问题。#23945
  • Table
    • 🐞 修复 Table 固定表头时选择列的宽度问题。#23806
    • 💄 调整 Table 选择列 css 选择器优先级以支持自定义宽度。#23914
  • DatePicker
    • 🐞 修复在 placeholderundefined 时不展示的问题。#23818
    • 🐞 修复清除图标的颜色。#23811
  • Switch
    • 🐞 修复暗色主题下的加载样式。#23766 @vsn4ik
    • 🐞 修复 unCheckedChildren 不显示的问题。#23791
  • 🐞 修复 Upload 在浮层中错误提示滚动定位问题。#24001 @mraiguo
  • 💄 调整 Comment 中 avatar 为空时不必要的 div 样式#23994 @Xuhao
  • 🐞 修复 Input.Group 中 Select 选项 focus 边框样式#23985
  • 🐞 修复 Steps subTitle 上会显示 [object Object] 提示的问题。#23989
  • 💄 微调 Select 移除图标的位置。#23963
  • 🐞 修复无遮罩的 Drawer 设置 50% 宽度时不显示的问题。#23925
  • 🐞 修复 Textarea 开启 allowClear 时高度错误的问题。#23835
  • 💄 调整 Modal.xxx 方法为异步以防止其影响 React 事件响应。#23826
  • 🐞 修复受控模式 Menu inlineCollapsed 折叠时的表现。#23822
  • 🐞 修复 Button loading 动画切换不平滑的问题。#23783
  • 🐞 修复 Slider 拖拽中选中 marks 文本的问题。#23773
  • 🛠 Timeline 使用 React Hooks 重构。#23631 @hengkx
  • 🌎 国际化
  • 📦 包体积优化
    • 🗑 移除 react-lifecycles-compat 依赖以优化包体积。#23969
    • 🛠 源码中不再引用 package.json 从而优化了一点包体积。#23957
    • 🛠 更新 rc-animate 到 3.x 以优化包体积。#23937
  • RTL
    • 🐞 修复 Input 在 RTL 模式下清空按钮的样式。#23999
    • 🐞 修复 DatePicker 下拉框在 RTL 模式下样式。#24028 @xrkffgg
    • 💄 优化 DatePick 在 RTL 模式下的激活条样式。#23981
    • 🐞 修复 Transfer 查询框在 RTL 模式下的边距样式。#23962
    • 💄 优化 Layout RTL 样式。#23921
    • 💄 优化 Button loading 状态在 RTL 下样式。#23776
    • 💄 优化 Input.Search RTL 样式。#23797
  • TypeScript