Harry Li
6a3dccaad8
feat(components): [description-item] add labelWidth prop ( #18673 )
...
* feat(components): [description-item] add labelWidth prop
* feat(docs): [description-item] add labelWidth prop in api
* feat(components): [descriptions] add test code for
* fix(components): [descriptions] more maintainable width compute
* feat(docs): [descriptions] add version tips for label-width prop
* feat(docs): [descriptions] update label-width support version
* chore: code format
* feat(components): [descriptions] add labelWidth to descriptions
* feat(components): [descriptions] add test code for labelWidth
* feat(components): [descriptions] add docs for new labelWidth props
---------
Co-authored-by: warmthsea <2586244885@qq.com>
2024-11-13 17:34:37 +08:00
thinkasany
a9e6345464
docs: support vitepress vp-code-group ( #18869 )
...
* feat(style): support vitepress vp-code-group
* docs: update
* docs: update
2024-11-12 20:08:37 +08:00
DDDDD12138
4f04bcd46f
feat(components): [select] add offset
and show-arrow
prop ( #18837 )
...
feat: add show-arrow prop to control dropdown arrow visibility
2024-11-11 17:10:48 +08:00
thinkasany
28106bd3ec
docs(components): use ""
replace null for no icon setting ( #18824 )
...
* docs(components): use replace null for no icon setting
* docs: fix
2024-11-08 14:53:18 +08:00
chenweiyi
3eb734ccc4
feat(components): [skeleton] throttle
supports values as object ( #17041 )
...
* fix(components): [skeleton] `throttle` property not working
* fix: lint fix
* feat: add func & doc & test
* feat: remove test modify
* feat: increase document examples, improve document descriptions
* fix(components): [skeleton] `throttle` property not working
* fix: lint fix
* feat: add func & doc & test
* feat: remove test modify
* feat: increase document examples, improve document descriptions
* feat: 重构`useThrottleRender`钩子以提高代码可读性和效率
- 简化了对`throttle`参数的判断逻辑,通过`isNumber`函数判断是否为数字
- 将`leadingDispatch`和`trailingDispatch`函数合并为`dispatcher`函数,根据传入的类型判断执行逻辑
- 优化了`watch`回调函数,使用`dispatcher`函数替代重复的判断逻辑
* feat: 写法优化
* feat: 引入`isObject`函数替代原有的`typeof throttle === 'object'`判断方式
* feat: 优化骨架屏文档结构和示例
* feat: 完善文字描述和修改对应的文件名
* Update docs/en-US/component/skeleton.md
Co-authored-by: btea <2356281422@qq.com>
* Update docs/en-US/component/skeleton.md
Co-authored-by: btea <2356281422@qq.com>
* feat: Optimize code writing
* Update docs/en-US/component/skeleton.md
Co-authored-by: btea <2356281422@qq.com>
* Update docs/en-US/component/skeleton.md
* feat: modify doc
* feat: md
* feat: 补充 useThrottleRender 钩子的测试用例
* feat: 将 SkeletonThrottle 类型移动到hook中, 重命名为 ThrottleType 以提高通用性
---------
Co-authored-by: btea <2356281422@qq.com>
2024-11-07 21:31:16 +08:00
伊墨
89731b7d1f
docs(components): correct the select and select-v2 documents ( #18804 )
2024-11-07 13:48:50 +08:00
btea
6b5c12b275
feat(components): [select-v2] add append-to
prop ( #18798 )
...
* feat(components): [select-v2] add `append-to` prop
* docs: update
2024-11-06 08:59:28 +08:00
thinkasany
98c742272d
docs: improve mirror registry ( #18788 )
2024-11-05 18:57:13 +08:00
thinkasany
9adbb1cf85
docs(components): add direction api description for segmented ( #18733 )
...
* docs(components): add direction api description for segmented
* docs(components): update
* chore: code format
---------
Co-authored-by: warmthsea <2586244885@qq.com>
2024-11-01 17:17:49 +08:00
thinkasany
6b1e951368
feat(components): segmented support vertical direction ( #18653 )
...
* feat(components): segmented support vertical direction
* fix(components): improve
* fix(components): empty commit
* fix(components): update api to direction
* chore(components): use n.m
* fix(components): improve
* fix(components): fix
* fix(components): fix
* Update docs/examples/segmented/custom-direction.vue
Co-authored-by: btea <2356281422@qq.com>
* Update docs/examples/segmented/custom-direction.vue
Co-authored-by: btea <2356281422@qq.com>
* fix(components): lint fix
---------
Co-authored-by: btea <2356281422@qq.com>
2024-10-31 22:52:43 +08:00
btea
0705f30364
docs(components): [tree] declare data type ( #18660 )
2024-10-27 15:15:17 +08:00
qiang
845c07adef
feat(components): [date-picker] accessibility enhancement ( #18109 )
...
* feat(components): [date-picker] accessibility enhancement
closed #14150
* docs: update
* test: add test
* chore: change prevent to passive
* fix: long press the clear icon to open the time panel
* fix: cannot read $el
* fix: cannot read $el
* docs: updata
2024-10-27 12:14:53 +08:00
btea
15df7739dd
docs: [tree] unified format ( #18608 )
...
* docs: [tree] unified format
* docs: update
2024-10-23 08:54:50 +08:00
btea
60b899d9bc
feat(components): [date-picker] add show-now
prop ( #18625 )
2024-10-23 08:53:48 +08:00
dopamine
da3e68791b
docs: move deprecated APIs to the end of the table ( #18547 )
2024-10-15 08:10:59 +08:00
Lo
72dd11aac2
docs(components): [segmented] update custom styles, add scope parameter ( #18527 )
...
* docs(components): [segmented] update custom styles, add scope parameter
* docs(components): [segmented] update
2024-10-13 16:04:13 +08:00
btea
91c76cd600
docs: [date-picker] unified format ( #18536 )
...
* docs: [date-picker] unified format
* Update docs/en-US/component/datetime-picker.md
2024-10-13 05:18:19 +00:00
sea
1f82e8ca61
feat(components): [select & select-v2] explicit export selectedLabel
( #18350 )
...
* feat(components): [select] export selectedLabel
* docs: update
* docs: update th
* docs: update selectedLabel version
2024-10-11 13:48:12 +08:00
btea
0417037e0e
docs: disambiguate description of autoInsertSpace
( #18490 )
2024-10-10 09:23:20 +08:00
Summer
bd245cabdc
feat(components): [mention] explicit export dropdownVisible ( #18460 )
...
* feat(components): [mention] explicit export dropdownVisible
* feat(components): [mention] mention component docs update
* docs: unify format
---------
Co-authored-by: warmthsea <2586244885@qq.com>
2024-10-09 21:56:08 +08:00
sea
b92d3e0297
docs: add installation-version get unpublished content ( #18481 )
...
docs: update installation-version content
2024-10-09 21:30:27 +08:00
Lo
2d098087fb
docs(components): [transfer] add transfer and transfer panel exposes ( #18423 )
2024-10-01 11:34:21 +08:00
sea
68d57aff34
docs: add sass compatible version description ( #18428 )
...
* chore: fix docs/play dev sass deprecation warning
* chore: update
* chore: update
* docs: add sass compatible version description
---------
Co-authored-by: btea <2356281422@qq.com>
2024-10-01 09:32:34 +08:00
DoubledConG
9a8074c56c
docs: add the missed full stop ( #18411 )
2024-09-29 07:11:32 +00:00
Lo
48b0170c43
docs(components): [transfer] fix the missing scope parameter ( #18413 )
...
docs(components): [transfer] fix missing scope parameter
2024-09-29 14:53:55 +08:00
dopamine
d6756ac767
docs: remove outdated descriptions of unplugin-element-plus ( #18400 )
2024-09-28 17:28:49 +08: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
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
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
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
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
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
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
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
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
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
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
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
dopamine
569991eeae
docs(components): [table] revise getSelectionRows
type ( #18208 )
...
docs: revise `getSelectionRows` type
2024-09-07 07:59:06 +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
qiang
8e6b88dcca
revert(components): [select] cancel type conversion at initialization ( #18088 )
...
closed #17944
2024-09-03 15:20:46 +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
云游君
f365724f77
docs(theme-chalk): [menu] add how to set menu default height ( #18113 )
2024-09-01 07:56:23 +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
Gustavo Oliveira
4fac13c469
docs(components): [form] update form clearValidate description ( #17980 )
...
docs(components): [form] Update form clearValidate description
Clarify that clearValidate can remove all validation messages.
2024-08-26 11:40:06 +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