Commit Graph

2219 Commits

Author SHA1 Message Date
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
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
Xc
2e172b68f7 docs(components): [config-provider] (#10881)
* docs(components): [config-provider]
* Adjust API style
2022-12-12 22:56:05 +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
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
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
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
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
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
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