v2.12.0
版本发布时间: 2019-08-30 10:39:50
ElemeFE/element最新发布版本:v2.15.14(2023-08-24 21:58:42)
New features
- Popover
- Add close-delay prop (#16671 by @LachlanStuart)
- Theme
- Add Chrome Extension: Element Theme Extension (#16686 by @iamkun)
- Icon
- Add font-display to @font-face declaration (#16805 by @iamfaizalandyka)
Bug fixes
- Carousel
- Fix onChange emit value (#16705 by @iamkun)
- Notification
- Fix modifying incoming option object (#16704 by @iamkun)
- DatePicker
- Add className for picker option (#16632 by @iamkun)
- DateTimePicker
- Fix time-spinner not scroll to right position (#16854 by @jesse-li)
- Table
- Prevent click handler after drag (#16850 by @ziyoung)
- Fix chrome crash when set thead css display to none (#16956 by @luckyCao)
- Fix wrong empty block height (#16861 by @ziyoung)
- Not throw error when calling toggleExpansion (#16304 by @yyjjqq94)
- Not trigger sort-change event when mounted (#17113 by @a631807682)
- Fix setCurrentRow unable to clear highlight row (#16879 by @ziyoung)
- Fix expand-row-keys not work when data is loaded asynchronously (#16899 by @ziyoung)
- set toggleAllSelection as instance property (#17137 by @ziyoung)
- Tree
- Fix distance between label and checkbox (#16799 by @Hazlank)
- Tabs
- Fix incorrect TabItem's position (#16520 by @victorting)
- Fix activated tab is out of visual range bug (#17033 by @nullptru)
- Calendar
- Fix weekdays i18n issue (#16772 by @ubitoffee)
- fix locale error by @iamkun)
- Cascader
- Fix CascaderPanel display error (#16716 by @zhangHongEn)
- Fix disable status and close button issue (#16224 by @yyjjqq94)
- Input
- Fix Korean composition event (#15069 by @MoonHyuk)
- Fix click event of clear button not trigger when using v-loading (#16576 by @a631807682)
- Select
- Not toggle dropdown when filtering (#17205 by @luckyCao)
- Transfer
- Fix style error (#17206 by @iamkun)
- Dialog
- update sass var (#16365 by @haoranyu)
- RadioGroup
- Not produce invalid HTML in table if "is" attribute is specify (#17070 by @nullptru)
- Divider
- Support custom classes (#17078 by @island205)
Optimization
- Checkbox
- Improve screen reader experience (#16575 by @tylertrotter)
- Docs
- Update changelog (#16773 by @SimonaliaChen)
- Update contributing guide (#14800 by @sinchang)
- Fix typo in Drawer docs (#16848 by @winkay)
- Update custom theme (#16983 by @iamkun)
- Add Esperanto translation (#16955 by @maxkoryukov)
- Update input-number document about change event (#16316 by @luckyCao)
- Update spanish doc 2.11.1 (#16961 by @Gonzalo2310)
- I18n
- Remove translation of 'year' in catalan language as in the other languages (#14722 by @oscaralbareda)
- Update spanish changelog 2.10.0 and 2.10.1 (#16548 by @Gonzalo2310)
- Update ar.js (#16653 by @l3op)
- Test
- Correct spelling error (#16672 by @boomler)
- Refactor unit test to use data-uri (#16847 by @a631807682)
- Types
- Fix httprequest type (#16633 by @luckyCao)
新特性
- Popover
- 添加 close-delay 属性 (#16671 by @LachlanStuart)
- Theme
- 增加 Chrome 插件: Element Theme Extension (#16686 by @iamkun)
- Icon
- 支持 font-display 属性的配置 (#16805 by @iamfaizalandyka)
Bug fixes
- Table
- 在表头拖拽后阻止 click 事件的触发 (#16850 by @ziyoung)
- 修复表头 display 为 none 造成浏览器崩溃的问题 (#16956 by @luckyCao)
- 修复没有数据的时表格高度问题 (#16861 by @ziyoung)
- 调用 toggleExpansion 不再抛出异常 (#16304 by @yyjjqq94)
- 挂载时不再触发 sort-change 事件 (#17113 by @a631807682)
- 修复 setCurrentRow 方法不生效的问题 (#16879 by @ziyoung)
- 修复当数据异步加载时,expand-row-keys 不生效的问题 (#16899 by @ziyoung)
- 把 toggleAllSelection 设置为 Table 示例的属性 (#17137 by @ziyoung)
- Tree
- 修复文字与复选框之间的距离 (#16799 by @Hazlank)
- Tabs
- 修复 TabItem 位置不正确的问题 (#16520 by @victorting)
- 修复高亮的 Tab 不在可视区的问题 (#17033 by @nullptru)
- Calendar
- 修复日期的显示问题 (#16772 by @ubitoffee)
- 修复在夏令时的显示问题 (#17208 by @iamkun)
- Cascader
- 修复 CascaderPanel 的显示问题 (#16716 by @zhangHongEn)
- 禁用状态下,关闭按钮不显示 (#16224 by @yyjjqq94)
- Input
- 修复韩语输入问题 (#15069 by @MoonHyuk)
- 触发清楚按钮的点击事件 (#16576 by @a631807682)
- Select
- 过滤时,不收起下拉框 (#17205 by @luckyCao)
- Transfer
- 修复样式问题 (#17206 by @iamkun)
- Dialog
- 添加 SCSS 变量 (#16365 by @haoranyu)
- RadioGroup
- is 指定时,不产生非法的 HTML 片段 (#17070 by @nullptru)
- Divider
- 支持自定义类 (#17078 by @island205)
- Carousel
- 修复 change 的触发时机 (#16705 by @iamkun)
- Notification
- 不修改传入的 option (#16704 by @iamkun)
- DatePicker
- 给 picker-option 添加 className 属性 (#16632 by @iamkun)
- DateTimePicker
- 修复时间选择滚动条的问题 (#16854 by @jesse-li)
Optimization
- Checkbox
- 提高可访问性 (#16575 by @tylertrotter)
- Docs
- 更新 changelog (#16773 by @SimonaliaChen)
- 更新贡献指南 (#14800 by @sinchang)
- 修复 Drawer 文档中的拼写错误 (#16848 by @winkay)
- 更新自定义主题 (#16983 by @iamkun)
- 新增 Esperanto 翻译 (#16955 by @maxkoryukov)
- 更新 input-number 文档 (#16316 by @luckyCao)
- 更新 Spanish 文档 (#16961 #16548 by @Gonzalo2310)
- I18n
- 更新加泰罗尼亚语翻译 (#14722 by @oscaralbareda)
- 更新阿拉伯语翻译 (#16653 by @l3op)
- Test
- 修复拼写错误 (#16672 by @boomler)
- 优化 image 的单元测试 (#16847 by @a631807682)
- Types
- 修复 httprequest 的类型 (#16633 by @luckyCao)