fix(components): [useSelect.ts] selected.slice is not a function
select In the case of radio, the packaged code will report select. slice is not a function, because the radio selected is an object, and the object does not have the api of slice
* 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
* 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
* 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>
* docs(components): [transfer] use new display tag
* docs(components): [transfer] update TransferKey to Array<string|number>
* docs(components): [transfer] directly specify type for TransferDataItem
* 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
* fix(components): fix the attribute conflict
When value is input by shortcut, it's value will not be changed by defaultTime anymore
closed#13483
* fix(components): change param to pass the test
* fix(components): delete unnecessary changes
* fix(components): use let to replace ref variable
* fix(components): add test cases
* modify the condition for when the value of currentKey is 0
* add a test case
* add a test case
* add a test case
* Update packages/components/tree-v2/__tests__/tree.test.ts
Co-authored-by: btea <2356281422@qq.com>
* Update packages/components/tree-v2/__tests__/tree.test.ts
Co-authored-by: btea <2356281422@qq.com>
* Update packages/components/tree-v2/__tests__/tree.test.ts
Co-authored-by: btea <2356281422@qq.com>
---------
Co-authored-by: btea <2356281422@qq.com>
Fix the problem that the chrome 72 tab table does not display data. This is caused by the fact that
the extension operator becomes an empty object in a special scenario
BREAKING CHANGE :
The writing method of shallow copy is replaced
closed #8770,#9071,#7038
Co-authored-by: btea <2356281422@qq.com>
* fix(components): [select] abnormal focus when click tags
closed#13665
* fix(components): [select] clearable
* chore(components): [select] remove console
* fix: the setTimeout function may bring some side effects
* fix: remove role
* test(components): [select] add some test
test(components): add test cases for using props of form and form-item
add case for using size and disabled from form
add case for using size from form-item