Skip to content

Releases: infra-fe/infra-design

4.23.6

26 Oct 04:12
9c1ed28
Compare
Choose a tag to compare
  • Table
    • 🐞 Fix Table with sticky header shadow style issue. #38023 @liuycy
    • 🐞 Fix Table with ellipsis missing title attribute. 416c61f
  • 🐞 Fix Breadcrumb not support number 0. #38006 @li-jia-nan
  • Input
    • 🐞 Fix Input.TextArea render extra input node when enable autoSize. #38050
    • 🐞 Fix Input.Password that should not have value prop on input after click toggle icon. #37900 @linxianxi
    • 💄 Fix border style issues for Input.Search in RTL. #37980 @foryuki
  • 🐞 Fix AutoComplete warning for unused dropdownClassName. #37974 @heiyu4585
  • 🐞 Fix Typography with ellipsis that the computed fontSize style be calculated as empty string in some case. #37928 @zheeeng
  • 🐞 Fix editable Tabs add button missing in edge case. #37937
  • 🐞 Fix RangePicker panel blink in some case. #439
  • 🛠 Refactor Spin with Function Component. #37969 @li-jia-nan
  • 🛠 Refactor Statistic.Countdown with Function Component. #37938 @li-jia-nan

  • Table
    • 🐞 修复 Table 配置固定表头时的阴影样式问题。#38023 @liuycy
    • 🐞 修复 Table 配置省略时丢失 title 属性问题。416c61f
  • 🐞 修复 Breadcrumb 不支持数字 0 的问题。#38006 @li-jia-nan
  • Input
    • 🐞 修复 Input.TextArea 配置 autoSize 时会额外渲染 input 节点的问题。#38050
    • 🐞 修复 Input.Password 在点击隐藏按钮后 input 上会有 value 属性的问题。#37900 @linxianxi
    • 💄 修复 RTL 下 Input.Search 边框样式问题。#37980 @foryuki
  • 🐞 修复 AutoComplete 会报未使用的废弃属性 dropdownClassName 的问题。#37974 @heiyu4585
  • 🐞 修复 Typography 省略算法在计算一些元素 fontSize 时为空字符串的情况#37928 @zheeeng
  • 🐞 Fix Tabs 添加按钮在某些边界情况下无法展示的问题。#37937
  • 🐞 修复 RangePicker 在某些情况下面板会闪烁的问题。#439
  • 🛠 重构 Spin 为 Function Component。#37969 @li-jia-nan
  • 🛠 重构 Statistic.Countdown 为 Function Component.#37938 @li-jia-nan

4.22.6

05 Sep 09:34
Compare
Choose a tag to compare
  • 🐞 Revert #36710 to fix Table onChange argument sorter error in multiple columns sort.
  • 🐞 Fix Drawer can not close when config opacity on the maskStyle. #37100

  • 🐞 回滚 #36710 以修复 Table 多列排序时 onChangesorter 参数错误的问题。
  • 🐞 修复 Drawer 的 maskStyle 配置 opacity 样式时无法关闭的问题。#37100

4.22.3

09 Aug 09:18
b686afa
Compare
Choose a tag to compare
  • 🐞 Fixed flickering when fileList updating in Uploader with React 18. #36801 @zhengjitf
  • 🐞 Fix Form.Item with small size labelCol and wrapperCol not break line in vertical layout. #36800
  • 🐞 Fix Row in flex layout takes too wide space by default. #36770

  • 🐞 修复在 React 18 版本中 Uploader 的 fileList 发生更新后出现闪烁的情况。#36801 @zhengjitf
  • 🐞 修复 Form.Item 在垂直布局下使用小尺寸的 labelColwrapperCol 时不换行的问题。#36800
  • 🐞 修复 Row 在 flex 布局中占据过多空间的问题。#36770

4.21.7

26 Jul 10:11
5955325
Compare
Choose a tag to compare
  • 🆕 Add Skeleton.Node sub-component, allow user customize content of Skeleton. #36441 @DawnLck
  • Form
    • 🐞 Fix Form with percentage width Select may leaves unexpected height. #36484
    • 🐞 Fix Form disabled but Upload component still uploadable in it. #36573 @cwjTerrace
  • 🐞 Fix Tree non-draggable element still render the draggable icon. #36511 @Wxh16144
  • 🐞 Fix Upload preview error on SVG with <foreignObject> and cross-origin links. #36402 @jonioni
  • 🐞 Fix that Tooltip cannot close automaticly on disabled Radio. #36483
  • 💄 Add Modal Less variable @modal-border-radius. #36527 @kkkisme
  • 💄 Fix Table expand icon wrap style when column is fixed and ellipsis. #36496

  • 🆕 新增 Skeleton.Node 子组件,允许用户自定义 Skeleton 的内容。#36441 @DawnLck
  • Form
    • 🐞 修复 Form 下设置 Select 百分比宽度时会有未预期空行问题。#36484
    • 🐞 修复 Form 设为禁用时、内部的 Upload 组件仍能上传文件的问题。#36573 @cwjTerrace
  • 🐞 修复 Tree 非 draggable 依然展示可拖拽图标的问题。#36511 @Wxh16144
  • 🐞 修复 Upload 在预览包含 <foreignObject> 及跨域链接的 SVG 文件时发生错误的问题。#36402 @jonioni
  • 🐞 修复 Tooltip 在被禁用的 Radio 上时无法自动关闭的问题。#36483
  • 💄 添加 Modal Less 变量 @modal-border-radius#36527 @kkkisme
  • 💄 修复 Table 开启固定和省略功能的列内的展开按钮换行样式。#36496

