🌜
🌞
element-ui

element-ui

v2.15.9

A Component Library for Vue.js.

npm install element-ui

README


backers sponsors

A Vue.js 2.0 UI Toolkit for Web.

Element will stay with Vue 2.x

For Vue 3.0, we recommend using Element Plus from the same team (Element Plus is a community develop project)

Install

npm install element-ui -S

Quick Start

import Vue from 'vue'
import Element from 'element-ui'

Vue.use(Element)

// or
import {
  Select,
  Button
  // ...
} from 'element-ui'

Vue.component(Select.name, Select)
Vue.component(Button.name, Button)

For more information, please refer to Quick Start in our documentation.

Browser Support

Modern browsers and Internet Explorer 10+.

Development

Skip this part if you just want to use Element.

For those who are interested in contributing to Element, please refer to our contributing guide (中文 | English | Español | Français) to see how to run this project.

Changelog

Detailed changes for each release are documented in the release notes.

FAQ

We have collected some frequently asked questions. Before reporting an issue, please search if the FAQ has the answer to your problem.

Contribution

Please make sure to read the contributing guide (中文 | English | Español | Français) before making a pull request.

Special Thanks

English documentation is brought to you by SwiftGG Translation Team:

Spanish documentation is made possible by these community developers:

French documentation is made possible by these community developers:

Join Discussion Group

Scan the QR code using Dingtalk App to join in discussion group :

Join Discusion Group

LICENSE

MIT

Release Notes

2.15.9
By bofeng • Published on June 3, 2022

2.15.9

2022-06-02

