Commit Graph

1133 Commits

Author SHA1 Message Date
zz
afaa70d293
fix(components): [date-picker] prevent duplicate pick date (#8588)
* fix(components): [date-picker] prevent duplicate pick

* refactor: mousedown instead of  click

* chore: fix test

* chore: update

* chore: update
2022-07-21 12:12:32 +08:00
LIUCHAO
d3291e3fc4
fix(components): [dialog] fix type error (#8898)
* fix(components): [dialog] fix type error

* fix(components): [dialog] use const assertion
2022-07-20 21:46:18 +08:00
白雾三语
5f041f47a8
fix: [select] label can be displayed correctly after selecting operation (#8589)
* fix: [select] label can be displayed correctly after selecting operation

* fix: [select] label can be displayed correctly after selecting operation

* fix: [select] modify unit test

* fix: [select] modify unit test
2022-07-20 20:47:34 +08:00
LIUCHAO
0efdebceef
fix(components): [rate] fix type error (#8896) 2022-07-20 18:37:04 +09:00
류한경
fbe5990f1c
refactor(components): [descriptions] switch to script-setup syntax (#8349) 2022-07-19 19:21:30 +08:00
Xc
3d311c003c
fix(components): [upload] one-way cannot add attachments (#8877) 2022-07-19 07:32:48 +08:00
gjfei
cf21d1cb52
fix(components): [message] fix message grouping styles (#8809) 2022-07-18 20:05:44 +09:00
Xc
ef22e5db62
feat(components): [tooltip] adjust controlled mode (#8762)
* feat(components): [tooltip] adjust controlled mode
2022-07-17 23:14:51 +08:00
Xc
7258ee3bb2
fix(components): [table] spanMethod check return type (#8844) 2022-07-17 23:14:14 +08:00
dopamine
2287dc3690
fix(components): [virtual-list] throw non-corresponding error message (#8835) 2022-07-17 17:28:26 +08:00
qiang
4b0b051c53
fix(components): [tabs] disabled pane can still be focused (#8600)
* fix(components): [tabs] disabled pane can still be focused

* test(components): [tabs] modify the test

* fix(components): [tabs] hide close button when Tab is disabled

* chore(components): [tabs] optimize code

* fix(theme-chalk): [tabs] the disabled style error
2022-07-16 19:01:03 +08:00
btea
e6e6842805
fix(components): [message] set appentTo value (#8730)
* fix(components): [message] set appentTo value

* feat: update judge
2022-07-15 23:17:28 +08:00
zz
3d96c878bf
fix(components): [timeline] fix type error (#8829) 2022-07-15 13:32:56 +08:00
gjfei
c2ca7cd16a
fix(components): [select] fix select tooltip zIndex (#8768)
* fix(components): [select] fix select tooltip zIndex (#8753)

* fix(components): [select] fix select test

* fix(components): [select] fix select
2022-07-14 23:21:38 +08:00
LIUCHAO
a9e062b75c
refactor(components): [color-picker] use useNamespace (#8722)
closed #8720
2022-07-14 20:22:20 +08:00
LIUCHAO
522c10a263
refactor(components): [transfer] use JSX in Unit test (#8274) 2022-07-14 19:12:59 +09:00
류한경
861ae5d7db
refactor(components): [timeline] use JSX in Unit test (#8339) 2022-07-14 18:33:27 +09:00
LIUCHAO
33fc8e5c4e
refactor(components): [pagination] use JSX in Unit test (#8269)
* refactor(components): [pagination] remove no unused vars
2022-07-13 19:36:55 +09:00
webfansplz
006cc3dc24
fix(components): [focus-trap] maximum call stack size exceeded error (#8218)
* fix(components): [focus-trap] add debounce for emit `focusin` event

* chore: update

* chore: update
2022-07-13 09:50:09 +08:00
gjfei
23b131770e
refactor(components): [container] use JSX in Unit test (#8778) 2022-07-12 20:26:58 +09:00
btea
b64aa94f5e
refactor(components): [popconfirm] remove redundant function (#8786) 2022-07-12 18:03:58 +08:00
Xc
16c126b35e
fix(components): [form-item] clearValidate invalid (#8643) 2022-07-12 00:55:12 +08:00
Xc
59154e639a
fix(components): [tree] allow and node drop-type (#8681) 2022-07-12 00:54:50 +08:00
gjfei
986c57eeb4
fix(components): [cascader] fix namespace (#8719) 2022-07-11 18:06:21 +08:00
msidolphin
d365ad811e
refactor(components): [el-table] using flex to refactor table (#8690) 2022-07-11 02:08:21 +08:00
LIUCHAO
7ad851241c
refactor(components): [dialog] use JSX in Unit test (#8270)
* refactor(components): [dialog] use JSX in Unit test

* fix(components): [dialog] fix type error
2022-07-10 19:40:10 +09:00
Xc
2680d67523
fix(components): [select] automatic-dropdown next focus invalid (#8398) 2022-07-10 18:04:31 +08:00
류한경
2fce0f1d3b
fix(components): [slider] not changed marker style (#8737)
* fix(components): [slider] not changed marker style

* test: add mark props test case
2022-07-10 16:28:45 +08:00
류한경
9d8bad8419
fix(components): [input] fix type error (#8731) 2022-07-10 15:09:50 +08:00
bqy_fe
f850aa28cb
fix(components): [step] className should be is-icon when using icon slot (#8706) 2022-07-09 19:27:31 +09:00
bqy_fe
e939850863
perf(components): [slider] emit UPDATE_MODEL_EVENT only if value changes (#8603) 2022-07-08 21:30:53 +08:00
ashun
20bdf09ea4
fix(components): [select-v2] add null check to filter method (#8537) (#8538)
When options of select-v2 contain null value in their label
Filterable feature won't work and let the web page get stuck
I add null value protection to the method and let it return false
when label includes null
2022-07-08 21:07:27 +08:00
RJW
7f3000aa26
fix(components): [dropdown] fix A11y when tooltip show (#8655) 2022-07-07 23:09:29 +08:00
Xc
468c3a3274
revert(components): [radio] revert input id (#8677)
* Revert "fix(components): [radio] fix typo (#8556)"

This reverts commit b922b9ea01.

* Revert "fix(components): [radio] Divide attrs into label and input (#8476)"

This reverts commit 2d8a9e4256.
2022-07-07 12:06:55 +08:00
류한경
3bacd01ce5
fix(components): [steps] fix type error (#8627) 2022-07-05 08:22:36 +08:00
류한경
5b817d3008
feat(components): [slider] placement (#8561)
* feat(components): [slider] placement

feat: add fallback placements

feat: rename tooltip-placement

refactor: test code

docs: add placement attribute

docs: prettier

* docs: example placement
2022-07-04 22:35:53 +08:00
LIUCHAO
9f42ce8694
fix(components): [date-picker] disabled year not selectable (#8414)
closed #8409
2022-07-04 21:41:15 +08:00
RJW
2486d92d25
fix(components): [dropdown] fix visible-change event delay trigger (#8602) 2022-07-04 11:12:13 +08:00
kooriookami
ae96aedf3c
feat(components): [autocomplete] fit input width (#8596)
* feat(components): [autocomplete] Add fitInputWidth prop

* feat(components): [autocomplete]

* feat: add docs

* feat(components): [autocomplete]
2022-07-03 17:54:40 +08:00
LIUCHAO
819c0fa01f
refactor(components): [steps] use JSX in Unit test (#8259) 2022-07-03 18:15:42 +09:00
bqy_fe
a4e6105827
fix(components): [dialog] make modelValue be an optional property (#8598) 2022-07-03 16:24:23 +08:00
류한경
e9b50baf7d
fix(components): [dialog] remove not used style props (#8325) 2022-07-03 09:37:28 +08:00
qiang
97ad78924b
fix(components): [autocomplete] error message (#8591) 2022-07-03 01:06:36 +08:00
wangzi
26cc00480b
fix(components): [date-picker] fix type of year disabled failure (#8568)
* fix(components): [date-picker]

fix date-picker's type of year disabled failure

closed #8554

* fix(components): [date-picker] fix type of year disabled failure

fix date-picker's type of year disabled failure

closed #8554

Co-authored-by: guowanzi <8750640+guowanzi@user.noreply.gitee.com>
2022-07-02 22:10:53 +08:00
qiang
59392fa194
refactor(components): [tabs] add deprecated mark to activeName (#8590) 2022-07-02 22:06:40 +08:00
류한경
5678464c57
fix(components): [time-picker] Ignore key down if readonly (#8283)
* fix(components): [time-picker] Ignore key down if readonly

* fix(components): [time-picker] Ignore key if readonly
2022-07-02 22:05:22 +08:00
Hefty
72d0bc2177
fix(components): add validate-event for form types component (#8173)
* fix(components): add validate-event for form types component

* chore: format code
2022-07-02 21:01:05 +08:00
sorry
d20e58ecbb
fix(components): [input-number] Fix value decimals miss prop precision (#8587)
* fix(components): [input-number] Fix value decimals miss prop precision
2022-07-02 15:38:07 +08:00
yujinpan
4fe9c2bd6c
fix(components): [TreeSelect] checkbox interaction (#8102)
* fix(components): [TreeSelect] check child when parent checked

* refactor(components): [TreeSelect] move utility functions to utils.ts

* fix(components): [TreeSelect] exclude check event from click node

* fix(components): [TreeSelect] handle dup when `checkOnClickNode`

* feat(components): [TreeSelect] `treeFind` support find parent node

* fix(components): [TreeSelect] show current selected node only first time

* fix(components): [TreeSelect] incorrect node selection condition

* docs(components): [TreeSelect] update checkbox examples and tips

* fix(components): [TreeSelect] incorrect label when data modify
2022-07-02 14:49:21 +08:00
ParkerFiend
609ee571b4
fix(components): [menu] fix infinite flicker after choosing subMenu (#8533)
* fix(components): [menu] fix infinite flicker after choosing subMenu

closed #8525, #8487
2022-07-01 22:01:35 +08:00
三咲智子
2d951a2af7
fix(components): [message] fix z-index & offset (#8582) 2022-07-01 20:19:43 +08:00
zz
b922b9ea01
fix(components): [radio] fix typo (#8556) 2022-07-01 16:16:10 +08:00
Xc
08e02042b7
fix(components): [tabs] name is number 0 become a string (#8469) 2022-06-29 09:11:40 +08:00
Xc
2d8a9e4256
fix(components): [radio] Divide attrs into label and input (#8476)
* fix(components): [radio] the id attribute acts on the input

* fix(components): [radio] labelAttrs save listeners

* fix(components): [radio] the id attribute acts on the input
2022-06-28 22:57:18 +08:00
btea
920f1fc5ee
fix(components): [color-picker] can't select predefine value (#8205) 2022-06-28 21:17:41 +08:00
zz
a894fbf990
refactor(components): [transfer] switch to script-setup syntax (#8343)
* refactor(components): [transfer] switch to script-setup syntax

* chore: improve code

* chore: improve type

* fix: lost reactivity

* chore: fix data error

* chore: simplify code
2022-06-27 22:08:03 +08:00
qiang
598f3ab5cd
feat(components): [autocomplete] expose blur event (#8364)
* feat(components): [autocomplete] expose blur event

* docs(components): [autocomplete] update
2022-06-27 13:39:25 +09:00
류한경
9c154e9228
refactor(components): [only-child] simplify conditions (#8480) 2022-06-27 11:04:25 +09:00
云游君
5d88f628bb
feat(components): [message-box] add autofocus attribute (#8445)
* feat(components): [message-box] add autofocus attribute

* fix: autofocus to be true by default

* docs: message-box autofocus default value

* chore: remove useless comment

* fix: focusStartRef value el
2022-06-26 04:32:05 +08:00
Cheerwhy
5383ef9a0e
fix(components): [select-v2] fix select-v2 dropdown width (#8442)
Co-authored-by: qinzz <qinzz@chint.com>
2022-06-24 22:24:22 +08:00
류한경
272c2e6291
refactor(components): [drawer] replace with addUnit (#8463) 2022-06-24 21:29:39 +08:00
Cheerwhy
4abd29c597
fix(components): [select] fix select dropdown width (#8396) (#8435) 2022-06-24 21:26:10 +08:00
류한경
c6b43df7b3
refactor(components): [popconfirm] changed button type (#8436)
* refactor(components): [popconfirm] changed button type

* docs: changes to attribute kebab case, add accepted values ​

* fix: remove del tag

* fix: remove del tag
2022-06-24 13:58:51 +09:00
zz
6c752f6676
refactor(components): [space] use JSX in Unit test (#8433) 2022-06-23 22:51:10 +08:00
Xc
2b71f2c561
fix(components): [select] multiple init height (#8423) 2022-06-23 01:34:05 +08:00
Lete
65d198f0a0
feat(components): close all messages of the specified type (#8415) 2022-06-22 19:57:43 +08:00
zz
f2e48c1835
perf(components): remove unnecessary const assertions (#8407) 2022-06-22 14:30:13 +08:00
三咲智子
37ed7a15ee
fix(components): [message]: offset (#8379)
* fix(components): [message]: offset

closes #7217, #8368
2022-06-22 09:01:23 +08:00
Hefty
8f0341b310
fix(components): [space] missing empty string size (#8039)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-06-22 00:23:25 +00:00
三咲智子
7097940f4a
refactor: add ts-nocheck and check all files (#8401) 2022-06-22 08:04:42 +08:00
zz
ed174ff73f
refactor(components): [popover] switch to script-setup syntax (#8273) 2022-06-22 01:01:11 +08:00
zz
518db1e240
refactor(components): [slider] use JSX in Unit test (#8225) 2022-06-22 00:43:43 +08:00
zz
b2ad0e823e
refactor(components): [space] refactor (#8386) 2022-06-22 00:42:25 +08:00
Xc
ecadb2f903
refactor(components): [switch] switch to script-setup syntax (#7792) 2022-06-22 00:16:51 +08:00
zz
12396923f0
style(components): [transfer] modify import order (#8345) 2022-06-21 22:38:30 +08:00
小孩可可爱爱
f582165c27
fix(components): [tooltip] not disappear when <keep-alive> change (#8301)
el-tooltip does not disappear when the reference element is in <keep-alive>

closed #8287
2022-06-21 22:34:58 +08:00
三咲智子
786360b7dd
refactor(components): [message] fix typings and switch to script setup (#8378) 2022-06-21 19:50:16 +08:00
류한경
40fa4a4b3e
refactor(components): [descriptions] use JSX in Unit test (#8351) 2022-06-21 02:01:22 +08:00
qiang
bc230e5c23
fix(components): [autocomplete] the popup still appears after select (#8350) 2022-06-19 23:32:20 +08:00
LinZhanMing
9da7564856
fix(components): [message-box] the focus error when used ElMessageBox (#8336)
* fix: issue #8292 MessageBox Customization error focus

* perf: boxType exclude prompt
2022-06-19 12:02:10 +08:00
Xc
d536b7cb7a
fix(components): [select] collapse-tags-tooltip drop first item (#8344)
* fix(components): [select] collapse-tag-tooltip drop first item

* fix(components): [select] collapse-tags-tooltip drop first item test
2022-06-18 18:38:15 +08:00
三咲智子
85226512e1
refactor(components): [upload] use JSX in Unit test (#8268) 2022-06-18 13:48:27 +08:00
三咲智子
10cad1d072
refactor(components): [switch] deprecate value prop (#8335) 2022-06-18 13:48:02 +08:00
류한경
4ac10cfb97
refactor(components): [dialog] using addUnit in the use-dialog (#8304) 2022-06-17 23:25:25 +08:00
xiahouwei
1299d4a88f
fix(components): [tabs] fix change acitve cannot scroll in view (#8332)
fix change active cannot scroll in view

closed #8114
2022-06-17 22:27:54 +08:00
류한경
cf9339567b
refactor(components): [image-viewer] simplify emits type checking (#8329) 2022-06-17 21:37:30 +08:00
LIUCHAO
32b68cccef
fix(components): DOM update finished calculating navOffset (#8221)
closed #7672
2022-06-17 15:29:54 +08:00
三咲智子
73f48ae7a7
fix(components): [upload] two-way binding fileList (#8258) 2022-06-17 15:01:30 +08:00
류한경
efbd80ff80
refactor(components): [scrollbar] simplify emits type checking (#8281) 2022-06-16 05:15:37 +08:00
류한경
eace0489ea
fix(components): [pagination] tab enable error if disabled (#8222) 2022-06-16 00:34:09 +08:00
gjfei
7cb0b45d42
refactor(components): [visual-hidden] visual-hidden (#8192)
* refactor(components): [visual-hidden] visual-hidden

* refactor(components): [visual-hidden] visual-hidden
2022-06-15 21:51:15 +08:00
qiang
73cb5508fb
refactor(components): [collapse-transition] type error (#8247) 2022-06-15 19:59:05 +08:00
renovate[bot]
4a8277ceb3
chore(deps): update all non-major dependencies (#8236)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-06-15 01:48:52 +08:00
류한경
b5887caf44
refactor(components): [page-header] use JSX in Unit test (#8263) 2022-06-15 01:40:09 +08:00
LIUCHAO
04c9ee0523
refactor(components): [skeleton] use JSX in Unit test (#8265) 2022-06-15 01:31:56 +08:00
Flare
3374ab9a1c
fix(components): [virtual-list] fix namespace in virtual-list (#8255)
Co-authored-by: 迪恩 <dien@yottastudios.com>
2022-06-14 20:59:56 +08:00
류한경
810c561f59
refactor(components): [divider] use JSX in Unit test (#8248) 2022-06-14 18:02:41 +08:00
LIUCHAO
93f56832a3
refactor(components): [empty] use JSX in Unit test (#8245) 2022-06-14 18:02:21 +08:00
류한경
674f0f3ced
refactor(components): [icon] use JSX in Unit test (#8249) 2022-06-14 14:55:22 +08:00
ytx
12b6d443c6
fix(components): [checkbox-group] fix Wrong type checking (#8195)
el-checkbox-group uses the emit type of el-checkbox,
resulting in a type check error in the console during development
2022-06-13 21:32:25 +08:00