Commit Graph

585 Commits

Author SHA1 Message Date
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
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
星如雨
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
知晓同丶
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
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
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
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
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
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
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
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
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
sleepyShen1989
479ee3d7d4
docs(components): [autocomplete] fix website display (#14557)
* docs(components): [autocomplete] fix website display

* docs(components): [autocomplete]add column of Type in Slots
2023-11-01 08:09:13 +08:00
Icey Wu
3b27db428b
feat(components): [watermark] add font textAlign and textBaseline (#14567) 2023-10-29 11:42:58 +08:00
qiang
941966f976
feat(components): [select-v2] add props attribute (#14536)
* feat(components): [select-v2] add props attribute

* docs: updata

* docs: updata

* docs: updata
2023-10-25 20:33:07 +08:00
Karolis_Stoncius_Sneakybox
26e9727299
feat(components): [switch] add label attribute for accessibility (#14319)
* feat(components): [switch] add label attribute for accessibility

* refactor(components): [switch] set default switch label to undefined

* docs: version change
2023-10-16 07:08:09 -05:00
wzc520pyfm
40b64dfb57
docs(components): [upload] use new display tag (#12701)
* docs(components): [upload] use new display tag

* docs(components): [upload] add description for beford-upload

* feat(components): [upload] delete useless attribute

* docs(components): [upload] adjust description and default for attr

* docs(components): [upload] add more detail for data attr
2023-10-15 08:02:13 -05:00
btea
0f7f88df81
docs(components): [watermark] update font (#14542) 2023-10-14 18:30:41 +09:00
gimjin
4b5a9bf279
fix(components): [text] not support multi-line ellipsis (#11976)
* docs(components): [text] line-clamp prop and update example

* test(components): [text] line-clamp test

* fix(components): [text] not support multi-line ellipsis

* docs: updata

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
2023-10-13 11:26:54 +08:00
一只前端汪
cba217228f
feat(components): [date-picker] add dateFormat and timeFormat props (#14330)
* fix(components): [time-picker] extractDateFormat extractTimeFormat

* fix(components): [time-picker] Provide default return values

* feat(components): [date-picker] add dateFormat and timeFormat props

* feat(components): [date-picker] update demo

* Update docs/en-US/component/datetime-picker.md

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

* Update docs/en-US/component/datetime-picker.md

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
Co-authored-by: btea <2356281422@qq.com>
2023-10-13 11:18:23 +08:00
btea
931beda288
docs: update version tag (#14532) 2023-10-13 08:52:41 +08:00
Icey Wu
39fe0a4e22
feat(components): [image-viewer] add minScale and maxScale (#14120)
* fix(components): [image-viewer] add scale props

* docs(components): [image] add min-scale and max-scale  properties

* feat(components): [image] add minScale and maxScale properties

* docs(components): [image] add example properties

* docs(components): [image] add docs  properties

* docs(components): [image] add docs properties

* docs(components): [image] update  version tag
2023-10-12 15:23:48 +00:00
qiang
ca8846c532
feat(components): [select] accessibility enhancement (#14503)
* feat: accessibility enhancement

* fix: adjusting the attributes of Scrollbar

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

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

* docs: updata

* fix(components): [select] aria-selected error

---------

Co-authored-by: btea <2356281422@qq.com>
2023-10-12 09:29:00 -05:00
wzc520pyfm
4bfe10e682
docs(components): [descriptions] use new display tag (#12673) 2023-10-11 10:28:46 -05:00
qiang
351774f418
feat(components): [color-picker] add focus and blur event (#14244)
* feat(components): [color-picker] add focus blur event

* docs: updata
2023-10-11 14:13:59 +00:00
btea
5401f46d74
docs(components): [watermark] update doc (#14500) 2023-10-10 20:05:31 +08:00
betavs
9867c88ef6
docs(components): [dialog] docs description abnormal (#14496) 2023-10-10 17:46: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
db16e31489
feat(components): [tabs] add addIcon slot (#12970)
* feat(components): [tabs] add addIcon slot

* docs: add example

* docs: update tabs.md

* chore: add version tag
2023-09-19 13:33:33 +08:00
dopamine
1bf6f1bc7a
docs(form): add that prop supports dot notation string (#14325) 2023-09-18 22:03:41 +08:00
zepeng
ae29ec5436
docs: [table-v2] modify the type definition of the row slot (#14254)
* fix(docs): [table-v2] modify the type definition of the row slot

* Update table-v2.md

* Update table-v2.md
2023-09-17 14:31:03 +08:00
GU Yiling
6e24736f89
fix(components): [date-picker] month range should emit calendar-change (#14262) 2023-09-13 16:53:11 +08:00
Bean Deng 邓斌
5d7532de30
fix(docs): [upload] fix the version of supporting async data (#14242) 2023-09-10 09:29:27 +08:00
btea
0b14c516e6
fix(docs): [date-picker] calendar-change event parameter type error (#14237) 2023-09-09 19:54:29 +08:00
Jianjun Yu
d96555fa9c
feat(components): [upload] support async data (#14015)
* feat(components): [upload] support async data

* feat(components): [upload] support async data

* fix(components): [upload] unit test

* fix(components): [upload] unit test

* feat(components): [upload] update data docs

* fix(components): [upload] unit test

* chore: add version

---------

Co-authored-by: Hefty <yeyuqiudeng@gmail.com>
2023-09-08 15:57:05 +08:00
btea
9b0a8f8c9a
chore: format (#14200) 2023-09-07 13:51:25 +08:00
Bean Deng 邓斌
95494b7154
feat(components): [image-viewer] Add rotate event when rotating images (#14138)
* feat(components): [image-viewer] Add rotate event when rotating images

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

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

---------

Co-authored-by: btea <2356281422@qq.com>
2023-09-06 06:28:14 +00:00
boomboy4
9a60a90e1e
feat(components): [el-pagination] add teleported prop (#14072)
* fix(components): [pagination] 修复toplayer全屏模式下分页下拉框无法显示问题

分页组件新增teleported参数 默认为true  便于用户控制size下拉框是否插入body

closed #14070

* docs(docs): [pagination] Add a teleported attribute

closed #14070

* fix(components): [pagination] teleported props default value

delete set teleported default value

closed #14070

* fix(components): [pagination] change the default value of teleported

change the default value of teleported to true

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

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

---------

Co-authored-by: shaojia.cheng <shaojia.cheng@arvetech.net>
Co-authored-by: qiang <qw13131wang@gmail.com>
2023-09-06 00:14:58 +00:00
刘臻
ce2315d734
docs(components): message-box (#14179)
update message-box options

closed #14178
2023-09-04 21:39:22 +08:00
Wu Rui
3c1bd4efc6
fix(components): [form] improve types (#14062)
* fix(components): [form] improve types

* docs: update form

* fix: consider RegExp

* chore: update jsdoc
2023-08-30 13:31:10 +00:00
zepeng
cea00f0dc8
fix(components): [rate] bind the textColor property (#14092)
* fix(components): [rate] bind the textColor property

* add test case

* add test case

* Update rate.test.tsx

* Update rate.md
2023-08-28 21:51:18 +08:00