4.21.6

18 Jul 09:55
d68c936
Compare
Choose a tag to compare
  • 🐞 Fix Skeleton active lost border-radius in Safari. #36445
  • 🐞 Fix Breadcrumb separators disappearing when used as last element in a List. #36448 @LeonKattendick
  • 🐞 Fixed Upload removing file status color is wrong. #36439
  • 🐞 Fix DatePicker style issue when using status. #35685 @simplejason
  • Table
  • 💄 Adjust Modal header close icon style. #36309 @cw1997
  • 🐞 Fix Form.ErrorList shaking when validating too fast. #36358
  • 💄 Radio shadow color should be transparency to fit none-white background. #36335
  • 🐞 Fix Table border style issue when title configured. #36384 @Unuuuuu

  • 🐞 修复 Skeleton 在 Safari 下开启 active 时圆角丢失的问题。#36445
  • 🐞 修复 Breadcrumb 作为 List 最后一个元素时,分割线丢失的问题。#36448 @LeonKattendick
  • 🐞 修复 Upload 移除文件时状态色会变化的问题。#36439
  • 🐞 修复 DatePicker 配置 status 时的样式问题。#35685 @simplejason
  • Table
    • 🐞 修复 Table 横向滚动的阴影样式问题。#36420 @shunyue1320
    • 🐞 修复 Table 鼠标悬浮时的性能问题。#36383
  • 💄 微调 Modal 标题上关闭按钮尺寸。#36309 @cw1997
  • 🐞 修复 Form.ErrorList 在校验状态很快的时候视觉抖动问题。#36358
  • 💄 修复 Radio 聚焦时的阴影样式在非白底背景下的问题。#36335
  • 🐞 修复 Table 配置有 title 时的圆角样式。#36384 @Unuuuuu

4.21.4

08 Jul 09:43
Compare
Choose a tag to compare
  • Table
    • 🐞 Fix Table expand icon not align center. #36215
    • 💄 Fix nested Table margin style. #36209
    • 🐞 Fix Table filter dropdown with multiple subMenu may not closed. #36132
    • 🐞 Table reset the last selection key when deselect or bulk operations. #34705 @Dunqing
  • 🐞 Fix Popover arrow color with custom color prop. #36241 @MadCcc
  • 🐞 Fix Upload listType="picture-card" select button not being hidden when children is empty. #36196
  • 🐞 Fix Menu deprecated warning when item={undefined}. #36190
  • 💄 Fix Button loading icon margin style lost. #36168
  • 🐞 Fix Dropdown using Menu with group item can not close by click. #36148
  • 💄 Enlarge dragable area for Slider handler. #36018 @slotDumpling
  • 🐞 Fix: repeat a css class in readOnly, which has been declared in rc-input-number. #36120 @RainyLiao
  • 💄 Fix Skeleton active background color in dark theme. #36116
  • TypeScript

  • Table
    • 🐞 修复 Table 展开图标未居中的问题。#36215
    • 💄 修复 Table 内嵌 Table 时的边距问题。#36209
    • 🐞 Table 取消选择或批量操作时重置上一次选择的 key。#34705 @Dunqing
    • 🐞 修复 Table 过滤列表在某些场景下多级展开无法关闭的问题。#36132
  • 🐞 修复 Upload listType="picture-card" 当 children 为空时上传文件按钮没有隐藏的问题。#36196
  • 🐞 修复 Popover 自定义 color 时箭头颜色问题。#36241 @MadCcc
  • 🐞 修复 Menu item={undefined} 时会有废弃警告的问题。#36190
  • 💄 修复 Button loading 图标的间距丢失的问题。#36168
  • 🐞 修复 Dropdown 中 Menu 分组下的 Item 点击不会关闭的问题。#36148
  • 💄 优化 Slider 拖拽手柄的可交互区域。#36018 @slotDumpling
  • 🐞 修复重复添加 readOnly 的 css 类名,它已在 rc-input-number 中被声明了。#36120 @RainyLiao
  • 💄 修复 Skeleton 在 active 时的背景色样式。#36116
  • TypeScript

