皇上,还记得我吗?我就是1999年那个Linux伊甸园啊-----24小时滚动更新开源资讯,全年无休!

Ant Design 4.21.0 发布

Ant Design 4.21.0 发布

  •  Add Form level control input component disabled#35210 @heiyu4585
  •  Tabs support popupClassName for more Dropdown. #35892
  •  Table rowSelection.onChange support info.type param. #35598
  •  The copyable prop of Typography.Paragraph supports to reset the mime type of the clipboardData by the format#35219 @kanweiwei
  •  TreeSelect support treeExpandAction#35618 @NE-SmallTown
  • ConfigProvider
    •  ConfigProvider support config Pagination showSizeChanger#35750
    •  ConfigProvider support componentDisabled to config components disabled status. #35718
    •  Refactor ConfigProvider removing default renderEmpty to resolve dist circle deps. #35570
  • Collapse
    •  Refactor Collapse to keep stable dom structure with header content. #35781
    •  Refactor Collapse expandIconPosition with logical position start or end to resolve RTL style issue. #35770
  • Progress
    •  Progress steps support custom strokeColor for each step. #35855
    •  Refactor Progress type="circle" and type="dashboard" for simpler dom structure and better rendering. #35433
    •  Refactor Progress to React hooks. #35393 @shuaijiumei
    •  Fix Progress percent accuracy issue when near 100%. #35433
    •  Fix Progress gapDegree displayed with wrong degree when type="dashboard"#35433
    •  Fix Progress border radius style when type="line" and strokeLinecap="butt"#35822
  • Dropdown
    •  Dropdown support autoFocus to focus elements in overlay automaticly when opened. #35391
    •  Fix Dropdown nesting menu injection logic. #35810
  • Card
    •  Refactor Card loading with Skeleton. #35525
    •  Refactor Card style to use flex instead of float. #35236 @miracles1919
  •  DatePicker refactored to React hooks. #35425 @heiyu4585
  •  Rename className of Pagination mini mode with ant-pagination-mini#35881
  •  Refactor Popconfirm internal realize with Popover component. #35676
  •  Change the implementation of the bottom button layout of the Modal confirm component. #35530 @foryuki
  •  Fix the Wave effect does not work in React 18 strict mode. #35889 @Carrotzpc
  •  Fix Drawer close twice children will undefined. #35853 @crazyair
  • Skeleton
    •  Remove Skeleton default margin-top style. #35848
    •  Optimize Skeleton active animation perfermance. #35836 @slotDumpling
  •  Remove !important in Radio style with disabled#35920
  • TypeScript
    •  Fix Form.List type FormListFieldData missing property fieldKey#35884 @nanianlisao
  •  Localization
    •  Add a new locale tk_TK#35605
  • RTL
    •  Fix the wrong direction of border and border-radius for InputNumber and Input in RTL mode. #35876 @yykoypj

  •  新增 Form 级别控制输入组件 disabled#35210 @heiyu4585
  •  Tabs 组件支持 popupClassName 用于更多菜单。#35892
  •  Table 组件 rowSelection.onChange 新增 info.type 参数。#35598
  •  Typography.Paragraph 的 copyable 属性支持 format 以重置剪切板数据的 Mime Type。#35219 @kanweiwei
  •  TreeSelect 支持 treeExpandAction 定义展开操作。 #35618 @NE-SmallTown
  • ConfigProvider
    •  ConfigProvider 支持全局配置 Pagination showSizeChanger 属性。#35750
    •  ConfigProvider 支持 componentDisabled 来配置组件禁用状态。#35718
    •  重构 ConfigProvider 移除默认的 renderEmpty 方法以解决打包循环依赖的问题。#35570
  • Collapse
    •  重构 Collapse 标题部分以确保其稳定的 DOM 结构易于样式选择。#35781
    •  重构 Collapse expandIconPosition 为逻辑位置 start 与 end 以解决 RTL 下的样式问题。#35770
  • Progress
    •  Progress 分步进度条支持单独自定义色彩。#35855
    •  重构 Progress type="circle" 和 type="dashboard" 以简化 dom 结构和带来更好的渲染效果。#35433
    •  重构 Progress 成 React hooks。#35393 @shuaijiumei
    •  修复 Progress 进度接近 100% 间距几乎消失的问题。#35433
    •  修复 Progress type="dashboard" 的 gapDegree 角度不准确的问题。#35433
    •  修复 Progress type="line" 和 strokeLinecap="butt" 时的圆角样式。#35822
  • Dropdown
    •  Dropdown 支持 autoFocus 属性,打开时自动聚焦下拉单。#35391
    •  修复 Dropdown 嵌套菜单注入逻辑。#35810
  • Card
  •  DatePicker 重构成 React hooks。#35425 @heiyu4585
  •  将 Pagination mini 模式的 className 重命名为 ant-pagination-mini#35881
  •  重构 Popconfirm 内部实现为 Popover 组件。#35676
  •  改变 Modal confirm 组件底部按钮布局实现方式。#35530 @foryuki
  •  修复波浪效果在 React 18 严格模式不生效的问题。#35889 @Carrotzpc
  •  修复 Drawer 关闭 2 次后 children 为 undefined 的问题。#35853 @crazyair
  • Skeleton
    •  移除 Skeleton 默认的 margin-top 以便在默认情况下更对称。#35848
    •  优化 Skeleton active 的动画性能。#35836 @slotDumpling
  •  移除 Radio 禁用状态时样式中的 !important#35920
  • TypeScript
    •  修复 Form.List 类型 FormListFieldData 缺失属性 fieldKey#35884 @nanianlisao
  •  国际化
    •  添加土库曼语国际化。#35605
  • RTL
    •  修正 Input 和 InputNumber 的 border 和 border-radius 在 RTL 模式下的方向问题。#35876 @yykoypj