Commit Graph

3557 Commits

Author SHA1 Message Date
MoConWu
b2a17f0689 feat(components): [tree-v2] support node-drop event (#16935)
* Update tree.vue

* Update tree-node.vue

* Update tree.vue

* Update virtual-tree.ts

* Update useTree.ts

* Update virtual-tree.ts

* Update tree.test.ts

* Update useTree.ts

* Update tree-node.vue

* Update tree.vue

* Update virtual-tree.ts

* Update tree-v2.md

* Update tree-v2.md

* Update virtual-tree.ts

* Update tree-node.vue

* Update useTree.ts

* Update tree.vue

* Update virtual-tree.ts

* Update tree.test.ts

* 修改错误的提交 tree-v2.md

* Update useTree wrong.ts

* Update tree-node.vue

拖拽事件更新

* Update tree-v2.md, add version info

* Update tree-v2.md format

* Update tree-v2.md, version change to 2.8.3
2024-09-11 15:33:26 +08:00
qiang
7017d19260 fix(components): [tooltip] change ariaHidden value after closed the dropdown (#18207)
* fix(components): [tooltip] change ariaHidden value after closed dropdown

closed #17720

* test: fix test
2024-09-10 15:58:53 +08:00
btea
c4f7e27bdd fix(components): [select-v2] label display error when re-rendering (#18128)
* fix(components): [select-v2] label display error when re-rendering

* fix: update
2024-09-10 15:53:11 +08:00
Karolis_Stoncius_Sneakybox
1d26af3066 feat(components): [scrollbar] add tabindex to scrollbar wrap content (#14320)
* feat(components): [scrollbar] add tabindex to scrollbar wrap content

* refactor(components): [scrollbar] set default tabindex to undefined

* refactor(components): [table] change bodyTabindex to scrollbarTabindex

* refactor(components): [scrollbar] remove unnecessary props

* docs(components): add version tags
2024-09-09 17:36:11 +08:00
高奕GaoYi
0acf8cc004 fix(components): [table-v2] sass declaration deprecation error (#18218)
Update table-v2.scss. Fix Warning

Deprecation Warning: Sass's behavior for declarations that appear after nested
rules will be changing to match the behavior specified by CSS in an upcoming
version. To keep the existing behavior, move the declaration above the nested
rule. To opt into the new behavior, wrap the declaration in `& {}`.

More info: https://sass-lang.com/d/mixed-decls

    ╷
44  │ ┌   .#{$namespace}-vl__vertical,
45  │ │   .#{$namespace}-vl__horizontal {
46  │ │     z-index: -1;
47  │ │   }
    │ └─── nested rule
... │
89  │       z-index: 1;
    │       ^^^^^^^^^^ declaration
    ╵
    ..\..\node_modules\.pnpm\element-plus@2.8.2_vue@3.5.3_typescript@5.4.5_\node_modules\element-plus\theme-chalk\src\table-v2.scss 89:5       @content

.........
2024-09-09 08:05:34 +08:00
tangyongjie
14c8f752e4 test(components): [slider] remove console.log (#18217) 2024-09-08 18:42:29 +08:00
Shirley Yang
2d98ee4311 fix(components): [menu] move ulStyle from render to setup to fix memory leak (#18122)
fix(components): [menu] move ulStyle from render to setup
2024-09-07 11:56:44 +08:00
tangyongjie
271385f6a5 test(components): [select] fix test warning (#18211) 2024-09-07 07:54:26 +08:00
kimverchan
1346bf9275 fix(components): [table-v2] header checkbox cover fixedHeader when scroll (#18179)
fix(components): [table-v2]header checkbox cover fixedHeader when scroll

closed #18163
2024-09-06 10:55:30 +08:00
Manshu Tusker
2dbe2bf4af fix(components): [message] max affects grouping display (#18189)
fix(components): [message] Fix message grouping with max limit

Prioritize grouping logic over max limit in message component

closed #18117
2024-09-06 09:02:45 +08:00
btea
0760b06b18 fix(components): [tabs] active-bar not move with the tab label changes (#18165)
* fix(components): [tabs] active-bar not move with the tab label changes

* fix: update

* fix: update
2024-09-05 14:36:36 +08:00
betavs
0dc9b6479f fix(components): [table-v2] columns missing key field (#17891)
* fix(components): [table-v2] columns missing key field

* perf(components): [table-v2] columns missing key field

* test(components): [table-v2] columns missing key field

* perf(components): [table-v2] columns missing key field
2024-09-03 21:05:21 +08:00
btea
50e02f3ab9 fix(components): [calendar] improve range validation (#18125)
* fix(components): [calendar] improve range validation

* fix: update
2024-09-03 20:31:28 +08:00
kimverchan
29a21e86ba fix(hooks): PopperContainer cannot be recreated when body is recreated (#18121)
In the micro-front-end scenario, the body is recreated; Because PopperContainer determines that the
cache exists and does not recreate it, teleport cannot find the element to mount.

closed #18115,#17710

Co-authored-by: chenjingwen <chenjingwen@sie.com>
2024-09-03 20:25:15 +08:00
cosine7
c25026c542 chore(components): [dialog] add instance type (#18127)
refactor(components): [dialog] add instance type
2024-09-03 18:16:46 +08:00
qiang
8e6b88dcca revert(components): [select] cancel type conversion at initialization (#18088)
closed #17944
2024-09-03 15:20:46 +08:00
Haceral
cf23d10912 fix(theme-chalk): [select] box-shadow noise (#18120)
Co-authored-by: Haceral <18274416193@163.com>
2024-09-03 11:34:38 +08:00
Manshu Tusker
fcf2249cc9 fix(components): [tree-v2] expand all ancestor nodes of the specified node (#18077)
* fix(components): [tree-v2] Allow only all nodes to be expandable

closed #18073

* fix(components): [tree-v2] Allow all nodes to be expandable

closed #18073

* fix(components): [tree-v2] Allow all nodes to be expandable

closed #18073

* fix(components): [tree-v2] Allow all nodes to be expandable

closed #18073

* fix(components): [tree-v2] Allow all nodes to be expandable

closed #18073

---------

Co-authored-by: Tusker Manshu <dadaguai-git>
2024-09-03 07:16:27 +08:00
qiang
3a37320944 fix(components): [mention] replace props.disabled with useFormDisabled (#18119)
* fix(components): [mention] replace props.disabled with useFormDisabled

* test: add test
2024-09-02 17:51:05 +08:00
qiang
c24309aea0 fix(components): [select] call the exposes blur is invalid (#17691)
* fix(components): [select] call the exposes blur is invalid

closed #17367

* chore: remove the unnecessary code
2024-09-02 16:37:03 +08:00
Lo
3f0842124b fix(theme-chalk): [select] remove unnecessary codes of the select border (#18116) 2024-09-02 12:58:32 +08:00
xuan
27bdf1f076 fix(components): [el-tree-select] fix lazy and multiple select node (#17903)
* fix(components): [el-tree-select] fix lazy and multiple select node

1.Fix the issue where non-leaf nodes cannot be selected when using lazy and multiple together.

2. Since the original code did not handle the selection of non-leaf nodes before expanding
lazy-loaded child nodes, additional processing was added to link the selection of parent and child
nodes.

3. Because the time required for lazyLoad after nodeExpand cannot be predicted, the triggering time
of the node-expand event in the tree has been adjusted to occur within the callback of the expand
function. This change only affects the timing when using lazyLoad.

BREAKING CHANGE :
no

closed closed Fixes #17232

* fix: test typecheck

* fix: onNodeExpand event and update function name
2024-09-01 20:59:31 +08:00
btea
93d28929fe feat(components): [config-provider] support more message config (#18106)
* feat(components): [config-provider] support more message config

* feat: more message-config params test

* fix: more test conflict

* chore: delete useless code

* chore: add tag

---------

Co-authored-by: warmthsea <2586244885@qq.com>
2024-09-01 18:13:40 +08:00
Typed SIGTERM
26ceaf622d docs: replace delete with deprecated and format (#18104)
docs: [components] replace `delete` with `deprecated` and format
2024-09-01 12:11:58 +08:00
wzc520pyfm
c90ebf8ca4 test(components): [select] add case for disabled and automatic-dropdown (#18112) 2024-09-01 08:02:55 +08:00
btea
d7e5f193cd fix: the disabled state should not trigger focus (#18108) 2024-08-31 19:48:48 +08:00
btea
4f380a6911 chore: upgrade vitest (#18099)
* chore: upgrade vitest

* chore: update
2024-08-31 16:18:56 +08:00
Haceral
4246d1e468 feat(components): [check-tag] add disabled prop (#17936)
* feat(components): [check-tag] add `disabled` prop

* style(components): [check-tag] add styles when disabled

* chore(components): [check-tag] update doc

* fix(components): [check-tag] fix bg-color in disabled

When the check-tag type is `primary` and it is unchecked, keep the background
color consistent with the `info` type. this ensures visual consistency.

* chore(components): [check-tag] update doc

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

* chore(components): [check-tag] formatting document content

* update doc

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

---------

Co-authored-by: Haceral <18274416193@163.com>
Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: qiang <qw13131wang@gmail.com>
2024-08-30 18:41:11 +08:00
btea
344c218d01 test(components): [pagination/input] test case (#18080) 2024-08-29 20:20:58 +08:00
qiang
044f0afc1e fix(components): [select] switching single/multiple generates an error (#18030)
closed #17890
2024-08-29 19:06:41 +08:00
dopamine
8618a6bcd0 refactor: import shared utilities from @element-plus/utils (#18048)
chore: import shared utilities from `@element-plus/utils`
2024-08-29 09:04:03 +08:00
dopamine
be23e0ccb6 fix(components): [tag] leave animations not working (#18006)
* fix(components): [tag] leave animations not working

* use @vue:mounted to ensure forward compatibility with Vue

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

---------

Co-authored-by: btea <2356281422@qq.com>
2024-08-28 22:18:23 +08:00
406087475
e48eec1c58 fix(components): [table] getColumnIndex may be undefned (#16782)
Fix table column getColumnIndex undefined bug

Fix table column getColumnIndex undefined bug

Co-authored-by: btea <2356281422@qq.com>
2024-08-27 20:47:45 +08:00
btea
6ce83d38a7 fix(components): [pagination] global size dynamic modification error (#18004) 2024-08-27 09:03:06 +08:00
btea
19eaae7171 fix: the disabled state should not trigger focus (#18012)
* fix: the disabled state should not trigger focus

* fix: update

* chore: update

* chore: update test

* Update packages/hooks/__tests__/use-focus-controller.test.tsx

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

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
2024-08-26 20:46:15 +08:00
Kaine
10bc510772 fix(theme-chalk): replace margin with padding (#15499) 2024-08-23 09:41:08 +08:00
Typed SIGTERM
5f32318377 feat(components): [popconfirm] add actions slot (#17957)
* feat(components): [popconfirm] add actions slot

close #4733

* feat(components): [popconfirm] pass handlers to actions slot

* docs(components): [popconfirm] tweak example

* chore: tweak

* chore: tweak

* chore: update test

---------

Co-authored-by: btea <2356281422@qq.com>
2024-08-23 08:29:34 +08:00
guze2003
00e1ccc2b1 feat(components): [descriptions] add rowspan (#10314)
* feat(components): [descriptions] add rowspan

* fix: type error

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

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

* chore: format

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
Co-authored-by: btea <2356281422@qq.com>
2024-08-22 21:39:09 +08:00
sea
bdfe30cfa0 chore(components): [dialog] change border-radius to base (#17975)
* style(components): [dialog] change border-radius to base

* style(components): [dialog] change border-radius to base
2024-08-22 16:29:20 +08:00
blesstosam
c657bbe28b refactor(components): [carousel] use var to replace raw string (#17958) 2024-08-22 15:07:30 +08:00
Haceral
9234661993 style(components): [select] add a unique class name for the clear icon (#17575)
Co-authored-by: Haceral <18274416193@163.com>
2024-08-22 09:35:44 +08:00
于智勇
6b7e204e5b fix(components): [dialog] rename resetPostion to resetPosition (#17900)
* fix(components): [dialog] rename resetPostion to resetPosition

* chore: fix lint

* chore: reset CHANGELOG.en-US.md

---------

Co-authored-by: tolking <qw13131wang@gmail.com>
2024-08-21 22:34:12 +08:00
tkitesy
bd95cc8a46 perf(components): [virtual-list] wrap row with Fragment and set key on it (#8284)
fix(components): [virtual-list] wrap row with Fragment and set key on it

closed #8279

Co-authored-by: qiang <qw13131wang@gmail.com>
2024-08-21 10:52:12 +08:00
Kylin
97652eb14b refactor(components): [affix] optimized code logic (#17929)
* perf(components): [affix] optimized code logic

* perf(components): [affix] restore the original writing
2024-08-20 11:42:06 +08:00
Simon He
4984d1b014 fix(components): tree nodesMap leak (#10195)
Co-authored-by: qiang <qw13131wang@gmail.com>
2024-08-18 15:27:34 +08:00
wzc520pyfm
ec9cfe81dd fix(components): [segmented] fix async disabled style of selected item (#17716)
* fix(components): [segmented] fix async disabled style of selected item

closed #17715

* fix(components): [segmented] fix async disabled style of selected item

* test(components): [segmented] updated count of disabled test

* chore(components): [segmented] remove redundant code
2024-08-18 11:32:02 +08:00
qiang
ae8328fb9c fix(components): [table] use isEqual to determine whether it is selected (#17885)
* fix(components): [table] use isEqual to determine whether it is selected

closed #10199, #10263

* test: add test

* test: add test
2024-08-18 11:28:36 +08:00
qi
5b9f446900 fix(components): [button] use tag and disabled comp click triggered (#17804)
* fix(components): [button] use tag and disabled comp click triggered

* refactor: optimize code
2024-08-16 11:01:07 +08:00
blesstosam
1d81c3982d chore(components): [input] remove repeated export of InputInstance (#17907)
* chore: remove repeated export of InputInstance

* chore: recover settings.json

* fix: lint error

* fix: test

---------

Co-authored-by: WL01-10045094 <weilei@weileideMacBook-Pro.local>
2024-08-16 10:42:05 +08:00
momei
b4c969ca29 fix(components): [time-picker] avoid update initial value when using disabledHours & isRange (#17813)
* fix(components): [time-picker] fix wrong trigger

* fix(components): [time-picker] add test for time-picker

* fix(components): [time-picker] add a test for time-picker

* fix(components): [time-picker] add test for time-picker
2024-08-15 22:50:43 +08:00