55 Commits

Author SHA1 Message Date
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
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
一只前端汪
7c16480bcd refactor(style): Update Eslint to V9 and Prettier to V3 (#21949)
* refactor(style): Update Eslint to V9 and Prettier to V3

* fix: vscode color

* fix: vscode color

* chore: remove Useless dependence and old config file

* chore: format

* Merge branch 'dev' into eslintV9

* fix: fix

* fix: ssr test

* fix: ssr test

* fix: use defineConfig

* fix: prettier format and ignore docs dist

* fix: index.mjs => index.js

* fix: Vscode color

* fix: prettier ignore global.d.ts

* fix: format

---------

Co-authored-by: 2586740555 <15972343+CYJ090915@user.noreply.gitee.com>
2025-09-29 14:14:30 +08:00
Noblet Ouways
2144a78880 feat(components): [color-picker-panel] externalize color-picker core component (#21668)
* feat(components): [color-picker-panel] externalize color-picker

chore: save

chore: save

chore: save

test passing

chore: save

chore: save

chore: save

chore: save

chore: save

styles

chore: save

chore: save

chore: save

chore: save

chore: save

chore: cleanup

chore: save

chore: minor tweaks

* chore: better doc

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

* chore: address pr review

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

* chore: fix

* chore: remove extra ̀`.valuè`

* docs: delete useless class in the examples

* chore: apply review

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

* style: add content-box

* chore: use gap instead of margin

Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>

* chore: use pure

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

* chore: remove extra style

* chore: apply koo review

Co-authored-by: kooriookami
<38392315+kooriookami@users.noreply.github.com>

Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>

* chore: apply narrow screen style

Co-authored-by: 知晓同丶 <zhixiaotong.me@qq.com>

* docs: delete redundant types

---------

Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: qiang <qw13131wang@gmail.com>
Co-authored-by: warmthsea <2586244885@qq.com>
Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
Co-authored-by: 知晓同丶 <zhixiaotong.me@qq.com>
2025-08-22 14:13:59 +08:00
Noblet Ouways
a1b0e504a3 feat(components): [date-picker-panel] externalize date-picker core component (#21331)
* feat(components): [date-picker-panel] add `date-picker` core component

Revert "feat(components): [date-picker] flat picker PoC"

This reverts commit 9952c7fc0f9aedd72723d553878f4282f9448951.

chore: get visual panel

chore: wip

chore: wip

chore: wip

chore: wip

chore: handleChange portable

chore: prettier

Revert "chore: prettier"

This reverts commit 87f1585e27f39c580d5f1f3439670bca44cedb6b.

Revert "chore: handleChange portable"

This reverts commit 99c1c1fc2e541703481c3933d154ab80677181c1.

chore: revert & be good

chore: prettier & lint

chore: some cleanup

chore: refine a bit

chore: refine

chore: style tweaks for panel

chore: handle disabled

chore: fix test

test: add disabled

chore: update

chore: refine

chore: save

chore: temp undo diff docs

chore: rename bordered => border

test: add time pickers

Revert "chore: temp undo diff docs"

This reverts commit ddf11fae1ab26d63e85b0fd5ab6f7739e90bbfb7.

chore: save

* chore: set `show-footer` default to false

* chore: review & simplify

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

* chore: add overview icon

* fix: doc typo

* chore: doc tweaks

* chore: rebase tweaks

* chore: remove change event for panel

* fix: css import path

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

* chore: rebase & doc tweak

* chore: fix review

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

* fix: apply review

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

* chore: remove popper injection 1/2

* chore: remove popper injection 2/2

* chore: address same import

* docs: delete format example

* chore: remove useless passing prop

* chore: resolve conflict

* docs: update datetime props

---------

Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: warmthsea <2586244885@qq.com>
Co-authored-by: qiang <qw13131wang@gmail.com>
2025-08-19 10:08:07 +02:00
btea
880de62fee fix(components): [tree-select] value label rendering error (#20947)
* fix(components): [tree-select] value label rendering error

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

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix: update

* fix: update

* fix: lint

* test: case

* fix: lint

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-11 21:37:04 +08:00
Gnalvin
d720e5c31c feat(components): [splitter] new component (#20145)
* feat(components): [splitter] new component

* docs(components): [splitter] update docs

* feat(components): [splitter] add export ElSplitter ElSplitterPanel types

* feat(components): [splitter] support touch even

* Update docs/.vitepress/crowdin/en-US/pages/component.json

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

* docs: update

* docs: update

* chore: update docs & code

* chore: update docs & fix code type error

* fix: use slot show error

* refactor(components): [splitter] modify props use

* refactor(components): [splitter] use native event listener to drag

* fix(components): [splitter] panel bind attrs

* refactor: use `useOrderedChildren`

* chore: fix types

* feat: add icon

* chore: translate comments and add beta tag

* docs: add default-size api

* docs: remove demo lang="scss"

* refactor: remove default-size api

---------

Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
Co-authored-by: warmthsea <2586244885@qq.com>
Co-authored-by: Dsaquel <291874700n@gmail.com>
Co-authored-by: kooriookami <bingshuanglingluo@163.com>
2025-06-03 23:01:28 +08:00
btea
433b622aee refactor: rename test env (#20816) 2025-05-22 16:17:15 +08:00
btea
8ddbb1d85a fix(components): [select] select value label rendering error (#20769)
* fix(components): [select] select value label rendering error

* chore: comment

* fix: update

* fix: update

* feat: manual render

* refactor: immediate watch

* test: update

* test: with multiple
2025-05-21 13:54:59 +08:00
dopamine
8edea27a36 build: rollup dts (#20586)
* build: rollup dts

* update

* update
2025-05-06 09:42:40 +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
sea
897ba8bb9d chore(types): ElAutoResizer & ElTableV2 to global.d.ts (#18949)
feat(types): `ElAutoResizer` & `ElTableV2` to global.d.ts
2024-11-20 21:00:01 +08:00
dopamine
cd517d6743 chore(components): [select-v2] remove ts-nocheck comments in select-v2 (#16746)
* chore: remove ts-nocheck comments in select-v2

* take the review comments

* improve emits type

* the keys of emits use camelCase instead of kebab-case

* apply suggestions from code review

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

* reduce duplicate ESLint comments

* use more succinct syntax to define props

* revert emits to kebab-case

* fix: type checking failed

* chore: illustrate why return early in validateIcon

* fix: signature with duplicate parameter names

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

---------

Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: qiang <qw13131wang@gmail.com>
2024-09-23 13:45:35 +08:00
DDDDD12138
60cb2262f9 chore: optimize dts imports (#18051)
* feat: move /typings/components.d.ts to /typings/global.d.ts

* feat: use /typings/global.d.ts file

* chore: adjust the order for global.d.ts
2024-09-03 14:34:21 +08:00
qiang
7b6e2c2600 docs: rendering example demos on the server side (#17472)
* docs: rendering example demos on the server side

* fix: render error

* chore: update dependencies

* chore: return all teleports
2024-08-22 14:33:13 +08:00
赵添
0456c790db feat: add mention component (#17586)
* feat: add mention component

* fix: build error

* fix: build error

* feat: delete as a whole

* fix: update docs

* fix: update global.d.ts

* fix: update

* fix: update code

* fix: update code

* fix: update code

* fix: rename

* fix: update code

* fix: upload code

* fix: update code

* fix: fixed cursor position abnormality

* fix: update code

* fix: docs add avatar

* fix: tooltip position is wrong when placing on top

* feat: add overview icon

* fix: overview icon color
2024-08-02 11:00:26 +08:00
dopamine
88e1f2de7e chore: improve intellisense in codebase (#17599)
* chore: improve intellisense in codebase

* bump unplugin-vue-components
2024-07-27 22:00:27 +08:00
kooriookami
546b21ea82 feat(components): [segmented] new component (#16258)
* feat(components): [segmented] new component

* feat(components): [segmented]

* feat(components): update

* feat(components): update

* feat(theme-chalk): update

* feat(components): update

* feat: update

* feat: update

* feat(components): add focus-visible

* feat(theme-chalk): update

* feat(components): fix test

* docs: docs

* feat(components): update

* feat: add icon
2024-04-11 18:48:52 +08:00
赵添
25bebce59d feat(components): anchor component (#15670)
* feat(components): anchor component

* fix(components): [anchor] marker opacity style

* test(components): [anchor] update snapshots

* fix(components): [anchor] style change and add version tag

* docs(components): [anchor] affix mode demo add affix offset

* fix(components): [anchor] change api

* fix: slot name change

* fix: scrollTo method change

* fix: delete getCurrentAnchor api

* style: text overflow

* docs: change toc to anchor

* refactor: useEventListener

* fix: update

* fix: update
2024-02-27 14:22:26 +08:00
xiaoming
e9318e6dde chore(build): [ElTour & ElTourStep & ElPopover] update global types (#15401)
chore(build): [ElTour & ElTour & ElPopover] update global types
2024-01-08 10:46:22 +08:00
赵添
2fd7ba82ab feat(components): tour component (#14952) 2023-12-27 14:49:11 +08:00
刘臻
7916200ba4 feat(components): watermark component (#14236)
* feat(components): watermark component

be able to set text,multi-text,image as watermark

* docs(components): update image watermark example

update the image for dark mode
2023-10-10 17:42:22 +08:00
btea
77344a8703 fix(components): [statistic] add to global components (#12324) 2023-04-05 20:07:39 +08:00
btea
0e7d38ee4f fix(components): [tree-select] add to global components (#12255) 2023-04-02 15:16:24 +08:00
三咲智子
97c169ae43 fix: components dts (#8167) 2022-06-08 12:24:52 +08:00
三咲智子
edaa6f6bc9 fix: vue app typing (#8137)
closes #8122
2022-06-07 13:44:57 +08:00
三咲智子
7ff199c60f fix(build): enhance type check (#7880)
* fix(build): enhance type check

* feat: stricter ts check
2022-05-24 22:54:34 +08:00
blackie
cd0f5ace61 refactor(components): [tabs] switch to script-setup syntax (#6468)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-03-30 02:58:57 +08:00
三咲智子
184facdb4c chore: add eslint rule sort imports (#6823) 2022-03-25 15:35:56 +08:00
三咲智子
4fad2a78d7 refactor: improve build dts (#6457)
* refactor: improve build dts

* chore: add comment
2022-03-07 15:07:30 +08:00
三咲智子
7b7afc8f49 refactor: improve tsconfig (#5993)
* refactor: improve tsconfig

* chore: add cypress tsconfig
2022-02-15 14:45:50 +08:00
三咲智子
879ea6d31b feat: support jsx, closes #5708 (#5947) 2022-02-11 12:10:56 +08:00
三咲智子
dad5dc1743 feat: add global properties typings (#5075) 2021-12-31 16:39:10 +08:00
三咲智子
a4c65447f0 build: refactor copyDefinitions (#3756) 2021-10-06 19:40:44 +08:00
三咲智子
0cb8250d9e build(tokens): fix token build script (#3703) 2021-09-28 15:40:08 +08:00
三咲智子
5faec885f3 feat(dev): add global component types for volar (#3624)
* feat(dev): add global component types for volar

* chore: update README.md
2021-09-26 00:06:46 +08:00
三咲智子
0636e1e240 style: add import and stricter lint (#3440)
* style: add import lint

* chore: apply eslint rules

* chore: add stricter lint

* chore: lint all files

* auto fix

* manually fix

* restore build-indices.ts
2021-09-17 15:27:31 +08:00
三咲智子
1615b9ee67 feat(dev): improve typings (#3457)
* refactor: improve buildProp

* feat(dev): add global components type for Volar
2021-09-17 15:07:32 +08:00
三咲智子
55348b30b6 style: use prettier (#3228)
* style: use prettier

* style: just prettier format, no code changes

* style: eslint fix
object-shorthand, prefer-const

* style: fix no-void

* style: no-console
2021-09-04 19:29:28 +08:00
Sanxiaozhizi
6cc16bbd06 refactor: enhance type definition (#3062)
* chore: add vue-tsc for type check

* refactor(components): respect Vue's own style type

* refactor(components): improve props type

* chore(build): improve types

* fix(components): remove unnecessary props

* perf(components): use shallowRef

* fix(components): add missing property type for table

* refactor(components): improve time-picker types

* refactor(components): extract import type

* refactor(components): improve popper types

* refactor(components): upload list types

* fix(docs): fix type

* better type

* fix: remove index
2021-08-31 09:40:13 +08:00
jeremywu
b0f4fc5f23 refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00
jerome han
beb1270414 fix: Module @vue/test-utils has no exported members (#1139) 2020-12-31 10:42:38 +08:00
XiongAmao
c9c9e0d494 fix: app.use(comp.vue) type is not compatible (#1067) 2020-12-23 14:07:15 +08:00
Simona
52ea214896 feat(cascader): refactor done (#435) 2020-10-30 23:26:33 +08:00
Herrington Darkholme
62f1135768 Feat/form (#342)
* feat(form): add form component

fix #125

* test(form): add test code

* docs(form): add form doc

* feat: add uitls merge

* fix(form): fix style

* test(form): add form test code

* refactor(form): review changes

* test(form): use idiomatic vue-test-util methods

* feat(core): bump vue version

* feat(form): rewrite label wrap

* feat(form): fix tons of bugs

* fix(form): reuse ts extension

* refactor(form): move out label width computation

* fix(form): fix tons of bugs

* fix(form): test

Co-authored-by: 286506460 <286506460@qq.com>
2020-10-03 16:02:53 +08:00
zouhang
5000056c4e feat: add jsx support for test case 2020-09-24 17:36:44 +08:00
jeremywu
ef92b6c11c ### feat: add dialog (#197)
* Add overlay component; Dialog component almost done

* feat(dialog): add use-lockscreen

* feat(dialog): coding completed awaiting tests

* feat(dialog): finish writing test cases

* fix test failures

* Address PR comments

* fallback some changes
2020-09-09 21:18:08 +08:00
JeremyWuuuuu
235fc4bfa6 fix(project): fix global types 2020-08-25 23:28:47 +08:00
JeremyWuuuuu
1584f07f0c [WIP]feat/tooltip
- Code done
- Awaiting test cases
2020-08-25 22:51:26 +08:00
JeremyWuuuuu
25d6bd4667 feat(notification): add new component notification 2020-08-06 21:15:20 +08:00