Skip to content

Releases: ElemeFE/element

1.2.8

07 Apr 11:28
Compare
Choose a tag to compare
  • 修复 Form 的 resetFields 会给表单项重新赋值的问题,#3840(by @pengchongfu

  • 新增 CheckboxGroup 的 maxmin 属性,#3700(by @mdartic

  • 修复 DatePicker 在一些特定的日期会导致月份 +1 的问题,#3935

  • 新增 Message 的 closeAll 方法,#3966(by @pengchongfu

  • 新增 Slider 的 format-tooltip 属性,#3657(by @liyanlong

  • 修复内嵌于 Dialog 中的 Table 的筛选面板被遮挡的问题,#4023(by @liyanlong

  • 修复单选的 Select 在 Vue 2.2.x 下无法创建条目的问题,#3984

  • 修复某些断点下 span 为 0 的 Row 在其他断点下也会消失的问题,#4053

  • Fixed resetFields of Form reassigning form items, #3840 (by @pengchongfu)

  • Added max and min attributes for CheckboxGroup, #3700 (by @mdartic)

  • Fixed DatePicker adding one to picked month in some specific days, #3935

  • Added closeAll method for Message, #3966 (by @pengchongfu)

  • Added format-tooltip attribute for Slider, #3657 (by @liyanlong)

  • Fixed filter panel of Table being when nested in a Dialog, #4023 (by @liyanlong)

  • Fixed single Select unable to create new items in Vue 2.2.x, #3984

  • Fixed Row disappearing in all breakpoints if its span is set to 0 in some breakpoints, #4053

1.2.7

29 Mar 04:08
Compare
Choose a tag to compare
  • 修复 Select 不兼容 Vue 2.2.6 的问题,#3797

  • 优化 Table 的 Tooltip 渲染性能,#3478

  • 新增 Table tooltip-effect 属性

  • Fixed Select not compatible with Vue 2.2.6, #3797

  • Improve performance for rendering tooltip in Table, #3478

  • Add tooltip-effect property for Table

1.2.6

28 Mar 10:39
Compare
Choose a tag to compare
  • 修复 Switch 样式不兼容 vue SSR,#3752

  • 修复 TimePicker 日期计算错误,#3479

  • 修复 DatePicker 格式化 week 类型错误,#2774

  • 修复 DatePicker 周选择器默认值,#3058

  • 修复 Popover 销毁时未正确清除事件,#3555

  • 修复 InputNumber 鼠标左右键一起按下会导致值一直自增加,#3514(by @pengchongfu

  • 修复 RadioButton 样式文件引入但无样式,#3276

  • 修复 Table 的 hover 样式,#3696(by @nicoeg

  • 修复 Slider 跳动问题,#3664(by @gabrielboliveira

  • 新增 Select delete-tag 事件 #3663(by @pengchongfu

  • 新增 DatePicker 的 onPick 选项,#2921

  • 新增 Steps 可分别设置 step 的状态(status)和样式调整,#3722

  • 新增 完整的按需引入组件的文档,#3302

  • Fixed Switch compatible with SSR, #3752

  • Fixed the time of TimePicker calculating incorrectly, #3479

  • Fixed the week of DatePicker formatting incorrectly, #2774

  • Fixed the week of DatePicker initializing incorrectly, #3058

  • Fixed the events of Popover destroying incorrectly, #3555

  • Fixed InputNumber setInterval, #3514 (by @pengchongfu)

  • Fixed RadioButton css files, #3276

  • Fixed hover style on striped Table, #3696 (by @nicoeg)

  • Fixed Slider's button jumping left issue, #3664 (by @gabrielboliveira)

  • Added delete-tag event for Select, #3663 (by @pengchongfu)

  • Added onPick option for DatePicker, #2921

  • Added status for Step, #3722

  • Added full example for on-demand importing, #3302

1.2.5

