Commit Graph

575 Commits

Author SHA1 Message Date
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
btea
68980b3c50
docs(components): [collapse] (#14066) 2023-08-28 21:50:49 +08:00
wonderl17
d73bf47f8b
docs: [select-v2] add item-height attribute into doc (#14033) 2023-08-28 15:42:06 +08:00
zepeng
913f11e0fd
docs: [card] add version tag (#14083) 2023-08-26 09:54:34 +08:00
btea
50860b7c66
docs: [cascader] add version tag (#14082) 2023-08-24 21:33:20 +08:00
Karolis_Stoncius_Sneakybox
c29f6cc6c7
feat(components): [select] add aria-label to select's input (#13932)
* feat(components): [select] add aria-label to select's input

Select's input causes accessibility issues without aria-label, this commit adds it

* refactor(components): [select] change aria-label to label; update docs

* refactor(components): [select] change back to ariaLabel prop name

* docs(components): kebab-case for docs
2023-08-24 21:03:01 +08:00
Karolis_Stoncius_Sneakybox
268457135e
feat(components): added aria-level attributes for dialog and drawer headers; Fixed input-number's aria-valuenow being null (#13822)
* feat(components): [dialog] added dialog header aria-level attribute

To pass accessibility tests elements with role="heading" require aria-level

* feat(components): [drawer] added drawer header aria-level attribute

To pass accessibility tests elements with role="heading" require aria-level

* fix(components): [input-number] prevent aria-valuenow from being null

To pass accessibility tests aria-valuenow cannot be null

* fix(components): [input-number] fix number input when 0 and update test

Fixes a bug where number input's aria-valuenow will be set to '' when input's value is 0. Also
updates a failing test

* refactor(components): [dialog] change default aria-level to 2

* docs(components): dialog and drawer header aria-level docs update

* docs(components): change headerAriaLevel type to string

* docs(components): kebab-case for docs
2023-08-24 20:14:59 +08:00
chenweiyi
013809f829
feat(components): [cascader] add max-collpase-tags prop (#13386)
* feat(components): add max-collapse-tags prop

show more than one tag in cascade when multiple enable and use collapse-tags true

* test(test-utils): add unit test for cascader prop 'max-collapse-tags'

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

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

* Update cascader.vue

* refactor(components): [cascader] style lint

---------

Co-authored-by: chenweiyi01 <chenweiyi01@zuoyebang.com>
Co-authored-by: btea <2356281422@qq.com>
2023-08-24 17:34:24 +08:00
wzc520pyfm
f462eab010
docs(components): [transfer] use new display tag (#13033)
* docs(components): [transfer] use new display tag

* docs(components): [transfer] update TransferKey to Array<string|number>

* docs(components): [transfer] directly specify type for TransferDataItem
2023-08-24 12:08:12 +08:00
Kaine
3e7d3ea7d8
docs(components): add attr version tag (#13641)
1. docs(components): [cascader] add version tag for togglePopperVisible expose

2. docs(components): [color-picker] add version tag for show & hide expose

3. docs(components): [date-picker] add version tag for handleOpen & handleClose method

4. docs(components): [dialog] add version tag for align-center atrr

5. docs(components): [dropdown] add version tag for teleported attr

6. docs(components): [form] add version tag for scroll-into-view-options attr

7. docs(components): [image] add version tag for zoom-rate attr

8. docs(components): [input-number] add version tag for readonly attr

9. docs(components): [menu] add version tag for popper-effect attr

10. docs(components): [message-box] add version tag for append-to attr & message function

11. docs(components): [rate] add version tag for clearable attr

12. docs(components): [select-v2] add max-collapse-tags attr

13. docs(components): [select] add version tag for collapse-tags-tooltip & placement

14. docs(components): [table] fix show-overflow-toolip attr version tag

15. docs(components): [time-picker] add version tag for handleOption & handleClose expose

16. docs(components): [tree-v2] add version tag for item-size attr

17. docs(components): [tree] add version tag for empty slot
2023-08-24 07:43:05 +08:00
btea
c6515e09c0
chore: format code (#14037) 2023-08-23 10:33:16 +08:00