Bug fixes

  • Table
    • Fix Tabl-header shake bug (#21863 by @bofeng)
    • Fix when partial import show el-checkbox not imported error (#21828 by @bobohuochai)
  • FormItem
    • Fix change rules verification not reset bug (#21892 by @bofeng)
  • Cascader
    • Fix change options unexpect error (#21759 by @louiebb)
  • Docs
    • Fix Popover docs (#21843 by @lod61)
    • Fix Calendar docs (#21814 by @GoJam11)
    • Fix TimePicker docs (#21803 by @Alanscut)
    • Fix DatePicker docs (#21877 by @Nirvanaiu)
  • 其他
    • Fix codepen display bug (#21863 by @bofeng)

Optimization

  • I18n
    • Add translation of Swahili (#21895 by @quilltouch)
  • Chore
    • Use launch-editor-middleware in dev environment (#21633 by @polemices)
  • DatePicker & Cascader
    • Optimize the dropdown animation direction (#21806 by @XivLaw)
  • Tooltip
    • Optimize getFirstElement code (#21886 by @zhankang)
  • Input
    • Optimize scss code (#21558 by @cheese-git)

2.15.9

2022-06-02

Bug 修复

  • Table
    • 表头抖动修复 (#21863 by @bofeng)
    • 按需引用时 el-checkbox not imported 修复 (#21828 by @bobohuochai)
  • FormItem
    • 修复 rules 切换为 null 时校验未重置 问题 (#21892 by @bofeng)
  • Cascader
    • 修复 切换 options 时错误报错信息 问题 (#21759 by @louiebb)
  • Docs
    • 修复 Popover 文案 (#21843 by @lod61)
    • 修复 Calendar 文案 (#21814 by @GoJam11)
    • 修复 TimePicker 文案 (#21803 by @Alanscut)
    • 修复 DatePicker 文案 (#21877 by @Nirvanaiu)
  • 其他
    • 官网在线演示功能修复 (#21863 by @bofeng)

优化

  • I18n
    • 新增 斯瓦希里语 翻译 (#21895 by @quilltouch)
  • Chore
    • 本地开发时可从 devTools 工具跳转源代码 (#21633 by @polemices)
  • DatePicker & Cascader
    • 弹窗方向优化 (#21806 by @XivLaw)
  • Tooltip
    • 优化 getFirstElement 代码 (#21886 by @zhankang)
  • Input
    • 优化 scss 代码 (#21558 by @cheese-git)
2.15.8
By bofeng • Published on April 13, 2022

2.15.8

2022-04-12

Bug fixes

  • Switch
    • Fix toggling value problem(#19473 by @EdwinBetanc0urt)
  • Docs
    • Fix input docs (#21723 by @justforuse)
    • Fix DatePicker docs (#21663 by @justforuse)
    • Fix Skeleton docs (#21601 by @yanwydxf)
  • Others
    • Fix vue version (#21736 by @ckvv)

Optimization

  • I18n
    • add translation of Azerbaijani (#21012 by @ricardotondello)
    • update translation of Slovenian (#21729 by @patik123)
    • update translation of Slovak (#21711 by @sjaustirni )
    • add translation of Icelandic (#21709 by @aronhr)
    • add translation of Bengali (#21485 by @llwwtt)

Others

  • Due to compatibility considerations, the PR on node-sass (#21019 by @linxsbox) of 2.15.7 release has been withdrawn and will be published in an appropriate version after re-evaluation.

2.15.8

2022-04-12

Bug 修复

  • Switch
    • 修复 toggling value 问题(#19473 by @EdwinBetanc0urt)
  • Docs
    • 修复 input 文案 (#21723 by @justforuse)
    • 修复 DatePicker 文案 (#21663 by @justforuse)
    • 修复 Skeleton 文案 (#21601 by @yanwydxf)
  • 其他
    • 修复 vue 版本(#21736 by @ckvv)

优化

  • I18n
    • 新增 阿塞拜疆语 翻译 (#21012 by @ricardotondello)
    • 更新 斯洛文尼亚语 翻译 (#21729 by @patik123)
    • 更新 斯洛伐克语 翻译 (#21711 by @sjaustirni )
    • 新增 冰岛语 的翻译 (#21709 by @aronhr)
    • 新增 孟加拉 语的翻译 (#21485 by @llwwtt)

其他

  • 因兼容性考虑,撤回2.15.7关于node-sass的更新(#21019 by @linxsbox),重新评估后会在后续合适版本上线
2.15.7
By Hodor • Published on November 18, 2021

2.15.7

2021-11-18

Bug fixes

  • Select
    • fix click icon triggering dropdown (#21314 by @dennyak47)
    • fix keydown event when composition (#21336 by @bchen1029)
  • Badge
    • fix type class when is-dot (#21308 by @adaex)
  • Form
    • validate method reject error info (#21374 by @cs1707)
  • Table
    • fix resizeObserver loop limit exceeded (#21255 by @tomieric)
    • fix toggleAllSelection bug when table is empty (#21456 by @cs1707)
    • optimize performance (#21330 by @cs1707)
  • Button
    • fix disabled priority (#21375 by @cs1707)
  • Descriptions
    • fix label slot bug (#21462 by @cs1707)
  • SASS
    • replace node-sass with dart-sass (#21019 by @linxsbox)
  • Docs
    • fix skeleton typos (#21408 by @zhhbstudio)

2.15.7

2021-11-18

Bug 修复

  • Select
    • 修复 filter 模式下,点击图标不能触发下拉的 bug (#21314 by @dennyak47)
    • 修复 composition 模式下 keydown 事件 (#21336 by @bchen1029)
  • Badge
    • 修复 is-dot class (#21308 by @adaex)
  • Form
    • validate 方法返回错误信息 (#21374 by @cs1707)
  • Table
    • 修复 resizeObserver loop limit exceeded (#21255 by @tomieric)
    • 修复 toggleAllSelection (#21456 by @cs1707)
    • 优化 table 性能 (#21330 by @cs1707)
  • Button
    • 修复 disabled 优先级 (#21375 by @cs1707)
  • Descriptions
    • 修复 label slot bug (#21462 by @cs1707)
  • SASS
    • node-sass 替换为 dart-sass (#21019 by @linxsbox)
  • Docs
    • 修复 skeleton 文案 (#21408 by @zhhbstudio)
2.15.6
By Hodor • Published on September 2, 2021

2.15.6

2021-09-02

Bug fixes

  • Cascader
    • fix a bug that makes the browser jitter in zoom mode (#21207 by @cs1707)
    • optimize performance (#21231 by @cs1707)
  • Select
    • fix long text overflow in multiple mode (#21237 by @cs1707)
  • Dropdown
    • add disabled property (#21235 by @mshioda)
  • Radio
    • fix checked state when browser go back (#21250 by @cs1707)
  • Descriptions
    • fix type declaration (#21265 by @adaex)
    • avoid table style conflict (#21254 by @adaex)
  • Drawer
    • fix append to body (#21264 by @cs1707)
  • Local
    • fix italian mistake (#21012 by @ricardotondello)

2.15.6

2021-09-02

Bug 修复

  • Cascader
    • 修复浏览器缩放模式下抖动的 bug (#21207 by @cs1707)
    • 优化性能 (#21231 by @cs1707)
  • Select
    • 修复多选模式下文字溢出的 bug (#21237 by @cs1707)
  • Dropdown
    • 增加 disabled 属性 (#21235 by @mshioda)
  • Radio
    • 修复浏览器返回后保留状态的 bug (#21250 by @cs1707)
  • Descriptions
    • 修复类型定义 (#21265 by @adaex)
    • 修复与表格组件混用样式冲突的问题 (#21254 by @adaex)
  • Drawer
    • 修复 append-to-body (#21264 by @cs1707)
  • Local
    • 修复 italian 翻译错误 (#21012 by @ricardotondello)
2.15.5
By Hodor • Published on August 4, 2021

2.15.5

2021-08-04

  • Select
    • fix resetInputHeight (#21201 by @cs1707)

2.15.5

2021-08-04

Bug 修复

  • Select
    • 修复 resetInputHeight 报错的 bug (#21201 by @cs1707)
2.15.4
By Hodor • Published on August 3, 2021

2.15.4

2021-08-03

New features

  • Descriptions
    • add description component (#21129 by @cs1707)
  • Result
    • add result component (#21171 by @cs1707)

Bug fixes

  • Utils
    • fix isScroll (#21098 by @canvascat)
  • Translation
    • update it.js (#21133 by @bliberi)
  • RadioGroup
    • fix RadioGroup used in component causes exception #17908 (#20783 by @lceric)
  • Message
    • fix message[type] (#21088 by @cs1707)
  • Carousel
    • reset the timer when setActiveItem method is called (#20846 by @Nekojita1)
  • Cascader
    • fix emitPath (#21185 by @cs1707)
  • Select
    • fix select filterable bug (#17494 by @profore)
    • fix a bug that makes the browser jitter in zoom mode (#21197 by @cs1707)
  • Tree
    • fix insertChild (#21194 by @cs1707)

2.15.4

2021-08-03

新特性

  • Descriptions
    • 新增 Descriptions 组件 (#21129 by @cs1707)
  • Result
    • 新增 Result 组件 (#21171 by @cs1707)

Bug 修复

  • Utils
    • 修复 isScroll (#21098 by @canvascat)
  • Translation
    • 更新 it.js (#21133 by @bliberi)
  • RadioGroup
    • 修复 RadioGroup 与 component 兼容的 bug (#20783 by @lceric)
  • Message
    • 修复 message[type] (#21088 by @cs1707)
  • Carousel
    • 修复 setActiveItem 重置计时 (#20846 by @Nekojita1)
  • Cascader
    • 修复 emitPath (#21185 by @cs1707)
  • Select
    • 修复 filterable bug (#17494 by @profore)
    • 修复浏览器缩放抖动的 bug (#21197 by @cs1707)
  • Tree
    • 修复 insertChild (#21194 by @cs1707)
2.15.3
By Hodor • Published on June 29, 2021

2.15.3

2021-06-29

New features

  • Skeleton
    • add skeleton component (#21038 by @cs1707)
  • Empty
    • add empty component (#21080 by @cs1707)

Bug fixes

  • Local
    • fix week translations for hr locale (#21040 by @cs1707)
  • Table
    • fix lazy load data (#21041 by @cs1707)
  • Docs
    • fix form hide-required-asterisk description (#21045 by @cs1707)
  • Drawer:
    • fix destroy (#20715 by @zj9495)
  • Row
    • fix align top (#20963 by @cs1707)
  • Select
    • fix the bug when the value is Boolean (#21052 by @cs1707)
  • Calendar
    • fix first-day-of-week (#21057 by @cs1707)
  • Utils
    • fix isScroll (#21065 by @cs1707)
    • fix(utils.dom by @fw6)
  • TypeScript
    • add CascaderPanel export type (#21070 by @qige2016)
    • add spinner.d.ts (#21090 by @qige2016)

2.15.3

2021-06-29

新特性

  • Skeleton
    • 新增 Skeleton 组件 (#21038 by @cs1707)
  • Empty
    • 新增 Empty 组件 (#21080 by @cs1707)

Bug 修复

  • Local
    • 修复 hr 语言 week 翻译 (#21040 by @cs1707)
  • Table
    • 修复 lazy load data (#21041 by @cs1707)
  • Docs
    • 修改 form 组件 hide-required-asterisk 描述 (#21045 by @cs1707)
  • Drawer:
    • 修复 destroy (#20715 by @zj9495)
  • Row
    • 修复 align top (#20963 by @cs1707)
  • Select
    • 修复 value 为 Boolean 类型的bug (#21052 by @cs1707)
  • Calendar
    • 修复 first-day-of-week (#21057 by @cs1707)
  • Utils
    • 修复 fix isScroll (#21065 by @cs1707)
    • 修复 (utils.dom by @fw6)
  • TypeScript
    • 增加 CascaderPanel 类型导出 (#21070 by @qige2016)
    • 增加 spinner.d.ts (#21090 by @qige2016)
2.15.2
By Hodor • Published on May 28, 2021

Changelog

2.15.2

2021-05-28

Bug fixes

  • Image
    • fix z-index and keydown event add stopPropagation (#20859 by @cs1707)
  • Input
    • fix show password cursor (#20870 by @cs1707)
    • fix show password icon in edge (#20902 by @cs1707)
  • Carousel
    • fix interval and scale bug (#20931 by @cs1707)
  • Cascader
    • fix delete tag bug (#20939 by @cs1707)
  • Drawer
    • add overflow auto (#20948 by @cs1707)
  • Others
    • fix isFunction (#20912 by @cs1707)

2.15.2

2021-05-28

Bug 修复

  • Image
    • 修复 z-index 增加 keydown 事件 添加 stopPropagation (#20859 by @cs1707)
  • Input
    • 修复 password cursor 展示 (#20870 by @cs1707)
    • 修复 password icon 在 edge 下的展示 (#20902 by @cs1707)
  • Carousel
    • 修复 interval 和 scale bug (#20931 by @cs1707)
  • Cascader
    • 修复 delete tag bug (#20939 by @cs1707)
  • Drawer
    • 支持 overflow auto (#20948 by @cs1707)
  • 其他
    • 修复 isFunction (#20912 by @cs1707)
2.15.1
By Hodor • Published on February 23, 2021

2.15.1

2021-02-23

Bug fixes

  • Drawer
    • bugfix (by @cs1707)
  • Image
    • fix incorrect image object fit ratio in IE (#19583 by @charlie0228)
  • Cascader
    • fix cascader panel active path (#20730 by @cs1707)
  • Calendar
    • fix calendar component i18n bug (#20758 by @iamkun)
  • ColorPicker
    • fix bugs (by @UxieVerity)

Optimization

  • Doc
    • update Axure resource v2.1.0 (by @iamkun)

2.15.1

2021-02-23

Bug fixes

  • Drawer
    • 修复 Drawer bug (by @cs1707)
  • Image
    • 修复 image object fit ratio 在 IE 下的 bug (#19583 by @charlie0228)
  • Cascader
    • 修复 cascader panel active path (#20730 by @cs1707)
  • Calendar
    • 修复 calendar 国际化 bug (#20758 by @iamkun)
  • ColorPicker
    • 修复 bugs (by @UxieVerity)

Optimization

  • Doc
    • 更新 Axure 设计资源 v2.1.0 (by @iamkun)
2.15.0
Published on January 15, 2021

2.15.0

2021-01-15

Bug fixes

  • Select
    • Fix placeholder i18n bug (#17644 by @nzh63)
  • Popconfirm
    • Popconfirm i18n bug by @iamkun)
  • Drawer
    • Fix focus bug (#20626 by @cs1707)
  • Image
    • Preview optimization (#20652 by @cs1707)

Optimization

  • Doc
    • Fix typo in french translation of datetime-picker.md (#20543 by @lonk)
    • Add format attribute description to the progress component (#20641 by @cs1707)

2.15.0

2021-01-15

Bug 修复

  • Select
    • 修复 placeholder 国际化 bug (#17644 by @nzh63)
  • Popconfirm
    • 修复 Popconfirm 国际化 bug by @iamkun
  • Drawer
    • 修复 focus bug (#20626 by @cs1707)
  • Image
    • 图片预览优化 (#20652 by @cs1707)

优化

  • Doc
    • 更新法语文档 datetime-picker.md (#20543 by @lonk)
    • 更新 Progress 组件文档 (#20641 by @cs1707)

General

License
MIT
Typescript Types
None found
Tree-shakeable
No

Popularity

GitHub Stargazers
52.7K
Community Interest
65.4K
Number of Forks
14.2K

Maintenance

Commits
10/219/22020
Last Commit
Open Issues
2,074
Closed Issues
15.1K
Open Pull Requests
210
Closed Pull Requests
1,512

Versions

Versions Released
10/219/2201
Latest Version Released
Jun 3, 2022
Current Tags
latest2.15.9
beta1.4.0-beta.1
next2.0.0-rc.1
legacy1.4.13

Contributors

Leopoldthecoder
Leopoldthecoder
Commits: 1,127
QingWei-Li
QingWei-Li
Commits: 439
baiyaaaaa
baiyaaaaa
Commits: 363
ziyoung
ziyoung
Commits: 199
iamkun
iamkun
Commits: 142
furybean
furybean
Commits: 101
wacky6
wacky6
Commits: 79
jikkai
jikkai
Commits: 66
Gonzalo2310
Gonzalo2310
Commits: 64
cs1707
cs1707
Commits: 57
liril-net
liril-net
Commits: 52
island205
island205
Commits: 38
Dreamacro
Dreamacro
Commits: 33
luckyCao
luckyCao
Commits: 32
elfman
elfman
Commits: 23