Commit Graph

2701 Commits

Author SHA1 Message Date
Jacob Alspaw
e444e0c942 fix(components): [table] fix an undefined reference in table-layout (#11204)
Co-authored-by: zz <2418184580@qq.com>
2023-02-18 15:20:14 +08:00
Xc
aba0d26537 docs(components): [cascader] (#11556)
* docs(components): [cascader]
* Update cascader docs with new syntax.

* docs(components): [cascader]
* Update cascader docs with new syntax.

* docs(components): [cascader]
* Update cascader docs with new syntax.

* docs(components): [cascader]

* docs(components): [cascader]

* docs(components): [cascader] add type declarations

* docs(components): [cascader] add type declarations

* docs(components): [cascader] add type declarations

* docs(components): [cascader] add type declarations
2023-02-17 13:59:52 +08:00
Giwayume
3d43d51503 fix(components): [dropdown] fix focus after close (#11586)
* fix(components): [dropdown] fix focus after close

closed #9837

* fix(components): [dropdown] fix linting

* fix(components): remove events on unmount

---------

Co-authored-by: OpenGraphica <opengraphica@gmail.com>
2023-02-17 12:35:45 +08:00
Dave
8055220c84 feat(components): [descriptions] render null when empty label (#11575) 2023-02-16 15:23:59 +00:00
热爱vue的小菜鸟
f19ae83e3c fix(components): [tree] setCheckedKeys keys attribute add type (#11390)
* fix(components): [tree] setCheckedKeys keys attribute add type

* fix(components): [tree] setCheckedKeys keys attribute add type
2023-02-16 21:29:11 +08:00
井柏然
19e5bb8425 feat(components): [cascader] add togglePopperVisible for expose (#11559)
* feat(components): [cascader] add togglePopperVisible for expose

* feat(components): [cascader] add togglePopperVisible for expose
2023-02-14 23:54:42 +08:00
acyza
9d3d77c674 fix(components): [input] fix textarea autosize (#11376)
* fix(components): [input] fix textarea autosize
2023-02-14 23:51:32 +08:00
Xc
b22b9d3d3a docs(components): [divider] (#11558)
* Update divider docs with new syntax.
2023-02-14 22:31:33 +08:00
Jeremy
8c2a2a69dd docs(components): [calendar] (#10977)
* docs(components): [calendar]

* Update calendar docs with new syntax.
* Update description for calendar APIs.

* chore: remove backquote for API names

* chore: update scoped slots

* chore: apply suggestion

---------

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2023-02-14 22:29:36 +08:00
wonderl17
af9302c887 fix(components): [select] i18n issue of select placeholder (#11508) 2023-02-13 23:06:57 +08:00
Jacob Alspaw
7b64807ff2 fix(components): [select] ensure select options respect filter query during initialization (#11205)
* fix(components): [select] ensure select options respect query immediately during initialization

When the select option is created, the option does not immediately calculate its `visible` state attribute. This can result in the visible select options being out of sync with the filter text. If the options are loaded asynchronously and a user is quick to enter filter text, then the options will show regardless of the filter value once they have completed loading. Fix this by updating the `visible` attribute immediately.

* fix: lint

---------

Co-authored-by: zz <2418184580@qq.com>
2023-02-12 20:39:11 +08:00
qiang
5c95932769 refactor(components): [menu] add deprecated mark to popperAppendToBody (#11509) 2023-02-12 14:57:21 +08:00
Xc
06126ea571 docs(components): [input-number] (#11063)
* Update form docs with new syntax.
2023-02-12 01:33:19 +08:00
Xc
9de0a15b9a docs(components): [form] (#11021)
* docs(components): [form]
* Update form docs with new syntax.

* docs(components): [form]
* Update form docs with new syntax.
2023-02-12 01:33:02 +08:00
Xc
a2de1b9c1f docs(components): [autocomplete] (#11026)
* docs(components): [autocomplete]
* Update form docs with new syntax.

* docs(components): [autocomplete]

* docs(components): [autocomplete]
2023-02-11 23:39:23 +08:00
acyza
203347f1aa fix(components): [upload-dragger] Avoid firefox open file (#11092) 2023-02-11 20:51:07 +08:00
류한경
87137f2391 refactor(components): [empty] (#11494) 2023-02-11 20:11:22 +09:00
esttom
9f76a5c11b fix(components): [cascader-panel] clear active style (#11495)
Clears the active style when the clear button of the cascader is pressed

closed #11484

Co-authored-by: t1.higashi <t1.higashi@info-sense.co.jp>
2023-02-11 10:39:13 +09:00
류한경
600fd69201 fix(components): [carousel] delete the indicator props (#11483) 2023-02-10 21:35:19 +08:00
Jeremy
2ab408ae48 fix(components): [virtual-list] scroll issue (#11475)
* Remove browser judgement for fixing scroll issue.

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
Co-authored-by: iamkun <kunhello@outlook.com>
2023-02-09 19:04:05 +08:00
Rapliangle
2793c8477f fix(components): fix virtual list scroll&wheel handler (#11472)
fix xEndEdge&yEndEdge logic when wheel event emits

fix hasReachedEdge logic when  offsetX

offsetY is zero

closed #11463, #11155

Co-authored-by: 迦叶(仝航) <jiaye@xiaohongshu.com>
2023-02-08 23:20:46 +08:00
Jeremy
4d569aa297 fix(components): [dropdown] (#11431)
* Add `.self` modifier for dropdown-menu container.
* Add `.self` modifier for dropdown-item container.
* Fix form issue contained by dropdown-menu.

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2023-02-07 21:55:59 +08:00
ivan0525
609b3a76ce chore(components): [table] fix tests typo (#11445)
fix(components): [table] fix tests typo
2023-02-07 21:25:43 +08:00
btea
ce467449e6 fix(components): [tree] update refNode type (#11421) 2023-02-06 22:56:38 +08:00
acyza
55bfb50a4d fix(components): [input] use v-if throw exception (#11187)
* fix(components): [input] use v-if throw exception

* fix(components): [input] remove the non-null assertion
2023-02-05 19:35:32 +08:00
dopamine
6799618f79 fix(components): [select] recalculate input height when display change (#11374)
* fix(components): [select] recalculate input height when display change

* fix
2023-02-05 14:00:34 +08:00
Naeemo
702c71b352 refactor(tokens): use Symbol as injection key (#11251) 2023-02-05 13:10:33 +08:00
qiang
9933cceba5 refactor(components): [popper] rename the component name to ElPopper (#11383)
closed #11381
2023-02-02 12:59:29 +08:00
sleepyShen1989
b7fd75f75a fix(components): [cascader] fix warning when clear (#11335)
closed #11226
2023-02-01 22:14:53 +08:00
niuxinyu
f95ed1ede6 fix(components): [form-item] fix error message animation (#11352)
closed #11343

Co-authored-by: niuxinyu <niuxinyu@lxzwedu.com>
2023-02-01 22:13:34 +08:00
Jeremy
f5cf0ad506 fix(components): [popper] (#11377)
* fix(components): [popper]

* Fix use-popper integration caused regression.

* fix: failing test cases

---------

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2023-02-01 19:50:26 +08:00
Jason Ren
78f235d9c5 docs(components): [Radio]Fix typo (#11373)
* docs(radio): Fix typo
2023-01-31 18:16:06 +08:00
Jeremy
e8bbdf974b feat: integrate use popper (#11045)
* feat: integrate use popper

* Integrate popper with use popper hook.
* Reorganize code for better readabilities.

* fix: contentStyle typing

* fix: test failure

* fix: slider placement testing

* refactor: slider test case refactoring

* fix: virtual triggering

---------

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2023-01-31 11:58:52 +08:00
井柏然
9721912342 fix(components): [table-column] column miss update due to key (#8528) (#10679)
* fix(components): [table-column] column miss update due to key (#8528)

* fix(components): [table-column] column miss update due to key (#8528)

* fix(components): [table-column] ts lint (#8528)

* fix(components): [table-column] column miss update due to key (#8528)

* fix(components): [table-column] states.updateOrderFns remove ref (#8528)

* fix(components): [table-column] add test for table (#8528)

* Update packages/components/table/src/store/watcher.ts

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

* fix(components): [table-column] fix ts define (#8528)

* fix(components): [table-column] column miss update due to key (#8528)

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
2023-01-28 10:28:08 +08:00
bartoszrudzinski
65a9cca1ed fix(components): default table cell padding SCSS variable fix (#10708)
closed #10706

Co-authored-by: bartoszrudzinski <bartosz.rudzinski@infermedica.com>
2023-01-18 16:29:01 +08:00
linxianxi
c8e771eace fix(components): [message] fix space when offset exists (#11268)
* fix(components): [message] fix space when offset exists
2023-01-15 17:03:46 +08:00
Qiang
f65c5687da fix(components): [tree-select] disabled attribute does not take effect (#10670)
* fix(components): disabled attribute does not take effect

Add default values for attributes, fix #10648

closed #10648

* test: use toBeLessThanOrEqual

* fix(components): recovery code
2023-01-15 07:50:34 +08:00
RadiumAg
4019a83405 chore(components): [tabs] optimize code (#11261) 2023-01-12 11:07:14 +00:00
Xc
554dad9a1b docs(components): [radio] (#11064)
* docs(components): [docs]
* Update form docs with new syntax.

* docs(components): [radio]
* Update radio docs with new syntax.

* docs(components): [radio]
* Update radio docs with new syntax.
2023-01-12 18:56:16 +08:00
Xc
69443c52a7 docs(components): [rate] (#11065)
* docs(components): [rate]
* Update rate docs with new syntax.
2023-01-11 23:29:11 +08:00
zz
73a9010e37 fix(components): [select] display tags correctly (#11149)
* fix(components): [select] display tags correctly

* fix: test cases
2023-01-10 22:38:44 +08:00
Xc
61955745c8 fix(components): [InfiniteScroll] keep-alive dom undefined (#11084)
Co-authored-by: CallMeSoul <callmesoul@foxmail.com>
2023-01-04 18:03:39 +08:00
Dinq
3780064ce7 style(components): [checkbox] fix checkbox-button class var spelling (#11044)
Co-authored-by: din <amifed.me@gmail.com>
2023-01-04 18:03:28 +08:00
Naeemo
1ef66c2e34 refactor(components): [backtop] use scrollTo with smooth (#11103) 2023-01-04 18:01:38 +08:00
Naeemo
843d07dec0 refactor(components): [image] use standard wheel event (#11107) 2023-01-04 18:01:17 +08:00
Zhongxiang Wang
cf5847263f feat(components): [table] overflow tooltip supports enterable and customization (#10984)
* feat(components): [table] overflow tooltip supports `enterable`

* fix(components): [table] fix modifiers merge

* fix(components): [table] refine logic & fix popperClass isn't respected

* docs(components): [table] add docs for `tooltip-options` & `show-overflow-tooltip`

* docs(components): [table]

* docs(components): [table] update version tag

Co-authored-by: Xc <124118265@qq.com>
2022-12-22 12:20:07 +08:00
btea
74e6e8d105 fix(components): [cascader] placeholder is not displayed correctly (#11031) 2022-12-20 11:44:28 +08:00
Xc
8af11281f0 refactor(components): [cascader] use script-setup syntax (#11013) 2022-12-20 10:56:17 +08:00
sleepyShen1989
930dd4f76b fix(components): [input-number] fix args order (#11020)
closed https://github.com/element-plus/element-plus/issues/11015
2022-12-20 10:23:31 +08:00
Stephen.K
c39d591251 fix(components): input-number 0 can not triger change event (#10980)
* fix(components): input-number 0 can not triger change event

* fix(components): use isNumber(userInput)

* test(components): change event add input 0 case
2022-12-16 08:50:17 +08:00