Skip to content

Releases: ElemeFE/element

2.5.2

27 Jan 13:40
Compare
Choose a tag to compare

优化

修复

  • 构建:

Optimization

Bug fixes

2.5.1

26 Jan 12:47
Compare
Choose a tag to compare

优化

修复

  • 修复升级 Webpack 4 产生的问题,无法具名 import 组件,ELEMENT.locale() 调用报错。(by @island205 in #14220
  • 恢复 2.4.11 文档 (by @iamkun in #14222)

Optimization

Bug fixes

v2.5.0

25 Jan 12:24
Compare
Choose a tag to compare

新特性

优化

  • 升级到 webpack@4 (by @jikkai in #14173)
  • Input
    • 简化内部实现,遵循单向数据流;修复若干相关 Bug (by @wacky6 in #13471)
  • 更新 Axure 文件,增加新组件 (by @ziyoung in #13773)

修复


New features

Optimization

  • Upgrade to webpack@4 (by @jikkai in #14173)
  • Input
    • Simplify implementation, follow one-way data flow. Fix several related bugs. (by @wacky6 in #13471)
  • Update Axure file,add new components (by @ziyoung in #13773)

Bug fixes

2.4.11

17 Jan 03:31
Compare
Choose a tag to compare
  • Revert pr #13296. Fixed clicking on Menu external causing Submenu collapsed, #13478
  • Adjust small screen (xs) media query breakpoints, #13468 (by @alekoshen712)

2.4.10

16 Nov 12:12
Compare
Choose a tag to compare
  • 修复多次点击 Select 才显示下拉列表的问题,#13268
  • Form 禁用时不显示 Input 的 clear 图标,#13208
  • 调整 Select,Progress,Autocomplete,Tooltip,Collaspe,TimePicker 的样式,#13188 (by @porcelainHeart) #13210 #13266 #13257 #13290 #13347 (by @PanJiaChen)
  • Carousel 组件新增 loop 属性,#13217
  • Table 的 data 改变时,高亮行会继续保留,#13200
  • Table 的 header slot 可以接收参数,#13263
  • Table 的 clearFilter 方法支持参数,#13176
  • Table 单元格内没有内容时不再创建 Tooltip,#13152 (by @rongxingsun)
  • ColorPicker 面板的输入框内容可以正常显示了,#13278
  • 在拖拽时,ColorPicker 不再触发表单校验,#13299
  • InputNumber 新增 select 方法,#13286 (by @st-sloth)
  • Autocomplete 新增 clear 事件,#12171(by arthurdenner) #13326
  • 可以通过点击 Menu 外部来关闭 Menu,#13296
  • Form 的 validateField 方法可以接收参数,#13319
  • Cascader 新增 visible-change 事件,#13415
  • DatePicker 新增 range-seprator slot, #13272 (by @milworm)
  • Tree 新增 iconClasscurrentNodeKey 属性,#13337 #13197 (by @isnifer)
  • Progress 的 status 添加了 text #13198 (by @ali-master)
  • 修复 Tree 的 defaultCheckedKeys 导致显示的错误,#13349 (by @dive2Pro)

  • Fixed multiple clicks on Select to display the drop-down list, #13268
  • The clear icon for input is not displayed when Form is disabled, #13208
  • Adjust the style of Select, Progress, Autocomplete, Tooltip, Collaspe, TimePicker, #13188 (by @porcelainHeart) #13210 #13266 #13257 #13290 #13347 (by @PanJiaChen)
  • Carousel component added loop attribute, #13217
  • When the data of Table changes, the highlighted line will remain, #13200
  • Table header scoped slot can receive parameters, #13263
  • Table's clearFilter method supports arguments, #13176
  • Tooltip is no longer created when there is no content in the Table cell, #13152 (by @rongxingsun)
  • The input box contents of the ColorPicker panel can be displayed correctly, #13278
  • ColorPicker no longer triggers form validation when dragging, #13299
  • InputNumber added select method, #13286 (by @st-sloth)
  • Autocomplete added clear event, #12171(by arthurdenner) #13326
  • You can close Menu by clicking on Menu outside, #13296
  • Form's validateField method can receive arguments, #13319
  • Cascader added visible-change event, #13415
  • DatePicker added range-seprator slot, #13272 (by @milworm)
  • Tree adds iconClass and currentNodeKey properties, #13337 #13197 (by @isnifer)
  • Progress's status added text #13198 (by @ali-master)
  • Fixing tree's defaultCheckedKeys caused an error, #13349 (by @dive2Pro)

2.4.9

26 Oct 11:23
Compare
Choose a tag to compare
  • Form 组件 clearValidate 方法参数支持字符串,#12990 (by @codinglobster
  • Badge 新增 type 属性,#12991
  • 用户可以使用 scoped-slot 来自定义表头,#13012(by @ivanseidel
  • 修复 IE 下 Select 输入框不能输入的问题,#13034(by @GaliMu
  • Select 多选时,选项不换行,#12329 (by @akki-jat
  • Select 下拉列表展开后,箭头图标也可以正确显示,#12353(by @firesh
  • 修复 Select 的 size 属性不生效的问题,#13070
  • 多选时可以清除 Select 已选中的值,#13049(by @ZSkycat
  • 修复最后一个 TabNav 不能删除的问题,#13039
  • 修复 TabNav 中 label 显示不正确的问题,#13178
  • Alert 新增 title slot,#13082(by @Kingwl
  • 修复 Table 中的 tooltip 内容不正确的问题,#13159(by @elfman
  • 优化 Upload 文件列表删除时的动画,#12987
  • 当 InputNumber 控制按钮不显示时,调整了边距,#13052

  • The parameter of Form's clearValidate supports string, #12990 (by @codinglobster)
  • Added type attribute for Badge, #12991
  • Users can use scoped-slot to customize table column header #13012 (by @ivanseidel)
  • Fixed the input box of Select unable to type text under IE, #13034 (by @GaliMu)
  • Select option does not wrap when space is enough, #12329 (by @akki-jat)
  • When dropdown list of Select is expanded, the arrow icon will also display correctly, #12353 (by @firesh)
  • Fixed that the size attribute of Select does not work, #13070
  • Select multiple values can be cleared, #13049 (by @ZSkycat)
  • Fixed the last TabNav unable be deleted, #13039
  • Fixed that TabNav label is not displayed correctly, #13178
  • Added title slot for Alert, #13082 (by @Kingwl)
  • Fixed an issue where the tooltip content in Table was incorrect, #13159 (by @elfman)
  • Optimize the animation of Upload when file is deleted, #12987
  • Adjusted style of InputNumber when control button is not displayed, #13052

2.4.8

09 Oct 06:19
Compare
Choose a tag to compare
  • Switch 聚焦时不显示轮廓,#12771
  • 修复 Dropdown 在 ButtonGroup 中样式问题,#12819 (by @bluejfox
  • Dialog 新增 opened 事件,#12828
  • 修复 TabNav 显示顺序不正确的问题,#12846
  • 修复 Tabs 没有滑动到选中 tab 的问题,#12948
  • 修复 Tree 节点在拖拽时标识符不显示的问题,#12854
  • Form 的 validate 事件参数中包含了校验的信息,#12860 (by @YamenSharaf
  • 修复 DatePicker 没有校验用户输入时间的合法性问题,#12898
  • 修复 Table 表头的 render-header属性不生效的问题,#12914

  • Not displaying outline when Switch is focused, #12771
  • Fixed Dropdown's style in ButtonGroup, #12819 (by @bluejfox)
  • Added opened event for Dialog, #12828
  • Fixed the incorrect display order of TabNav, #12846
  • Fixed the problem that Tabs did not scroll to the selected tab, #12948
  • Fixed the problem that the identifier does not display when the Tree node is dragged, #12854
  • The validate event parameter of Form contains the validation message, #12860 (by @YamenSharaf)
  • Fixed DatePicker not to verify the validity of user input time, #12898
  • Fixed the problem that render-header attribute of Table header doesn't work, #12914

2.4.7

14 Sep 07:52
Compare
Choose a tag to compare
  • 修复 DatePicker 未触发表单检验的问题,#12328#12348
  • 修复 DatePicker 多选时报错的问题,#12347
  • 修复 DatePicker 选择时间时 spinner 位置不正确的问题,#12415 (by @rang-ali
  • 修复 Datepicker 输入框自动填充的问题,#12521 (by @abdallanayer
  • 修复 Cascader 中 Input 未高亮的问题,#12341
  • 修复 Tabpane 顺序不正确的问题,#12346
  • 修复 ColorPicker 取色光标位置不正确的问题,#12376 (by @cnwhy
  • 调整 Submenu 的样式,#12457
  • 修复 Submenu 选中后没有高亮的问题,#12479
  • 修复 Cascader 选择值不正确的问题,#12508 (by @huangjinqiang
  • 修复 Pagination 输入框值不正确的问题,#12525
  • 调整 Pagination 触发事件的顺序,#12530
  • 修复 Table 的 filter 不显示的问题,#12539
  • 修复 Tree 无法删除节点的问题,#12684
  • 修复 Select 在单选时 Input 高度变化的问题,#12719
  • 修复 Form 在嵌套时 label 显示不正确的问题,#12748
  • 新增 Input 的 autocomplete 属性,废弃 auto-complete 属性,#12514 (by @axetroy
  • 新增 Form 的 slot-scope 展示表单校验信息,#12715 (by @YamenSharaf

  • Fixed DatePicker not triggering form validation, #12328 #12348
  • Fixed DatePicker throwing errors in multiple mode, #12347
  • Fixed incorrect position of DatePicker spinner, #12415 (by @rang-ali)
  • Fixed automatic filling of DatePicker input box, #12521 (by @abdallanayer)
  • Fixed Input not highlighted in Cascader, #12341
  • Fixed wrong order of Tabpane, #12346
  • Fixed incorrect position of ColorPicker cursor, #12376 (by @cnwhy)
  • Adjust the style of Submenu, # 2457
  • Fixed not highlighted after Submenu is selected, #12479
  • Fixed incorrect values selected by Cascader, #12508 (by @huangjinqiang)
  • Fixed incorrect value of Pagination input box, #12525
  • Adjust order that Pagination triggers events, #12530
  • Fixed Table Filter not displayed, #12539
  • Fixed Tree unable to delete nodes, #12684
  • Fixed height of Select Input changing in single mode, #12719
  • Fixed style of FormItem label in nested Form, #12748
  • Added autocomplete attribute for Input, deprecated auto-complete, #12514 (by @axetroy)
  • Added slots-scope for Form to display validation information, #12715 (by @YamenSharaf)

2.4.6

10 Aug 09:30
Compare
Choose a tag to compare
  • 修复 Table 的 filter 初始值为空数组时不显示筛选图标的问题,#12165
  • 修复 Menu 在更改 collapse 时不保存菜单激活状态的问题,#12178 (by @elfman)
  • 修复 Cascader 未转义特殊字符的问题,#12248
  • 修复禁用的 RadioButton 在点击时显示 box-shadow 的问题,#12262
  • 修复 Select 初始值为 undefined 时方向键失效的问题,#12322
  • 修复 Select 多选时输入的关键字消失的问题,#12304
  • 修复 Select 多选时查询函数没有去抖的问题,#12181
  • 修复 Dialog 在全屏显示时宽度不正确的问题,#12203
  • 修复 Main 在 IE 下的显示不正确的问题,#12237
  • 修复 Input 触发两次表单校验的问题,#12260
  • 修复 Tree 在懒加载时添加节点导致节点消失的问题,#12256
  • 修复 Tree 节点在拖拽后无法删除的问题,#12279
  • 修复 Popover 在 InputNumber 聚焦时不显示的问题,#12284
  • 添加 Autocomplete 的 popper-append-to-body 属性,#12241
  • 添加 Pagination 的 page-size 属性 sync 修饰符的支持,#12281

  • Fixed Table not showing filter icon when filters is assigned empty array, #12165
  • Fixed Menu not saving active state when collapse is changed, #12178 (by @elfman)
  • Fixed Cascader not escaping special characters for Regexp, #12248
  • Fixed disabled RadioButton showing box-shadow when clicked, #12262
  • Fixed arrow key not effect when default value is undefined,#12322
  • Fixed query function of Select not debounced in multi mode, #12181
  • Fixed query keyword of Select disappearing in multi mode, #12304
  • Fixed incorrect width of Dialog when it is displayed in full screen, #12203
  • Fixed incorrect display of Main on IE, #12237
  • Fixed Input triggering two form validations, #12260
  • Fixed adding new Tree node causing nodes to disappear, #12256
  • Fixed Tree node not deleted after dragging, #12279
  • Fixed Popover not visible when InputNumber focuses, #12284
  • Added popper-append-to-body attribute for Autocomplete, #12241
  • Added sync modifier support for Pagination's page-size attribute, #12281

2.4.5

26 Jul 08:16
Compare
Choose a tag to compare
  • 修复 Table 设置 class-nameexpand 列不生效的问题,#12006
  • 新增 Table 的 toggleAllSelection 方法,#12047
  • 修复 Input 包含 Select 时,suffix 插槽位置显示不正确的问题,#12108
  • 修复 Option 的 line-height 无法设置的问题,#12120
  • 修复初始值为 null 的 TimeSelect 在执行 resetField 后无法再赋值的问题,#12010
  • 修复 Tree 组件中不响应方向键以外 keydown 事件的问题,#12008
  • 修复 Tree 在懒加载情况下选中父节点的问题,#12106
  • Tree 的 getCheckedNodes 方法新增 includeHalfChecked 参数,#12014

  • Fixed Table setting class-name does not work for expand column, #12006
  • Added toggleAllSelection method for Table, #12047
  • Fixed wrong position of suffix slot when Input contains Select, #12108
  • Fixed line-height of Option unable to set, #12120
  • Fixed TimeSelect with default value of null could not be assigned after executing resetField, #12010
  • Fixed keydown event which is not arrow key does not work in Tree, #12008
  • Fixed parent node checked in lazy mode, #12106
  • Added includeHalfChecked parameter for getCheckedNodes of Tree, #12014