Commit Graph

4843 Commits

Author SHA1 Message Date
SaberA1ter
14c43ca59f
fix(components): [carousel] Watch items causing state loss(#13010) (#13011)
* fix(components): [carousel] Watch items causing state loss(#13010)

* perf(components): [carousel] Using the third parameter of watch(#13010)

---------

Co-authored-by: ZZQChongYa <zhengziqiang@star-net.cn>
2023-09-16 09:27:12 +08:00
Hefty
0f2699008d
fix(components): [menu] export MenuInstance (#14284)
* fix(components): [menu] export MenuInstance

closed #14251

* chore: export other component instance

* refactor: extract instace type to instance file
2023-09-16 09:25:00 +08:00
0song
e345f5cfea
chore: update crowdin version to fix jdk error (#14300) 2023-09-14 13:43:43 +00:00
Element
ace083429a
chore: Update changelog 2.3.14 (#14296)
chore: update changelog 2.3.14
2023-09-14 11:02:46 +00:00
0song
33a0315949
chore: update ci npm version (#14294) 2023-09-14 10:53:10 +00:00
Element
4cccc7600e
chore: Update changelog 2.3.13 (#14286)
chore: update changelog 2.3.13
2023-09-14 17:20:15 +08:00
Hefty
09bb91abef
fix(components): [input] missing autofocus types (#14246)
* fix(components): [input] missing autofocus types

closed #14243

* fix: autofocus default to false
2023-09-14 10:25:51 +08:00
GU Yiling
6e24736f89
fix(components): [date-picker] month range should emit calendar-change (#14262) 2023-09-13 16:53:11 +08:00
Karolis_Stoncius_Sneakybox
d791229a6a
fix(components): [collapse] fix accessibility issues (#13832)
Using tab related aria attributes results in accessibility issues
2023-09-12 08:21:35 +08:00
Jeremy
06e85824df
refactor(components): [date-picker] basic-date-table (#10344)
* Extract logic out of basic-date-table file.
2023-09-10 17:50:12 +08:00
Bean Deng 邓斌
5d7532de30
fix(docs): [upload] fix the version of supporting async data (#14242) 2023-09-10 09:29:27 +08:00
btea
27e2c59c62
docs: refactor switch theme (#14036) 2023-09-09 19:55:22 +08:00
btea
0b14c516e6
fix(docs): [date-picker] calendar-change event parameter type error (#14237) 2023-09-09 19:54:29 +08:00
Jianjun Yu
d96555fa9c
feat(components): [upload] support async data (#14015)
* feat(components): [upload] support async data

* feat(components): [upload] support async data

* fix(components): [upload] unit test

* fix(components): [upload] unit test

* feat(components): [upload] update data docs

* fix(components): [upload] unit test

* chore: add version

---------

Co-authored-by: Hefty <yeyuqiudeng@gmail.com>
2023-09-08 15:57:05 +08:00
wonderl17
82e9d07607
fix(components): [color-picker] first click should be trigger (#14209) 2023-09-08 15:30:07 +08:00
Karolis_Stoncius_Sneakybox
c7021b31ed
refactor(components): [date-picker] add aria-labels to date picker btns (#14149) 2023-09-08 11:54:44 +08:00
btea
9b0a8f8c9a
chore: format (#14200) 2023-09-07 13:51:25 +08:00
Bean Deng 邓斌
95494b7154
feat(components): [image-viewer] Add rotate event when rotating images (#14138)
* feat(components): [image-viewer] Add rotate event when rotating images

* Update docs/en-US/component/image.md

Co-authored-by: btea <2356281422@qq.com>

---------

Co-authored-by: btea <2356281422@qq.com>
2023-09-06 06:28:14 +00:00
boomboy4
9a60a90e1e
feat(components): [el-pagination] add teleported prop (#14072)
* fix(components): [pagination] 修复toplayer全屏模式下分页下拉框无法显示问题

分页组件新增teleported参数 默认为true  便于用户控制size下拉框是否插入body

closed #14070

* docs(docs): [pagination] Add a teleported attribute

closed #14070

* fix(components): [pagination] teleported props default value

delete set teleported default value

closed #14070

* fix(components): [pagination] change the default value of teleported

change the default value of teleported to true

* Update docs/en-US/component/pagination.md

Co-authored-by: qiang <qw13131wang@gmail.com>

---------

Co-authored-by: shaojia.cheng <shaojia.cheng@arvetech.net>
Co-authored-by: qiang <qw13131wang@gmail.com>
2023-09-06 00:14:58 +00:00
刘臻
ce2315d734
docs(components): message-box (#14179)
update message-box options

closed #14178
2023-09-04 21:39:22 +08:00
JBtje
86beacee50
fix(i18n): improve Dutch(nl) translation (#14164) 2023-09-01 20:21:03 +08:00
wzc520pyfm
6cc5892672
fix(components): [select] fix hover index error when creating option (#12635)
* fix(components): [select] fix error when creating option

closed #12634

* test(components): [select] add test for create and default first option

* fix(components): [select] compatible #11297
2023-08-31 11:22:01 +08:00
Wu Rui
3c1bd4efc6
fix(components): [form] improve types (#14062)
* fix(components): [form] improve types

* docs: update form

* fix: consider RegExp

* chore: update jsdoc
2023-08-30 13:31:10 +00:00
Frank Fang
5f028f8449
fix(components): [table] add tabindex to tbody to fix #13991 (#14020)
* fix(components): [table] add tabindex to tbody to fix #13991

* remove :focus style

* fix: remove the focus outline

* fix: replace focus with focus-visible

* chore: add comments to explain why the tabIndex attr is needed
2023-08-30 14:01:45 +08:00
btea
ee8f1574c6
refactor(components): [collapse] replace keypress with keydown (#14137) 2023-08-29 22:16:02 +08:00
btea
5c03a3484d
chore(ci): modify nightly release PKG_NAME value (#14147) 2023-08-29 18:21:25 +08:00
zepeng
cea00f0dc8
fix(components): [rate] bind the textColor property (#14092)
* fix(components): [rate] bind the textColor property

* add test case

* add test case

* Update rate.test.tsx

* Update rate.md
2023-08-28 21:51:18 +08:00
btea
68980b3c50
docs(components): [collapse] (#14066) 2023-08-28 21:50:49 +08:00
wonderl17
d73bf47f8b
docs: [select-v2] add item-height attribute into doc (#14033) 2023-08-28 15:42:06 +08:00
King
69750fbaf7
fix(components): [collapse] allow nested inputs in ElCollapseItem (#14061)
* fix(components): [collapse] allow nested inputs in ElCollapseItem to handle space key

* Update packages/components/collapse/src/collapse-item.vue

Co-authored-by: btea <2356281422@qq.com>

---------

Co-authored-by: btea <2356281422@qq.com>
2023-08-28 15:30:43 +08:00
Hefty
2b3a34e6b5
refactor(components): [upload] reuse revkoeObjectURL function (#14126) 2023-08-28 10:29:30 +08:00
sseinHu
e5ebf80bf5
fix(components): [select] gurad value type error (#14074)
fix(components): [useSelect.ts] selected.slice is not a function

select In the case of radio, the packaged code will report select. slice is not a function, because the radio selected is an object, and the object does not have the api of slice
2023-08-28 09:31:22 +08:00
Element
89d4ec863c
chore: Update changelog 2.3.11 (#14116)
chore: update changelog 2.3.11
2023-08-26 07:01:27 +00:00
btea
8c81272851
Revert "refactor(components): [form-label-wrap] use getStyle method (… (#14106)
Revert "refactor(components): [form-label-wrap] use getStyle method (#13913)"

This reverts commit c6a6d9bc6e.
2023-08-26 14:15:27 +08:00
jumtp
eb5d46d296
chore(test): [message] wrong tag typo (#14099)
fix(test-utils): [message.test] wrong tag
2023-08-26 02:06:30 +00:00
zepeng
913f11e0fd
docs: [card] add version tag (#14083) 2023-08-26 09:54:34 +08:00
Element
8e16bee6ed
chore: Update changelog 2.3.10 (#14096)
chore: update changelog 2.3.10
2023-08-25 04:48:02 +00:00
btea
50860b7c66
docs: [cascader] add version tag (#14082) 2023-08-24 21:33:20 +08:00
Karolis_Stoncius_Sneakybox
c29f6cc6c7
feat(components): [select] add aria-label to select's input (#13932)
* feat(components): [select] add aria-label to select's input

Select's input causes accessibility issues without aria-label, this commit adds it

* refactor(components): [select] change aria-label to label; update docs

* refactor(components): [select] change back to ariaLabel prop name

* docs(components): kebab-case for docs
2023-08-24 21:03:01 +08:00
Karolis_Stoncius_Sneakybox
268457135e
feat(components): added aria-level attributes for dialog and drawer headers; Fixed input-number's aria-valuenow being null (#13822)
* feat(components): [dialog] added dialog header aria-level attribute

To pass accessibility tests elements with role="heading" require aria-level

* feat(components): [drawer] added drawer header aria-level attribute

To pass accessibility tests elements with role="heading" require aria-level

* fix(components): [input-number] prevent aria-valuenow from being null

To pass accessibility tests aria-valuenow cannot be null

* fix(components): [input-number] fix number input when 0 and update test

Fixes a bug where number input's aria-valuenow will be set to '' when input's value is 0. Also
updates a failing test

* refactor(components): [dialog] change default aria-level to 2

* docs(components): dialog and drawer header aria-level docs update

* docs(components): change headerAriaLevel type to string

* docs(components): kebab-case for docs
2023-08-24 20:14:59 +08:00
Evan Liu
b9f703094f
fix(components): [date-picker] correct onCalendarChange param type (#13976) 2023-08-24 18:09:36 +08:00
chenweiyi
013809f829
feat(components): [cascader] add max-collpase-tags prop (#13386)
* feat(components): add max-collapse-tags prop

show more than one tag in cascade when multiple enable and use collapse-tags true

* test(test-utils): add unit test for cascader prop 'max-collapse-tags'

* Update packages/components/cascader/src/cascader.vue

Co-authored-by: btea <2356281422@qq.com>

* Update cascader.vue

* refactor(components): [cascader] style lint

---------

Co-authored-by: chenweiyi01 <chenweiyi01@zuoyebang.com>
Co-authored-by: btea <2356281422@qq.com>
2023-08-24 17:34:24 +08:00
wzc520pyfm
f462eab010
docs(components): [transfer] use new display tag (#13033)
* docs(components): [transfer] use new display tag

* docs(components): [transfer] update TransferKey to Array<string|number>

* docs(components): [transfer] directly specify type for TransferDataItem
2023-08-24 12:08:12 +08:00
inottn
a661de2482
fix(components): [date-picker] fix the logic of checking the date range (#13377) 2023-08-24 11:20:13 +08:00
Kaine
3e7d3ea7d8
docs(components): add attr version tag (#13641)
1. docs(components): [cascader] add version tag for togglePopperVisible expose

2. docs(components): [color-picker] add version tag for show & hide expose

3. docs(components): [date-picker] add version tag for handleOpen & handleClose method

4. docs(components): [dialog] add version tag for align-center atrr

5. docs(components): [dropdown] add version tag for teleported attr

6. docs(components): [form] add version tag for scroll-into-view-options attr

7. docs(components): [image] add version tag for zoom-rate attr

8. docs(components): [input-number] add version tag for readonly attr

9. docs(components): [menu] add version tag for popper-effect attr

10. docs(components): [message-box] add version tag for append-to attr & message function

11. docs(components): [rate] add version tag for clearable attr

12. docs(components): [select-v2] add max-collapse-tags attr

13. docs(components): [select] add version tag for collapse-tags-tooltip & placement

14. docs(components): [table] fix show-overflow-toolip attr version tag

15. docs(components): [time-picker] add version tag for handleOption & handleClose expose

16. docs(components): [tree-v2] add version tag for item-size attr

17. docs(components): [tree] add version tag for empty slot
2023-08-24 07:43:05 +08:00
inottn
1211312491
fix(components): [select] fix the logic of updating selected data (#13374)
* fix(components): [select] fix the logic of updating selected data

* chore: improve judgment condition
2023-08-23 21:00:31 +08:00
Hefty
788e27eaf4
refactor(components): [upload] remove useless useSlot (#14053)
refactor(components): [upload] remove useless useSlots
2023-08-23 17:34:05 +08:00
btea
c6515e09c0
chore: format code (#14037) 2023-08-23 10:33:16 +08:00
qiang
9cee96751c
fix(components): [dropdown] adjust onItemLeave trigger (#13212)
fix(components): trigger focus change when the trigger includes hover

closed #13131
2023-08-22 21:38:05 +08:00
zepeng
bb2cf0bfe9
chore(docs): updating the implementation of the theme switch button (#14014)
* chore(docs): updating the implementation of the theme switch button

* chore(docs): updating the implementation of the theme switch button

* chore(docs): updating the implementation of the theme switch button
2023-08-22 16:40:26 +08:00