Commit Graph

2701 Commits

Author SHA1 Message Date
xingyixiang
7d76dea667 fix(components): [table] the overflowTooltip cannot be refreshed (#19440)
fix(components): [table] the tooltip cannot be refreshed
2024-12-29 10:15:02 +08:00
btea
13506ffb81 fix(types): packing unexpected types (#19419)
* fix(types): packing unexpected types

* fix: update

* fix: autocomplete

* fix: update mention & transfer
2024-12-27 17:15:42 +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
DDDDD12138
0e9c6c062d fix(components): prevent blur event when is disabled (#19320)
fix: prevent blur event when is disabled
2024-12-25 21:55:44 +08:00
momei
515359004b fix(components): [color-picker] optimize the flickering issue (#18872)
* fix(components): [color-picker] Optimize the flickering issue

* fix(components): [color-picker] remove meaningless comments
2024-12-24 22:01:38 +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
qiang
456cccdace fix(components): [focus-trap] tryFocus is invalid for document.body (#19272)
* fix(components): [focus-trap] optimize tryFocus

* test: add test

* chore: remove redundant code

* test: optimize test
2024-12-24 16:02:00 +08:00
btea
21964f6769 chore: add explicit type annoation (#19352)
* chore: add explicit type annoation

* chore: update

* chore: update
2024-12-23 13:15:20 +08:00
jiaxiang
a0a518718b chore: [table] optimization type check (#19280)
* chore: [table] optimization type check

* feat: null

* chore: isNil

* fix: import
2024-12-21 15:10:12 +08:00
Evan-k
bd5c07ea72 fix(components): [anchor] scroll whether link is selected at the top (#18047)
fix(components): [anchor] Scroll whether link is selected at the top

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
Co-authored-by: btea <2356281422@qq.com>
2024-12-16 21:17:59 +08:00
wen_lun
8b829ea7d3 fix(components): [menu] fix sliceIndex calculation error (#19164)
fix(components): [menu] Fix 'sliceIndex' calculation error

closed #19161
2024-12-16 18:53:03 +08:00
一只前端汪
83cda2115a fix(components): [date-picker] model-value unexpected changes when type is week (#16795)
* fix(components): [date-picker] Unexpected changes when type is week

* fix: remove console

* fix: a11y error

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
2024-12-15 11:05:40 +08:00
DDDDD12138
85bd36d825 fix(components): [select] resolve 'false' display issue when dropdown hides on search clear (#19244)
fix(components): [select] eliminate 'false' on search clear
2024-12-14 11:16:16 +08:00
hanchao-c0ldwave
5afdd99392 fix(components): [table-v2] dynamic height causes overall calculation errors (#19082)
fix(components): [table-v2] 修复虚拟表格同时设置了动态行高和冻结列时,table高度计算错误问题

虚拟表格同时设置了动态行高和冻结列时,计算fixedTable高度时使用estimatedRowHeight乘以行数,而实际行高与estimatedRowHeight存在差异。修复方案是累加实际行高得到表格的实际rowsHeigt

closed #18655
2024-12-11 19:58:47 +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
伊墨
c40eeb7551 fix(components): [select] modify the logic of update the watch option (#18931) 2024-12-10 13:53:07 +08:00
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
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
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
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
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