Commit Graph

6056 Commits

Author SHA1 Message Date
sea
f5628e7b16 refactor(components): [badge] show-zero implement (#18360) 2024-09-28 17:10:35 +08:00
Element
08562279a6 chore: Update changelog 2.8.4 (#18399)
chore: update changelog 2.8.4
2024-09-27 10:47:11 +00:00
sea
984ab608e7 feat(components): [table] export updateKeyChildren method & correct version (#17709)
* feat(components): [table] export `updateKeyChildren` fn

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

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

* chore: update version

* docs: update version

* docs: format

* docs: fix version

---------

Co-authored-by: btea <2356281422@qq.com>
2024-09-27 18:20:57 +08:00
0song
50205f0e6b Merge branch 'master' into dev 2024-09-27 14:06:31 +08:00
Karolis_Stoncius_Sneakybox
03fa5d6839 feat(components): add the ability to append table filter panel, select and pagination size dropdowns to any element (#14318)
* feat(components): [pagination] append size dropdown to element

* feat(components): [select] append select dropdown to element

* feat(components): [table] append table filter panel to element

* refactor(components): [pagination] shorten prop names

* fix(components): [select] appendTo prop

* docs(components): add pagination docs append-size-to version tag

* docs(components): remove append-size-to default value in docs

* refactor(components): remove default appendTo values

* docs: version bump

* refactor(components): remove default appendFilterPanelTo value
2024-09-26 09:56:23 +08:00
sea
208756a632 style(components): [transfer] delete input__inner border-radius (#18351) 2024-09-24 19:47:48 +08:00
Kylin
755fbdbd80 docs(components): [mention] the document display format is unified (#18352)
docs(docs): the document display format is unified
2024-09-24 18:19:56 +08:00
dopamine
a76b6b129d chore(play): remove useless .eslintrc.json (#18339) 2024-09-24 14:50:54 +08:00
0song
7a1a6a304b feat(components): [cascader] update cascader component to expost presentText (#18338)
* fix: update cascader component to expost presentText

* chore: update

* chore: update
2024-09-24 14:09:24 +08:00
0song
9bea902529 chore: update doc (#18336) 2024-09-23 11:19:52 +00:00
guze2003
c8d0d35e3f feat(components): [input-number] add prefix and suffix (#17993)
* feat(components): [input-number] add prefix and suffix

* Update docs/en-US/component/input-number.md

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

* Update docs/en-US/component/input-number.md

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

* Update docs/en-US/component/input-number.md

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

* Update docs/en-US/component/input-number.md

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

* Update docs/en-US/component/input-number.md

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

* Update docs/en-US/component/input-number.md

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

* Update docs/en-US/component/input-number.md

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

* Update packages/components/input-number/src/input-number.vue

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

* Update packages/components/input-number/src/input-number.vue

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

* feat(components): [input-number] add prefix and suffix

* feat(components): [input-number] add prefix and suffix

* feat(components): [input-number] add prefix and suffix

---------

Co-authored-by: btea <2356281422@qq.com>
2024-09-23 15:14:29 +08:00
dopamine
cd517d6743 chore(components): [select-v2] remove ts-nocheck comments in select-v2 (#16746)
* chore: remove ts-nocheck comments in select-v2

* take the review comments

* improve emits type

* the keys of emits use camelCase instead of kebab-case

* apply suggestions from code review

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

* reduce duplicate ESLint comments

* use more succinct syntax to define props

* revert emits to kebab-case

* fix: type checking failed

* chore: illustrate why return early in validateIcon

* fix: signature with duplicate parameter names

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

---------

Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: qiang <qw13131wang@gmail.com>
2024-09-23 13:45:35 +08:00
尘随风染
6f1f506bcb fix(components): [color-picker] support dynamic change of showAlpha prop (#18280)
* feat(components): [color-picker] supports dynamic change of colorFormat

* test(components): [color-picker] test cases with fixes added

* fix(components): [color-picker] support dynamic change of showAlpha prop

---------

Co-authored-by: SKSQ2529720581 <83899365+SKSQ2529720581@users.noreply.github.com>
2024-09-23 11:24:48 +08:00
DDDDD12138
593d03e326 fix(components): [avatar] remove outline from el-avatar component (#18303)
fix: remove outline from el-avatar component
2024-09-23 09:05:35 +08:00
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
iamkun
5dfce82063 Merge pull request #18266 from element-plus/dev
D2M
2.8.3
2024-09-13 16:23:11 +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
0song
f57bf411cc Merge pull request #18265 from element-plus/chore/ui
chore: update doc
2024-09-13 13:42:49 +08:00
0song
bc98af2fe1 chore: update doc 2024-09-13 13:41:23 +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