Commit Graph

1823 Commits

Author SHA1 Message Date
snowbitx
6a5f2ff2e9 refactor(components): [badge/breadcrumb/button] use type-based definitions (#23414)
* refactor(components): [badge] use type-based definitions

* refactor(components): breadcrumb,breadcrumb-item

* refactor(components): button,button-group

* fix: correct badgeStyle default value

* fix: correct button default value

* fix: correct badge-style

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

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

* fix: delete false default

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

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

* Update packages/components/breadcrumb/src/breadcrumb-item.vue

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

* fix: correct offset default in badge.md

* fix: revert the badgeStyle handling

---------

Co-authored-by: rzzf <cszhjh@gmail.com>
2026-01-18 16:12:20 +08:00
rzzf
fcf8698c78 refactor(components): [input] use type-based definitions (#23366)
* refactor(components): [input] use type-based props definitions

* fix: update

* chore: rename evt to eve

* refactor: add comments

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

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

* fix: import markRaw

* chore: change deps

* chore: revert catalog comment

* refactor: remove generic type

* refactor: revert InputInstance

* docs: update deprecated

* fix: update

* chore: remove CSSProperties

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
2026-01-16 21:49:45 +01:00
E66
5d2526eb72 docs(components): [scrollbar] missing types in examples (#23397)
docs(components): [scrollbar] Fix missing types in examples
2026-01-16 17:19:48 +08:00
btea
1193300411 chore: upgrade vitepress-plugin-group-icons (#23395) 2026-01-16 16:25:52 +08:00
bxh1071
48778958bb docs(components): [tree-v2] improve demo style (#23383)
* Add scoped styles for penultimate tree node

修正示例中的自定义类名样式未生效,节点颜色没变的问题。

* docs: update color

---------

Co-authored-by: rzzf <cszhjh@gmail.com>
2026-01-14 20:27:51 +08:00
rzzf
9c5adc9c48 chore(components): [alert] remove deprecated api (#23369)
* chore(components): [alert] remove deprecated api

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

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* chore: format

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-01-12 10:26:05 +01:00
keeplearning66
199700f0ee fix(components): [input-tag] correct the tooltip theme and the style of the collapse tag (#23138)
* fix: correct the tooltip theme and the style of the collapse tag

* fix: update

* docs: update version number

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

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

* refactor: use collapse-tag

---------

Co-authored-by: btea <2356281422@qq.com>
2026-01-12 09:39:31 +08:00
Yang
eac19da9e1 docs(components): [upload] modify the abort method description (#23363)
docs(components): perfecting the abort method description
2026-01-11 15:26:06 +08:00
Yang
c6e2ed63b1 fix(components): [upload] make abort param optional (#23353)
- Change the parameter type definition of the bort function to optional
2026-01-09 13:37:21 +00:00
0song
b651fb6e5a chore: update doc (#23354) 2026-01-09 12:28:07 +08:00
keeplearning66
8b7d8eacf5 feat(components): [timeline] support mode prop (#22929)
* feat(components): [timeline] support item-placement prop

* feat: update

* feat: update

* feat: update

* feat: update

* feat: update

* test: update

* feat: update

* feat: update

* feat: update

* docs: update version number

* feat: update

* feat: revert padding

* feat: update

* chore: format

* docs: update version number

* chore: use ExtractPublicPropTypes

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

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

* style: use content-box

* docs: add an example

* style: add padding-right: 0

* docs: remove max-width: 600px

* feat: add alternate-left and alternate-right

* feat: modify the value of mode

---------

Co-authored-by: rzzf <cszhjh@gmail.com>
2026-01-08 21:13:52 +08:00
Zachary Bear
75175cb397 feat(components): [dropdown-item] add icon slot (#23300)
* feat(components): [dropdown-item] 支持通过 slot 设置图标

之前只能通过设置 `icon` prop 来设置菜单项的图标,如果要用其他图标库只能在 prop 中写 VNode 函数,大大降低可读性;要么就重复写 <ElIcon> 来进行统一布局。

现在引入了 `icon` slot,会自动将元素传入 ElIcon 的插槽中,这和 ElButton 的图标设计逻辑是一致的:既可以使用 prop 也可以使用 slot,但 slot 优先级较高。

close #22837

* test(components): [dropdown] added test for icon slot

* docs(components): [dropdown] added description for `icon` slot

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

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

* style(docs): styling document

* fix(components): [dropdown-item] incorrectly rendered el-icon

* test(components): [dropdown-item] check incorrectly rendering

---------

Co-authored-by: btea <2356281422@qq.com>
2026-01-08 21:06:36 +08:00
lw56777
36471cbedd feat(components): [form] add setInitialValues and setInitialValue function (#23013)
* feat: setInitialFields

* Remove '@eslint/markdown' dependency

Removed '@eslint/markdown' dependency from package.json

* Remove '@eslint/markdown' from pnpm-lock.yaml

Removed '@eslint/markdown' dependency from lock file.

* fix(components): expose setInitialValue alias

* fix: test

* fix: Nitpick comments

* docs(components): add setInitialValues and setInitialValue API docs

* fix: docs[form] setInitialValue

* fix: typecheck

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

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

* fix: test

* fix: test

* fix: test lg

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

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

* fix: update initValue

* fix: form.vue

* fix: form description

* chore: sync comment

* chore: format

---------

Co-authored-by: lw567 <liwei567@example.com>
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
Co-authored-by: Dsaquel <291874700n@gmail.com>
2026-01-07 21:17:46 +08:00
rzzf
305c3e5d94 feat(components): [upload] add directory prop (#23265)
* feat(components): [upload] add `directory` prop

* refactor: update

* test: update

* fix: update

* docs: add detailed desc

* fix: remove unnecessary compat code

* revert: compat code
2026-01-05 16:28:24 +08:00
Rainbow
1e15f9d661 feat(components): [avatar-group] new component (#23211)
* feat(components): [avatar-group] new component

* feat: update

* feat: update

* feat: update

* docs: add an example

* refactor: remove unnecessary computed

* refactor: extract props to avatar-group-props

* feat: update

* fix: handle the rendering issue of hiddenAvatars

* style: use inline-flex instead of flex

* test: update test case

* docs: update the default values of size and shape

* refactor: apply rabbit comment

* refactor: apply rabbit comment

* chore: update description

* style: use getCssVar

* style: css variables take effect on collapse-avatars
2026-01-05 09:18:22 +08:00
renovate[bot]
531f914dc0 chore(deps): update dependency markdown-it-container to v4 (#20580)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-31 09:22:56 +08:00
E66Crisp
d25ad599d0 docs: fix array type markers in component docs (#23112)
* docs(en-US): fix array type markers in component docs

* docs(en-US): fix array type markers in component docs

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

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

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

* docs: format

---------

Co-authored-by: rzzf <cszhjh@gmail.com>
2025-12-29 13:01:24 +08:00
Noblet Ouways
2cd20ad956 docs: remove padding-left (#23231) 2025-12-29 10:26:54 +08:00
Rainbow
038174cc2f feat(components): [message-box] add confirmButtonType and cancelButtonType props (#23193)
* feat: add confirmButtonType and cancelButtonType props

* docs: update

* docs: update

* feat: update
2025-12-25 13:22:32 +01:00
Rainbow
16bbdf7a3b feat(components): [calendar] add controller-type and formatter props (#23045)
* feat(components): [calendar] support controller-type prop

* refactor: move handleDateChange to useCalendar

* feat: update

* style: update

* style: update

* feat: support formatter prop

* feat: update

* docs: update version number

* chore: use ExtractPublicPropTypes

* test: update

* chore: improve parameter type

* feat: update version number

* feat: update

* feat: update

* Apply suggestions from code review

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

* docs: update example

---------

Co-authored-by: rzzf <cszhjh@gmail.com>
Co-authored-by: warmthsea <2586244885@qq.com>
2025-12-25 10:04:10 +00:00
Rainbow
a4c0a779cf feat(components): [color-picker] add clearable prop and clear event (#22999)
* feat(components): [color-picker] support clearable prop and expose clear

* docs: update version number

* docs: update version number

* docs: update version number

* feat: add clear event

* test: update test case
2025-12-23 23:54:17 +01:00
Noblet Ouways
2c8aa9356c fix(components): [date-picker] trigger clear evt in footer slot (#23174)
* fix(components): [date-picker] trigger clear evt in footer slot

closed #23173

* test: add test case

fix: typecheck

* test: enhance clear evt

* docs: add clear evt

* docs: change clear evt description
2025-12-21 18:53:17 +01:00
0song
c30a92713d chore: update doc (#23155) 2025-12-18 11:34:35 +00:00
btea
527035d1f5 fix(docs): numerous error messages during website build (#23152)
* refactor(docs): replace deprecated method

* fix: handle locatoin is not defined
2025-12-18 11:58:40 +01:00
micaiguai
88533bc715 docs: optimize watermark md content (#23150) 2025-12-18 10:08:16 +08:00
Rainbow
ef41d46a61 docs(components): [date-picker-panel] add editable prop (#23151) 2025-12-18 10:07:01 +08:00
rzzf
a13bbd3731 docs: improve title accessibility (#23139) 2025-12-17 15:07:07 +08:00
btea
12bca1d31c fix: uno.css imported multiple times (#23106) 2025-12-16 19:42:53 +08:00
dopamine
0ca1570aa1 chore: upgrade to Vue 3.5 (#22096)
* chore: upgrade deps

* chore: replace __ExtractPublicPropTypes with ExtractPublicPropTypes

* fix: get rid of type errors

* fix: resolve test errors with @vue/test-utils v2.4.6

* fix: resolve test errors with Vue 3.5.22

* ci: set pnpm flag

* chore: update the Vue peer dependency version

* Apply suggestion from @tolking

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

* docs: update example code

Co-authored-by: warmthsea <2586244885@qq.com>

* chore: remove csstype (#22487)

* chore: fix merge code type error

* chore: fix test:ssr error

- Cannot read properties of undefined (reading 'getSSRProps')

* chore: fix typecheck:vitest error

* chore: update pnpm yaml file

* test: fix collapse accordion error

* chore: update deps

* chore: fix type error

* chore: lock file

* chore: sync change

sync with the remove of vue macro

* refactor: use computed instead of eagerComputed

* fix: timeline.test.tsx typecheck

* chore: clean lock file

try dont throw CodeFactor issues in ci

did:
- rm pnpm-lock.yaml
- rm -rf ./**/node_modules
- pnpm store prune
- pnpm cache delete
- pnpm install

Also stay in 3.1.0 for vue-tsc in order to avoid the warnings of
template refs, see https://github.com/vuejs/language-tools/issues/5815

* chore: format code

---------

Co-authored-by: Dsaquel <291874700n@gmail.com>
Co-authored-by: qiang <qw13131wang@gmail.com>
Co-authored-by: warmthsea <2586244885@qq.com>
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
Co-authored-by: btea <2356281422@qq.com>
2025-12-16 09:34:03 +08:00
micaiguai
b171632d4e feat(components): [affix] support append-to and teleported (#23053)
* feat(components): [affix] implement append-to-body

* feat: change append-to-body to teleported and append-to

* test: optimize affix teleport case

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

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

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

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

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

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

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

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

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

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

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

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

* chore: update the affix.md format

---------

Co-authored-by: rzzf <cszhjh@gmail.com>
Co-authored-by: btea <2356281422@qq.com>
2025-12-15 21:13:54 +08:00
Noblet Ouways
198db2a870 feat(components): [switch] add active & inactive slots (#22429)
* feat(components): [switch] add active & inactive slots

* chore: docs & tests & refact

* style: icon center

* style: items-center

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

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

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

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

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

---------

Co-authored-by: Zhong <cszhjh@gmail.com>
Co-authored-by: btea <2356281422@qq.com>
2025-12-13 21:40:23 +01:00
qiang
974ba4d3bf feat(components): [table-v2] accessibility enhancement (#22983)
* feat(components): [table-v2] accessibility enhancement

* chore: add test

* chore: formatted
2025-12-13 20:27:41 +08:00
btea
bec944e9d8 docs: update radio demo style (#23084) 2025-12-12 15:17:05 +01:00
68a08d262a docs(components): [tooltip] update trigger property type (#23076)
* docs(components): [tooltip] update trigger property type

* docs: update popover-dropdown

---------

Co-authored-by: warmthsea <2586244885@qq.com>
2025-12-12 21:20:25 +08:00
rzzf
79e013acca docs: tweak demo style (#23052)
docs: tweak dome style
2025-12-10 00:10:29 +01:00
Noblet Ouways
899eeab499 chore: migrate fast-glob to tinyglobby (#23020)
* chore: migrate fast-glob to tinyglobby

* fix: ssr tests
2025-12-09 10:52:09 +01:00
Rainbow
ebefb5bffe docs(components): [form] update the description of disabled prop (#23014) 2025-12-07 11:57:23 +08:00
Noblet Ouways
b579f48526 feat(components): [dropdown] add append-to (#23001)
* feat(components): [dropdown] add append-to

closed #5542

* test: case

* docs: add append-to property

* change version to 2.13.0
2025-12-06 08:06:32 +08:00
Noblet Ouways
8f5cc7dd5b docs: improve playground link accessibility (#22995)
* docs: improve playground link accessibility

* improvement: apply suggestion

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

---------

Co-authored-by: rzzf <cszhjh@gmail.com>
2025-12-04 23:32:12 +01:00
0song
39013a96c8 chore: update doc ui (#23000) 2025-12-04 12:36:45 +00:00
Noblet Ouways
7f6281f02f docs: add input-number warning (#22996) 2025-12-04 07:43:50 +08:00
Noblet Ouways
b92ca7f4c0 docs: allow passing extra packages for ep-playground (#22979)
docs: allow passing extra packages
2025-12-03 15:07:50 +08:00
qiang
cba30d8cd2 feat(components): [table] accessibility enhancement (#22432)
* feat(components): [table] accessibility enhancemen

closed #14301

* chore: sync locale

* chore: add test

* chore: optimize style

* chore: optimize style

* feat(components): [table] sort and filter a11y
2025-12-02 10:41:16 +08:00
知晓同丶
c51fd7e1fe style(components): [cascader] cascader-panel fit width (#21497) 2025-12-02 10:35:12 +08:00
Rainbow
32f8739312 feat(components): [menu] apply popper-class and popper-style to the tooltip of the title (#22908)
* feat: apply popper-class and popper-style to the tooltip of the title

* docs: update

* docs: update
2025-12-02 08:18:32 +08:00
rzzf
5ad9b4f2ec docs(components): [tree] improve description of setCheckedNodes (#22967) 2025-11-30 22:19:46 +01:00
0song
f550b694cb chore: update doc ui (#22951) 2025-11-28 16:18:13 +00:00
sea
adf4fbfb6b feat(components): [tree-select] add instance type and improve test cleanup logic (#22499)
* feat(components): [tree-select] add instance

* chore: update

* chore: update test

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

* Update packages/components/tree-select/src/instance.ts

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

---------

Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
2025-11-28 23:34:57 +08:00
rzzf
8d4d0514e7 feat(components): [timeline] add reverse prop (#22931)
* feat(components): [timeline] add `reverse` prop

* test: update

* chore: update import
2025-11-28 08:06:03 +08:00
zhongli-Leah
5f2cf63be4 docs(components): [tooltip/slider] replace popconfirm with tooltip (#22912)
docs(components):[tooltip-slider]Replace popconfirm with
tooltip.
2025-11-25 11:49:54 +08:00