Releases: arco-design/arco-design-vue
Releases · arco-design/arco-design-vue
2.12.0
2021-12-24
⚠️ Important Attention
- modal: Modify the way the wrapper layer displays modal, and add the
width
andtop
attributes (#454) - textarea: The calculation of max-length no longer excludes carriage returns, which is consistent with the React version (#452)
- input: The change event is only triggered when the value changes (#452)
- input-number: Modify the change event to be triggered only when out of focus and press Enter to solve the problem that the control cannot be input (#452)
💎 Optimization
- badge: No longer render the logo when count is 0 (#445)
🆕 Feature
- Icon component adds size attribute (#455)
- input:
max-length
addserrorOnly
attribute andword-slice
attribute (#451) - textarea:
max-length
addserrorOnly
attribute andword-slice
attribute (#451) - input-number: Add support for input slot (#451)
- link: Add click event (#450)
- drawer: Add unmount-on-close attribute (#449)
- switch: Added
checked-value
andunchecked-value
attributes (#444) - switch: Added
checked-color
andunchecked-color
attributes (#444)
🐛 BugFix
- modal: Fix the problem that the button content cannot be modified dynamically (#453)
- affix: Fix the problem of displaying warning when used in combination with the anchor component (#448)
- progress: Fix the display value precision problem (#447)
- upload: Fix the problem that tip is not displayed in button mode (#446)
- upload: Fix the bug that the disabled style of the
upload
component does not take effect (#430)
💅 Style
- table: Fix the problem of extra border on the last row in table scroll mode (#456)
2021-12-24
⚠️ 重点注意
- modal: 修改 wrapper 层展示 modal 的方式,并添加
width
和top
属性 (#454) - textarea: max-length 的计算不再排除回车情况,同 React 版本保持一致 (#452)
- input: 修改 change 事件仅在值发生改变时触发 (#452)
- input-number: 修改 change 事件仅在失焦和按下回车时触发,解决受控不能输入的问题 (#452)
💎 功能优化
- badge: count 为 0 时不再渲染徽标 (#445)
🆕 新增功能
- 图标类组件增加 size 属性 (#455)
- input:
max-length
增加errorOnly
属性,增加word-slice
属性 (#451) - textarea:
max-length
增加errorOnly
属性,增加word-slice
属性 (#451) - input-number: 增加对 input 插槽的支持 (#451)
- link: 增加 click 事件 (#450)
- drawer: 增加 unmount-on-close 属性 (#449)
- switch: 增加
checked-value
和unchecked-value
属性 (#444) - switch: 增加
checked-color
和unchecked-color
属性 (#444)
🐛 问题修复
- modal: 修复按钮内容不能动态修改的问题 (#453)
- affix: 修复与 anchor 组件组合使用,显示 warning 的问题 (#448)
- progress: 修复显示数值精度问题 (#447)
- upload: 修复按钮模式下 tip 没有显示的问题 (#446)
- upload: 修复
upload
组件的禁用样式不生效的 bug (#430)
💅 样式更新
- table: 修复 table 滚动模式下最后一行多余边框的问题 (#456)
2.11.1
2.11.0
2021-12-17
🆕 Feature
- upload: Add
download
attribute (#418) - space: add property
fill
(#415) - menu: add icon slot for
sub-menu
andmenu-item
(#412) - table:
columns
added cellStyle property (#411) - upload: add
show-remove-buttoon
andshow-retry-button
andshow-cancel-button
property (#396) - upload: add
imageLoading
property (#396) - drawer: add property
footer
(#394)
🐛 BugFix
- upload: Fix the problem of the wrong position of the icon in the upload (#417)
- upload: Fix the problem that not all files are obtained by the second parameter of
beforeUpload
when uploading folders by dragging and dropping (#417) - upload: Fix the problem that the dragging style flashes when the mouse enters the internal text when dragging and uploading (#417)
- table: Fix the problem of inconsistent width between the header and the main body caused by the change of the table size in the fixed column mode (#410)
- tabs: Fix the problem that scrolling is not recalculated when the width of the tab bar changes (#409)
- tabs: Fix the problem that the indicator width cannot follow the update when the width of the label option changes (#409)
- input-tag: Fix the problem that the internal input size is calculated incorrectly in some cases (#408)
- input-number: Fix the problem of displaying errors when
model-value
is 0 (#407) - trigger: Fix the problem of the wrong position of the pop-up layer caused by the change of container size (#406)
- trigger: Fix the problem that the pop-up layer is closed due to the hover method in nested use (#406)
- tree-select: fix the problem that search is invalid when rename the key field (#405)
- anchor: Fix the problem that the hash position will not be located after loading (#400)
- cascader: Fix the problem that the level totalLevel is calculated incorrectly (#399)
- modal: Fix the problem that the
alignCenter
property does not take effect (#384) - modal: The
alignCenter
property of the adjustment component defaults totrue
(#384)
💅 Style
- menu: Fix the problem of height overflow when the sidebar is collapsible (#416)
2021-12-17
🆕 新增功能
- upload: 增加
download
属性 (#418) - space: 新增属性
fill
(#415) - menu:
sub-menu
和menu-item
新增 icon 的 slot (#412) - table:
columns
新增 cellStyle 属性 (#411) - upload: 新增
show-remove-buttoon
、show-retry-button
、show-cancel-button
属性 (#396) - upload: 新增
imageLoading
属性 (#396) - drawer: 新增属性
footer
(#394)
🐛 问题修复
- upload: 修复上传中的图标位置不对的问题 (#417)
- upload: 修复拖拽上传文件夹时,
beforeUpload
的第二个参数获取到的不是全部文件的问题 (#417) - upload: 修复拖拽上传时,鼠标进入内部文字,拖拽样式闪动的问题 (#417)
- table: 修复固定列模式下,表格尺寸变化导致表头和主体宽度不一致问题 (#410)
- tabs: 修复标签栏宽度变化时,没有重新计算滚动的问题 (#409)
- tabs: 修复标签选项宽度变化时,指示器宽度不能跟随更新的问题 (#409)
- input-tag: 修复某些情况下内部 input 大小计算错误的问题 (#408)
- input-number: 修复
model-value
为 0 时展示错误的问题 (#407) - trigger: 修复容器尺寸变化导致弹出层位置错误的问题 (#406)
- trigger: 修复嵌套使用中 hover 方式导致弹出层关闭的问题 (#406)
- tree-select: 修复设置 key 字段名的时候搜索失效的问题 (#405)
- anchor: 修复加载后不会定位到 hash 位置的问题 (#400)
- cascader: 修复层级 totalLevel 计算错误的问题 (#399)
- modal: 修复
alignCenter
属性不生效的问题 (#384) - modal: 调整组件的
alignCenter
属性默认为true
(#384)
💅 样式更新
- menu: 修复侧边栏可折叠的时候高度溢出的问题 (#416)
2.10.1
2021-12-14
🐛 BugFix
- cascader: Fix the problem of counting errors when there is an empty sub-menu in multi-select mode (#388)
- dropdown: Fix component disabled failure and attribute inheritance issues (#385)
- select: Fix the problem of disabled in the options attribute (#385)
- select: Fix the problem that the bordered property does not take effect, add an example (#385)
- trigger: Fix the problem that the pop-up layer size change will not trigger the update (#382)
- trigger: Fix the problem that the position and adaptation in
align-point
mode do not take effect (#382) - card: Fix the problem that the content of slots is not updated (#380)
💅 Style
- popconfirm: Fix the component style problem, and adjust the default size of the button to
mini
, which is consistent with React (#390) - input-tag: Fix the component height problem (#383)
- input-tag: Fix the width of the component close button (#383)
🆎 TypeScript
- modal:
ModalConfig
addssimple
attribute annotation (#389)
2021-12-14
🐛 问题修复
- cascader: 修复多选模式下存在空子菜单时计数错误的问题 (#388)
- dropdown: 修复 组件 disabled 失效和属性继承的问题 (#385)
- select: 修复 options 属性中 disabled 失效的问题 (#385)
- select: 修复 bordered 属性未生效的问题,添加示例 (#385)
- trigger: 修复弹出层尺寸变化不会触发更新的问题 (#382)
- trigger: 修复
align-point
模式下位置和自适应不生效的问题 (#382) - card: 修复 slots 内容存在不更新的问题 (#380)
💅 样式更新
- popconfirm: 修正组件样式问题,并调整按钮默认大小为
mini
,同React保持一致 (#390) - input-tag: 修复组件高度问题 (#383)
- input-tag: 修复组件关闭按钮宽度问题 (#383)
🆎 类型修正
- modal:
ModalConfig
增加simple
属性注解 (#389)
2.10.0
2021-12-10
💎 Optimization
- select: When the input box is editable, clicking will not close the drop-down menu (#348)
- cascader: When the input box is editable, clicking will not close the drop-down menu (#348)
🆕 Feature
- tabs: Add headerPadding property and enable it by default (#362)
- form:
form-item
adds layout and class name related attributes (#361) - table: Add span-method prop (#360)
- collapse: key adds support for number (#358)
- dropdown: Add footer slot (#350)
- cascader: Add checkStrictly prop (#349)
- select: Add fallback-option and show-extra-options attributes (#347)
- select: Fix the problem of warnings when components are used in JSX, and variables cannot be used in slots (#347)
- select: Fix the problem that the drop-down menu cannot pop up when the icon is clicked for the first time in the multi-select input box (#347)
- grid: add
flex
property toa-col
(#340)
🐛 BugFix
- input-number: Fix the problem of repeatable input of
-
and.
(#359) - statistic: Fix the problem that it does not take effect when precision is 0 (#357)
- tabs: Fix the problem of tab closable failure in editable mode (#356)
- menu: fix the problem that the width of the menu cannot fill the parent element (#346)
- carousel: The out subitem is not hidden (#343)
💅 Style
- textarea: Fix the style problem of prohibited mode (#355)
- message: Use flex layout to display message (#354)
- modal: Fix the problem of modal information display mode error (#351)
- modal: The title bar close button is not displayed in simple mode (#351)
- input-tag: Optimize label animation and close button style (#345)
2021-12-10
💎 功能优化
🆕 新增功能
- tabs: 增加 headerPadding 属性并默认开启 (#362)
- form:
form-item
增加布局和类名相关属性 (#361) - table: 增加 span-method 属性 (#360)
- collapse: key增加对number的支持 (#358)
- dropdown: 增加 footer 插槽 (#350)
- cascader: 增加 checkStrictly 属性 (#349)
- select: 增加 fallback-option 和 show-extra-options 属性 (#347)
- select: 修复组件在 JSX 使用中出现警告、插槽不能使用变量的问题 (#347)
- select: 修复多选输入框首次点击图标不能弹出下拉菜单的问题 (#347)
- grid: 组件
a-col
新增属性flex
(#340)
🐛 问题修复
- input-number: 修复可重复输入
-
和.
的问题 (#359) - statistic: 修复 precision 为 0 时没有生效的问题 (#357)
- tabs: 修复可编辑模式下选项卡 closable 失效的问题 (#356)
- menu: 修复菜单宽度没有撑满父元素的问题 (#346)
- carousel: out子项内未隐藏 (#343)
💅 样式更新
2.9.0
2021-12-03
🆕 Feature
- drawer:
Drawer
supports okButtonProps & cancelButtonProps (#325) - pagination: Modify and add slots, support template customization (#324)
- tree: add prop default-expand-selected default-expand-checked auto-expand-parent (#322)
- steps: add title props (#316)
🐛 BugFix
- table: Fix the problem that the tree expand button triggers form submission (#321)
- spin: Fix the problem that switching states in container mode causes sub-components to reload (#320)
- space: Fix the problem of rendering v-if nodes (#318)
2021-12-03
🆕 新增功能
- drawer:
Drawer
支持okButtonProps
和cancelButtonProps
属性 (#325) - pagination: 修改和增加插槽,支持模板自定义 (#324)
- tree: 新增属性
default-expand-selected
default-expand-checked
auto-expand-parent
(#322) - steps: 增加 title 属性 (#316)
🐛 问题修复
2.8.0
2021-12-01
⚠️ Important Attention
- spin: No additional layer of
<div>
will be added when the container mode is not loaded
🆕 Feature
- textarea: Add support for min rows and max rows (#309)
- select: Add support for
tagProps
(#307) - cascader: Add support for
tagProps
(#307) - input-tag: Add support for
tagProps
(#307) - menu: add prop auto-open-selected (#306)
- result: Added
extra
slot anddefault
slot (#302) - list: Add the display of empty data (#296)
- Add the font-family on the body (#287)
🐛 BugFix
- form: Fix the problem of invalid setting of null value in
setFields
method (#311) - auto-complete: Fix the problem that disabled is unavailable (#310)
- pagination: Fix the problem that the input box and the number selector are not disabled when the
disabled
property is set to true (#297) - drawer: Fix the problem that the drawer is still in the fixed layout when setting the popup-container property (#297)
- input-number: Fix the problem that the button does not add size in button mode (#293)
- tree: Update checked keys after load more (#206)
💅 Style
- radio: Remove the selected bold effect in button mode (#308)
- cascader: Remove the option to select the bold effect (#308)
2021-12-01
⚠️ 重点注意
- spin: 容器模式的非加载情况下,不会再额外增加一层
<div>
🆕 新增功能
- textarea: 增加最小行和最大行的支持 (#309)
- select: 增加
tagProps
的支持 (#307) - cascader: 增加
tagProps
的支持 (#307) - input-tag: 增加
tagProps
的支持 (#307) - menu: 新增属性
auto-open-selected
(#306) - result: 增加
extra
插槽和default
插槽 (#302) - list: 增加空数据的展示 (#296)
- 增加 body 上的 font-family (#287)
🐛 问题修复
- form: 修复
setFields
方法设定空值失效的问题 (#311) - auto-complete: 修复 disabled 不可用的问题 (#310)
- pagination: 修复
disabled
属性设置为 true 时,输入框和条数选择器未禁用的问题 (#297) - drawer: 修复设置
popup-container
属性时,抽屉仍然是fixed
布局的问题 (#297) - input-number: 修复 button 模式下按钮没有添加 size 的问题 (#293)
- tree: 动态加载节点后更新勾选状态 (#206)
💅 样式更新
2.7.0
2021-11-26
🆕 Feature
- progress: Add
track-color
prop (#277) - pagination: add
base-size
&buffer-size
props (#275) - Added support for smart prompts for web-types and vetur (#272)
- form: Add
rules
prop (#271) - dropdown: Add
disabled
prop (#270) - descriptions: Add the
align
prop (#268) - table: Add
footer
slot (#266) - table: In normal mode, the scroll bar will be turned on when the table width is larger than the container (#266)
- avatar: supports
maxStyle
andmaxPopoverTriggerProps
properties. (#242) - modal: Added
on-before-ok
andon-before-cancel
property events (#229) - drawer: Added
on-before-ok
andon-before-cancel
property events (#229) - popconfirm: Added
on-before-ok
andon-before-cancel
property events (#229) - link: Add icon setting via
icon
property/slot property or slot (#226) - mention: Add
type
prop (#205)
🐛 BugFix
- input: Fix the problem that the enter key of the numeric keyboard does not trigger
press-enter
(#273) - modal: Fix the issue of initial triggering of the
open
event (#267) - drawer: Fix the issue of initial triggering of the
open
event (#267) - menu: the prop trigger-props take no effect (#265)
- menu: Horizontal menu items are not displayed normally when they are collapsed and then expanded (#264)
💅 Style
- steps: Fix the problem of the connection color of the vertical step bar (#276)
- Fix the problem that the outer border of the icon will appear when selecting the icon in the new version of the browser (#274)
- descriptions: Modify the style of the value area to support line-wrapping text (#269)
- tree: let the content of tree node centerd in vertical (#260)
2021-11-26
🆕 新增功能
- progress: 增加
track-color
属性 (#277) - pagination: 增加
base-size
&buffer-size
属性 (#275) - 增加对 web-types 和 vetur 的智能提示支持 (#272)
- form: 增加
rules
属性 (#271) - dropdown: 增加
disabled
属性 (#270) - descriptions: 增加
align
属性 (#268) - table: 增加
footer
插槽 (#266) - table: 常规模式下表格宽度大于容器时会开启滚动条 (#266)
- avatar: 支持
maxStyle
和maxPopoverTriggerProps
属性。 (#242) - modal: 增加
on-before-ok
和on-before-cancel
属性事件 (#229) - drawer: 增加
on-before-ok
和on-before-cancel
属性事件 (#229) - popconfirm: 增加
on-before-ok
和on-before-cancel
属性事件 (#229) - link: 增加通过
icon
属性/插槽设置图标 (#226) - mention: 增加
type
属性 (#205)
🐛 问题修复
- input: 修复数字键盘回车键没有触发
press-enter
的问题 (#273) - modal: 修复初始触发
open
事件的问题 (#267) - drawer: 修复初始触发
open
事件的问题 (#267) - menu:
trigger-props
不生效 (#265) - menu: 横向的菜单项收起再展开的时候没有正常显示 (#264)
💅 样式更新
2.6.1
2021-11-24
💎 Optimization
- table: Do not scroll when data is empty (#245)
🐛 BugFix
- trigger: Fix the problem of triggering errors when nesting different types of
<trigger>
(#244) - page-header: Fix the problem that the dividing line is still displayed when there is no subtitle (#224)
- table: Fix the issue that the expand row button triggers form submission (#210)
- steps: Fix the problem that the
status
attribute in the<step>
component does not take effect (#209) - form: Fix the problem that the additional content style of the form does not take effect (#208)
🆎 TypeScript
- Fix the issue of type warning in the console when using input components in
<form>
(#247)
2021-11-24
💎 功能优化
- table: 数据为空时不展示滚动 (#245)
🐛 问题修复
- trigger: 修复嵌套不同类型
<trigger>
时触发错误的问题 (#244) - page-header: 修复没有子标题时仍然显示分割线的问题 (#224)
- table: 修复展开行按钮触发表单提交的问题 (#210)
- steps: 修复
<step>
组件中status
属性不生效的问题 (#209) - form: 修复表单附加内容样式没生效的问题 (#208)
🆎 类型修正
- 修复在
<form>
中使用输入型组件在控制台出现类型警告的问题 (#247)
2.6.0
2021-11-19
🆕 Feature
- input-tag: Add support for backspace key (#202)
- select: Add
footer
slot (#201) - textarea: Add
word-length
attribute (#199) - trigger: Add
prevent-focus
property (#197) - select: Add
trigger-props
property (#197) - cascader: Add
trigger-props
property (#197)
🐛 BugFix
- select: Fix the problem that the
data
parameter is not sent from theoption
slot (#200) - upload: Fix the problem of overflow when the picture name is too long (#198)
- upload: Fix the problem that the photo wall mode cannot wrap when it exceeds the length (#198)
- Fix the problem that input type components repeatedly get focus (#196)
- date-picker: Fix the problem of abnormal verification in form (#195)
💅 Style
- menu: pop menu adapts to dark theme (#193)
2021-11-19
🆕 新增功能
- input-tag: 增加退格键的支持 (#202)
- select: 增加
footer
插槽 (#201) - textarea: 增加
word-length
属性 (#199) - trigger: 增加
prevent-focus
属性 (#197) - select: 增加
trigger-props
属性 (#197) - cascader: 增加
trigger-props
属性 (#197)
🐛 问题修复
- select: 修复
option
插槽没有传出data
参数的问题 (#200) - upload: 修复图片名过长时溢出的问题 (#198)
- upload: 修复照片墙模式,超出长度不能换行的问题 (#198)
- 修复 input 型组件重复获取焦点的问题 (#196)
- date-picker: 修复在 form 里校验异常的问题 (#195)
💅 样式更新
- menu: 弹出型子菜单适配暗色主题 (#193)