4.21.1

16 Jun 07:49
Compare
Choose a tag to compare
  • 🐞 Fixed Image the getContainer property not reading from ConfigProvider. #36002 @robothot
  • 🐞 Fixed Button issue #35952 where the disabled attribute does not take effect with href. #35975 @MuxinFeng
  • 🐞 Fix less color palette algorithm according to @ant-design/colors. #35954 @christian-lechner
  • 🐞 Fix Upload image flickering. #35943
  • 💄 Remove styles from Form such as status for children of Modal and Drawer. #35849
  • TypeScript
    • 🤖 Fix type definition for autoFocus in Dropdown. #35990 @robothot
    • 🤖 Fix type definition for MenuItemGroupType in Menu. #35790 @MasaoBlue
    • 🤖 Fix Carousel type definition in React 18. #35959
  • 🌐 Localization
    • 🇮🇹 Fix italian translation for Table.cancelSort key. #35970 @gariggio

  • 🐞 修复 Image getContainer 属性没有从 ConfigProvider 中读取的问题。#36002 @robothot
  • 🐞 修复 Button 有 hrefdisabled 属性不生效的问题。#35952#35975 @MuxinFeng
  • 🐞 修复 Upload 组件动画闪烁的问题。#35943
  • 🐞 修复 less 色彩算法,使其和 @ant-design/colors 保持一致。#35954 @christian-lechner
  • 💄 Form.Item 中的 Modal 或 Drawer 组件包含的控件去除 status 等受 Form 影响的样式。#35849
  • TypeScript
    • 🤖 修复 Dropdown autoFocus 属性定义。#35990 @robothot
    • 🤖 修复 Menu 中 MenuItemGroupType 的类型定义。#35790 @MasaoBlue
    • 🤖 修复 Carousel 在 React 18 下的 TS 定义问题。#35959
  • 🌐 国际化
    • 🇮🇹 修复 Table.cancelSort 的意大利语翻译。#35970 @gariggio

4.20.6

30 May 08:47
e2374ec
Compare
Choose a tag to compare
  • 🐞 Fix DatePicker placeholder flush when open first time. #35620 @yykoypj
  • 🛠 Remove Grid default role attr to fit aria-required-parent requirement. #35616 @bartpio
  • 🐞 Fix Anchor cut content in some browser. #35612 @josonho
  • 🐞 Fix Table header cell border when have rowSpan and scroll.y. #35591
  • 🐞 Fix Drawer that the button in it closes too fast issue. #35339

  • 🐞 修复 DatePicker 初次打开时 placeholder 闪烁的问题。#35620 @yykoypj
  • 🛠 移除 Grid 默认 role 标签,以使其更好的适配 aria-required-parent 要求。#35616 @bartpio
  • 🐞 修复 Anchor 在某些游览器下会被切割内容的问题。#35612 @josonho
  • 🐞 修复 Table 存在表头分组和垂直滚动条时表头边框异常的问题。#35591
  • 🐞 修复 Drawer 内按钮关闭速度过快问题。#35339

4.20.4

17 May 02:52
5b13f7f
Compare
Choose a tag to compare

4.20.0

