3741 Commits

Author SHA1 Message Date
Liao-js
e17ec9a8a8
fix(components): [select-v2] empty value check error in inputRef (#19140)
* fix(components): [select-v2] empty value check error in inputRef

* test(components): [select-v2] empty value check error in inputRef

* fix: test case
2024-12-09 17:04:29 +08:00
btea
d99d0b14a4
feat(components): [tree-v2] filter-method support third parameter (#19177) 2024-12-09 16:19:11 +08:00
btea
0f8d246023
fix(components): [input] disabled state wrapper cursor style (#19176) 2024-12-08 19:38:39 +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
zhangenming
ea3cfc97c7
refactor(components): [alert] introduce hasDesc helper (#19085)
refactor: introduce hasDesc helper
2024-12-06 20:39:00 +08:00
dopamine
e9f3fdd529
chore: [form] organize test-related files into test folder (#19145) 2024-12-06 07:56:29 +08:00
xingyixiang
25d2eedfd3
perf(components): [tree-v2] optimize the performance of setCheckedKeys (#19101)
refactor(components):[tree-v2] Optimize the performance of setCheckedKeys
2024-12-05 21:16:10 +08:00
dopamine
be43878d2f
fix(components): [select] use option.isDisabled as the source of truth (#19137)
* fix(components): [select] use option.isDisabled as the source of truth

* add one test case
2024-12-05 19:56:02 +08:00
btea
bd2a88b0e3
test(components): [notification] dangerouslyUseHTMLString test case (#19131) 2024-12-05 10:30:16 +08:00
dopamine
f4d3547fa5
chore: stop re-exporting isVNode (#19108) 2024-12-05 10:30:00 +08:00
wzc520pyfm
718ffcfb85
chore(components): improve type for popper effect (#17860)
* chore(components): improve type for popper effect

Abort #17758 #17751 #17040 #17030

* chore: use `NonNullable<unknown>` instead of `{}`

* chore(components): extract a common type for popper effect

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
2024-12-05 09:44:47 +08:00
Noblet Ouways
1b6b451e36
fix(components) [notification] display html as string (#19068)
* fix(components): [notification]

html as string case

closed #19067

* fix(components): [notification] missing test function returning vnode

* fix(components): [notification] handle vnode message
2024-12-04 17:34:37 +08:00
qiang
72a0eebf4f
fix(components): [input-tag] trigger the add of tag when Chinese is Composing (#19079)
fix(components): [input-tag] trigger the add of tag when is Composing
2024-12-03 07:49:03 +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
thinkasany
1cf151575d
fix(components): [time-picker] click the Cancel button twice to close time picker (#18938)
* fix(components): [time-picker] Cancel button twice to close

Co-authored-by: xingyixiang <452282988@qq.com>
Co-authored-by: cdk1025 <cdk1025@foxmail.com>

* Update packages/components/time-picker/src/time-picker-com/panel-time-range.vue

---------

Co-authored-by: xingyixiang <452282988@qq.com>
Co-authored-by: cdk1025 <cdk1025@foxmail.com>
2024-11-29 10:20:37 +08:00
伊墨
8363b72be4
fix(components): [notification] type declaration error and four types of methods are missing context parameters (#18951)
* fix(components): [notification] type declaration error

* feat(components): four types of methods add context parameters

* test: [notification] add test case
2024-11-29 09:58:35 +08:00
Noblet Ouways
3c734df53e
fix(components): [time-picker] add passive modifier on touchstart event (#19046)
fix(components): [time-picker]

add passive modifier on touchstart event

closed #19045
2024-11-29 09:22:01 +08:00
btea
81d5b4beda
chore: [input-number] add comment (#19044)
* chore: [input-number] add comment

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

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

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
2024-11-29 07:59:32 +08:00
雨溪
f7ffee32d9
fix(components): [input-number] Chinese can be displayed in the numeric input box (#19018) 2024-11-28 21:11:46 +08:00
qiang
5a87198d08
build(build): [package] remove imports with side effects (#18670)
Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
2024-11-28 21:06:07 +08:00
qiang
990aa4b768
feat(components): [select] add tabindex attribute (#19034) 2024-11-28 13:54:05 +08:00
sea
803c37dc69
chore(deps): update gulp-sass use new Sass JS API (#19024) 2024-11-27 23:45:59 +08:00
DDDDD12138
41c70ce573
style(components): [table] use --font-size-base for default font size (#18725)
* style(components): [table] use '-font-size-base' for default font size

* Update packages/theme-chalk/src/common/var.scss

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

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
2024-11-27 23:40:14 +08:00
btea
a2f43777c3
fix(components): [table] fixed column style when lazyload title (#19020) 2024-11-27 10:26:10 +08:00
dopamine
976f5e5088
fix(components): [select] change states.filtertedOptionsCount to filteredOptionsCount.value (#19010) 2024-11-26 10:04:02 +08:00
qiang
6c6e4c67e2
fix(components): [input] the cursor error when click show-password (#19003)
closed #18387, #18831
2024-11-24 20:02:02 +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
DDDDD12138
776ae477fe
fix(components): [date-picker] resolve v-model type inconsistency (#18888)
* fix(components): [date-picker] resolve  v-model type inconsistency

* test: add unit test form CommonPicker
2024-11-23 17:44:43 +08:00
btea
ad2f8507a0
fix(components): [select] the disabled state should render the input tag (#18443)
* fix(components): [select] the disabled state should render the input tag

* fix: sync select
2024-11-22 22:40:47 +08:00
btea
20ad79cc98
chore(components): [time-picker] fix ts error (#18993)
chore: fix ts error
2024-11-22 22:36:33 +08:00
Jungzl
9f0132ace8
fix(components): [calendar] respect table semantics (#18552) 2024-11-22 22:34:19 +08:00
btea
a699b21876
style(components): [button] keep default hover color of link unchanged (#17050)
* style(components): [button] keep default hover color of link unchanged

* style: use var

---------

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
2024-11-22 22:31:16 +08:00
jiaxiang
8942354083
fix(components): [cascader] multiple selection mode tag causes height change (#18285)
* fix(style): [cascader] fix style

* fix(style): [cascader] gap

* fix: update

* style: update

* fix: update

* style: update

* fix: update

* style: update

* style: update
2024-11-22 22:18:41 +08:00
知晓同丶
209a803df8
fix(components): [tree-select] expose selectedLabel (#18981)
fix(components): [tree-select] Completion select exposed function
2024-11-22 20:04:39 +08:00
Aaron-zon
da7c8cec1d
test(components): [input-number] ensure that length restriction exceptions can be caught (#18988)
fix(components): ensure that length restriction exceptions can be caught
2024-11-22 16:02:45 +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
Aaron-zon
2bef172a07
test(components): fix test cases in select.test.ts (#18969) 2024-11-21 20:30:33 +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
Delyan Haralanov
76a586d62e
fix(components): [tag] make stubbed Transition work in tests (#18928) 2024-11-20 20:59:30 +08:00
qiang
b80744c045
fix(components): [image-viewer] unable to capture focus (#17919)
* fix(components): [image-viewer] unable to capture focus

closed #7180

* fix: error

* fix: style

* fix: add release-requested
2024-11-20 09:33:59 +08:00
刺·猬
84fb6933c3
feat(i18n): add Malay(ms) translation (#18932) 2024-11-19 13:27:17 +00:00
thinkasany
55dd94b395
fix(types): improve styles type by CSSProperties (#18942) 2024-11-19 21:21:28 +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
sea
768f5999f8
improvement(components): [tooltip] dom ref types (#18923) 2024-11-17 14:14:25 +08:00
sea
300b58c548
fix(components): [select] keep the selected label (#18549)
* fix(components): [select] keep the selected label

* style: op code & fix eslint warn

* fix: update

* feat: update cu
Co-authored-by: dopamine <coderzyou@gmail.com>

* feat: update cu

Co-authored-by: dopamine <coderzyou@gmail.com>

* feat: update cu

Co-authored-by: dopamine <coderzyou@gmail.com>

* update select.test.ts

Co-authored-by: dopamine <coderzyou@gmail.com>

* chore: delete useless code

---------

Co-authored-by: dopamine <coderzyou@gmail.com>
2024-11-17 14:06:44 +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
betavs
f0f578d713
fix(components): [table] repeat setting the height style (#16054) 2024-11-15 09:30:51 +08:00
Manshu Tusker
0cc526e1c1
fix(components): [select-v2] resolve overlap of tags and placeholder (#18388)
* fix(components): [select-v2] resolve overlap of tags and placeholder

closed #18382

* Update packages/components/select-v2/src/useSelect.ts

ok

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

---------

Co-authored-by: btea <2356281422@qq.com>
2024-11-14 21:24:48 +08:00
qiang
343cacf5cc
fix(components): numpadEnter does not work like the Enter (#18855) 2024-11-14 21:14:51 +08:00