Commit Graph

3733 Commits

Author SHA1 Message Date
Kitano
9bea9a4ddd feat(components): [cascader] add prefix slot 2025-01-13 17:47:29 +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
DDDDD12138
535c6e34f6 chore: [time-picker] correct typo in timePickerRangeTriggerProps (#19487)
* fix: correct typo in timePickerRangeTriggerProps

* chore: deprecate misspelled export `timePickerRngeTriggerProps`

---------

Co-authored-by: btea <2356281422@qq.com>
2025-01-11 01:00:24 +00: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
sea
c976e945f5 style(components): [dialog] no rounded when in fullscreen (#19583) 2025-01-10 10:35:39 +08:00
changehu
cdcc3b5b29 feat(i18n): add Norsk(no) language (#19523) 2025-01-09 17:49:44 +08:00
xingyixiang
971d422e8b test: [table] add show-overflow-tooltip trigger (#19556)
* test: [table] add show-overflow-tooltip trigger

* test: [table] add show-overflow-tooltip trigger
2025-01-09 17:36:59 +08:00
Meet you
062ac99aec fix(components): [dialog] fix scroll bar not resetting to top on reopen (#19471)
* fix(components): [dialog] Fix scroll bar not resetting to top on reopen

closed #19420

* fix(components): update

* fix(components): [dialog] update

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
2025-01-09 16:47:22 +08:00
btea
6316898909 improvement(components): [text] keep the inherited title attribute (#19551)
* improvement(components): [text] keep the inherited title attribute

* fix: content update recalculation
2025-01-09 13:53:36 +08:00
btea
b171baaca7 improvement(components): [text] add the title attribute (#19496) 2025-01-07 22:59:33 +08:00
白雾三语
d05f24bf1d fix(components): [select] make sure the e-tag is not obstructed(#19529) (#19534)
Co-authored-by: baiwusanyu-c <chenzhihui@chabaidao.com>
2025-01-07 21:12:34 +08:00
steveWang13
217a4f934d feat(i18n): add Hindi language (#19483)
* feat(i18n): add Hindi language

* feat(i18n): update component and hindi translations

* feat(i18n): update lint
2025-01-07 03:33:23 +00:00
DDDDD12138
f6c9fd54ca fix(components): [tabs] set modelValue synchronously if beforeLeave is not set or is synchronous (#19387)
* fix: [tabs] sync modelValue if beforeLeave is not set or is synchronous

* feat: add unit test
2025-01-06 23:37:17 +08:00
Noblet Ouways
536548e753 fix(components): [form] on post rules update reset field (#19129)
* fix(components): [form] track rules on post update

closed #19109

* fix(components): [form] ensure reset field state if no rules

closed #19128

* test: add validate on rule change case

* chore: on rules update reset field error

* chore: fixup

---------

Co-authored-by: btea <2356281422@qq.com>
2025-01-06 22:58:08 +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
Liao-js
a116f0ef71 fix(hooks): [use-lockscreen] remove hiddenCls (#19429)
* fix(hooks): [use-lockscreen] remove hiddenCls

* fix(hooks): [useLockscreen] unit test

* test(hooks): [useLockscreen] should not cleanup when not all unmounted

* test(hooks): [useLockscreen] update test

* test(hooks): [useLockscreen] update test
2025-01-05 23:07:27 +08:00
btea
45fa8d3b31 fix(components): [description] labelWidth is invalid when no border (#19162)
* fix(components): [description] `labelWidth` is invalid when no border

* test: add test case
2025-01-04 14:10:26 +08:00
btea
f3fec3203a feat(components): [table] add allow-drag-last-column prop (#19374) 2025-01-03 11:36:19 +08:00
qiang
a03812db54 perf(components): [table] prioritize use rowKey to determine whether it is selected (#19451)
* perf(components): [table] use rowKey to determine whether it is selected

* chore: revert includes

* perf: use includes replace isEqual
2025-01-03 08:14:00 +08:00
Lo
6bc45440f8 feat(components): [select, select-v2] add loading class to validateIcon (#19379)
fix(components): [select, select-v2] add loading class to validateIcon
2025-01-02 18:02:46 +08:00
qiang
1ca9d9c3fa fix(components): [select] input width fills the remaining width (#19292)
* fix(components): [select] input width fills the remaining width

closed #17886

* fix: type
2025-01-02 13:41:13 +08:00
Noblet Ouways
52ee847ff8 fix(components): [page-header] use $slots instead of useSlots (#19455)
* fix(components): [page-header] use `$slots` instead of `useSlots`

closed #19453

* test(components): [page-header] add classes slots rendering case
2025-01-01 22:01:09 +08:00
ly-yewu
1343d4cfac fix(components): [upload] unable to delete files in removeFile (#19437)
* fix(components): [upload] unable to delete files in removeFile

* fix(components): [upload] remove file when fileList does not use v-model

* Update packages/components/upload/src/use-handlers.ts

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

---------

Co-authored-by: leiyu <leiyu@cmss.chinamobile.com>
Co-authored-by: btea <2356281422@qq.com>
2024-12-31 12:42:44 +08:00
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
DDDDD12138
79c43db20e fix(theme-chalk): [input-tag] correct input-tag placeholder color (#19386)
fix(components): [input-tag] correct input-tag placeholder color
2024-12-25 21:10:55 +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
DDDDD12138
d2b17bcd0c fix(components): [inputnumber, input] resolve styling issues caused by using prefix and suffix (#19042)
* feat: use consistent line-height within `el-input` component

* feat: Adjust input padding based on `size`
2024-12-24 20:21:14 +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
Liao-js
05a320329c style(components): [notification] word wrap (#17052) 2024-12-23 11:08:39 +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
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