Releases: element-plus/element-plus
2.2.22
2.2.22
2022-11-18
Bug fixes
-
Components [select-v2] case-insensitive when filterable (#10575 by @hellomrbigshot)
-
Style(components): [pagination] Refactor pagination style (#10563 by @kooriookami)
2.2.21
2.2.21
2022-11-11
Bug fixes
-
Components [dropdown-item] prevent click if disabled (#10532 by @ryuhangyeong)
-
Components [focus-trap] input select text (#10535 by @chenxch)
-
Components [checkbox] wrong checked status when label is Object (#9863 by @init-qy)
-
Components [cascader] set height correctly (#10538 by @holazz)
-
Components [image-viewer]
hide-on-click-modal
not work (#10568 by @holazz) -
Components [calendar] fix range cross year bug (#10574 by @sunyuu)
-
Style(components): [select] Fix tags style (#10502 by @kooriookami)
-
Style(components): [select-v2] Uniform style consistent with select (#10501 by @kooriookami)
2.2.20
2.2.20
2022-11-06
Features
- Components [dropdown] add props for teleported API (#10012 by @consultation-applio)
- Docs vite-press new component (#10346 by @jw-foss)
- Docs api typing shortcuts (#10353 by @jw-foss)
- Docs [components] additions (#10374 by @jw-foss)
Bug fixes
- Components [select-v2] empty value should be undefined (#10189 by @holazz)
- Components [popover] abnormal style when effect is dark (#10190 by @holazz)
- Components [table] fixed column supported in grouped header (#10096 by @tinyfind)
- Components [popper] enable the adaptive configuration (#10104 by @tolking)
- Components [select] blur trigger remote event should pass string (#10218 by @btea)
- Components [form] throw non-validation error (#10255 by @holazz)
- Components [checkbox] circular reference (#10278 by @btea)
- Components [input-number] increase and decrease error (#10067 by @gjfei)
- Components [tooltip] remove deprecated api (#10264 by @chenxch)
- Components [cascader] consistent component height (#10214 by @holazz)
- Components [date-picker] monthRange mode switching month sync (#10292 by @chenxch)
- Components [upload] add uid for file handleStart (#9876 by @init-qy)
- Components [carousel] missing root ref (#10312 by @holazz)
- Utils [vnode] flattedChildren support subTree (#10298 by @chenxch)
- Components [tree-v2] add missing icon (#10340 by @init-qy)
- Components [tree-v2] default icon render test (#10342 by @init-qy)
- Docs [autocomplete] (#10426 by @jw-foss)
- Components [cascader] remove extra space in the search text (#10439 by @holazz)
- Docs [autocomplete] [affix] (#10443 by @jw-foss)
- Component [table] can't select row children (#10221 by @faga295)
Refactors
- Components [calendar] (#10163 by @jw-foss)
- Components [carousel] (#10188 by @jw-foss)
- Components [carousel-item] (#10219 by @jw-foss)
- Components [tabs] simplify logic with hooks (#10224 by @holazz)
- Components [select] use util function (#10286 by @btea)
- Components [collapse] (#10289 by @jw-foss)
- Components [input] export instance type (#10368 by @chenxch)
- Docs tooltip plugin (#10440 by @tolking)
2.2.19
2.2.19
2022-10-21
Features
- Components [message-box] add append-to option (#10071 by @consultation-applio)
Bug fixes
- Components [input] missing native form attribute (#10093 by @HeftyKoo)
- Components [date-picker] fix readonly picker can be triggered (#9931 by @ntnyq)
- Components [table-v2] fix scroll to bottom (#9959 by @Tsong-LC)
- Component [table] row-key due to current-change trigger (#10060 by @Simon-He95)
- Components [autocomplete] optimize the select event type (#10105 by @tolking)
- Components [table] fix merge cell cannot show side shadow (#10095 by @tinyfind)
- Components [switch] clipped text (#10081 by @Simon-He95)
- Components [cascader] modelValue update problem (#10119 by @chenxch)
- Components [dialog] click allow focus out (#10160 by @Giwayume)
Refactors
2.2.18
2.2.18
2022-10-13
Features
-
Components [rate] add clearable attribute (#10031 by @HeftyKoo)
-
Export type TableInstance TableColumnInstance (#10021 by @yangliguo7)
Bug fixes
-
Components [tabs] tabs order
-
Components [color-picker] correct event validation (#9814 by @holazz)
-
Components [date-picker] remove extra prop in unit test (#9822 by @holazz)
-
Components [select-v2] pressing the up key may cause errors (#9818 by @tolking)
-
Components [select-v2] improve placeholder display (#9835 by @holazz)
-
Components [affix] fix affix when scroll container is not window (#9660 by @LiZhequ)
-
Components [calendar] show wrong weekday when set weekStart (#9824 by @init-qy)
-
Components [input-number] correct input event behavior (#9850 by @holazz)
-
Components [dialog] fix document click event invalid (#6711 by @gjfei)
-
Theme-chalk [drawer] close btn align style (#9875 by @YunYouJun)
-
Components [tree] tree node click parameter (#9872 by @gjfei)
-
Components [select] excute filter/remoteMethod when blur (#9587 by @Circkoooooo)
-
Theme-chalk [table] remove redundant border styles (#9839 by @tolking)
-
Components [slider] fix type error (#9886 by @ryuhangyeong)
-
Components [result] fix type error (#9887 by @ryuhangyeong)
-
Components [backtop] fix a display bug (#9892 by @fwr220807)
-
Components [progress] fix type error (#9894 by @ryuhangyeong)
-
Components [time-select] fix type error (#9884 by @Tsong-LC)
-
Components [pagination] fix type error (#9893 by @ryuhangyeong)
-
Components [descriptions] fix type error (#9899 by @Tsong-LC)
-
Components [tabs] correct the position of tab-bar when scaling (#9896 by @holazz)
-
Components [form] no margin when there is no label (#9940 by @iDestin)
-
Components [select-v2] Test file code misspelled (#9978 by @wizardAEI)
-
Components [select] click label only focus in form (#9798 by @chenxch)
-
Components [carousel] improper active item (#8904 by @makedopamine)
-
Components [tabs] arrow icon centered horizontally (#9989 by @btea)
-
Components [el-form] adjust the warn about label (#9889 by @btea)
-
Components [select-v2] dynamic update popper (#9888 by @btea)
-
Components [tabs] prevent scroll tab into view after focusing it (#9990 by @makedopamine)
-
Components [table] wrong hover style in nested tables (#9932 by @init-qy)
-
Build fix Window build locale (#9995 by @frank201113)
-
Components [form-item] do not validate without
prop
property (#9993 by @btea) -
Components [dropdown] button group style missing (#10029 by @chenxch)
-
Components the label causes the click event to trigger twice (#9991 by @iDestin)
-
Components [tooltip] update popper after content change (#10044 by @btea)
-
Components [cascader] placeholder disappear when resetForm (#10036 by @Tsong-LC)
-
Components [time-picker] fix popup not showing (#9941 by @Giwayume)
Refactors
-
Components [loading] use JSX in Unit test (#9772 by @Tsong-LC)
-
Components [checkbox] refactor (#9594 by @MonsterPi13)
-
Components [color-picker] switch to script-setup syntax (#9672 by @weidehai)
-
Components [loading] change
viewBox
default value (#9769 by @tolking) -
Components [tree-select] use JSX in Unit test (#9786 by @Tsong-LC)
-
Components [upload] use JSX in Unit test (#9811 by @ryuhangyeong)
-
Components [tooltip] switch to script-setup syntax (#9685 by @SnowingFox)
-
Components [calendar] use self-closing element (#9854 by @Tsong-LC)
-
Perf(components): [tabs] improve order performance
-
Build optimize the conversion of attributes in documents (#9970 by @tolking)
2.2.17
2.2.17
2022-09-16
Features
-
Components [el-steps] support custom icon when status is error (#9603 by @z-ao)
-
Components [message-box] allow pass function to
message
option (#9405 by @holazz) -
Components [select-v2][tree-v2] add virtual-list style dependency (#7129 by @muuyao)
Bug fixes
-
Components [select-v2] support empty string value (#9609 by @chenxch)
-
Components [tree-node-content] slot inherit styles (#9613 by @chenxch)
-
Components [button] type text deprecated (#9611 by @chenxch)
-
Components [upload] always display upload trigger (#9607 by @holazz)
-
Components [form-item] don't add required rule repeatedly (#9618 by @sxzz)
-
Components [popper] default flip feature (#9584 by @YornQiu)
-
Components [table] typed column's min-width not effect (#9540 by @wiidede) (#9593)
-
Components [table] selection column don't create table placeholder (#9637 by @Tsong-LC)
-
Theme-chalk [select] missing the is-small style (#9639 by @humorHan)
-
Components [select] fix content overflow (#9633 by @Tsong-LC)
-
Components [tree] repeat trigger change event on the same node (#9645 by @holazz)
-
Components [select] keep hover after clearing (#9644 by @chenxch)
-
Components [loading] remove
el-loading-parent--relative
correctly (#9630 by @wiidede) -
Hooks [use-popper-container] fix namespace (#9655 by @holazz)
-
Components [rate] fast move mouseLeave not triggered (#9608 by @chenxch)
-
Components [select-v2] Tags content overflow wrap (#9677 by @Tsong-LC)
-
Components [table] throw error when no matching column (#9682 by @qq282126990)
-
Components [table-v2] cell and header-cell slots parmas (#9665 by @chenxch)
-
Components [select-v2] fix placeholder style (#9707 by @holazz)
-
Components [select-v2] respect
--el-component-size
(#9706 by @holazz) -
Components [time-picker] fix end-time can't be callback (#9669 by @MrCat33)
-
Components [tree] setCurrentKey() type error (#9709 by @zhiyuanzmj)
-
Components [cascader] fix large interval when multiple checkboxes (#9428 by @Tsong-LC)
-
Components [select] fix select hover flicker (#9521 by @ChenAdien)
-
Components [select] fix option-group get wrong visible (#9726 by @init-qy)
-
Components [loading] fix invalid position sticky (#9720 by @Tsong-LC)
-
Components [el-input] center in vertical direction (#9732 by @btea)
-
Components [checkbox] fix only child element style border-radius (#9746 by @Tsong-LC)
-
Components [cascader-panel] fix type error (#9753 by @Tsong-LC)
-
[alert] description value in title's class (#9771 by @baiwusanyu-c)
-
Components [virtual-list] fix type error (#9780 by @Tsong-LC)
Refactors
-
Components [calendar] rename slot dateCell to date-cell (#9590 by @tolking)
-
Components [cascader] use JSX in Unit test (#9674 by @Tsong-LC)
-
Build use pnpm
shell-emulator
instead ofcross-env
(#9693 by @sxzz) -
Components [cascader-panel] use JSX in Unit test (#9710 by @Tsong-LC)
-
Components [image-viewer] use JSX in Unit test (#9717 by @holazz)
-
Docs simplify imports (#9724 by @jack-pearson)
-
Perf(components): [message] prefer function slots (#9625 by @holazz)
2.2.16
2.2.16
2022-09-02
Features
-
Components [image-viewer] add
setActiveItem
method (#9389 by @holazz) -
Components [dialog] add align center prop (#8947 by @Hfutsora)
-
Components [input-number] add new prop
readonly
(#9545 by @holazz) -
Components [time-picker] add open and close handlers (#9572 by @jagoncalves14)
-
Components [date-picker] add open and close handlers (#9571 by @jagoncalves14)
-
Components el-tree.currentNodekey responsive. close #9576 (#9577 by @zhiyuanzmj)
-
Components CascaderProps expandTrigger enum to type (#9265 by @hcwhan)
Bug fixes
-
Theme-chalk fix datepicker sidebar of panel is covered by footer (#9352 by @Duncanxyz)
-
Components [upload] onExceed is not called (#9145 by @makedopamine)
-
Components [upload]
onPreview
not work whenpicture
list type (#9448 by @holazz) -
Components [time-select] inherit disabled from form (#9242 by @Tsong-LC)
-
Components [affix] expose
updateRoot
(#9159 by @CodeListener) -
Deps update dependency @floating-ui/dom to v1 (#9000 by @renovate[bot])
-
Components [notification] custom icon not work (#9498 by @holazz)
-
Components [cascader] collapse-tags-tooltip drop first item (#9503 by @ryuhangyeong)
-
Components [date-picker] only
td
tags with content can be select (#9537 by @btea) -
Components [table] fix sort-change event behavior (#4640 by @cokemine)
-
Components [slider] trigger change event correctly (#9553 by @holazz)
-
Components [select-v2] emit('blur') does not carry parameter (#9547 by @sechi747)
-
Components [table] el-table__placeholder class disappear(#9527 by @wiidede) (#9529)
-
Components [table-v2] cell slots invalid (#9531 by @chenxch)
-
Components [select] update finished calculating optionsInDropdown (#9475 by @Tsong-LC)
-
Components [input] formatted values are out of sync (#9501 by @chenxch)
-
Directives [repeat-click] Interval time is too short for single clicks (#9466 by @opuu)
-
Components [tabs] nav offset error when use both number and string (#9222 by @tolking)
-
Components [select] support dynamic value for option (#9220 by @buqiyuan)
-
Issue #8278 (#8331 by @StephenKe)
-
[el-date-picker] fix DatePicker render error (#7017 by @soandsoprogrammer)
-
Components [form] reset field validate invalid (#7166 by @btea)
-
Components [el-form] clear validate after reset fields
-
Components [el-menu] compatible
menu.value
is null (#9566 by @xiaoxian521) -
Components [page-header] fix styles introduced on demand (#9564 by @LiZhequ)
-
Components [pagination] add validate-event (#9563 by @tolking)
-
Components [loading] prevent click through (#5822 by @weidehai)
-
Components [tree-v2] updated when pass dynamic defaultCheckedKeys (#8228 by @webfansplz)
-
Components [tree-select]
expand-on-click-node
not work (#8973 by @holazz) -
Components [table] toggleRowExpansion typing (#9512 by @wiidede)
-
Components [tree] fix setCurrentKey setCurrentNode emit (#8881 by @gjfei)
-
Components [transfer] child component don't validate (#9403 by @Tsong-LC)
-
Components [date-picker] Component ElInput validateEvent pass true (#9402 by @Tsong-LC)
-
Components [table-v2] header-cell slots invalid (#9585 by @btea)
-
UseTree.ts修复tree-v2组件开启accordion模式后展开不了的问题 (#9591 by @qinhuangdaoooo)
-
Style(components): [select, select-v2] adjust style (#9496 by @daonatural)
-
Fix Table using load to click to expand will trigger multiple load callbacks (#9397 by @qq282126990)
-
Perf(components): [table] export table defaults (#8393 by @xiaoxian521)
-
Perf(hooks): [use-namespace] simplify code (#9298 by @holazz)
Refactors
-
Components [popper]redfine the prop role type (#9471 by @MonsterPi13)
-
Components [popover] use JSX in Unit test (#8337 by @holazz)
-
Components [notification] use JSX in Unit test (#9530 by @holazz)
-
Icon reduce getter access (#9360 by @zhangenming)
-
Components [date-time-picker] use JSX in Unit test (#9520 by @Tsong-LC)
2.2.15
2.2.15
2022-08-26
Features
-
Components [tree-v2] add
setExpendKeys
method (#9412 by @holazz) -
Components [form] add require-asterisk-position prop (#9433 by @btea)
-
Components [menu] add
expand-close-icon
、expand-open-icon
、collapse-close-icon
、collapse-open-icon
props (#9444 by @xiaoxian521)
Bug fixes
-
Components [message-box] fix Wrong type checking (#8399 by @MMmaXingXing)
-
Components [tree-v2]
setExpandedKeys
instead ofsetExpendKeys
(#9413 by @holazz) -
Components [el-menu] childNodes is null (#9408 by @xiaoxian521)
-
Components [cascader] when multiple is true keyboard delete error (#9415 by @btea)
-
Components [table] repetition labelCellName (#8967 by @gjfei)
-
Components [message] the value of exposeProxy may be null (#9378 by @btea)
-
Components [notification] closeAll invalid (#9417 by @chenxch)
-
Components [opover] effect dark mode title color (#9445 by @chenxch)
-
Components [space] complete the prop of space (#9380 by @MonsterPi13)
-
Components [table] bodyWrapper resized calculate scrollbarStyle (#9149 by @Tsong-LC)
-
Components [checkbox] label is object in group (#9271 by @chenxch)
-
Style(docs): change the example mask and overlay z-index (#9356 by @btea)
-
Style(components): [rate] in safari has outline (#9396 by @chenxch)
Refactors
2.2.14
2.2.14
2022-08-19
Features
Bug fixes
-
Deps update dependency eslint-plugin-markdown to v3 (#9139 by @renovate[bot])
-
Deps update dependency @vueuse/core to v9 (#9138 by @renovate[bot])
-
Deps update dependency eslint-plugin-unicorn to v43 (#8610 by @renovate[bot])
-
Components [dialog] should emit open event after nextTick (#9209 by @buqiyuan)
-
Theme-chalk [select] text overflow shows ellipsis (#9305 by @holazz)
-
Components [docs] menu example code menu name error (#9355 by @feiyuOL)
-
Components [tree] calc parentNode state after doCreateChildren (#9362 by @Tsong-LC)
-
Components [select] option value is object (#9287 by @chenxch)
-
Components [cascader] placeholder disappeared after clear value (#9190 by @sechi747)
-
Components [menu] resize event infinite invoke (#9342 by @holazz)
-
Style(theme-chalk): fix input (#9178 by @daonatural)
Refactors
2.2.13
2.2.13
2022-08-12
Features
-
Components [tree-v2] expose several helpful methods (#9156 by @plainheart)
Bug fixes
-
Components [table-body] keep row data reactive (#8592 by @jianjunyuu)
-
Locale update zh-tw translation (#8822 by @ChiahongHong)
-
Components [select] injected form context may be undefined (#8860 by @holazz)
-
Components [cascader] injected form context may be undefined (#8861 by @holazz)
-
Components [color-picker] injected form context may be undefined (#8862 by @holazz)
-
Components [time-picker] injected form context may be undefined (#8866 by @holazz)
-
Components [checkbox] injected form context may be undefined (#8865 by @holazz)
-
Timer-pick automatically skip disabled items (#8850 by @baiwusanyu-c)
-
Components [table] the empty slot height error (#9226 by @tolking)
-
Style(theme-chalk): fix message (#9143 by @kooriookami)