804 Commits

Author SHA1 Message Date
jiaxiang
61d5dcc3ae
feat(components): [image-viewer] add toolbar slot (#19497)
* feat(components): [image-viewer] add toolbar slot

* feat(docs): add docs

* docs: update

* docs: update

* docs: update image viewer API types for clarity

* docs: update custom toolbar version in image documentation to 2.9.4

* Update docs/examples/image/custom-toolbar.vue

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>

* style: remove dividers

* revert: style

* docs: format

---------

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
2025-01-17 15:50:44 +08:00
btea
095eb14521
docs: format table-v2 & use actions/upload-artifact v4 (#19670)
* docs: format table-v2

* chore: update actions/upload-artifact

* chore: update

* chore: update
2025-01-17 08:32:27 +08:00
jiaxiang
ac42b639ce
feat(components): [image-viewer] add progress slot and show-progress props (#19465)
* refactor(components): simplify computed properties in image-viewer

* feat(components): [image-viewer] add progress number

* test(components): remove console logs from image-viewer tests

* feat(components): [image-viewer] update progress display and style

* test(components): update progress selector in image-viewer tests

* feat(components): [image-viewer] add slot support for progress display

* docs(components): [image] add progress content description

* docs(components): update docs

* feat(components): [image] simplify progress slot binding

* docs(components): update

* Update packages/components/image-viewer/__tests__/image-viewer.test.tsx

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

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

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

* docs: update progress version in image documentation

* Update packages/components/image-viewer/src/image-viewer.vue

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>

* feat: add showProgress props

* docs: add demo

* docs: update v

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

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

---------

Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
2025-01-16 11:44:35 +08:00
Mouli Bheemaneti
ce5963774c
feat(i18n): add Telugu language (#19624)
* feat(i18n): add Telugu language

* chore(i18n): added missing keys in Telugu locale

* chore: format telugu locale file.

* chore(locale): fix lint in te.ts

* docs: add lang records
2025-01-16 03:00:26 +00:00
sea
ea964f1672
docs: add lang records (#19650) 2025-01-15 19:14:21 +08:00
sea
ac247d8ae8
docs: add code file-title and icon (#19638)
* docs: add code file-title and icon

* chore: update deps
2025-01-14 20:40:30 +08:00
jiaxiang
82aedc86c7
feat(components): [select] add popup-scroll event (#19589)
* feat(components): [select] add popup-scroll event

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

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

* chore: format

---------

Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: warmthsea <2586244885@qq.com>
2025-01-14 15:54:31 +08:00
baclona
66c03b823f
docs(components): [table-v2] add indent-size (#19621)
docs(components): [table-v2] add `indent-size`

Co-authored-by: gongbei <gongbei@wps.cn>
2025-01-13 17:01:32 +08:00
jiaxiang
2f1e8b3a43
feat(components): [image-viewer] add showPreview method (#19466)
* feat(components): [image-viewer] add showPreview method

* docs(components): [image] update showPreview method version to 2.9.4
2025-01-11 21:50:29 +08:00
LAMMU
3e598211b0
docs: [calendar] add exposes (#19593)
* docs: [calendar] add exposes

* Apply suggestions from code review

add translation characters

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

* docs: [calendar] format the exposes table

---------

Co-authored-by: btea <2356281422@qq.com>
2025-01-11 16:39:54 +08:00
Noblet Ouways
22c3bd8e72
feat(component): [time-select] add include end time attribute (#19253)
* feat: [time-select] init includeEndTime 🚧

* test: time-select includeEndTime 🚧

* refactor: renaming & cleanup

* test(components): [time-select] add includeEndTime cases 

* docs(components): [time-select] add `includeEndTime` attribute

* chore: change release version

* chore: set `includeEndTime` default to false

* docs: fix props typo

* chore: remove useless assignment

* chore: rename optionValue to currentTime

* chore: update release version
2025-01-10 15:46:13 +08:00
晚风予星
3c080c560c
docs: [button] add description (#19536) 2025-01-07 22:11:50 +08:00
Noblet Ouways
5f72ca51cd
feat(components): [dialog/drawer] add custom sub classes (#19099)
* feat(components): [dialog/drawer] add custom sub classes

* docs(components): add custom classes for drawer/dialog slots

* docs(components): [dialog/drawer] keep same description

* test: add dialog/drawer sub classes

* refactor: sync typo docs with props

* chore: change release version

* chore: rename

* chore: fix doc

---------

Co-authored-by: btea <2356281422@qq.com>
2025-01-06 10:52:39 +08:00
btea
9129516974
chore: format dropdown docs (#19495) 2025-01-04 13:07:42 +08:00
btea
f3fec3203a
feat(components): [table] add allow-drag-last-column prop (#19374) 2025-01-03 11:36:19 +08:00
btea
5d6e9298d2
docs(components): [anchor] add selectScrollTop prop (#19293)
* docs(components): [anchor] add `scrollTop` prop

* feat: rename
2024-12-26 14:42:21 +08:00
伊墨
2c9d70dc94
feat(components): [select-v2] add fit-input-width prop (#18834)
* feat(components): [select-v2] add `width` prop

* feat(components): [select-v2] change `width` prop to `fit-input-width`

* docs(components): add description

* test(components): [select-v2] fix errors caused by canvas

* chore(components): optimize code and change documents

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

* feat: [select-v2] listen for `fit-input-width`

* fix: change the default value of the `fit-input-width` prop

* fix: the width did not change when remote search or creating temporary option

* docs: change document and example code

---------

Co-authored-by: thinkasany <480968828@qq.com>
Co-authored-by: btea <2356281422@qq.com>
2024-12-24 16:39:43 +08:00
ve
973fa1a5ac
docs(components): [message-box] add description of props modalClass (#17843) 2024-12-19 20:23:36 +08:00
btea
a1f03539a6
docs(components): [dialog] update demo (#19296)
* docs(components): [dialog] update demo

* chore: update ci

* chore: reset
2024-12-18 08:06:40 +08:00
VisualYuki
63cb03cf4e
docs(components): update Dialog (#19200)
* docs(components): update Dialog

add fullscreen, modal, events, slot

* docs(components): update text

---------

Co-authored-by: btea <2356281422@qq.com>
2024-12-14 10:17:41 +08:00
Jeff
d9da5341d2
docs: [tooltip] improve document content and examples (#19204)
docs: [Tooltip] Improve document content and examples
2024-12-10 21:38:35 +08:00
星如雨
ae22c959ac
feat(components): [badge] add content slot (#18922)
* feat(components): [badge] add `icon` prop and slot

* feat(components): [badge] remove icon prop

* feat(components): [badge] update badge icon slot test

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

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

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

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

* feat(components): [badge] update icon slot to content

* fix(components): [badge] remove legacy icon styles

* fix(docs): [badge] punctuation at the end of sentences in a document

* feat(components): [badge] `value` as the value of the `content` slot

* feat(docs): [badge] update badge's doc

* fix(docs): [badge] content slot value type

---------

Co-authored-by: btea <2356281422@qq.com>
2024-12-10 13:57:36 +08:00
Jeff
866f45aaac
docs:[card] delete excess for card doc (#19185)
docs: delete excess for card doc
2024-12-09 16:19:53 +08:00
btea
d99d0b14a4
feat(components): [tree-v2] filter-method support third parameter (#19177) 2024-12-09 16:19:11 +08:00
hanchao-c0ldwave
bd4800bf38
feat(components): [dropdown] add triggerKeys attribute (#19124)
* feat(components): [dropdown] add triggerKeys attribute

Add a triggerKeys property to the dropdown to allow users to customize the triggerKeys, thereby
addressing interaction issues when el-input is used as the trigger element.

closed #19102

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

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

* fix: rename triggerKeys to dropdownTriggerKeys

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

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

* Update packages/components/dropdown/src/dropdown.ts

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

* fix: remove redundant logic

---------

Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: qiang <qw13131wang@gmail.com>
2024-12-08 17:03:41 +08:00
jiaxiang
93b3d14e99
docs: [tree-v2] fix props.class type in zh-CN (#19072)
docs: [tree-v2] fix props.class type
2024-12-03 08:03:11 +08:00
DDDDD12138
0aee33e240
docs: [table] correct array type display (#19084) 2024-12-03 07:54:14 +08:00
qiang
d416dd74b0
feat(components): [input-tag] new component (#18885)
* feat(components): [input-tag] add input-tag component

* feat: styles

* test: add test

* docs: add docs

* docs: updata

* docs: uopdata

* docs: updata

* fix: optimize the style when input too long text

* feat: add draggable attribute

* fix: regain focus after dragged

* fix: regain focus on dragend

* refactor: useDragTag

* fix: style of disabled

* refactor: rename event name

* refactor: move useCalcInputWidth to hooks

* feat: add aria-label
2024-11-29 10:50:21 +08:00
qiang
990aa4b768
feat(components): [select] add tabindex attribute (#19034) 2024-11-28 13:54:05 +08:00
DDDDD12138
e3290e112d
docs: [menu-item] update route attr types (#19008) 2024-11-26 09:06:54 +08:00
Evan
349a2e9c16
feat(components): [transfer] add custom empty slot for transfer panels (#18929)
* feat(components): [transfer] add custom empty slot for transfer panels

* docs: [transfer] add description and example

* test(components): add transfer component test

* docs: add version tag

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

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

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
Co-authored-by: btea <2356281422@qq.com>
2024-11-24 03:46:48 +00:00
btea
e28e0f303e
chore: format code (#18999) 2024-11-23 22:51:12 +08:00
知晓同丶
512d31cb79
docs: makeup built-in zoom-in-left transition (#18987) 2024-11-22 15:11:50 +08:00
知晓同丶
9bf729fbeb
feat(components): [tree-v2] add slot empty (#18980)
* feat(components): [tree-v2] add slot `empty`

* prettier format

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>

* fix: prettier format

* test: add test case

---------

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
2024-11-21 20:49:50 +08:00
sea
e271f0cf85
docs(components): [table-v2] unified display style of parameters (#18937)
* docs(components): [table-v2] unified display style of parameters

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

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

* feat: update

---------

Co-authored-by: btea <2356281422@qq.com>
2024-11-21 17:54:55 +08:00
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
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
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
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