19 Mar 02:45
Compare
Choose a tag to compare
  • 新增 Slider 的 show-tooltip 属性,#3430(by @gabrielboliveira

  • 修复动态改变 Slider step 的精度时,其值的精度不随之改变的问题,#3475(by @gabrielboliveira

  • 修复含有 Tooltip 的 Table 在当前窗口高度临界于出现滚动条时,弹出 Tooltip 会导致 Table 宽度抖动的问题,#3549

  • 修复 Table 在某些情况下高度自动往复变小的问题,#3539

  • 修复 Popover 中的弹出类组件在点击 Popover 的空白区域时不隐藏的问题,#3451(by @nicoeg

  • 现在 xssmmdlg 值为 0 的 Col 会被正确隐藏,#3564

  • Added show-tooltip property for Slider, #3430 (by @gabrielboliveira)

  • Fixed Slider precision not updating when step is updated, #3475 (by @gabrielboliveira)

  • Fixed a bug that when the window is at the criticality of showing the scrollbar, the popup of Tooltip inside a Table will cause the Table to shake horizontally, #3549

  • Fixed Table automatically shrinking vertically in some conditions, #3539

  • Fixed popup components inside a Popover not hiding when blank area is clicked, #3451 (by @nicoeg)

  • Now Col will hide itself if its xs, sm, md or lg is set to 0, #3564

1.2.4

09 Mar 10:19
Compare
Choose a tag to compare
  • 修复 Carousel 有时不响应数据动态更新的问题,#3159

  • 修复 Table 的 cell-dblclick 事件无法触发的问题,#3305

  • 修复禁用的 Cascader 不显示默认值的问题,#3297

  • 修复 Slider 在 show-input 时初始值不正确的问题,#3281

  • 修复 Tooltip 在服务端渲染时报错的问题,#3214

  • 修复 DatePicker 的 range-separator 属性有时无效的问题,#3378

  • 新增指令式调用 Loading 时响应动态加载文案的功能,#3345(by @imyzf

  • 新增 Upload 的 http-request 参数,用于实现覆盖默认的上传行为,#3387

  • 新增 Col 支持将 span 值设为 0 时隐藏该列的功能,#3313

  • Fixed Carousel not responding to dynamic data updates, #3159

  • Fixed cell-dblclick of Table not firing issue, #3305

  • Fixed disabled Cascader not displaying initial value, #3297

  • Fixed Slider not correctly displaying initial value when show-input is true, #3281

  • Fixed Tooltip error in server-side rendering, #3214

  • Fixed range-separator of DatePicker not working issue, #3378

  • Added support for dynamically update loading text of Loading directive, #3345 (by @imyzf)

  • Added http-request attribute for Upload, #3387

  • Added support for hiding col if its span is 0, #3313

1.2.3

01 Mar 07:26
Compare
Choose a tag to compare

1.2.2

28 Feb 10:16
Compare
Choose a tag to compare
  • 修复若干组件与 Vue 2.2 不兼容的问题,#3002 #3067 #3097
  • 修复嵌套在 Dialog 内的 Cascader 下拉框有时出现在 Dialog 之后的问题,#3035
  • 修复 Cascader 的 change 事件参数在某些情况下不正确的问题,#3014
  • 新增 ColorPicker 的 change 事件,#3049(by @nicoeg
  • 修复 Tree 的 setCheckedKeys 方法对非叶子节点无效的问题,#2967(by @rainyLeo
  • 修复 Tooltip 和 router-link共用报错的问题,#3143
  • Fixed compatibility issues with Vue 2.2, #3002 #3067 #3097
  • Fixed Cascader's dropdown hiding behind Dialog when nested in a Dialog, #3035
  • Fixed incorrect parameter of change event of Cascader, #3014
  • Add change event for ColorPicker, #3049 (by @nicoeg)
  • Fixed setCheckedKeys method of Tree not working on non-leaf nodes, #2967 (by @rainyLeo)
  • Fixed Tooltip and router-link are not compatible, #3143

1.2.1

23 Feb 07:44
Compare
Choose a tag to compare
  • 修复用于 SSR 时报错的问题,#2982
  • 修复 Tabs 左右滚动按钮无法出现的问题,#2974
  • 修复 Table 在动态改变 height 属性后高度计算错误的问题,#2979
  • 新增 Table 的 cell-dblclickheader-dragend 事件,#2983 #2988
  • 修复行内表单在指定 label-width 时表单元素出现左边距的问题,#2990
  • 修复 Cascader 在某些情况下弹出框位置不正确的问题,#2992
  • Fixed SSR regression in version 1.2.0, #2982
  • Fixed horizontal scroll buttons not showing in Tabs, #2974
  • Fixed wrong calculation of height after the height attribute is updated dynamically in Table, #2979
  • Added cell-dblclick and header-dragend events for Table, #2983 #2988
  • Fixed form items showing a left padding inside an inline Form with a specified label-width, #2990
  • Fixed Cascader's dropdown misplaces in some conditions, #2992

1.2.0 Lithium

22 Feb 11:31
Compare
Choose a tag to compare

