arco-design

A comprehensive React UI components library based on Arco Design

MIT License

Downloads
71.4K
Stars
4.9K
Committers
127

Bot releases are visible (Hide)

arco-design - https://github.com/arco-design/arco-design/releases/tag/2.41.2

Published by github-actions[bot] almost 2 years ago

💎 Enhancement

  • Reduced unexpected rendering times of Table component column.render.(#1562)
  • Optimize the problem that the InputNumber with formatter automatically move back to the end of the text when the user is typing.(#1559)
  • Optimize the jitter problem that may occur when the virtual list is scrolled to the bottom.

🐛 BugFix

  • Fixed the bug that Layout.Sider would flicker for the first rendering when collapsed is enabled by default(#1564)
  • Fixed a bug where the Steps component had the wrong style when it was nested(#1563)

🆎 TypeScript

  • Adjust the TS definition of Modal Drawer Popconfirm parameters okText and cancelText properties to ReactNode.(#1558)

💎 功能优化

  • 减少 Table 组件 column.render 不合预期的渲染次数。(#1562)
  • 优化带有 formatterInputNumber 组件在用户输入时光标位置自动回退至文本尾部的问题。(#1559)
  • 优化虚拟列表在滚动至底部时可能出现的抖动问题。

🐛 问题修复

  • 修复 Layout.Sider 在默认开启 collapsed 时,初次渲染会闪动的 bug(#1564)
  • 修复 Steps 组件在嵌套使用时样式错误的 bug(#1563)

🆎 类型修正

  • 调整 Modal Drawer Popconfirm 参数 okTextcancelText 属性的 TS 定义为 ReactNode。(#1558)
arco-design - https://github.com/arco-design/arco-design/releases/tag/2.41.1

Published by github-actions[bot] almost 2 years ago


arco-design - https://github.com/arco-design/arco-design/releases/tag/2.41.0

Published by github-actions[bot] almost 2 years ago

💎 Enhancement

  • Reduce the number of times the TreeSelect component re-renders when retainInputValueWhileSelect is enabled(#1517)
  • Show zoom-in mouse type when Image component is hovered(#1477)

🆕 Feature

  • The Collapse component adds a triggerRegion property to customize the collapse trigger region.(#1520)
  • The InputNumber component formatter adds a parameter to mark the user-typing state.(#1516)
  • Add Malay.(#1465)
  • The Select component supports setting the front tag through the addBefore property(#1464)
  • The TreeSelect component supports setting the front tag through the addBefore property(#1464)
  • The Cascader component supports setting the front tag through the addBefore property(#1464)
  • The Upload component supports enabling built-in image preview functionality via the imagePreview property.(#1459)
  • Upload component supports onDragLeave and onDragOver event callbacks(#1459)
  • The colon property of the Form component supports passing a ReactNode.(#1455)

🐛 BugFix

  • Fix Transfer disabled items can still be draggable when draggable is enabled.(#1493)
  • Fix the bug that the width of Select does not automatically change with the content when width: auto is set. (In the single-selection mode, the new DOM node in the inner layer directly wraps the .arco-select-view-value and input tags)(#1490)
  • Fix the bug that is wrong in the horizontal scrolling direction under the RTL view.(#1487)
  • Optimized the problem that the title property of the Cascader component option displays [object object].(#1468)
  • Fixed the bug that the parent node cannot be selected after the child node is selected when the Cascader component is set to changeOnSelect & mode=multiple(#1468)
  • Fix the bug that the starting range of Slider is out of order due to the update of the parent component(#1467)
  • Fixed the bug that the same value could not be entered again after TreeSelect was controlled to empty inputValue(#1463)
  • Fixed a bug where the shouldUpdate property of the Form.Item component did not take effect when resetting the form item.(#1462)
  • Fixed the bug that defaultCollapsed of Layout.Sider component did not take effect.(#1458)
  • Fixed the bug that when the InputTag component has enabled dragToSort, the tag will be rendered twice when the disabled state is toggled.(#1457)

💅 Style

  • Fix the bug that the border style of text buttons is wrong under Button.Group(#1515)
  • Fix Tabs component's extra element's style issue that is covered when the width is large.(#1494)
  • Fixed Table component's style issue of collapsed column height when scroll.x is too small.(#1492)
  • Fixed a bug where the new icon color value of the Tabs component in dark mode was incorrect.(#1454)
  • Fixed Tabs component in type=line & tabPosition=bottom, the style issue of the wrong split line position.(#1248)

💎 功能优化

  • 减少 TreeSelect 组件在开启 retainInputValueWhileSelect 时重新渲染的次数(#1517)
  • Image 组件悬浮时显示zoom-in鼠标类型(#1477)

🆕 功能升级

  • Collapse 组件新增 triggerRegion 属性以自定义折叠触发区域。(#1520)
  • InputNumber 组件 formatter 新增参数以标记用户输入状态。(#1516)
  • 新增马来语。(#1465)
  • Select 组件支持通过 addBefore 属性设置前置标签(#1464)
  • TreeSelect 组件支持通过 addBefore 属性设置前置标签(#1464)
  • Cascader 组件支持通过 addBefore 属性设置前置标签(#1464)
  • Upload 组件支持通过 imagePreview 属性启用内置的图片预览功能。(#1459)
  • Upload 组件支持 onDragLeaveonDragOver 事件回调(#1459)
  • Form 组件的 colon 属性支持传入 ReactNode。(#1455)

🐛 问题修复

  • 修复 Transfer 开启 draggable 时被禁用的选项仍然可以被拖拽的问题。(#1493)
  • 修复 Selectwidth: auto 时宽度未跟随内容自动变化的问题。(单选模式下内层新增 DOM 节点直接包裹 .arco-select-view-valueinput 标签)(#1490)
  • 修复 Tabs 组件在 RTL 视图下水平滚动方向错误的 bug。(#1487)
  • 优化 Cascader 组件选项的 title 属性显示 [object object] 的问题。(#1468)
  • 修复 Cascader 组件在设置 changeOnSelect & mode=multiple 时,子节点选中后父节点无法被选中的 bug(#1468)
  • 修复 Slider 由于父组件更新导致起始范围乱序的 bug。(#1467)
  • 修复 TreeSelect 受控清空 inputValue 后无法再次输入相同值的 bug(#1463)
  • 修复 Form.Item 组件的 shouldUpdate 属性在重置表单项时未生效的 bug。(#1462)
  • 修复 Layout.Sider 组件 defaultCollapsed 属性未生效的 bug。(#1458)
  • 修复 InputTag 组件开启 dragToSort 时,切换禁用状态时会将 Tag 重复渲染两遍的 bug。(#1457)

💅 样式更新

  • 修复文字按钮在 Button.Group 下边框样式出错的 bug(#1515)
  • 修复 Tabs 组件 extra 元素较大宽度时被遮盖样式问题。(#1494)
  • 修复 Table 组件当 scroll.x 过小时总结列高度塌陷的样式问题。(#1492)
  • 修复暗黑模式下 Tabs 组件的新增图标色值有误的 bug。(#1454)
  • 修复 Tabs 组件在 type=line & tabPosition=bottom 时,分割线位置错误的样式问题。(#1248)
arco-design - https://github.com/arco-design/arco-design/releases/tag/2.41.0-beta.1

Published by github-actions[bot] almost 2 years ago


💎 功能优化

  • Image 组件悬浮时显示zoom-in鼠标类型(#1477)

🆕 功能升级

  • 新增马来语。(#1465)
  • Select 组件支持通过 addBefore 属性设置前置标签(#1464)
  • TreeSelect 组件支持通过 addBefore 属性设置前置标签(#1464)
  • Cascader 组件支持通过 addBefore 属性设置前置标签(#1464)
  • Upload 组件支持通过 imagePreview 属性启用内置的图片预览功能。(#1459)
  • Upload 组件支持 onDragLeaveonDragOver 事件回调(#1459)
  • Form 组件的 colon 属性支持传入 ReactNode。(#1455)

🐛 问题修复

  • 修复 Transfer 开启 draggable 时被禁用的选项仍然可以被拖拽的问题。(#1493)
  • 修复 Selectwidth: auto 时宽度未跟随内容自动变化的问题。(单选模式下内层新增 DOM 节点直接包裹 .arco-select-view-valueinput 标签)(#1490)
  • 修复 Tabs 组件在 RTL 视图下水平滚动方向错误的 bug。(#1487)
  • 优化 Cascader 组件选项的 title 属性显示 [object object] 的问题。(#1468)
  • 修复 Cascader 组件在设置 changeOnSelect & mode=multiple 时,子节点选中后父节点无法被选中的 bug(#1468)
  • 修复 Slider 由于父组件更新导致起始范围乱序的 bug。(#1467)
  • 修复 TreeSelect 受控清空 inputValue 后无法再次输入相同值的 bug(#1463)
  • 修复 Form.Item 组件的 shouldUpdate 属性在重置表单项时未生效的 bug。(#1462)
  • 修复 Layout.Sider 组件 defaultCollapsed 属性未生效的 bug。(#1458)
  • 修复 InputTag 组件开启 dragToSort 时,切换禁用状态时会将 Tag 重复渲染两遍的 bug。(#1457)

💅 样式更新

  • 修复 Tabs 组件 extra 元素较大宽度时被遮盖样式问题。(#1494)
  • 修复 Table 组件当 scroll.x 过小时总结列高度塌陷的样式问题。(#1492)
  • 修复暗黑模式下 Tabs 组件的新增图标色值有误的 bug。(#1454)
  • 修复 Tabs 组件在 type=line & tabPosition=bottom 时,分割线位置错误的样式问题。(#1248)
arco-design - https://github.com/arco-design/arco-design/releases/tag/2.41.0-beta.0

Published by github-actions[bot] about 2 years ago

🆕 Feature

  • Add Melayu.(#1465)
  • The Select component supports setting the front tag through the addBefore property(#1464)
  • The TreeSelect component supports setting the front tag through the addBefore property(#1464)
  • The Cascader component supports setting the front tag through the addBefore property(#1464)
  • The Upload component supports enabling built-in image preview functionality via the imagePreview property.(#1459)
  • Upload component supports onDragLeave and onDragOver event callbacks(#1459)
  • The colon property of the Form component supports passing a ReactNode.(#1455)

🐛 BugFix

  • Optimized the problem that the title property of the Cascader component option displays [object object].(#1468)
  • Fixed the bug that the parent node cannot be selected after the child node is selected when the Cascader component is set to changeOnSelect & mode=multiple(#1468)
  • Fix the bug that the starting range of Slider is out of order due to the update of the parent component(#1467)
  • Fixed the bug that the same value could not be entered again after TreeSelect was controlled to empty inputValue(#1463)
  • Fixed a bug where the shouldUpdate property of the Form.Item component did not take effect when resetting the form item.(#1462)
  • Fixed the bug that defaultCollapsed of Layout.Sider component did not take effect.(#1458)
  • Fixed the bug that when the InputTag component has enabled dragToSort, the tag will be rendered twice when the disabled state is toggled.(#1457)

💅 Style

  • Fixed a bug where the new icon color value of the Tabs component in dark mode was incorrect.(#1454)

🆕 功能升级

  • 新增马来语。(#1465)
  • Select 组件支持通过 addBefore 属性设置前置标签(#1464)
  • TreeSelect 组件支持通过 addBefore 属性设置前置标签(#1464)
  • Cascader 组件支持通过 addBefore 属性设置前置标签(#1464)
  • Upload 组件支持通过 imagePreview 属性启用内置的图片预览功能。(#1459)
  • Upload 组件支持 onDragLeaveonDragOver 事件回调(#1459)
  • Form 组件的 colon 属性支持传入 ReactNode。(#1455)

🐛 问题修复

  • 优化 Cascader 组件选项的 title 属性显示 [object object] 的问题。(#1468)
  • 修复 Cascader 组件在设置 changeOnSelect & mode=multiple 时,子节点选中后父节点无法被选中的 bug(#1468)
  • 修复 Slider 由于父组件更新导致起始范围乱序的 bug。(#1467)
  • 修复 TreeSelect 受控清空 inputValue 后无法再次输入相同值的 bug(#1463)
  • 修复 Form.Item 组件的 shouldUpdate 属性在重置表单项时未生效的 bug。(#1462)
  • 修复 Layout.Sider 组件 defaultCollapsed 属性未生效的 bug。(#1458)
  • 修复 InputTag 组件开启 dragToSort 时,切换禁用状态时会将 Tag 重复渲染两遍的 bug。(#1457)

💅 样式更新

  • 修复暗黑模式下 Tabs 组件的新增图标色值有误的 bug。(#1454)
arco-design - https://github.com/arco-design/arco-design/releases/tag/2.40.2

Published by github-actions[bot] about 2 years ago

🐛 BugFix

  • Fix the bug of console warning when Modal component is uninstalled under React 18(#1440)
  • Fixed the issue that when the Popconfirm component enables focusLock, the performance of the DOM level inside the Footer is inconsistent with the default, causing the button margin style to fail.(#1437)

💅 Style

  • Remove the overflow: hidden attribute of the extra content rendering area of the PageHeader component to avoid the problem of custom rendering content being covered(#1436)
  • Fixed the issue that when the Table component expands a row and nested a sub table, the cell transparent problem occurs when the subtable opens fixed column.(#1433)

🐛 问题修复

  • 修复 Modal 组件在 React 18 下卸载时控制台出现 warning 的 bug(#1440)
  • 修复 Popconfirm 组件开启 focusLock 时,Footer 内部 DOM 层级表现和默认不一致,导致按钮外边距样式失效的问题(#1437)

💅 样式更新

  • 移除 PageHeader 组件额外内容渲染区域的 overflow: hidden 属性,避免自定义渲染内容被遮盖的问题(#1436)
  • 修复 Table 组件展开行嵌套子表格时,子表格开启固定列会出现单元格透明的问题。(#1433)
arco-design - https://github.com/arco-design/arco-design/releases/tag/2.40.1

Published by github-actions[bot] about 2 years ago

🐛 BugFix

  • Fix the bug that when Table is turned off checkStrictly, passing in non-existing selectedKeys will report an error(#1420)
  • Fix the bug that the holderRef of useModal may not exist(#1418)

💅 Style

  • After opening preview of the Image component, the hover style changes to zoom-out(#1419)

🐛 问题修复

  • 修复 Table 在关闭 checkStrictly 后,传入不存在的 selectedKey 导致页面报错的 bug(#1420)
  • 修复 useModalholderRef 可能不存在的 bug(#1418)

💅 样式更新

  • Image 组件的开启 preview 后,鼠标悬停样式变为 zoom-out(#1419)
arco-design - https://github.com/arco-design/arco-design/releases/tag/2.40.0

Published by github-actions[bot] about 2 years ago


arco-design - https://github.com/arco-design/arco-design/releases/tag/2.39.3

Published by github-actions[bot] about 2 years ago

💎 Enhancement

  • Optimized Modal, Notification, Message components to render nodes via createRoot in React 18.(#1367)

🐛 BugFix

  • Fixed a bug where the Typography component would jitter in the folding calculation(#1366)
  • Fixed the jitter of the drop-down list when the Cascader component set expandTrigger to hover.(#1365)
  • Fix the bug that the callback is not triggered occasionally after Steps.Step is passed to the onClick event(#1364)
  • Fixed a bug where the Drawer component was forced to lock the focus inside an iframe, causing the parent page to fail to get the focus.(#1359)
  • Fixed a bug where the Modal component was forced to lock the focus inside an iframe, causing the parent page to fail to get the focus.(#1359)
  • Fixed a bug where the Popconfirm component was forced to lock the focus inside an iframe, causing the parent page to fail to get the focus.(#1359)
  • Fixed DatePicker component error in de-DE language.(#1358)
  • Fixed the bug that placeholder was not displayed as expected when InputTag was set to disabled.(#1357)
  • Fixed the bug that when the Cascader component has disabled child nodes, when the parent node in the half-selected state is selected, the selected state cannot be switched.(#1354)

💅 Style

  • Optimize the style of inline <a/> in Menu component.(#1362)
  • Optimize the style of <a/> embedded in Menu in the dropdown menu of the Dropdown component.(#1362)

💎 功能优化

  • 优化 Modal, Notification, Message 组件在 React 18 下渲染节点出现控制台 warning 的问题。(#1367)

🐛 问题修复

  • 修复 Typography 组件在折叠计算中会出现抖动情况的 bug(#1366)
  • 修复 Cascader 组件设置 expandTriggerhover 时下拉列表的抖动问题。(#1365)
  • 修复 Steps.Step 传入 onClick 事件后偶现不触发回调的 bug(#1364)
  • 修复 Drawer 组件在 iframe 内强制锁定焦点导致父页面无法获取焦点的 bug。(#1359)
  • 修复 Modal 组件在 iframe 内强制锁定焦点导致父页面无法获取焦点的 bug。(#1359)
  • 修复 Popconfirm 组件在 iframe 内强制锁定焦点导致父页面无法获取焦点的 bug。(#1359)
  • 修复 DatePicker 组件在 de-DE 语言下会报错的问题。(#1358)
  • 修复 InputTag 设置 disabledplaceholder 未按预期展示的 bug。(#1357)
  • 修复 Cascader 组件存在禁用子节点时,选中半选状态的父节点时无法切换选中状态的 bug。(#1354)

💅 样式更新

  • 优化 Menu 组件中内嵌 <a/> 的样式。(#1362)
  • 优化 Dropdown 组件下拉菜单中 Menu 内嵌 <a/> 的样式。(#1362)
arco-design - https://github.com/arco-design/arco-design/releases/tag/2.39.2

Published by github-actions[bot] about 2 years ago

💎 Enhancement

  • Optimized the behavior of auto-folding when horizontal Menu width changes to avoid occasional line breaks.(#1331)
  • Make sure that the keyboard shortcuts are still available when the Select component uses dropdownRender to customize the dropdown box content and gets the page focus.(#1328)

🐛 BugFix

  • Fix the problem that after the Table component updates data, the selectedRows is not updated in time when the selectedRows is selected next time.(#1341)
  • Fix the bug that the DatePicker.RangePicker component dynamically modifies disabled, and the disabled date is not updated in time.(#1336)
  • Fix server-side rendering error due to auto-generated DOM id.(#1334)
  • Fixed a bug where the initial pageSize of the Pagination component was inconsistent with the selected sizeOptions.(#1333)
  • Fixed a bug where the selected node was not scrolled to the viewport correctly when the Cascader component opened the virtual list.(#1329)
  • Fixed the problem that the Select component was repeatedly introduced when the Cascader / TreeSelect style was introduced by on-demand loading(#1327)

💅 Style

  • When the placeholder of the InputTag component is too long, it will be displayed with ... at the end.(#1339)
  • Fix the bug that the display position of the built-in collapse button of the Menu component is wrong(#1332)

💎 功能优化

  • 优化水平 Menu 宽度改变时自动折叠的表现,避免偶发的折行。(#1331)
  • 确保 Select 组件使用 dropdownRender 自定义下拉框内容并获取页面焦点时,键盘快捷键仍然可用。(#1328)

🐛 问题修复

  • 修复 Table 组件更新 data 之后,下次选中 selectedRows 未及时更新的问题。(#1341)
  • 修复 DatePicker.RangePicker 组件动态修改 disabled,禁用日期没有及时更新的 bug。(#1336)
  • 修复由于自动生成的 DOM id 导致的服务端渲染报错的问题。(#1334)
  • 修复 Pagination 组件的初始 pageSize 与选中的 sizeOptions 不一致的 bug。(#1333)
  • 修复 Cascader 组件开启虚拟列表时,选中节点未正确滚动到视口的 bug。(#1329)
  • 修复按需加载引入 Cascader / TreeSelect 样式时,Select 组件被重复引入的问题(#1327)

💅 样式更新

  • InputTag 组件 placeholder 过长时末尾使用 ... 展示。(#1339)
  • 修复 Menu 组件内置折叠按钮显示位置出错的 bug(#1332)
arco-design - https://github.com/arco-design/arco-design/releases/tag/2.39.1

Published by github-actions[bot] about 2 years ago

💎 Enhancement

  • Optimize cascader edge case handling(#1304)
  • Export prop version.(#1303)

🐛 BugFix

  • Fix the bug that setting md = 0 in the Grid.Col would cause it to not display on larger window sizes.(#1307)
  • Fix the bug that the method update returned by useModal is undefined when creating a modal instance.(#1300)
  • Fixed the bug that the panelRender of the DatePicker.RangePicker component did not work.(#1293)

💅 Style

  • Unify the style of the right arrow in Select multi-select and single-select modes.(#1302)

💎 功能优化

  • 优化 Cascader 组件多选时对传入的非法格式 value 的边界处理(#1304)
  • 组件库对外暴露 version 字段。(#1303)

🐛 问题修复

  • 修复 Grid.Col 组件设置 md = 0 会导致其在更大的窗口尺寸下也不展示的 bug。(#1307)
  • 修复通过 useModal 创建弹窗实例时返回的方法 updateundefined 的bug(#1300)
  • 修复 DatePicker.RangePicker 组件 panelRender 不生效的 bug。(#1293)

💅 样式更新

  • 统一 Select 多选和单选模式下的右侧箭头样式。(#1302)
arco-design -

Published by github-actions[bot] about 2 years ago

🚨 Important attention

  • In order to fix the bug that the Tag component exceeds the omission and the close icon is blocked, a new layer of DOM structure is added inside, and children will be placed under .arco-tag-content

💎 Enhancement

  • Pagination supports switching page numbers via keyboard events(#1276)
  • Collapse supports switching the current panel selection via keyboard events(#1276)
  • The Tag` component supports closing tags via keyboard events(#1276)

🆕 Feature

  • Image.Preview adds the imgAttributes parameter to transparently transmit the properties to the img tag in the preview modal(#1274)
  • The Cascader component supports the showSearch.panelMode property to control whether to display options in the search panel(#1267)
  • The Cascader component supports customizing the rendering of search terms via the showSearch.renderOption property(#1267)
  • TreeSelect add properties inputValue and onInputValueChange.(#1151)

🐛 BugFix

  • Fixed the bug that the width of the extra node of Tabs caused an error in the calculation of the head scrolling threshold.(#1275)
  • Fix the problem that the DatePicker.RangePicker component is wrong to judge whether it is out of range in a critical situation.(#1273)
  • Fixed Table component not rendering correctly when data format is [['1']], ['2']].(#1270)
  • Fix the bug that the ellipsis is not displayed after the Tag component text content exceeds.(#1268)
  • Fixed the issue that when virtual scrolling is enabled, when options with the same value exist in the search panel of the Cascader component, the options are rendered incorrectly.(#1266)

🚨 重点注意

  • 为了修复 Tag 组件超出省略以及关闭图标被遮挡的 bug,内部新增了一层 DOM 结构,children 将会被放置在 .arco-tag-content

💎 功能优化

  • Pagination 组件支持通过键盘事件切换页码(#1276)
  • Collapse 组件支持通过键盘事件切换当前面板选中(#1276)
  • Tag 组件支持通过键盘事件关闭标签(#1276)

🆕 功能升级

  • Image.Preview 新增 imgAttributes 参数,将属性透传至弹窗中的 img 标签上(#1274)
  • Cascader 组件支持通过 showSearch.showSearchPanel 属性控制是否以搜索面板展示可选项(#1267)
  • Cascader 组件支持通过 showSearch.renderOption 属性自定义搜索项的渲染(#1267)
  • TreeSelect 新增 inputValueonInputValueChange 属性。(#1151)

🐛 问题修复

  • 修复 Tabs 组件 extra 节点宽度导致头部滚动临界值计算错误的 bug(#1275)
  • 修复 DatePicker.RangePicker 组件在临界情况判断是否超出范围有误的问题。(#1273)
  • 修复 Table 组件在 data 格式为 [['1']], ['2']] 时不能正确渲染的问题。(#1270)
  • 修复 Tag 组件文本内容超出后未显示省略号的 bug。(#1268)
  • 修复 Cascader 组件的搜索面板存在 value 相同的选项时,开启虚拟滚动会出现选项渲染错乱的问题。(#1266)
arco-design - https://github.com/arco-design/arco-design/releases/tag/2.38.1

Published by github-actions[bot] about 2 years ago

🐛 BugFix

  • Fix the bug of inconsistent week display between DatePicker.WeekPicker input box and panel.(#1238)
  • Fixed the bug that the Image component passed the native property onLoad, onError was not triggered(#1236)
  • fix accept=* does not work in Upload(#1233)
  • Fix the bug that form value won't update when the parameter of setFieldsValue is empty array or empty object.(#1186)

🐛 问题修复

  • 修复 DatePicker.WeekPicker 输入框和面板显示的周不一致的 bug。(#1238)
  • 修复 Image 组件传入原生属性 onLoad, onError 不触发的 bug(#1236)
  • 修复 Upload 组件设置accept=*时失效的问题(#1233)
  • 修复 Form 组件 setFieldsValue 传入的值为空数组或空对象时,设置未生效的问题。(#1186)
arco-design - https://github.com/arco-design/arco-design/releases/tag/2.38.0

Published by github-actions[bot] about 2 years ago

🆕 Feature

  • Component TimePicker add triggerElement prop to support custom trigger element.(#1199)

🐛 BugFix

  • Fix the position jitter when the Mentions dropdown popup appears.(#1222)
  • Fix Image.Preview's onVisibleChange not triggering when preview is opened.(#1219)
  • Fix the bug that the onChange callback of the paginator does not trigger after Table is passed to pagination alone(#1217)
  • Fixed a bug where the Trigger component could not display the popup in React 18 strict mode.(#1215)
  • Fixed the bug that Carousel would slide to the first page when clicking in the middle of indicators.(#1210)
  • Fixed the bug that child elements of Carousel could not fill up the height of the component.(#1210)
  • Fixed a bug where the label of the selected item was not displayed properly when the TreeSelect component enabled multiple checkbox selection and remote search in controlled mode.(#1207)
  • Fixed a bug where clicking the close button of an Alert component accidentally triggered the submit event of an external form.(#1205)
  • Fix DatePicker.RangePicker can't change mode from month to year.(#1188)
  • Fixed flickering "no data" placeholder when allowCreate in Select.(#1184)

🆕 功能升级

  • TimePicker 组件添加 triggerElement 属性支持自定义触发器。(#1199)

🐛 问题修复

  • 修复 Mentions 组件下拉弹窗出现时的位置抖动。(#1222)
  • 修复 Image.PreviewonVisibleChange 回调在打开预览不触发的问题。(#1219)
  • 修复在 Table 单独传入 pagination 后,分页器的 onChange 回调不触发的 bug(#1217)
  • 修复 Trigger 组件在 React 18 严格模式下弹出层无法显示的 bug。(#1215)
  • 修复 Carousel 点击指示器中间的区域时会滑动到第一页的 bug。(#1210)
  • 修复 Carousel 内的子元素无法撑起组件高度的 bug。(#1210)
  • 修复 TreeSelect 组件在受控模式下开启复选框多选且远程搜索时,已选中项存在 label 未正常展示的 bug。(#1207)
  • 修复点击 Alert 组件的关闭按钮误触外部 formsubmit 事件的 bug。(#1205)
  • 修复 DatePicker.RangePicker 点击头部月份再点击年份无响应的问题。(#1188)
  • 修复 SelectallowCreate 时下拉框闪烁空状态的问题。(#1184)
arco-design - https://github.com/arco-design/arco-design/releases/tag/2.37.2

Published by github-actions[bot] about 2 years ago

🐛 BugFix

  • Fixed an issue where the onInputValueChange callback might not be triggered in the inputValue controlled mode of the Select component.(#1178)
  • Fix the bug that the onChange callback parameter of the Table component is not updated in time(#1155)

🐛 问题修复

  • 修复 Select 组件 inputValue 受控模式下,onInputValueChange 回调可能无法触发的问题。(#1178)
  • 修复 Table 组件 onChange 回调参数更新不及时的bug(#1155)
arco-design - https://github.com/arco-design/arco-design/releases/tag/2.37.1

Published by github-actions[bot] over 2 years ago

🐛 BugFix

  • Fixed the bug that when the InputNumber component is readOnly=true, clicking the up and down keys can still change the value.(#1141)
  • Fix the problem of Typography text omission under different text styles such as underline(#1137)
  • Fixed the bug that disabled didn't work for the second button of Dropdown.Button.(#1136)

🐛 问题修复

  • 修复 InputNumber 组件 readOnly=true 时,点击上下键仍然可以改变值的 bug。(#1141)
  • 修复 Typography 组件 underline 等不同文本样式下文字省略问题(#1137)
  • 修复 disabled 属性未对 Dropdown.Button 的第二个按钮生效的 bug。(#1136)
arco-design - https://github.com/arco-design/arco-design/releases/tag/2.37.0

Published by github-actions[bot] over 2 years ago

🆕 Feature

  • Support for RTL mode. (Table, Resize, Slider components are still being developed)
  • The Select component supports customizing the maxTag content display through the maxTagCount property of the object type(#1112)
  • The Cascader component supports customizing the maxTag content display through the maxTagCount property of the object type(#1112)
  • The TreeSelect component supports customizing the maxTag content display through the maxTagCount property of the object type(#1112)
  • The InputTag component allows formatting of values entered by the user via the validate property.(#1110)
  • Cascader supports the default highlighting of the first option after searching by setting the defaultActiveFirstOption property.(#1096)
  • The Upload component supports listening to the onDrop event(#1071)
  • Form.useWatch supports watching multiple field values.(#1034)

🐛 BugFix

  • Fixed Form.useWatch when monitoring a form control with an initial value but not mounted, the return value has a change of initial value => undefined, causing the component to update.(#1034)
  • Fix the bug that ellipsis does not take effect when Table component set column.sorter and column.ellipsis at the same time.(#1108)
  • Fix the style issue that the left border of Table component disappears when there is no data.(#1106)
  • Fix the bug of error when Table component data is null.(#1104)
  • Fixed bug where the onChange method of the Form.Item component injected into a custom form control would be redeclared every time it renders.(#1102)
  • fix Upload can upload file type not in accept(#1097)

💅 Style

  • The Typography default style adds white-space: 'normal' to remove the parent element's effect on ellipsis.(#1109)
  • Fixed an issue where the drag flag of the first item in the list might be obscured by the container when Transfer is draggable.(#1103)

🆕 功能升级

  • 全局支持 RTL 模式。 (TableResize, Slider 组件仍在完善中)
  • Select 组件支持通过对象类型的 maxTagCount 属性定制 maxTag 内容展示(#1112)
  • Cascader 组件支持通过对象类型的 maxTagCount 属性定制 maxTag 内容展示(#1112)
  • TreeSelect 组件支持通过对象类型的 maxTagCount 属性定制 maxTag 内容展示(#1112)
  • InputTag 组件允许通过 validate 属性格式化用户输入的值。(#1110)
  • Cascader 支持通过 defaultActiveFirstOption 属性设置搜索后默认高亮第一个选项。(#1096)
  • Upload 组件支持监听 onDrop 事件(#1071)
  • Form.useWatch 支持监听多个字段值。(#1034)

🐛 问题修复

  • 修复 Form.useWatch 在监听有初始值但未挂载的表单控件时,返回值存在 初始值 => undefined 的变化,导致组件更新。(#1034)
  • 修复 Table 组件同时开启 column.sortercolumn.ellipsis 时,ellipsis 不生效的 bug。(#1108)
  • 修复 Table 组件左边框在无数据时消失的样式问题。(#1106)
  • 修复 Table 组件 data 为 null 时报错的 bug。(#1104)
  • 修复 Form.Item 组件注入到自定义表单控件的 onChange 方法每次渲染都会重新声明导致子组件可能循环渲染的 bug。(#1102)
  • 修复 Upload 组件在 Windows 系统下可以上传非 accept 类型的文件(#1097)

💅 样式更新

  • Typography 默认样式添加 white-space: 'normal' 以消除父元素对省略影响。(#1109)
  • 修复 Transfer 可拖拽时,列表中的第一个条目的拖拽标识可能被容器遮挡的问题。(#1103)
arco-design - https://github.com/arco-design/arco-design/releases/tag/2.36.1

Published by github-actions[bot] over 2 years ago

🐛 BugFix

  • Fixed the bug that when the Drawer was set to visible=true during the hiding process, clicking again on the masked drawer could not be hidden.(#1079)
  • Fix the problem that the order of form items is adjusted under Form.List, and the verification status may be displayed in disorder.(#1077)
  • Fixed Calendar component defaultValue and selected date not being highlighted.(#1073)
  • Fix console React Warning (not recognize prop on a DOM element) caused by Input component.(#1070)

🐛 问题修复

  • 修复 Drawer 在隐藏过程中设置 visible=true 时,再次点击蒙层抽屉无法被隐藏的 bug。(#1079)
  • 修复 Form.List 下调整表单项顺序,校验状态可能出现展示错乱的问题。(#1077)
  • 修复 Calendar 组件 defaultValue 以及 selected date 没有被高亮的问题。(#1073)
  • 修复 Input 组件导致的控制台 React Warning(not recognize prop on a DOM element)。(#1070)
arco-design - https://github.com/arco-design/arco-design/releases/tag/2.36.0

Published by github-actions[bot] over 2 years ago

💎 Enhancement

  • Optimized the display of the Transfer component in simple mode for the current number of options in the list.(#1045)
  • The Menu component supports switching operations using the Tab key.(#1038)
  • The Typography component is beyond ellipsis optimization, and cssEllipsis supports multi-line elision scenarios to meet performance optimization in the case of large amounts of data.(#1039)

🆕 Feature

  • Statistic component adds renderFormat parameter to support custom rendering.(#1044)

🐛 BugFix

  • Fixed the bug that the data and record outputted by the Table component contained internal data.(#1047)
  • Fixed a bug where the validation state of other form items was lost when the Form.List component was removed from the form item.(#1046)
  • Fixed a bug where the form.clearFields() method did not clear the validation state.(#1046)
  • Fixed a bug where InputNumber was affected by the global configuration of Input.(#1042)
  • Fixed a bug where the selection range of the DatePicker component was invalid in rare cases.(#1041)
  • fix dragToSort not works on Cascader(#1029)
  • fix dragToSort not works on TreeSelect(#1029)

💅 Style

  • Completely hides the popup menu when the Dropdown menu item has no children.(#1043)
  • Fixed ellipsis in Pagination not vertically centered in some cases.(#1040)
  • Fixed the issue that the arrow direction on the right side of Menu.SubMenu did not change when it was expanded.(#1022)

💎 功能优化

  • 优化 Transfer 组件在 simple 模式下对于当前列表选项数目的展示形式。(#1045)
  • Menu 组件支持使用 Tab 键进行切换操作。(#1038)
  • 优化 Typography 组件超出省略,cssEllipsis 支持多行省略场景以满足大量数据情况下性能优化。(#1039)

🆕 功能升级

  • Statistic 新增 renderFormat 参数支持自定义渲染。(#1044)

🐛 问题修复

  • 修复 Table 组件对外输出的 data 和 record 包含内部数据的 bug。(#1047)
  • 修复 Form.List 组件在移除表单项时,其他表单项校验状态丢失的 bug。(#1046)
  • 修复 form.clearFields() 方法未清空校验状态的 bug。(#1046)
  • 修复 InputNumberInput 的全局配置影响的 bug。(#1042)
  • 修复 DatePicker 组件少数情况选择范围失效的 bug。(#1041)
  • 修复 dragToSortCascader 中不生效的问题(#1029)
  • 修复 dragToSortTreeSelect 中不生效的问题(#1029)

💅 样式更新

  • Dropdown 的菜单项没有子节点时彻底隐藏弹出菜单。(#1043)
  • 修复 Pagination 中的省略号在某些情况下垂直方向未居中的问题。(#1040)
  • 修复 Menu.SubMenu 展开时其右侧的箭头方向未改变的问题。(#1022)
arco-design - https://github.com/arco-design/arco-design/releases/tag/2.35.1

Published by github-actions[bot] over 2 years ago

💎 Enhancement

  • The Select component uses the Dom Attribute to mark options that the user is creating and has already created.(#1011)

🐛 BugFix

  • Fixed arrow style of Tooltip in dark mode(#995)
  • Fix the bug that Table component will change the original data when tree data.(#990)

💎 功能优化

  • Select 组件通过 Dom Attribute 标记用户正在创建和已经创建的选项。(#1011)

🐛 问题修复

  • 修复了黑暗模式下 Tooltip 箭头样式问题(#995)
  • 修复 Table 组件在树形数据时会改变原始 data 的 bug。(#990)
Package Rankings
Top 1.13% on Npmjs.org
Badges
Extracted from project README
license Awesome