Commit Graph

6056 Commits

Author SHA1 Message Date
iamkun
01b2d5a142 Merge pull request #15165 from element-plus/dev
D2M
2.4.4
2023-12-15 20:44:31 +08:00
Element
273ff7b295 chore: Update changelog 2.4.4 (#15166)
chore: update changelog 2.4.4
2023-12-15 12:26:57 +00:00
Xc
a078860164 docs(components): [menu,pagination,switch] modify version (#15157)
- Due to delays in planned new component versions
2023-12-15 06:31:01 +00:00
cuongle-hdwebsoft
7f687ae598 feat(components): [el-menu] allow user to hide menu when clicking outside (#14742)
* fix(components): allow user to hide menu when clicking outside

when user sets `menu-trigger` to `click` and then clicking outside, it should be close menu

closed #14738

* revert settings.json config

* fix: debounce hide menu when clicking out side

* fix: only trigger click outside when menu is open

* fix: hide parent menu

* fix: only trigger close menu when its opened

* refactor: remove redundant code

* refactor: remove redundant code

* fix(docs): `collapse-on-click-outside` prop

* fix(docs): `collapse-on-click-outside` prop

* fix: move `clickOutSide` to `menu.ts`

* fix: submenu does not emit `close` when clicking outside

* fix: submenu does not emit `close` when clicking outside

* fix: ts type

* fix: ts type

* fix: only close when passing `props.collapseOnClickOutside` to `true`

* refactor: create `directives` variable

* improvement: allow `recusiveMouseInSubMenu` to receive array

* refactor: remove redundant code

* fix: rename `recusiveMouseInSubMenu` to  `recursiveMouseInSubMenu`

* feat: add `hide-timeout` prop

* fix: revert code

* fix: code owner

* fix: coder owner

* fix: menu closed when clicking on submenu

* refactor: remove redundant code

* fix: get correct index path

* fix: build

* refactor: update docs and remove `unref`

* fix: change `collapseOnClickOutside` to `closeOnClickOutside`

* fix: remove `hideTimeout` prop
2023-12-15 13:34:22 +08:00
Zhongxiang Wang
1b4bc76f75 fix(build): fix built component source contains unsafe file path (#15152) 2023-12-15 12:07:37 +08:00
ivan0525
d4f331ffb6 fix(components): [date-picker] tagName judgement error (#15079)
* fix(components): [table] fix tests typo

* fix(components): [date-picker] tagName judgement error

---------

Co-authored-by: zhuangyufeng <zhuangyufeng@szkingdom.com>
2023-12-14 21:07:05 +08:00
Innei
6befedd11c fix(components): [collapse-transition] collapse get el exists height (#14801)
fix: collapse get el exists height

Signed-off-by: Innei <i@innei.in>
2023-12-14 19:22:14 +08:00
btea
ec34092e45 chore: format (#15137) 2023-12-13 12:12:44 +00:00
xingyixiang
ac6b0e74f5 feat(components): [pagination] add change event (#14828)
* feat(components): [pagination] add change event

* feat(components): [pagination] add change event

* feat(components): [pagination] add change event

* feat(components): [pagination] add change event

* feat(components): [pagination] add change event
2023-12-13 09:54:27 +08:00
小林不是coder
a778a9c6ee test(hooks): fix typo (#15113)
test(hooks): fix typo
2023-12-13 09:07:57 +08:00
kooriookami
b7a05e7687 fix(components): [input-number] Fix not trigger change event and incorrect value display (#15066)
* fix(components): [input-number] Fix not trigger change event

closed #14967

* fix(components): [input-number]

* test(components): update test

* fix(components): fix #14438
2023-12-12 12:08:16 +08:00
一只前端汪
28542199fb fix(ci): git workflows not work (#15092)
fix(build): git workflows not work
2023-12-10 18:21:35 +08:00
星如雨
df0befcad0 feat(components): [switch] (in)active icon slot (#15078)
* feat(components): [switch] (in)active icon slot

* feat(components): [switch] slots are renamed

* test(components): [switch] action-slot test case
2023-12-09 10:16:05 +08:00
xingyixiang
b6b98bb1d8 fix(components): [table] tooltipOptions.showAfter is not effective (#14741)
* fix(components): [table]
tooltipOptions.showAfter is not effective

* fix(components): [table]
rolling unable to destroy Popper
2023-12-06 20:29:43 +08:00
知晓同丶
750088624e feat(components): [menu] add popperOffset and ellipsisIcon props(#14923) (#15051)
* feat(components): [menu] add popperOffset and ellipsisIcon props(#14923)

* Update docs/examples/menu/ellipsis.vue

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

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

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

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

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

* docs(components): [menu] upgrade props

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

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

---------

Co-authored-by: zhixiaotong <zhixiaotong.me@qq.com>
Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
2023-12-06 10:34:47 +08:00
一只前端汪
0482d11337 fix(components): [data-picker] use renderSlot simplified code (#15036) 2023-12-05 15:10:08 +08:00
一只前端汪
005bdf6143 fix(components): [table] header slot not displayed (#15035)
* fix(components): [table] header slot not displayed

* fix(components): [table] header slot not displayed

* fix(components): null commit
2023-12-05 15:09:13 +08:00
一只前端汪
0c8b6a5906 fix(components): [table-v2] cell, header-cell, empty slots not displayed (#15016)
Thanks for your contribution.
2023-12-05 15:08:08 +08:00
一只前端汪
7df7461030 fix(docs): Algolia highlight error (#14831) 2023-12-05 14:52:18 +08:00
wzc520pyfm
69a4af072d docs(components): [progress] use new display tag (#14956)
* docs(components): [progress] use new display tag

* docs(components): [progress] add type th for slots

* docs(components): [progress] fix format error
2023-12-04 21:22:10 +08:00
wzc520pyfm
e14fcf65ac docs(components): [tag] complete solt name (#14957) 2023-12-04 19:56:30 +08:00
Travis
0ee51e0708 fix(components): [watermark] Support for lower versions of Firefox (#14993)
* fix(components): [watermark] Support for lower versions of Firefox

fontBoundingBoxAscent属性在firefox V116版本才支持,在低版本firefox中,采用 actualBoundingBoxAscent 进行向下兼容,可以支持到
firefox V74

* chore(components): [watermark] add a line of comments for the processing

* perf(components): [watermark] change "!=" to "!=="
2023-12-04 19:40:32 +08:00
wzc520pyfm
efedde0f15 docs(components): [affix] use new display tag (#14961) 2023-12-04 19:32:13 +08:00
wzc520pyfm
76acd7f6bd docs(components): [drawer] use new display tag (#14964) 2023-12-04 19:30:46 +08:00
Fuphoenixes
6594757abf fix(components): [watermark] mutationObserver should work (#14822)
fix(components): mutationObserver should work

closed #14819

Co-authored-by: phoenizhao <phoenizhao@tencent.com>
2023-12-04 14:00:37 +08:00
wzc520pyfm
b0cdf9abb9 docs(components): [breadcrumb] fix attr typo (#14962) 2023-12-04 08:46:30 +08:00
wzc520pyfm
16b0eac701 docs(components): [alert] use new display tag (#14963) 2023-12-04 08:44:09 +08:00
wzc520pyfm
6542286292 docs(components): [slider] use new display tag (#14711) 2023-12-03 22:17:50 +08:00
Zenyb
827d606a88 fix(components): [date-picker] the time panel is closed without losing focus (#14748)
* fix(components): [date-picker] fix bug #14728

* fix(components): [date-picker] use handleFocusPicker to fix #14728

---------

Co-authored-by: yongbo.zeng_U+ <yongbo.zeng@united-imaging.com>
2023-12-03 22:07:17 +08:00
wzc520pyfm
980ea89714 docs(components): [date-picker] fix panel-change param type error (#15009) 2023-12-03 19:56:07 +08:00
kooriookami
5e60441616 chore(docs): Use online fonts in docs (#15011)
* chore(docs): use online fonts in docs

* docs(theme-chalk): update
2023-11-30 10:06:45 +00:00
Jevin
77e7f41c17 fix(components): [select-v2] popup height is not accurate (#15012) (#15014)
Co-authored-by: “Jevin” <jevin@mogul-tech.com>
2023-11-30 07:58:56 +00:00
0song
a152212d63 chore: Update README (#15000) 2023-11-29 05:56:13 +00:00
kooriookami
5017ce5452 [Docs] Update homepage (#14534)
* docs: update homepage

* docs: update

* docs(element-plus): update font

* docs(theme-chalk): form font inherit
2023-11-29 12:12:09 +08:00
0song
df17921af7 chore: update readme (#14996) 2023-11-28 12:35:19 +00:00
0song
b18e50b3bc chore: update readme (#14982) 2023-11-27 13:42:47 +00:00
iamkun
4f6abb9e51 Merge pull request #14969 from element-plus/dev
D2M
2.4.3
2023-11-27 17:25:56 +08:00
Element
f7ad6216d0 chore: Update changelog 2.4.3 (#14973)
chore: update changelog 2.4.3
2023-11-27 09:12:51 +00:00
一只前端汪
23201e2f4d fix(components): [tree] default slots not displayed (#14939)
* fix(components): [tree] default slots not displayed

* test: add customize some node contents
2023-11-27 16:33:35 +08:00
kooriookami
9f1ffc06cb chore(element-plus): update @element-plus/icons-vue version (#14968)
* chore(element-plus): update @element-plus/icons-vue version

closed #14944 #14948

* chore: update

* chore: update

* chore(element-plus): update

* chore(element-plus): update

* fix: lockfile

* fix: dts

* fix: types

---------

Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-11-27 16:27:16 +08:00
Cheerwhy
f37d056441 feat(components): [select] add header and footer slot (#14876)
* feat(components): [select] add header and footer slot

* fix(docs): [select] incorrect word

* fix(theme-chalk): [select-dropdown] incorrect padding

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

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

* Apply suggestions from code review

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

---------

Co-authored-by: qinzz <qinzz@chint.com>
Co-authored-by: btea <2356281422@qq.com>
2023-11-27 15:26:48 +08:00
云游君
4f347eeec6 feat(docs): add 2023 figma ui kit (#14922)
* feat(docs): add 2023 figma ui kit

* chore: fix layout

* chore: revert pnpm lock
2023-11-24 08:48:11 +08:00
btea
92df6df5b6 fix(docs): [watermark] adjusting the text color in dark mode (#14871) 2023-11-19 13:31:30 +08:00
sleepyShen1989
74bfbefc28 test(components): [button] change slot mode (#14823) 2023-11-18 16:47:34 +08:00
zepeng
465f6d4140 fix(components): [date-picker] add the vertical-align attribute to d… (#14798)
fix(components): [date-picker] add the vertical-align attribute  to date-editor
2023-11-14 20:15:49 +08:00
Lov`u`e
58996131a0 docs(docs): fix typo errors in pagination component (#14815) 2023-11-14 19:44:41 +08:00
Karolis_Stoncius_Sneakybox
02090482ed feat(components): [dialog] append dialog to any element (#14317)
* feat(components): [dialog] append dialog to any element

Add the ability to append dialog not just to body, but to any element

* fix(components): [dialog] fix appending to body when append-to is used

* docs(components): [dialog] add version to docs append-to attribute
2023-11-14 19:43:05 +08:00
wzc520pyfm
9d65c0be90 docs(components): [date-picker] use new dispaly tag (#14754)
* refactor(components): [time-picker] update  boolean attr are declared

* docs(components): [date-picker] use new dispaly tag

* docs(components): [date-picker] delete extra description
2023-11-11 21:47:08 +08:00
Fuphoenixes
4580aea8e4 fix(components): [select] style error in multiple collapseTags (#14602) 2023-11-11 21:27:35 +08:00
faga
dfad5539f5 feat(components): [card] adds footer slot (#10357)
feat(components): [card]

adds footer slot

closed #6873

Co-authored-by: btea <2356281422@qq.com>
2023-11-06 19:29:22 +08:00