Commit Graph

4280 Commits

Author SHA1 Message Date
yujinpan
33ca7ee4f0 fix(components): [TreeSelect] incorrect label when child not rendered (#10716)
* feat: add `treeEach` utility function

* fix(components): [TreeSelect] incorrect label when child not rendered

* docs(components): [TreeSelect] remove tips for resolved issues

* fix(components): [TreeSelect] add `cacheData` props for lazy label

* docs(components): [TreeSelect] add `cacheData` document and examples

* docs(components): [TreeSelect] add version identification for new props

* refactor(components): [TreeSelect] replace any type

* docs(components): [TreeSelect] update version tag
2022-11-30 23:43:57 +08:00
Xc
fd711d5c0f fix(components): [tree] revert inherits the label class (#10812)
* revert slot inherit style
* Adjust the size style attribute to tree
2022-11-29 11:54:42 +08:00
Jeremy
6703747032 docs(components): [backtop] (#10788)
* docs(components): [backtop]

* Update to new syntax for the API sectionss.

* chore: adjust heading levels and adding comments for APIs

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-11-27 23:52:13 +08:00
Jeremy
f17c8f3a2e docs(components): [badge] enhancement (#10789)
* docs(components): [badge] enhancement

* Update badge docs per new syntax.
* Reorganize code per readability wise purpose.

* chore: remove component name prefix

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-11-27 22:35:13 +08:00
zz
4cb900bfc8 fix(components): [select-v2] initial value compatibility (#10759)
* fix(components): [select-v2] Initial value compatibility

* chore: simplify logic and add a test case
2022-11-27 22:34:48 +08:00
kooriookami
3e9a2c5cd1 fix(components): [input-number] Fix decrease and increase disabled (#10787) 2022-11-27 09:01:30 +08:00
井柏然
135564371d fix(components): [date-picker] default-time affects now result(#10729) (#10737) 2022-11-26 22:30:10 +08:00
btea
cd41fb7901 chore: move the types entry point to the very beginning (#10786)
* chore: move the types entry point to the very beginning

* chore: replace the order of import and require
2022-11-26 16:31:16 +08:00
init-qy
ec434a7044 fix(components): [table] fix error in dynamic change table-column (#10713) 2022-11-26 11:52:48 +08:00
Zhongxiang Wang
1d5219a0a6 fix(components): [popconfirm] import missing button style (#10774) 2022-11-25 15:09:07 +00:00
RealityBoy
ecaecd2727 revert: "fix(components): [table] fix expand icon center (#9943)" (#10773)
revert: fix(components): [table] fix expand icon center (#9943)
2022-11-25 23:02:16 +08:00
zz
6dc77e3e93 Revert "fix(components): [menu] menus that are not in the expanded path do not open" (#10769)
Revert "fix(components): [menu] menus that are not in the expanded path do not open (#10480)"

This reverts commit 781b891c25.
2022-11-25 21:47:05 +08:00
Jeremy
ecb4b0117e docs(components): [avatar] (#10709)
* docs(components): [avatar]

* Update avatar documentation per new design.
* Move AvatarInstance to instance.ts for better readabilties.

* chore: remove backquote

* chore: update keywords to all-lowercase

* chore: refinement

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-11-24 22:56:01 +08:00
0song
ff2c984d12 fix: add drawer deprecated custom-class warning (#10745) 2022-11-24 14:04:22 +08:00
류한경
29c4833193 fix(components): [page-header] display if breadcrumb slot exists (#10719) 2022-11-23 12:22:39 +08:00
Zheng Bang-Bo
b58de1dec5 fix(components): [table] fix expand icon center (#9943)
* fix(components): [table] fix expand icon center

* Update packages/theme-chalk/src/table.scss

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

* Apply suggestions from code review

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

Co-authored-by: qiang <qw13131wang@gmail.com>
2022-11-23 11:30:23 +08:00
Xc
c6d8589492 docs(components): [space] (#10685)
* docs(components): [space]
* Adjust API style
* export SpaceInstance

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

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

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

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

Co-authored-by: qiang <qw13131wang@gmail.com>
2022-11-22 21:39:34 +08:00
Xc
4d021bde98 docs(components): [layout] (#10682)
* docs(components): [layout]
* Adjust API style

* docs(components): [layout]
2022-11-21 21:57:21 +08:00
Xc
cb66a20612 docs(components): [container] (#10680)
* docs(components): [container]

* docs(components): [container]

* docs(components): [container]
2022-11-21 21:37:14 +08:00
白雾三语
1d20619c50 fix(components): [input-number] Input actions can update values (#10329)
* fix(components): [input-number] Input actions can update values

* fix(components): [input-number] added unit test

* fix(components): [input-number] format

* fix(components): [input-number] update

Co-authored-by: chenzhihui <18281682921@qqcom>
2022-11-21 21:20:47 +08:00
Xc
f88d46e231 docs(components): [icon] (#10681)
* Adjust API style
2022-11-21 20:44:50 +08:00
Xc
c32e55f9fb docs(components): [link] (#10683)
* docs(components): [link]
* Adjust API style

* docs(components): [link]
2022-11-21 20:21:52 +08:00
kooriookami
b807b3b679 style(theme-chalk): [Pagination] Fix pagination style (#10692)
style(theme-chalk): pagination style

closed #10563
2022-11-21 15:42:38 +08:00
qiang
b456125431 fix(components): [tooltip] SSR hydration error caused by random ID (#10541) 2022-11-21 14:10:52 +08:00
RealityBoy
d8a116c37f fix(components): [table] optimizate types export (#10677)
* fix(components): [table] optimizate types export

* chore: update
2022-11-20 16:51:04 +08:00
Xc
3c81c1fc6f fix(components): [pagination] Nesting causes missing styles (#10666) 2022-11-20 16:20:26 +08:00
Xc
8ee73a4183 fix(components): [input] prefix and suffix add click focus event (#10674) 2022-11-20 15:00:19 +08:00
Qiang
781b891c25 fix(components): [menu] menus that are not in the expanded path do not open (#10480)
* fix(components): fix #10431

fix #10431 and unify the hooks into the hooks directory

closed #10431

* Revert "fix(components): fix #10431"

This reverts commit 76524b124c.

* fix(components): revert 76524b1

* fix: a bug in unique-opend

* chore: optimize code and test cases
2022-11-20 14:34:43 +08:00
zz
7ef4b2af0b fix(components): [cascader] collapse tags tooltip style (#10669) 2022-11-19 21:19:27 +08:00
btea
762f9c0d7e fix(components): [upload] use useDisabled (#10663) 2022-11-19 18:09:30 +09:00
Xc
b3553a1cae docs(components): [button] (#10594)
* docs(components): [button]

* docs(components): [button]
2022-11-14 10:46:38 +08:00
Xc
cb490ae3c1 docs(components): [scrollbar] (#10564)
* docs(components): [scrollbar]
2022-11-13 19:51:13 +08:00
Mrbigshot
1155f4ceaa fix(components): [select-v2] case-insensitive when filterable (#10575)
Co-authored-by: 叶晨 <cye2@leqee.com>
closes https://github.com/element-plus/element-plus/issues/10573
2022-11-13 17:49:52 +08:00
kooriookami
7de79bdfcf style(components): [pagination] Refactor pagination style (#10563)
* style(components): [pagination]
2022-11-13 14:09:26 +08:00
iamkun
2167a01822 docs: fix error text (#10587) 2022-11-12 09:52:31 +08:00
Sun Yuu
531ffccda1 fix(components): [calendar] fix range cross year bug (#10574)
* fix(components): [calendar] (#5595)

fix(components): [calendar] fix  range cross year bug

closed #5595

* test(components): [calendar] add test

Co-authored-by: tolking <qw13131wang@gmail.com>
2022-11-11 22:42:48 +08:00
zz
ab8e484085 fix(components): [image-viewer] hide-on-click-modal not work (#10568) 2022-11-11 13:08:50 +08:00
zz
8b2917287c fix(components): [cascader] set height correctly (#10538) 2022-11-10 15:23:31 +08:00
init-qy
4b0db5d8a1 fix(components): [checkbox] wrong checked status when label is Object (#9863)
* fix(components): [checkbox] wrong checked status when label is Object

* fix(components): [checkbox] add unit test for label is object

* fix(components): [checkbox] add unit test for label is object

Co-authored-by: init-qy <953218204@qq.com>
2022-11-10 12:10:18 +08:00
Xc
d1e615eca7 docs(components): [input] (#10513)
* docs(components): [input]
* Update input doc
* Add description for input props
* Add exposes attribute to doc
* Add a11y tag

* docs(components): [input]
2022-11-09 23:57:22 +08:00
Xc
d72fd34b58 fix(components): [focus-trap] input select text (#10535) 2022-11-09 15:47:49 +08:00
kooriookami
ed417d0fe0 style(components): [select-v2] Uniform style consistent with select (#10501) 2022-11-09 12:27:20 +08:00
kooriookami
03a628cab5 style(components): [select] Fix tags style (#10502)
style(components): [Select] Fix tags style
2022-11-09 10:34:05 +08:00
류한경
10737d2495 fix(components): [dropdown-item] prevent click if disabled (#10532) 2022-11-08 23:37:12 +08:00
faga
d2fb4ffc50 fix(component): [table] can't select row children (#10221)
* fix: table select children

* fix: table select children

* test(components): selectable tree table

* fix: toggle multiple-layer tree

* fix(components): [table]

toggleRowStatus fix

* chore: suggest code style

* chore: isArray instead of row.children

* chore: fix unit test error

* chore: select event trigger only once

* style: code style change

* chore: code style change

* chore: code integration

* chore: code style change

* chore: code style change

* chore: code style change

* chore: [table] code style change

* style: [table] brace style

Co-authored-by: faga <lzc295592@163.com>
2022-11-05 17:18:37 +08:00
zz
fe66c08fa5 fix(components): [cascader] remove extra space in the search text (#10439)
* fix(components): [cascader] remove extra space in the search text

* chore: optimize condition with computed
2022-11-05 14:08:25 +08:00
Jeremy
8ccb7df2df docs(components): [alert] (#10373)
* docs(components): [alert]

* Update alert doc.
* Add comment for alert props.
* Reorganize code.
2022-11-03 20:38:41 +08:00
RealityBoy
9c85ac73ea style(theme-chalk): fix date-picker style (#10392) 2022-11-03 18:08:26 +08:00
RealityBoy
5830d07683 style(theme-chalk): fix input style (#10390) 2022-11-03 17:41:20 +08:00
RealityBoy
f77716f1e8 style(theme-chalk): fix select style (#10381) 2022-11-03 16:01:58 +08:00