Commit Graph

3044 Commits

Author SHA1 Message Date
inottn
a661de2482
fix(components): [date-picker] fix the logic of checking the date range (#13377) 2023-08-24 11:20:13 +08:00
inottn
1211312491
fix(components): [select] fix the logic of updating selected data (#13374)
* fix(components): [select] fix the logic of updating selected data

* chore: improve judgment condition
2023-08-23 21:00:31 +08:00
Hefty
788e27eaf4
refactor(components): [upload] remove useless useSlot (#14053)
refactor(components): [upload] remove useless useSlots
2023-08-23 17:34:05 +08:00
qiang
9cee96751c
fix(components): [dropdown] adjust onItemLeave trigger (#13212)
fix(components): trigger focus change when the trigger includes hover

closed #13131
2023-08-22 21:38:05 +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
btea
e69f322b36
chore(components): [autocomplete] fix the comment description error (#13979) 2023-08-18 21:26:33 +08:00
kamesan012
b8e474089b
fix(components): fix the attribute conflict (#13504)
* 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
2023-08-15 23:02:45 +08:00
一只前端汪
95e411ee08
fix(components): [radio checkbox] fix click event triggered twice (#13936)
fix(components): [radio checkbox] @click event triggered twice
2023-08-15 21:44:21 +08:00
dopamine
c731027f9b
fix(components): [table-v2] calculate the width of MainTable in the same way (#13584)
* fix(components): [table-v2] calculate the width of MainTable in the same way

* fix: duplicate properties
2023-08-15 21:01:46 +08:00
btea
4315f02362
test: [button] add comment resolve ts error (#13965)
* test: [button] add comment resolve ts error

* chore: update comment
2023-08-15 19:23:08 +08:00
zepeng
665cc59b19
fix(components): [tree-v2] modify the condition for when the value of currentKey is 0 (#13935)
* 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>
2023-08-14 12:49:36 +08:00
井柏然
067028ba3c
fix(components): [select] backspace delete disabled option (#11995)
* fix(components): [select] backspace delete disabled option

* fix(components): [select] findLastIndex

* fix(components): [select] simple polyfill findLastIndex in test file

* fix(components): [select] add test for backspace

* chore: lint
2023-08-13 21:41:13 +08:00
arvin
5c1306127f
fix(components): [upload] fix empty array error (#13490)
* fix(components): [upload] fix empty array error

在 components/upload/src/ajax.ts 73 行中,如果data 中key对应的value 是空数组的情况下`if (Array.isArray(value)) formData.append(key, ...value)`报错

* fix: reuse isArray

---------

Co-authored-by: btea <2356281422@qq.com>
2023-08-13 10:23:06 +08:00
Karolis_Stoncius_Sneakybox
b9a8879e06
fix(components): [table] add table selection checkbox aria-labels (#13908)
When checkboxes have no label, it causes accessibility issues. This commit adds aria-labels to
table's selection checkboxes
2023-08-12 13:35:58 +08:00
ZheGuangLi
7e81efd999
fix(components): fix the problem that chrome 72 table doesnotdisplaydata (#10640)
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>
2023-08-12 10:00:45 +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
井柏然
3245b4e79f
fix(components): [autocomplete] tooltip offset (#12216)
* fix(components): [autocomplete] tooltip offset

* fix(components): [autocomplete] remove nextTick
2023-08-10 22:15:06 +08:00
Fl
6d4b81e290
test(components): add test case for delay of dialog (#13773) 2023-08-10 22:09:19 +08:00
btea
7663040722
refactor(components): [table] reuse rAF (#13918) 2023-08-10 11:50:15 +08:00
cc-hearts
74e237ce5c
fix(components): [select] fix set value error(#13872) (#13879) 2023-08-10 11:43:17 +08:00
tiansQAQ
c6a6d9bc6e
refactor(components): [form-label-wrap] use getStyle method (#13913) 2023-08-09 20:52:03 +08:00
btea
c886ba44b1
test(components): [tree] custom label and children test case (#13902) 2023-08-08 19:38:22 +08:00
zepeng
b10eae152c
fix(components): [tree] the issue with retrieving childrenKey (#13798)
* fix(components): [tree] the issue with retrieving childrenKey

* Update tree-node.vue

* Update tree-node.vue
2023-08-07 21:31:43 +08:00
Evan Liu
f2b6e1eb2b
chore(components): [date-picker] correct typo in test file (#13876) 2023-08-06 09:27:55 +08:00
init-qy
fe10f7edc0
fix(components): [select] clearIcon did not work with form statusIcon (#13533)
* fix(components): [select] clearIcon not effect with form statusIcon

* fix(components): [select] add computed value

* fix(components): [select] add comment message

* fix(components): [select] add missing import

* refactor: [select] place selectTagsStyle in useSelect

* fix: [select] remove unused export

* fix: compress code

* fix: fix error
2023-08-04 13:19:27 +08:00
qiang
0109ab6195
fix(components): [select] abnormal focus when click tags (#13699)
* 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
2023-08-03 20:15:57 +08:00
zepeng
aa74616721
fix(components): [avatar] set img tag's width attribute (#13844) 2023-08-03 16:51:58 +08:00
acyza
69dcee0a51
fix(components): [cascader] checkbox sync error (#11462)
* fix(components): [cascader] sync error

* fix(components): [cascader] checkbox sync error
2023-08-02 19:22:36 +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
lxy030988
1bd75dd6c9
fix(components): [el-table] rangeWidth dealing with loss of precision (#12938)
* fix(components): [el-table] rangeWidth use Math.ceil

Closes #12687

* fix(components): [el-table] rangeWidth calculate

Closes 12938

* fix(components): [el-table] offsetWidth calculate

Closes #12938
2023-07-30 08:59:28 +08:00
btea
b765ebfa80
feat(components): [switch] add custom action icon prop (#13746) 2023-07-30 08:44:46 +08:00
Fl
4515023c40
test(components): [button] add test cases for using props of form and form-item (#13726)
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
2023-07-29 22:18:45 +08:00
btea
93b230166c
fix(components): [date-picker] disable button if now is disabled (#13655)
* fix(components): [date-picker] disbale button if now is disabled

* fix: test

* chore: add test
2023-07-29 19:21:48 +08:00
dopamine
b0258f6c3e
chore(components): [date-picker] export instasnce type (#13618)
* chore(components): [date-picker] export instasnce type

* move DatePickerInstance to instance.ts
2023-07-29 12:20:17 +09:00
Evan Liu
55272b51c3
chore(components): [input] fix inputStyle comment typo (#13768) 2023-07-29 08:55:02 +08:00
qiang
014a99e3e7
fix(hooks): [use-focus-controller] remove unnecessary role attributes (#13749)
fix(hooks): [a11y] remove unnecessary role attributes
2023-07-28 21:25:33 +08:00
A pessimistic guide to living
0697a036f3
fix(components): [collapse-transition] remove redundant code (#13715)
fix(components): [collapse-transition]
2023-07-26 09:41:13 +08:00
井柏然
f93a9eb6cd
fix(components): [cascader] reactive size change (#12294)
* fix(components): [cascader] reactive size change

* fix(components): [cascader] update style after calc

* fix(components): [cascader] add test

* fix(components): [cascader] mock offsetHeight

* fix(components): [cascader] size type

* fix(components): [cascader] spy on getter for height

* fix(components): [cascader] mock css var

* fix(components): [cascader] add comment
2023-07-23 20:30:23 +08:00
dopamine
ee705e5c2d
chore: prevent warnings while running test cases (#12189)
* chore: prevent warnings while running test cases

* fix: overlook a test case
2023-07-22 23:19:33 +08:00
zepeng
49e6cc33c5
fix(components): [row] align="top" is not working properly (#13550)
* fix(components): [row] align='top' is not working properly

* fix(components): [row] align="top" is not working properly
2023-07-22 19:53:30 +08:00
qiang
a434afd739
fix(theme-chalk): [menu] the popup menu has 2px border at the bottom (#13695) 2023-07-22 19:52:09 +08:00
qiang
9900f2aaeb
refactor(components): [menu] adjust default value of fallbackPlacements (#13696)
closed #13682
2023-07-22 19:44:23 +08:00
xiaoming
05caa04966
fix(components): [select] fix for confusing click behaviour (#13664)
fix(components): [select] fix for confusing click behaviour (#13642)
2023-07-22 17:02:45 +08:00
YangtzeCoder
708f6ab5b8
refactor(components): [upload] fix the type of file (#13637)
change the type of UploadRequestOptions.file from File to UploadRawFile
2023-07-22 11:56:38 +09:00
init-qy
4e7f9b908b
fix(components): [autocomplete] improve a11y (#12647)
* fix(components): [autocomplete] improve a11y

* fix(components): add a11y tests

* fix: lint
2023-07-22 08:52:57 +08:00
wonderl17
b1572a9c17
fix(components): [table] add filteredValue watcher (#13121) 2023-07-22 08:49:23 +08:00
fengmingjian
ec61c7b068
fix(components): [focus-trap] Fixed the function that removed the listener (#13158)
fix(components): [focus-trap]

correct-error-listening

closed #13128

Co-authored-by: fengmingjian <fmj@hanzhisoft.com>
2023-07-22 08:48:01 +08:00
matto
493790f95f
fix(components): [tree] fix expand-icon.is-leaf prevent click event (#13616) 2023-07-20 20:22:16 +08:00