06 May 10:01
af79f80
Compare
Choose a tag to compare
  • 🔥 React 18 Support. Fix related known issue.
    • 🐞 Fix Form with React 18 StrictMode missing error message update. #35096
    • 🐞 Fix Notification and Message throw createRoot warning in React 18. #35030
    • 🐞 Fix BackTop not working in StrictMode. #34858 @tmkx
  • 🔥 New component Segmented. #34319
    • 🛠 Since v4.20.0 Segemented props onChange callback function parameter adjusted from ChangeEvent (v4.20.0-alpha.0, v4.20.0-alpha.1) to value to simplify API. #35187 @vagusX
  • Form
    • 🔥 Form support useWatch to get current field value. #35036
    • 🆕 Form support useFormInstance to get current context form instance. #35039
    • 💄 Fix Form broken layout when set labelCol={{ sm: 24 }} and wrapperCol={{ sm: 24 }}. #34907
  • 🛎 Menu support items for perf prepare, and children will be removed in next major version. #34559
  • 🆕 Image PreviewGroup Support top progress rendering. #35038 @zpc7
  • Upload
    • 🆕 Upload support crossOrigin for images in picture-card mode. #34981 @dragmove
    • 🐞 Fix Upload prefixCls don't work on file list. #34944 @swchen
    • 💄 Improve Upload action styles. #35052
  • Table
    • 🆕 Support reset to the default value rather than empty, when click reset in Table column filter. #34355 @heiyu4585
    • 💄 Fix Table head background and selection column width styling issues when size="small". #34963
    • 🇩🇪 Improve German translations for Table. #34836 @pfedan
    • ⚡️ Optimize Table filter calculation perfromance. #35064 @nieyuyao
    • 💄 Improve small and middle size Table selection dropdown margin style. #35173
  • Tree
    • 🆕 Tree switcherIcon prop support render-prop. #34470 @zqran
    • 🆕 Tree support rootClassName and rootStyle. #34578
  • Breadcrumb
    • 🐞 Fix Breadcrumb deprecated warning of Dropdown placement. #35162
    • 🐞 Fix Breadcrumb show the number when is unexpected. #35123
    • ⌨️ Make structure of Breadcrumb be accessible. #34082 @VladimirOtroshchenko
  • Anchor
    • 🆕 Anchor getCurrentAnchor has active link as argument. #34799
    • 🛠 Refactor Anchor to Function component. #35073 @LongHaoo
  • Cascader
    • 🆕 Cascader supports showCheckedStrategy for value display strategy. #34568 @heiyu4585
    • 🐞 Fix Cascader search result do not fill the entrie panel. #35019 @boomler
  • 🆕 Click event object can be accessed in onCopy function of Typography. #34655 @yzwxk
  • 🆕 Grid supports justify="space-evenly". #34606 @gp5251
  • 🆕 Support rootClassName property for Dialog and Image. #34574 @heiyu4585
  • 🐞 Fix error Nothing was returned from render when Skeleton use falsy loading props without children. #34872 @AlbertAZ1992
  • 💄 Optimize Switch disabled color to fit colorful background. #35103
  • 💄 Remove Tabs overflow: hidden style to fix Select and sticky Table display problem inside Tabs. #35195
  • 💄 Fix Steps style issues in RTL mode. #35088 @zpc7
  • 💄 Fix animation for standalone Badge in RTL mode. #34899 @hmz22
  • 🛠 Optimize Modal id generate logic to improve accessibility experience. #35072
  • 🐞 Fix Select and AutoComplete scroll abnormal behavior when navigate via keyboard.。#35025
  • Spin
    • 💄 Fix Spin animation style being abnormally parsed in Parcel. #35005
    • ⌨️ Spin add aria attribute to improve accessibility. #34408 @heiyu4585
  • ⌨️ Dropdown support select option by keyboard. #34738
  • 🐞 Fix Title, Text, Paragraph components cannot get ref bug. #34847 @MQuy
  • Input
    • 💄 Input.Group prevent components from getting style from Form.Item. #34764
    • 💄 Adjust TextArea style in Form. #34714
  • ⌨️ Fix aria-checked attribute for Checkbox, to avoid screen reader getting an incorrect status. #34862 @SpaNb4
  • Less
  • TypeScript

  • 🔥 支持 React 18 以及严格模式,修复了相关已知问题。
    • 🐞 修复 Form 在 React 18 的 StrictMode 下,错误信息无法更新的问题。#35096
    • 🐞 修复 Notification 和 Message 在 React 18 下抛出使用 createRoot 的警告信息。#35030
    • 🐞 修复 BackTop 组件在严格模式下不能正常工作的问题。#34858 @tmkx
  • 🔥 新增 Segmented 分段控制器组件。#34319
    • 🛠 4.20.0 正式版后,Segemented 的 onChange 回调函数的参数从 ChangeEvent 调整为 value。如果你使用了 4.20.0-alpha.0 4.20.0-alpha.1,请注意这个变化。#35187 @vagusX
  • Form
    • 🔥 Form 添加 useWatch 支持获取当前字段值。#35036
    • 🆕 Form 支持 useFormInstance 以获取当前上下文中的 Form 实例。#35039
    • 💄 修复 Form labelCol={{ sm: 24 }}wrapperCol={{ sm: 24 }} 时样式错乱的问题。#34907
  • 🛎 Menu 添加 items 数据化菜单项支持以为将来性能提升做准备,并且 children 将会在下个大版本中废弃。#34559
  • 🆕 Image PreviewGroup 支持顶部进度渲染。#35038 @zpc7
  • Upload
    • 🆕 Upload picture-card 模式支持配置图片的 crossOrigin 属性。#34981 @dragmove
    • 🐞 修复 Upload prefixCls 对列表不生效的问题。#34944 @swchen
    • 💄 优化 Upload 操作按钮的样式细节。#35052
  • Table
    • 🆕 Table 列筛选条件重置时,支持重置为默认值而非空值。#34355 @heiyu4585
    • 💄 修复 Table size="small" 时列头背景色和选择列宽度的样式问题。#34963
    • 🇩🇪 补全 Table 的德语国际化文案。#34836 @pfedan
    • ⚡️ 优化 Table 过滤列表的计算性能。#35064 @nieyuyao
    • 💄 优化 Table size="small"size="middle" 时选择下拉菜单的边距样式。[ant-design#35173](https://github...
Read more