Commit Graph

6823 Commits

Author SHA1 Message Date
qiang
f922d6a67e feat(components): [color-picker] add validation on blur event (#22247) 2025-09-20 08:55:27 +08:00
Zhong
1ba0a6c9b5 refactor(components): unify BEM & CSS vars via helpers (#22226) 2025-09-19 16:46:50 +08:00
Noblet Ouways
67a36d163d refactor(components): [cascader] externalize tooltip tag from v-for (#22191)
* refactor(components): [cascader] externalize tooltip tag

* chore: rename allPresentTags => tags

* chore: remove useless `isCollapseTag` property

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

---------

Co-authored-by: btea <2356281422@qq.com>
2025-09-19 12:38:53 +08:00
Element
ba3736e98a chore: Update changelog 2.11.3 (#22241)
chore: update changelog 2.11.3
2025-09-19 04:24:27 +00:00
btea
8ec5186366 chore: format image load failed demo (#22220) 2025-09-18 10:21:04 +08:00
jiaxiang
0ff86060ab feat(components): [image-viewer] add error slot (#21961)
* feat(components): [image-viewer] add custom failed content

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

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>

* feat: rename error slot

* test: add custom load failed slot tests for Image and ImageViewer

* docs: perf dome

* fix: update v

* feat: add activeIndex and src properties

* fix: add key binding to img element for better reactivity

* fix: keep original structure

* fix: restore error source in image load-failed example

* feat: add image preview

* refactor: remove unused var

* fix: update demo

* chore: better contrast for dark mode

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
Co-authored-by: Dsaquel <291874700n@gmail.com>
2025-09-17 17:46:35 +02:00
catanswer
8371deaa5d feat(components): [image-viewer] add initial-scale prop (#22071)
* feat(components): [image-viewer] add initialScale attribute

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

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

* feat(components): [image-viewer] support set asynchronously

* feat(components): [image-viewer] Change initialScale to scale

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

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

* chore: format

---------

Co-authored-by: catanswer <--global>
Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
Co-authored-by: Dsaquel <291874700n@gmail.com>
2025-09-17 15:06:50 +00:00
Zhong
d3dd793a4b fix(components): [tabs] give priority to the closable prop of tab-pane (#22187)
* fix(components): [tabs] give priority to the `closable` prop of tab-pane

* fix: resovle 22186

* fix: use strict equality

* test: add case
2025-09-17 16:41:22 +02:00
Noblet Ouways
6001577516 fix(components): [date-picker] keyboard navigation (#22192)
* fix(components): [date-picker] keyboard navigation

* test: get test working
2025-09-17 18:06:47 +08:00
sea
8c1d23efeb ci: split test into separate lint (#22197)
* ci: split test into separate lint

* chore: update

* chore: update name
2025-09-17 16:23:22 +08:00
0song
1edf5497cf chore: update sitemap link (#22209) 2025-09-17 08:02:42 +00:00
0song
e938405840 chore: update home page for better SEO (#22208)
* chore: update home

* chore: update home

* chore: update home
2025-09-17 15:45:07 +08:00
0song
055480b197 chore: add deploy sitemap.xml (#22201)
* chore: update sitemap

* chore: update sitemap
2025-09-17 14:38:18 +08:00
sea
cd2285f5bb chore: add consistent-type-imports eslint rules to .ts file (#22195)
* chore: add import type rules to .ts

* chore: update

* chore: update
2025-09-17 10:11:26 +08:00
0song
bcb395da5e chore: update deploy logic (#22189)
chore: update deploy
2025-09-16 20:25:46 +08:00
micaiguai
eef0aed8bc fix(components): [date-picker-panel] sync clear value with valueOnClear (#22059)
* fix(components): [date-picker-panel] The value after cleared

* chore: refactor logic to isEmptyValue method
2025-09-16 14:19:40 +02:00
sea
65bdf8708d chore: add .gitignore file to /gh-pages (#22188) 2025-09-16 13:53:07 +02:00
sea
ffd886da55 fix(components): [dropdown]: hover trigger click item close stuck (#22078)
* fix(components): [drppdown]: hover trigger close stuck

* chore: update

* refactor: update

* chore: update
2025-09-16 14:46:09 +08:00
duyidao
8ef407fac4 style(theme-chalk): fix el-step padding-right in vertical layout (#22141)
Fix the right inner margin issue of el-step in vertical layout
2025-09-16 13:40:42 +08:00
Zhong
0c09980630 fix(components): [autocomplete] avoid option selection by enter in IME (#21245) 2025-09-16 12:12:04 +08:00
Zhong
1a2c767b0d fix(components): [checkbox/radio] add missing style (#22151)
* fix(components): [checkbox & radio] add missing style

* fix: update
2025-09-15 18:11:39 +08:00
jiaxiang
8694d352e9 chore: upgrade dayjs 1.11.13 to 1.11.18 (#22146) 2025-09-15 14:42:20 +08:00
Noblet Ouways
c86dfdfe36 feat(components): [tree-select] expose treeRef & selectRef instances (#22147)
* feat(components): [tree-select] expose `tree` & `select` instances

* chore: reword
2025-09-15 14:41:58 +08:00
micaiguai
25a25c6aec fix(components): [rate] ensure the logic of mouseleave work (#22060)
* fix(components): [rate] refactor the logic

* fix(components): [rate] ensure work in iframe

* fix(components): [rate] remove iframe logic
2025-09-15 13:49:16 +08:00
Zhong
d52f260f22 fix(components): [tour] make path responsive to window size (#22145) 2025-09-14 12:31:39 +02:00
DDDDD12138
8a91f204fd feat(components): [select/v2] avoid unnecessary model updates when value unchanged (#20123)
* feat: avoid unnecessary model updates when value unchanged

* chore: update cSpell words

* fix: correct test case

* feat: support select-v2

* Update .vscode/settings.json

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

---------

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
2025-09-14 10:37:45 +08:00
Noblet Ouways
b8397d2353 chore(components): [date-picker-panel] remove some typescript casting (#22143) 2025-09-14 08:43:34 +08:00
Noblet Ouways
e92789c55a docs: reorganize radio documentation (#22144) 2025-09-14 08:42:13 +08:00
Ben Lau
64a0c61917 fix(components): [tree] correctly determine the drop type of tree node (#21717)
Co-authored-by: liubaobin <liubaobin@wps.cn>
2025-09-14 00:29:49 +02:00
Rainbow
a4d6fe2cb4 docs(components): [mention] add an example of using props (#22139) 2025-09-13 07:53:04 +08:00
Noblet Ouways
75322df994 fix(components): [date-picker-panel] sync panel with model-value (#22123)
* fix(components): [date-picker-panel] sync panel with model-value

closed #22050

* test: set tests cases

* refactor: apply review

Co-authored-by: Zhong <cszhjh@gmail.com>

---------

Co-authored-by: Zhong <cszhjh@gmail.com>
2025-09-12 18:14:59 +08:00
Zhong
61ece6bd66 refactor(components): [autocomplete] remove any type (#22127)
* refactor(components): [autocomplete] remove `any` type

* fix: update

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

* fix: update

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

---------

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
2025-09-12 09:25:31 +00:00
Bigpawn
d79bc2ac55 fix(components): [splitter] resize-end event sizes value is not the latest (#22125)
* fix(components): [splitter]在调整大小结束时添加 nextTick 以确保延迟更新

当 lazy 为 true 时,使用 nextTick 确保在 DOM 更新后触发 resizeEnd 事件

* fix(components): [splitter] Fix the ts issue of onResizeEnd

* fix(components): [splitter] Add test cases

* fix(components): [splitter] Merge remote changes and keep test cases

* chore: format

---------

Co-authored-by: warmthsea <2586244885@qq.com>
2025-09-12 09:14:18 +00:00
Kylin
72780e0f50 refactor(components): [checkbox] reduce repetitive code in templates (#22094)
* refactor(components): [checkbox] reduce repetitive code in templates

* refactor(components): [checkbox] recovery class

* refactor(components): [checkbox] remove the indeterminate attribute

* Update packages/components/checkbox/src/checkbox-button.vue

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>

* refactor(components): [checkbox] delete inputId

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
2025-09-11 12:33:13 +02:00
Zhong
a1f7d84def docs: resolve dark mode transition flicker (#22117) 2025-09-11 13:49:21 +08:00
Rainbow
66c37f139f feat(components): [mention] support props prop (#21980)
* feat(components): [mention] support props prop

* feat: update

* feat: update

* feat: update

* feat: update

* feat: update

* docs: update

* feat: update

* Apply suggestions from code review

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>

* docs: update version number

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
2025-09-10 22:13:10 +08:00
btea
6252d87e6a test(components): [cascader] dynamic maxCollapseTags (#22103) 2025-09-10 17:27:43 +08:00
Zhong
0f5022a4f9 feat(components): [tabs] support scrolling via mouse wheel (#22024)
* feat(components): [tabs] support scrolling via mouse wheel

* ci: rerun ci
2025-09-10 09:05:41 +08:00
Zhong
c15aea57f7 docs(components): update API TOC and fix typo (#22095)
docs: update API TOC and fix typo
2025-09-10 08:59:55 +08:00
btea
a9e20d3b9f fix(components): [cascader] response to change in maxCollapseTags (#22087) 2025-09-09 22:50:03 +02:00
Kylin
bfa5c1aefd refactor(components): [checkout] reduce repetitive code in templates (#22072) 2025-09-09 11:09:49 +08:00
Zhong
8400d0d998 feat(components): [dropdown] add virtual-ref / virtual-triggering / show-arrow props (#22056)
* feat(components): [dropdown] add `virtual-ref / virtual-triggering / show-arrow` props

* docs: update

* docs: add tag

* test: add case

* chore: format

* docs: update
2025-09-09 09:32:57 +08:00
sea
73a55f55bd docs: update some components exposes title (#22075)
docs: update exposes title
2025-09-08 12:34:25 +02:00
Zhong
4845caab13 fix(components): [mention] correct cursor position (#22070)
* fix(components): [mention] correct cursor position

* test: add test

* fix: use wrapper as a reference
2025-09-08 12:30:05 +02:00
Rainbow
4a702344e9 docs(components): [checkbox] improve the example of how to use props (#22061) 2025-09-08 09:05:02 +08:00
Rainbow
96ef54ed1e docs(components): [radio] improve the example of how to use props (#22062) 2025-09-08 09:03:00 +08:00
Zhong
229a0a159b fix(components): [alert] show immediately when showAfter not needed (#22028)
* fix(components): [alert] show immediately when `showAfter` not needed

* fix: use `open` change `visible`

* refactor: optimize code

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>

* fix: resolve auto-close invalid

* test: add cases

* test: add immediate case

* fix: update

* test: update test

* fix: use `undefined` default

* fix: remove as `Ref<number>`

* Update packages/components/alert/src/alert.vue

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

* fix: import isUndefined

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
Co-authored-by: btea <2356281422@qq.com>
2025-09-07 21:24:08 +02:00
micaiguai
1087c10caa fix(components): [table] fix table display error in stripe mode (#22022)
* fix(components): [table] Fix table display error in stripe mode

* fix(components): [table] Add test case
2025-09-07 11:56:41 +02:00
ll-huihui
a4674ca778 feat(components): [input-tag] add drag-tag event (#22038)
* feat(components): 添加drag-tag事件

-remove-tag事件添加当前删除的索引参数\n -添加drag-tag事件\n -修改这两个事件方便不同数据源之间操作

* Update docs/en-US/component/input-tag.md

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

---------

Co-authored-by: 刘辉 <15909216375@163.com>
Co-authored-by: qiang <qw13131wang@gmail.com>
2025-09-07 13:51:48 +08:00
sea
ca4a798545 fix(components): [date-picker]: use array modelValue datetime type debacle (#22033)
fix(components): [date-picker]: use array value datetime type debacle
2025-09-06 07:46:11 +08:00