新特性:

  • 新增 Cascader、ColorPicker 组件
  • Tabs 新增 editableaddable 属性以及 tab-addedit 事件
  • 新增 UMD 格式的语言包文件
  • Tree 新增 node-expandnode-collapse 事件,#2507(by @masterzhang
  • Tree 新增 indent 属性,#2713
  • Dialog 的标题支持以具名 slot 的方式传入,#2657
  • Slider 新增 range 属性,支持范围选择,#2751
  • Upload
    • 新增 auto-upload 属性,用以控制是否在选择图片后自动上传,默认为开启
    • 新增 on-change 钩子函数在文件状态改变时会调用
    • 新增 list-type 设置文件列表展示外观
  • Autocomplete 滚动条使用 el-scrollbar

修复:

  • Carousel 不响应内容动态更新的问题,#2775
  • TimePicker 在某些情况下数字位置不居中的问题,#2948
  • TimePicker 在某些情况下范围选择时仅响应偶数次点击的问题,#2884(by @k55k32
  • Tab 修复 tab-pane 动态显示时插入顺序问题, #2898
  • Menu 修复将 default-active 设置为不存在的 index 时 menu-item 还会高亮的问题
  • Collapse 修复嵌套使用时的样式问题

非兼容性更新:

  • 重构 Tooltip,不再生成额外的 HTML 标签,确保被 tooltip 包裹的组件的结构不变,#2459
  • Dialog 的遮罩层现在默认插入至 body 元素上,#2556
  • Tabs 现在内部不再维护 tab 实例,需要在外部通过相关事件去处理, #2567
  • Upload 重构升级
    • default-file-list 属性更名为 file-list, show-upload-list 属性更名为 show-file-list
    • thumbnail-mode 属性被移除

New features:

  • Two brand new components: Cascader and ColorPicker
  • New attributes editable and addable, and new events tab-add and edit for Tabs
  • Language config files in UMD format
  • New events node-expand and node-collapse for Tree, #2507 (by @masterzhang)
  • New attribute indent for Tree, #2713
  • Dialog's title now supports named slot, #2657
  • New attribute range for Slider, #2751
  • Upload
    • Attribute auto-upload that controls if files are uploaded immediately after selecting, and its default value is true
    • Event on-change that fires when file status changes
    • Attribute list-type that configures the appearance of file list
  • Scrollbars in Autocomplete is made prettier

Fixes:

  • Carousel not responding to contents' update, #2775
  • Numbers in TimePicker not align in some conditions, #2948
  • TimePicker only responding to odd clicks in some conditions, #2884 (by @k55k32)
  • Tabs' display order error when tab-pane is dynamically changed, #2898
  • Menu highlighting menu-item when default-active is assigned to an non-existent item
  • Collapse's style issue when nested

Breaking changes:

  • Tooltip is refactored, no additional HTML tags will be rendered so that the structures of nested component stay unchanged, #2459
  • The backdrop of Dialog now inserts to body element by default, #2556
  • Tabs don't maintain tab instances internally any more, so they should be handled externally via events emitted by Tabs, #2567
  • Upload is refactored
    • default-file-list renamed to file-list, and show-upload-list renamed to show-file-list
    • thumbnail-mode removed

1.1.6

23 Jan 09:41
Compare
Choose a tag to compare
  • 修复 MessageBox 的 customClass 会影响后续实例的问题,#2472
  • 修复位于 Tabs 非默认激活页中的 Select 在激活后样式不正确的问题,#2466
  • 修复一些组件在单独引入时样式缺失的问题
  • 修复被禁用的可搜索多选 Select 点击特定区域仍能打开下拉框的问题,#2540
  • 修复 Table 排序支持返回原始顺序,#2491
  • 新增 reset.csstheme-default 内,#2378
  • 新增 DatePicker 的 range-separator 属性,#2579
  • 发布单独组件包:Table,DatePicker,Loading,Upload,Carousel
  • 新增芬兰语(@groenroos
  • Fixed customClass of MessageBox affecting follow-up instances, #2472
  • Fixed style issue of Select after being activated when located in a non-default-activated tab pane inside Tabs, #2466
  • Fixed style missing issue for some components when imported on demand
  • Fixed disabled filterable multiple Select still showing dropdown when clicked on a certain area, #2540
  • Restored returning to original sorting in sortable Table columns, #2491
  • Added reset.css in theme-default, #2378
  • Added range-separator attribute for DatePicker, #2579
  • Published individual component packages: Table, DatePicker, Loading, Upload and Carousel
  • Add Finnish (@groenroos)