Commit Graph

1708 Commits

Author SHA1 Message Date
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
zepeng
bb2cf0bfe9 chore(docs): updating the implementation of the theme switch button (#14014)
* chore(docs): updating the implementation of the theme switch button

* chore(docs): updating the implementation of the theme switch button

* chore(docs): updating the implementation of the theme switch button
2023-08-22 16:40:26 +08:00
wzc520pyfm
37f40dc9cc docs(components): [select] use new display tag (#13301)
* docs(components): [select] use new display tag

* docs(components): [select] description and comment begins in lower case

* docs(components): [select] update type of prop and event
2023-08-21 21:08:24 +08:00
Jackie
9b75335c39 docs(components): [form] modify props description (#13950)
* docs(components): [form] update prop's type

* fix(components): [form] modify props description

---------

Co-authored-by: lvjiaqi <lvjiaqi@itcast.cn>
2023-08-11 21:17:53 +08:00
btea
a8324ca421 refactor: [date-picker] rename time-arrow-control (#13651)
* refactor: [date-picker] remove time-arrow-control

* docs: rename time-arrow-control
2023-08-11 20:51:34 +08:00
uxuip
564476b064 feat(components): [card] add body class (#11869)
* feat(components): [card]  add body class

* fix(components): [card] remove default value

* fix(components): [card] modify description
2023-08-10 22:23:04 +08:00
Tommy
b055a0759d fix(docs): [table-v2.md] corrected en-US grammar, spelling, readability (#13900)
* fix(docs): [table-v2.md] corrected en-US grammar, spelling, readability

* fix(docs): [table-v2.md] resolved feedback

* fix(docs): [table-v2.md] resolved feedback, further improvements
2023-08-10 07:09:02 +00:00
Rhon Joe
ec639c4d14 docs: fix official migration reference link (#13911)
fix(docs): fix official migration reference link
2023-08-09 13:41:50 +08:00
Jungzl
40b607f9ac docs(components): [pagination] correct text & icon priority (#13743)
* docs(components): [pagination] correct text & icon priority

* docs(components): [pagination] improve description
2023-08-07 10:13:58 +08:00
btea
82c7de1e77 docs: fix example ts error (#13849) 2023-08-04 21:22:13 +08:00
btea
ff87efdb95 docs: logo and parallax add drop-shadow (#13833) 2023-08-03 21:37:36 +08:00
kooriookami
3ba7babc74 Doc/figma (#13804)
* docs: update resource page

* docs: update

* docs: update

* docs: update
2023-08-03 16:55:02 +08:00
btea
18c1c77030 docs(components): [switch] add version tag & fix typo (#13771)
* docs(components): [switch] add version tag & fix typo

* chore: add tag
2023-07-31 18:21:42 +08:00
Jungzl
e69928e917 docs: align ::marker and anchor on the same line in firefox (#13752) 2023-07-31 17:57:41 +08:00
btea
b765ebfa80 feat(components): [switch] add custom action icon prop (#13746) 2023-07-30 08:44:46 +08:00
zepeng
b80aa41c43 docs(components): [row] remove the default value of align (#13562) 2023-07-22 19:53:52 +08:00
btea
d4ffc4f644 docs(components): [drawer] (#13677) 2023-07-22 17:19:19 +09:00
qiang
22de9e06bd docs(build): add required attribute to the tag plugin (#13691) 2023-07-22 08:38:38 +08:00
btea
6e2a13c93f chore(docs): format message-box (#13676) 2023-07-21 10:52:21 +08:00
wzc520pyfm
77125639d3 docs(components): [dialog] use new display tag (#13499)
* docs(components): [dialog] use new display tag

* chore(components): [dialog] remove the incorrect deprecated comment
2023-07-20 20:09:07 +09:00
xy
972c8f4ef4 docs(components): [table-v2] update the type description for Events (#13362) 2023-07-20 16:25:33 +08:00
btea
c4d8270296 docs: [input] list the acceptable values of type (#13644) 2023-07-19 19:13:41 +09:00
zepeng
6256bde3a0 docs(components): [tree-v2] add some disabled nodes (#13484)
* docs(components): [tree-v2] add some disabled nodes

* docs(components): [tree-v2] add some disabled nodes
2023-07-06 20:06:34 +09:00
btea
a5970049d5 docs(components): [message-box] (#13470) 2023-07-05 21:17:47 +08:00
btea
2c605cb794 chore: format code (#13467) 2023-07-04 21:40:46 +08:00
btea
2e00d65568 docs: tooltip set max-width (#13462) 2023-07-04 17:47:33 +09:00
754664196
ff6db7dcf7 docs: [progress] remove useless style (#13465)
docs(docs):circular-progress-bar文档出现了多余的css信息

Co-authored-by: HeZhi <zhi.he@caijai.com>
2023-07-04 15:10:31 +08:00
0song
fbc93807de chore: update doc (#13440) 2023-07-01 04:01:32 +00:00
qiang
37e0b10e80 fix(theme-chalk): [form] remove default width of Input in inline form (#13375) 2023-06-30 21:56:03 +08:00
0song
0a358d6570 chore: update doc (#13434) 2023-06-30 20:28:52 +08:00
vaebe
ce54791338 docs(components): [dialog] add description of props modal-class (#13122) 2023-06-23 11:23:30 +09:00
wonderl17
06f974b311 fix: correct sass map has-key parameter (#13132)
fix: correct map.has-key using
2023-06-22 15:55:50 +08:00
zepeng
8558957b28 docs(components): [image] update image slot viewer description (#13325) 2023-06-22 12:51:53 +08:00
0song
1ff22aa97a chore: update doc site (#13291) 2023-06-19 12:10:07 +00:00
yuyin
b9799a1914 feat(components): [Table] add show-overflow-tooltip props (#13169)
* feat(components): [Table] add show-overflow-tooltip props

* docs(components): [Table] add usage for show-overflow-tooltip

* fix(components): [TableColumn] props priority

* test(components): add unit test for table
2023-06-17 21:30:53 +08:00
Wu Rui
e416826fae fix(components): [calendar] improve types (#13165) 2023-06-15 01:10:36 +08:00
wuyadan
9921c64f7e docs(components): [select-v2] correct the description of placeholder (#13200)
Co-authored-by: ut002528 <wuyadan@uniontech.com>
2023-06-14 20:53:55 +08:00
Wu Rui
01f74e7536 fix(components): [form] improve types (#12549)
* fix(components): [form] improve types

* fix(components): [form] improve FormRules type, support object and array

* fix(components): [form] improve FormRules type with comment

* fix(components): [form] allow number as key in FormRules type

* chore(components): [form] fix FormRules type example

* chore: remove extra import

* chore: update form/custom-validation and form/validation examples

* chore(components): [form] update example
2023-06-11 20:36:27 +08:00
Xc
d4d24eb9d7 docs(components): [dialog] add deprecated describe (#13143) 2023-06-08 21:46:58 +08:00
wuyadan
615efbe1be docs(components): [progress] mark the versions of striped & striped-flow (#13116)
Co-authored-by: ut002528 <wuyadan@uniontech.com>
2023-06-08 09:38:42 +08:00
qiang
627d408e66 feat(theme-chalk): [form] add default width to Input in inline form (#12897)
* feat(theme-chalk): [form] add default width to Input in inline form

* docs: add clearable attributes to Input

* docs: add a description of the Input width
2023-06-06 16:18:37 +08:00
wzc520pyfm
6b8b0627db docs(components): [switch] use new display tag (#12678)
* docs(components): [switch] use new display tag

* style(components): [switch] update the batch deprecate

* docs(components): [switch] delete deprecated attributes
2023-06-06 08:10:47 +08:00
wzc520pyfm
bac64b4801 docs(components): [time-picker] use new display tag (#12691)
* docs(components): [time-picker] use new display tag

* docs(components): [time-picker] update default of attributes
2023-06-04 12:58:31 +08:00
wzc520pyfm
abd6faecc3 docs(components): [image] update class by computed and new docs (#13024)
* docs(components): [image and image viewer] use new display tag

* refactor(components): [image | image-viewer] set class by computed

* docs(components): [image] update head of image viewer exposes
2023-06-03 20:54:43 +08:00
wzc520pyfm
5d0fa75793 docs(components): [form] use new display tag (#13007)
* docs(components): [form] use new display tag

* refactor(components): [form] update boolean default of attribute
2023-06-03 10:57:02 +09:00