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

Ant Design 5.5.1发布

Ant Design 5.5.1发布

  •  Fix wrong Button icon size and margin. #42516 @MadCcc
  •  Fix Select remove & selected icon not align in center. #42513
  •  Refactor Popconfirm DOM structure to fix extra margin before title and description when icon={null}#42433
  •  Fix Menu item icon not centered when itemMarginInline is 0. #42426 @zzwgh
  •  Fix Tag wrapped with Tooltip will use wrong font-size when hover. #42414
  •  Fix Popconfirm trigger onVisibleChange twice. #42393
  •  Adjust Tooltip & Popover display logic. Now the first priority is to ensure that it will not be clipped by overflow: hidden, and the second is to ensure that it is displayed within the viewport as much as possible. #42394
  • ColorPicker
    •  Optimize ColorPicker the allowClear interaction logic, reopening the panel to select a color will default to 100% transparency instead of 0%. #42439 @RedJue
    •  Optimize ColorPicker interaction. Now it will close panel when click clear button. #42406 @kiner-tang
  •  Optimize border radius in filter dropdown of Table. #42451 @Yuiai01
  •  Remove addEventListener from rc-util/lib/Dom/addEventListener and use native addEventListener instead. #42464 @li-jia-nan
  •  Reduce 1KB @ant-design/icons bundle size. Fix TwoTone icon color to primary color of 5.0. #42443
  •  Add missing translation for mn_MN#42512 @ariunbatb
  • RTL
  • TypeScript
    •  Optimize Slider ref type definition, replace unknown and any with SliderRef#42420 @li-jia-nan

  •  修复 Button 组件 icon 尺寸和间距问题。#42516 @MadCcc
  •  修复 Select 移除和选中按钮不居中的问题。#42513
  •  重构 Popconfirm DOM 结构以解决 icon={null} 时 title 和 description 的多余 margin 问题。#42433
  •  修复 Menu 图标在 itemMarginInline 为 0 时不居中的问题。#42426 @zzwgh
  •  修复 Tag 被 Tooltip 包裹时,hover 会导致 font-size 错误的问题。#42414
  •  修复 Popconfirm 的 onVisibleChange 会重复触发的问题。#42393
  •  调整 Tooltip 和 Popover 展示逻辑,现在会优先保证不会被 overflow: hidden 裁剪,其次保证尽可能在可见屏幕范围内展示。#42394
  • ColorPicker
    •  优化 ColorPicker allowClear 交互逻辑,重新打开面板选择颜色会默认 100% 透明度,而不是 0%。#42439 @RedJue
    •  优化 ColorPicker 交互,点击清除按钮时隐藏面板。#42406 @kiner-tang
  •  修改 Table 筛选下拉菜单的圆角。#42451 @Yuiai01
  •  全局移除 rc-util/lib/Dom/addEventListener 引入的 addEventListener 方法,用原生代替。#42464 @li-jia-nan
  •  优化 @ant-design/icons 的 bundle 体积大小。修复 TwoTone 类的图标色为 5.0 的新主色。#42443
  •  添加 mn_MN 中缺失的翻译。#42512 @ariunbatb
  • RTL
    •  修复 Select direction 为 rtl 时 scrollbar 的位置。#42508 @BoyYangzai
  • TypeScript
    •  优化 Slider ref 类型,移除 unknown 和 any 类型,用 SliderRef 代替。#42420 @li-jia-nan