Commit Graph

5573 Commits

Author SHA1 Message Date
betavs
31e00e7c19 fix(components): [descriptions-cell] redundant slot function calls (#18330) 2024-09-22 21:32:11 +08:00
btea
a8bdeb4f1d feat(components): [date-picker] add placement & fallback-placements (#18310)
* feat(components): [date-picker] add `placement` & `fallback-placements`

* chore: remove console

* docs: add type Placement

* fix: update
2024-09-22 15:35:16 +08:00
momei
2fae1b147c fix(components): [carousel] fix style when use motionBlur (#18329) 2024-09-22 13:31:38 +08:00
Manshu Tusker
35b4240600 fix(components): [checkbox] default false if no false-value attr (#18187)
* fix(components): [checkbox] default false if no false-value attr

closed #18186

* test(components): [checkbox] add test case

closed #18186
2024-09-21 10:36:23 +08:00
sea
bbd652e9f8 style(components): [form-item] top-label change to inline-block element (#18293)
* style(components): [form-item] top-label change to `inline-block` el

* style: add vertical middle
2024-09-20 08:55:48 +08:00
Dormadekhin Denis
6b01c4531d feat(components): [autocomplete] add getData to exposes (#18237)
* feat(components): [autocomplete] add getData to exposes

* docs(components): [autocomplete] add getData to exposes

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

---------

Co-authored-by: Дормадехин Денис Игоревич <d.dormadekhin@s7.ru>
Co-authored-by: btea <2356281422@qq.com>
2024-09-20 00:23:36 +00:00
Seied Ali Mirkarimi
cb2605c7af fix(i18n): improve translations of Persian (Farsi) (#18290)
* Update fa.ts

several improvements and translations to the Persian

* clean code remove unnecessary comments

* fix  error  Insert `⏎·······`  prettier/prettier
2024-09-19 20:35:41 +08:00
btea
f51162f559 fix(components): [scrollbar] compatibility with wrapRef does not exist (#18311) 2024-09-19 17:35:59 +08:00
KESHAOYE
18a77d5829 fix(components): step-strictly is true and should keep the initial value and step matching (#18277)
* fix(components): 修复step-strictly为true时初次渲染组件v-model与输入框中显示的值不同的问题

When step strictly is set to true, the initial rendering of component v-model differs from the value
displayed in the input box。See issue # 18275 for details。

closed #18275

* fix: unit test error

* test(components): [input-number] test cases with fixes added
2024-09-17 13:36:36 +08:00
dopamine
be79242a20 chore(build): remove redundant code (#18224) 2024-09-17 12:29:54 +08:00
sea
cd01ceb8f0 docs(components): [table] optimize FAQ code display (#18281)
* docs(components): [table] optimize FAQ code display

* docs: update
about:
https://github.com/element-plus/element-plus/issues/18240
https://github.com/element-plus/element-plus/issues/16514
2024-09-14 14:55:02 +08:00
ve
9123a05826 fix(components): [segmented] item may be undefined (#18199)
* fix(components): [segmented] item may be undefined

* fix(components): [segmented] ts type error

* fix(components): [segmented] Update document Option ts type
2024-09-13 17:36:42 +08:00
0song
f77c390170 chore: update doc (#18272) 2024-09-13 17:21:15 +08:00
0song
07e7685709 chore: update doc (#18269) 2024-09-13 08:07:03 +00:00
betavs
107eac00a3 fix(components): [table] selection fixed unexpected (#17904)
* fix(components): [table] selection fixed unexpected

* perf(components): [table] selection fixed unexpected

* perf(components): [table] selection fixed unexpected
2024-09-13 14:45:12 +08:00
sea
28083c2646 ci: release pr commit is made on the original repository dev (#18219)
* ci: test

* ci: test

* ci: update

* ci: only push release

* ci: update name

* ci: change file name

* ci: update

* ci: update pnpm to 9.5

* ci: delete pnpm version
2024-09-13 14:33:28 +08:00
Element
1cc09237da chore: Update changelog 2.8.3 (#18267)
chore: update changelog 2.8.3
2024-09-13 06:26:41 +00:00
qiang
e3bb681984 fix(components): [table] the disabled checkbox are selected (#18034)
* fix(components): [table] non selectable items are selected

closed #18021

* docs: update
2024-09-13 14:13:33 +08:00
dopamine
6b1b086e4a chore: upgrade to pnpm 9 (#18255) 2024-09-13 11:21:56 +08:00
btea
ca677519b9 feat(components): [cascader-panel] add empty slot (#16274)
* feat(components): [cascader] add `empty-panel` slot

* chore: update version tag

* chore: update

* feat: rename empty-panel to empty

* chore: format

* test: add test case

* test: update

* Update docs/en-US/component/cascader.md
2024-09-13 09:34:40 +08:00
kimverchan
647af2cd22 feat(components): [collapse] collpase item supports custom icon (#18215)
* feat(components): [collapse] Collpase item supports custom icon

* docs(components): [collapse] update collpase custom docs
2024-09-12 22:13:25 +08:00
wzc520pyfm
2a568113a3 fix(components): [time-picker] close pick when click clear on pick open (#15390)
closed #15355

Co-authored-by: warmthsea <2586244885@qq.com>
2024-09-12 21:50:31 +08:00
尘随风染
30a6d3b7a3 fix(components): [color-picker] supports dynamic change of colorFormat (#18135)
* feat(components): [color-picker] supports dynamic change of colorFormat

* test(components): [color-picker] test cases with fixes added
2024-09-12 14:59:46 +08:00
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
dopamine
569991eeae docs(components): [table] revise getSelectionRows type (#18208)
docs: revise `getSelectionRows` type
2024-09-07 07:59:06 +08:00
dopamine
9b01207065 chore(docs): cleanup dependencies (#18190) 2024-09-07 07:56:51 +08:00
tangyongjie
271385f6a5 test(components): [select] fix test warning (#18211) 2024-09-07 07:54:26 +08:00
阿菜 Cai
7633b1f7e9 docs: site translation icon style optimization (#18210)
style: site translation icon style optimization
2024-09-07 07:51:51 +08:00
Element
9e5177dbff chore: Update changelog 2.8.2 (#18209)
chore: update changelog 2.8.2
2024-09-06 10:45:36 +00: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
DDDDD12138
60cb2262f9 chore: optimize dts imports (#18051)
* feat: move /typings/components.d.ts to /typings/global.d.ts

* feat: use /typings/global.d.ts file

* chore: adjust the order for global.d.ts
2024-09-03 14:34:21 +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