Commit Graph

854 Commits

Author SHA1 Message Date
一只前端汪
574bf98d43 fix(components): [upload] Invalid CSS variable (#22366)
* fix: upload css var

* fix: inject the scss variables in the component level

* fix: Excess modifications

* fix: Keep the name consistent with the original

* fix: Keep the name consistent with the original
2025-10-11 14:00:01 +02: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
qiang
4684320916 fix(components): [popconfirm] unable to capture focus (#22310)
* fix(components): [popconfirm] unable to capture focus

* fix: test

* chore: revert event
2025-09-26 20:58:19 +08:00
Zhong
50628fea76 style(components): [message] fix container width adaptation (#22308)
* style(components): [message] prevent unexpected text wrapping

* fix: use `margin: 0 auto` to center
2025-09-25 13:20:35 +02:00
sea
3b72e183d8 refactor: remove tooltip-v2 visual-hidden components (#22252)
refactor: remove tooltip-v2 components
2025-09-23 22:45:16 +02:00
Noblet Ouways
81b72b2266 style(theme-chalk): same height across pickers for range date pickers (#22277)
style(theme-chalk): same height across pickers for `range` date pickers
2025-09-22 17:06:35 +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
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
sea
b9ac07cb68 refactor(components): [drawer] resizable (#21932)
* Revert "drawer resizable #21608"

* refactor: drawer resizable

* feat: direction & event core

* docs: update

* fix: animation conflict

* fix: watchEffect onCleanup hrm error

* test: add resize case

* chore: format

* test: old case typo

* refactor: rel #21595 & add hover style

Co-authored-by: thinkasany <480968828@qq.com>
Co-authored-by: cszhjh <cszhjh@gmail.com>

* chore: del useless file

* chore: del useless file

* chore: rename

Co-authored-by: Dsaquel <291874700n@gmail.com>

* fix: use min resizable error

* fix: multiple resizable style conflicts

* test: fix

---------

Co-authored-by: thinkasany <480968828@qq.com>
Co-authored-by: cszhjh <cszhjh@gmail.com>
Co-authored-by: Dsaquel <291874700n@gmail.com>
2025-09-04 15:33:06 +08:00
thinkasany
8cdfd33324 refactor(components): [splitter] disabled class and style (#22001)
* refactor(components): [splitter] disabled class and style

* ci: fix

* Update packages/components/splitter/src/split-bar.vue

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

* ci: fix lint

---------

Co-authored-by: Zhong <cszhjh@gmail.com>
2025-09-04 14:34:40 +08:00
qiang
b04b827a1f feat(components): [rate] accessibility enhancement (#22013) 2025-09-03 17:41:00 +08:00
sea
76e3331fb8 style(components): [splitter] use ew-ns cursor (#21988) 2025-09-01 12:33:29 +02:00
Noblet Ouways
289b59e546 fix(components): [color-picker-panel] sync bg-color with date-picker-panel (#21859)
fix: sync bg-color with date-picker-panel
2025-08-22 19:15:23 +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
八毛钱
5647b3e392 feat(components): [input-tag] add collapse-* prop (#21477)
* feat(components): Add input box label folding function

- Add collapseTags, collapseTagsTooltip, and maxCollapseTags attributes
- Implement the function of tag folding and mouse hovering to display complete content
- Update documentation and sample code

* feat(components): optimize the judgment before out of focus

-New beforeBlur method
-Add input tag list class name to improve the style and layout of tag list
-Add label text wrapping to optimize the display of long text

* feat(docs): 添加标签折叠功能

- 新增 collapse-tags 属性,用于在多选时将标签折叠为文本
- 新增 collapse-tags-tooltip 属性,用于在鼠标悬停时显示折叠标签的完整内容
- 新增 max-collapse-tags 属性,用于设置折叠标签的最大数量

* feat(components): optimize tag display logic

- Add showTagList and collapseTagList calculation properties to control the display of labels
- Modify the label removal logic, and now remove through the label value instead of the index
- Adjust the rendering method of labels to simplify the template structure
- Removed redundant tags text class styles, and directly displayed with tag values

* refactor(components): optimize tags

- Modify the logic of fallback label deletion, and use the index to directly remove the last label
- Reconstruct the tag rendering method and simplify the template structure
- Remove unused CSS classes

* refactor(components): optimize label rendering logic

- Replace the template tag in the template with the el tag component
- Simplify the rendering logic of labels and improve the readability and performance of components

* refactor(components): optimize key binding of tag list

- Change the key of the tag component from item to index

* docs(components): Modify the description of the collapse tags attribute

- Optimize the description of collapse tags attribute

* feat(components): add custom slots for labels

- Add a slot named "tag" in the el tag component

* test(components): add a test case for the collapseTags function

- Test the basic function of the collapseTags attribute
- est the hover effect of the collapseTagsTooltip attribute
- Test the restriction logic of the maxCollapseTags attribute

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

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

* docs(components): update documents

- New features introduced in version 2.11.0 have been added to the document

* test(components): remove comments from unit tests

- Removed unnecessary comments in test code

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
2025-08-21 20:22:03 +08:00
知晓同丶
98041055b0 feat(components): [message] add placement option & method (#21747)
* feat(components): [message] add `placement` option & method

* fix: resolve test hanging issue caused by reactive circular dependency

* test: add test

* feat: add placement `top-left/top-right/bottom-left/bottom-right`

* refactor: split large normalizeOptions function

* docs: adjust description text

* chore: remove unused height expose

* refactor: simpify code

* style: opt-in center style & simplified animations

* style: replace :not(.center) with :is(.left,.right) for more explicit

* feat: add `placement` to `config-provider`

* fix: fix test warning when placement is undefined

* refactor: remove useless style & simpify types

* fix: avoid circular dependency

* chore: types related

* Update docs/examples/config-provider/message.vue

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

* Update packages/components/config-provider/__tests__/config-provider.test.tsx

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

* chore: make typecheck happy & format

* style: add top/bottom transition

* chore: format

---------

Co-authored-by: zhixiaotong <947803089@qq.com>
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
Co-authored-by: Dsaquel <291874700n@gmail.com>
2025-08-19 15:16:49 +00: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
Noblet Ouways
c83b99d2f2 feat(components): unify clear btn display on focus (#21732)
* feat(components): unify clear btn display on focus

* test: add tests

* chore: apply review
2025-08-18 10:54:32 +02:00
Rainbow
a335eab6f6 style(components): [message-box] keep centered when modal is false (#21780)
* style(components): [overlay] keep centered when modal is false

* style: update

* style(components): [message-box] keep centered when modal is false
2025-08-17 14:59:26 +08:00
Zhong
ca976e3620 feat(components): [drawer] add resizable prop (#21608)
* feat(components): [drawer] add `resizable` prop

* style(theme-chalk): [drawer] update based on review feeddback

* chore: adjust style & example

* docs: update example

* docs: remove default direction

---------

Co-authored-by: btea <2356281422@qq.com>
2025-08-17 14:46:27 +08:00
Rainbow
348a855890 style(components): [collapse] adapt height when customizing title (#21779) 2025-08-16 23:48:27 +08:00
Zhong
67ce064086 feat(components): [splitter] add lazy prop (#21730)
* feat(components): [splitter] add lazy prop

* chore: cleanup

* fix: lazy change should end dragging
2025-08-16 11:22:54 +02:00
catanswer
7b25a87d6d feat(components): [autocomplete] add header and footer slot (#21594)
* feat(components): [autocomplete] add header and footer slot

* docs(components): add a bump version for new slots

* test(components): [autocomplete] add header/footer slots test case

* docs(components): [autocomplete] add header and footer slots example

---------

Co-authored-by: yinshenghao <shenghao.yin@eslink.com>
2025-08-05 22:34:39 +02:00
thinkasany
82fcbf0237 style(components): Replace inset to provide better compatibility (#21601)
* style(components): Replace inset to provide better compatibility

* ci: fix

* ci: fix
2025-08-04 12:34:08 +08:00
Noblet Ouways
24cfc3685d style(components): remove unused icon class & autocomplete tweaks (#21565)
* style(components): remove unused icon class & autocomplete tweaks

* fix: review

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

---------

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
2025-08-01 17:16:15 +08:00
Zhong
3182010562 feat(components): [dialog] add modal-penetrable prop (#21511)
* feat(components): [dialog] add `modal-penetrable` prop

* refactor(components): [dialog] optimize code

* test(components): [dialog] update test

* test(components): [test] update test
2025-07-30 16:51:18 +08:00
codingories
4542f9d164 fix(theme-chalk): [tabs]: include border-top in nav height (#21008)
* fix(components): [el-tabs] style bug when zoom in or zoom out

* fix(components): [el-tabs] change another way css inset to fix style bug

* Revert "fix(components): [el-tabs] style bug when zoom in or zoom out"

This reverts commit f206524b96a58850b841472ad06da54e13c7754c.

* fix(theme-chalk): [tabs]: include border-top in nav height

* chore: set border-box

* chore: remove useless

---------

Co-authored-by: codingories <junjie.zhu@r2.ai>
Co-authored-by: Dsaquel <291874700n@gmail.com>
2025-07-25 18:09:46 +08:00
Zhong
283fa72bc9 feat(components): [cascader] add header and footer slot (#21486)
* feat(components): [cascader] add header and footer slot

* docs(components): [cascader] simplify the code

* docs(components): [cascader] merge header and footer example

* docs(components): [cascader] add clear case
2025-07-24 12:03:41 +00:00
keeplearning66
fc581f9e9d style(components): [input] prevent slot element width squeeze (#21476)
* style(components): [input] prevent slot element width squeeze

* fix: use flex instead of flex-grow
2025-07-24 09:34:03 +08:00
遇见同学
74833b49bc fix(components): [menu] hide arrow right padding incorrect (#21292)
* fix(components): [menu] Hide Arrow Padding Right Value

* fix(components): [menu] Hide Arrow Padding Right Value

* feat: Hide Arrow Padding Right Value

* feat: dynamically calcMoreButtonWidth

* Revert "feat: dynamically calcMoreButtonWidth"

This reverts commit b46953e333.

* chore: dynamic solution

* chore: fix

* Update packages/theme-chalk/src/menu.scss

---------

Co-authored-by: Dsaquel <291874700n@gmail.com>
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
2025-07-23 18:21:16 +08:00
thinkasany
58ca22ad8a fix(components): [select] prevent prefix and suffix in disabled state (#21467) 2025-07-23 00:46:26 +02:00
dhj-l
2036ff20a2 fix(components): prevent prefix and suffix operations in disabled state (#21461)
* fix(components): el-input:fix-input-suffix-click-when-disabled

* fix(components): fix-input-suffix-click-when-disabled
2025-07-22 17:38:31 +08:00
snowbitx
c7a2812c91 style(components): [tabs] tabs nesting style error (#21412)
fix: #21410
2025-07-21 15:45:47 +08:00
Zhong
cc9f947f3b style(theme-chalk): [transfer] inherit checkbox & fix last item margin (#21429) 2025-07-21 15:17:19 +08:00
keeplearning66
6bb86b983b style(components): [popper] avoid incorrect word wrapping (#21385) 2025-07-20 02:32:11 +02:00
Zhong
360f04e9c8 style(theme-chalk): fix focus issue when clicking label blank area (#21388) 2025-07-18 10:16:44 +08:00
snowbitx
da08a2ffaf feat(components): [input-number] add align prop (#21291)
* feat(components): [input-number] add align prop

* refactor: change implementation

* refactor: simplify SCSS

* test: add align prop class test

* test: fix type error

* Update packages/components/input-number/src/input-number.ts

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

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

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

* chore: useless change

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
2025-07-17 15:45:24 +08:00
btea
b643cbed13 chore: format scss code (#21312) 2025-07-11 16:40:01 +08:00
kooriookami
b7d3bff519 style(theme-chalk): convert color to integer (#21301) 2025-07-11 00:32:37 +02:00
Zhong
8d81ed0908 fix(components): [tabs] correct height calculation in vertical layout (#21263) 2025-07-10 22:24:21 +08:00
dengguangmiaoyyds
5cba237704 style(components): [checkbox] modify the icon position when selected (#20087)
* style(components): [checkbox]Modify the icon position when selected

* style(components): [checkbox]Modify icon horizontal and vertical offset
2025-07-10 22:23:06 +08:00
Tenado
6c8e4f4feb fix(components): [tooltip] fix the issue where content is hidden (#21223) 2025-07-08 16:30:22 +08:00
Noblet Ouways
4f8cca0f6c feat(components): [select/select-v2/cascader] expose more tag options (#21157)
* feat(components): [select/select-v2] bind `data` for tag slot

* chore: remove console.log

* feat: expose `deleteTag` aswell

---------

Co-authored-by: warmthsea <2586244885@qq.com>
2025-06-29 13:17:20 +00:00
btea
7448d6d1ff fix(components): [form] increase error style priority (#21177) 2025-06-27 23:34:08 +02:00
fratzinger
667726b128 fix(components): [date-picker] pass showWeekNumber to panel (#21049)
* fix(components): prop show-week-number

* docs: [date-time-picker] add attribute showWeekNumber

* fix(components): [date-picker] range showWeekNumber

* refactor(components): date-table use ns class for week number header

* refactor: BooleanConstructor casts to false by default

* test(components): [date-picker] add showWeekNumber

* test(components): [date-picker] datetime showsWeekNumber
2025-06-18 22:59:01 +08:00
dopamine
f50222cb55 fix(components): [tabs] match visual order to source order (#21025)
* fix(components): [tabs] match visual order to source order

* fix
2025-06-17 09:50:00 +08:00
maicss
af97019b70 fix(components): [tabs] fix nav height for better display (#15600)
fix(components): [tabs] fix border UI
2025-06-16 15:55:11 +08:00
Noblet Ouways
2f17df1209 style(eslint-config): newline before import type (#21036)
* perf: change to import-x

* feat: add rules

* chore: fix rule

* chore: fix

* chore: fix

* chore: fix

* style: `pnpm lint:fix`

* Revert "style: `pnpm lint:fix`"

This reverts commit db0116a288.

* Revert "chore: fix"

This reverts commit 69c82a90c0.

* chore: fix

* style: `pnpm lint:fix`

* fix: lint

* chore: `pnpm format`
2025-06-16 15:37:12 +08:00
qiang
d3dae80b70 fix(theme-chalk): [drawer] replace fixed color with CSS var (#19011) 2025-06-08 18:35:11 +08:00
betavs
6936245fff fix(theme-chalk): [radio] update background color for checked state (#19594)
Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
2025-06-05 16:11:51 +08:00