Commit Graph

2762 Commits

Author SHA1 Message Date
qiang
393591c1d9 fix(element-plus): exposing ElSubMenu component (#11100) 2022-12-30 17:37:01 +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
Jeremy
ec161eaef5 feat(hooks): [use-popper] (#10983)
* feat(hooks): [use-popper]

* Implement use-popper

* chore: code adjustment

* test: add test for use popper

* test: finish test for use popper

* fix: popper API

* chore: remove unused imports

* chore: refine code

* feat: export popper from hooks package

* chore: enhanced how to process default value

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-12-19 21:46:16 +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
zz
a47bf23a02 fix(components): [tabs] correct active bar position (#10989) 2022-12-15 23:55:40 +08:00
zz
5d9142f5cd perf(components): [tabs] update test case (#10991) 2022-12-15 16:59:44 +08:00
Jeremy
c3f529c411 docs(components): [card] (#10978)
* docs(components): [card]

* Update card docs with new syntax

* docs(components): [card]

* Update docs with new syntax
* Reorganize code for readabiltiies.

* chore: address PR comments

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-12-14 22:32:51 +08:00
Jeremy
d02193ea23 docs(components): [breadcrumb] (#10962)
* docs(components): [breadcrumb]

* Update doc file with new syntax.
* Move instances to a dedicated file for readabilities.

* chore: address PR comments

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-12-13 21:37:30 +08:00
Hefty
db60c0578b refactor(components): [transfer] remove useless code (#10971) 2022-12-13 19:39:01 +08:00
qiang
0ad451f25e fix(theme-chalk): [menu] the popup style error (#10958) 2022-12-13 10:25:31 +08:00
Jianjun Yu
306993dfca style(theme-chalk): [Menu] Fix menu style (#10813)
* style(theme-chalk): [Menu] Fix menu style

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

avoid affecting other styles

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

Co-authored-by: qiang <qw13131wang@gmail.com>
2022-12-13 10:20:35 +08:00
Xc
2e172b68f7 docs(components): [config-provider] (#10881)
* docs(components): [config-provider]
* Adjust API style
2022-12-12 22:56:05 +08:00
Swara
d998d00289 Add Kurdish language (Sorani - ckb) (#10913) 2022-12-12 12:37:58 +00:00
qiang
d004a8ff95 fix(theme-chalk): [menu] arrow position error in popup (#10960) 2022-12-12 20:25:34 +08:00
zz
04f7ea8105 refactor(components): [statistic] (#10939)
* refactor(components): [statistic]

* fix: type error

* docs: fix style

* chore: use rAF

* chore: update docs
2022-12-12 10:42:48 +08:00
cx33
a4b73eccda feat(components): el-image support set zoom-rate (#10930)
* feat(components): el-image support set zoom-rate

* docs(components): el-image add `zoom-rate` attr
2022-12-12 10:38:39 +08:00
zz
5a58f4e477 fix(components): [focus-trap] input selection (#10606)
* fix(components): [focus-trap] input selection

* chore: update
2022-12-10 20:15:47 +08:00
Xc
69895aeccb docs(components): [color-picker] (#10889)
* docs(components): [color-picker]
* Adjust API style
* classname

* Update docs/en-US/component/color-picker.md

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

Co-authored-by: qiang <qw13131wang@gmail.com>
2022-12-09 14:46:58 +08:00
Xc
15d146949f docs(components): [checkbox] (#10888)
* docs(components): [checkbox]
* Adjust API style
* classname
2022-12-09 14:46:27 +08:00
Xc
d3518f8694 docs(components): [statistic] (#10895)
Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
Co-authored-by: holazz <2418184580@qq.com>
2022-12-08 10:50:21 +08:00
qiang
1c20ad25b1 docs(components): [pagination] format the Type value (#10894)
* docs(components): [pagination] format the Type value

closed #10192

* docs(components): [pagination] format the Type value
2022-12-07 20:08:15 +08:00
kooriookami
9971c9ed97 style(theme-chalk): [color-picker] Fix focus-visible outline (#10911)
* style(theme-chalk): [color-picker] Fix focus-visible ouline

* style(theme-chalk): update
2022-12-07 09:06:18 +08:00
yujinpan
52ccdf6ed3 fix(components): [tree-select] props cacheData not reactive (#10885)
* fix(components): [tree-select] `cacheData` not reactive

* fix(components): [tree-select] cache options not overwrite the original
2022-12-05 12:49:06 +08:00
yang
9694d04529 feat(component): [statistic] newly added (#10687)
* feat(components): add a new statistic component
2022-12-04 21:35:48 +08:00
烟花
151ebede93 fix(components): [notification] option zIndex for notification can't effect (#10796)
option zIndex for notification can't effect

`options.zIndex` is not effective since it is write before `zIndex: nextZIndex()`, it will be overode.
2022-12-03 14:03:24 +08:00
RealityBoy
d58163e28f style(theme-chalk): fix carousel button style (#10869) 2022-12-02 14:35:06 +08:00
RealityBoy
0fb2dc950c feat(components): [menu] add popper-effect menu attribute (#10867) 2022-12-02 13:23:59 +08:00
hankin.dream
e0150db5b6 fix(components): [table]fix the problem that show-overflow-tooltip will also be displayed when the browser is zoomed (#10816)
closed https://github.com/element-plus/element-plus/issues/10790
2022-12-02 13:13:43 +08:00
qiang
3fa314f2c3 fix(theme-chalk): [menu] optimize the SubMenu title style (#10828)
closed #10591, #10592
2022-12-01 23:49:20 +08:00
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