Commit Graph

869 Commits

Author SHA1 Message Date
Roojay
aff3580298 fix(theme-chalk): add a $space parameter to the channel function (#19166)
Co-authored-by: 云游君 <me@yunyoujun.cn>
2025-11-24 22:22:08 +08:00
DDDDD12138
6d1d9a24c3 fix(components): [steps] prevent external line-height from affecting layout (#19319)
fix: [steps] prevent external line-height from affecting layout

Co-authored-by: qiang <qw13131wang@gmail.com>
2025-11-24 10:58:26 +01:00
Den Moshkin
e3eff3725f feat(components): [button-group]: add direction prop (#18906)
* feat(components): [button-group]:add vertical direction for button group

* feat(components): [button-group]: add direction prop (update)

* feat(components): [button-group]: fix docs

* feat(components): [button-group]: update version

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

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

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

* chore: format

* docs: improve sentence

* docs: improve display example

* refactor: enhance prop type

- fit with segmented direction prop
- enhance type according with
https://github.com/element-plus/element-plus/pull/22757

---------

Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: Dsaquel <291874700n@gmail.com>
2025-11-23 09:07:43 +08:00
rzzf
0486fb229e style(theme-chalk): show the cursor correctly when disabled (#22856)
* style(theme-chalk): [cascader] show the cursor correctly when disabled

* style: update rate
2025-11-19 16:12:06 +08:00
qiang
669585fc43 fix(theme-chalk): [anchor] update link styles for hover and focus states (#22841)
* fix(theme-chalk): [anchor] update link styles for hover and focus states

* docs: Update document styles

* Update docs/.vitepress/vitepress/styles/content/table-of-content.scss

* docs: update toc-content left padding

---------

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
Co-authored-by: warmthsea <2586244885@qq.com>
2025-11-18 09:59:13 +00:00
Putia3
210be41ff4 style: [select] remove unnecessary style (#22765)
style(style): [select]The situation does not exist
2025-11-12 21:06:32 +08:00
rzzf
0723ec60ed refactor(components): [image-viewer] use useLockscreen for scroll lock (#22734) 2025-11-11 17:19:00 +08:00
Zhong
bc6a25ab2b fix(components): [pagination] avoid override button styles in slots (#22570) 2025-10-27 15:06:30 +08:00
qiang
031282014a feat(components): [color-picker-panel] predefine a11y (#22527)
* feat(components): [color-picker-panel] predefine a11y

* chore: sync locale

* Update packages/components/color-picker-panel/src/composables/use-predefine.ts

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

* chore: update

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
2025-10-23 21:17:43 +08:00
sea
b0b05d331c style: remove unuse imports & update autocomplete #loading center style (#22490)
* style: remove unuse imports & update autocomplete #loading center style

* chore: update

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

---------

Co-authored-by: cszhjh <cszhjh@gmail.com>
2025-10-19 23:03:08 +08:00
194df162aa fix(theme-chalk): [cascader] cursor style issue in filterable (#22518)
fix(theme-chalk): cursor style issue in searchable cascader component
2025-10-19 11:20:46 +08:00
qiang
bc55a5f93a feat(components): [color-picker-panel] sv-panel a11y (#22470)
* feat(components): [color-picker-panel] sv-panel a11y

* chore: sync locale

* chore: add test

* Update packages/components/color-picker-panel/src/composables/use-sv-panel.ts

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

---------

Co-authored-by: btea <2356281422@qq.com>
2025-10-19 11:17:44 +08:00
Lensiq
1680d14c31 feat(components): [drawer] add support for modal-penetrable prop (#22498)
* feat(components): [drawer] add support for  prop

* fix: update

* docs: update
2025-10-18 16:32:37 +08:00
一只前端汪
ddf28c98d3 feat(components): [input] add word-limit-position attributes (#22359)
* fix: input maxlength

* fix: make error tip same line

* fix: format

* fix: use     top: 100%;

* feat: expand show-limit-word

* feat: add test

* fix: optimize code

* fix: use nsInput.is and update docs

* fix: update test case

* fix: add wordLimitPosition props

* chore: update docs

* fix: add version tag

* fix: input support outside

* fix: update docs

* fix: add backgroundcolor

* fix: Restore code

* fix: update docs demo

* fix: add input test case

* fix: Remove two useless CSS

* Merge branch 'dev' into input-max-length
2025-10-17 11:46:14 +08:00
一只前端汪
a77a91788f fix(components): [DatePickerPanel] button offset when using unocss (#22449)
* fix: button

* fix: add padding
2025-10-15 12:26:01 +02:00
一只前端汪
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