Commit Graph

1358 Commits

Author SHA1 Message Date
blesstosam
f1e95dc3a9
feat(components): [table] expose scroll event (#12524)
* feat(components): [table] expose scroll event

* chore: update doc
2024-11-20 21:49:22 +08:00
刺·猬
5d54ece420
docs(locale): add Malay(ms) translation (#18950)
* feat(locale): add locale: ms

* feat(locale): add Malay(ms) translation

feat(locale): add Malay(ms) translation

* docs(locale): add Malay(ms) translation
2024-11-20 12:45:34 +08:00
0song
b951e1a48d
chore: update doc (#18946) 2024-11-19 11:35:49 +00:00
DDDDD12138
b724f7f87a
feat(components): [notification] add support for message as a Function (#18558)
* feat(components): [Notification] add support for message as a Function

* feat: add example of Notification with VNode

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

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

* feat: update version

---------

Co-authored-by: btea <2356281422@qq.com>
2024-11-19 15:15:28 +08:00
jiaxiang
440691805b
docs(components): fix type error of the tree-v2 filter demo (#18927) 2024-11-17 20:09:24 +08:00
jiaxiang
8f134d7fbe
chore: fix type error of the tree-v2 props.value docs (#18926) 2024-11-17 20:07:08 +08:00
sea
768f5999f8
improvement(components): [tooltip] dom ref types (#18923) 2024-11-17 14:14:25 +08:00
jiaxiang
e0777ef567
feat(components): [tree-v2] add props.class prop (#18911)
* feat(components): [tree-v2] allow tree node to have customizable class

* docs: update docs

* docs: add demo

* docs: update

* fix: update
2024-11-16 23:44:06 +08:00
jiaxiang
23ce3ff8f1
chore: fix type error of the tree customNodeClass demo (#18920)
chore: fix type error of the tree demo
2024-11-16 21:52:39 +08:00
0song
755f62bb1d
chore: update ui (#18914) 2024-11-15 05:44:22 +00:00
qiang
343cacf5cc
fix(components): numpadEnter does not work like the Enter (#18855) 2024-11-14 21:14:51 +08:00
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
btea
03380de918
docs: optimize sidebar style (#18842)
* docs: optimize sidebar style

* docs: update
2024-11-09 13:59:26 +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
qiang
ead1002533
chore(deps): update vite related dependency for play and docs (#18809)
* chore(deps): update vite related dependency for play and docs

* fix: type error

* fix: unocss

* chore: add port

* fix: types

---------

Co-authored-by: warmthsea <2586244885@qq.com>
2024-11-08 09:38:27 +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
Jungzl
e63a545acb
docs: use native fetch for changelogs (#18768) 2024-11-05 23:00:35 +08:00
thinkasany
6fa9f78a65
docs: fix type error for autocomplete (#18762) 2024-11-05 21:27:56 +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
0song
fff8c4a28b
chore: update doc (#18710) 2024-10-30 05:42:01 +00: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
9d3cc84a3e
fix: progress bar get stuck when navigating between routes (#18586) 2024-10-18 13:09:42 +08:00
0song
9456fd2053
chore: update ui (#18574) 2024-10-16 10:12:55 +00:00
dopamine
12c21ebc09
chore(docs): switch Vue to the version used by VitePress (#18553) 2024-10-15 16:59:19 +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
DDDDD12138
ba59b5d20e
docs: improve language matching logic (#18412)
fix(docs): improve language matching logic
2024-10-12 10:14:39 +08: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
0song
5a958c4e02
chore: update doc (#18477) 2024-10-09 04:09:36 +00:00
0song
e0708d565c
chore: update doc (#18449) 2024-10-06 13:29:22 +00: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
sea
da60940ae3
chore: fix docs/play dev sass deprecation warning (#18427)
* chore: fix docs/play dev sass deprecation warning

* chore: update

* chore: update
2024-10-01 08:45:25 +08:00
dopamine
ccc8bdcd35
refactor(docs): remove Vite (#18383) 2024-09-30 18:41:36 +08:00
btea
81d5fadeea
docs: remove invalid path tag (#18417) 2024-09-29 20:14:50 +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