Commit Graph

2352 Commits

Author SHA1 Message Date
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
renovate[bot]
ca56e64fa3
chore(deps): update all non-major dependencies (#8484)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-28 06:34:17 +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
zz
5c0e1b9686
fix(components): [popover] fix dark mode background color (#8133)
* fix(components): [popover] fix dark mode background color

* chore: improve code
2022-06-25 20:57:06 +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
류한경
49bc137430
fix(theme-chalk): [pagination] style if selected value is disabled (#8447) 2022-06-24 17:30:25 +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
Xc
e02c950309
style(components): [select] options disabled hover bg (#8266) 2022-06-16 21:19:21 +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
Xc
7644a5e781
style(components): [button] text-button bg mode add focus (#8232) 2022-06-14 20:13:59 +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
Hefty
cef95d24cc
fix(components): [date-picker] validateEvent prop not work (#8194) 2022-06-13 20:02:04 +08:00
류한경
3b315b384d
refactor(components): [tag] use JSX in Unit test (#8233) 2022-06-13 15:02:36 +08:00
류한경
2f51379756
refactor(components): [overlay] use JSX in Unit test (#8227) 2022-06-13 14:58:41 +08:00
류한경
39f122228b
refactor(components): [result] use JSX in Unit test (#8230) 2022-06-13 14:57:29 +08:00
LIUCHAO
932ff0c064
fix(components): [time-picker] template type assertion (#8237) 2022-06-13 14:56:01 +08:00
btea
bf2d671142
refactor(components): [input] fix ts error (#8200) 2022-06-13 14:49:18 +08:00
류한경
0c597a63ef
fix(theme-chalk): [col] remove float property (#8220) 2022-06-13 09:13:55 +08:00
qiang
d0cbc1f387
refactor(components): [carousel] complete optional values (#8231) 2022-06-13 09:12:41 +08:00
三咲智子
9bc89d089d
refactor(utils): import path (#8235) 2022-06-13 09:11:23 +08:00
Carter Li
1aa9d43129
refactor(components): [switch] Simplify color handling (#8199)
1. Use CSS variables to set `(in)activeColor` in order not to modify DOM
2. Deprecate property `(in)activeColor` in favor of CSS variables
2022-06-12 22:40:53 +08:00
Xc
1702a20214
style(components): [button] focus-visible (#8224)
* style(components): [button] link-button add focus/focus-visible/active
2022-06-12 15:43:15 +08:00
webfansplz
ab88ec505a
fix(components): [table-v2] column's min-width should work normal (#8226) 2022-06-12 11:39:00 +08:00
zz
1975aa24fe
refactor(components): [slider] switch to script-setup syntax (#8008) 2022-06-12 08:32:54 +08:00
LIUCHAO
460c55c846
fix(components): inputNumber cursor offset up (#8193)
Add input[type='number'] line-height: 1

closed #8181
2022-06-12 03:01:17 +08:00
gjfei
a920e1577c
fix(components): [date-picker] valid value error (#8187) 2022-06-11 22:26:01 +08:00
류한경
df5ba0fffd
fix(components): [pagination] improved keyboard accessibility (#8107)
* fix(components): [pagination] improved keyboard accessibility

* refactor(components): [pagination] change arguments type

* refactor(components): [pagination] change camel case
2022-06-11 19:52:35 +08:00
Jeremy
4ef054488a
Refactor/time picker refactor to setup (#8191)
* chore: refine code

* chore(build): [time/date-picker] type unsafe

* Remove `time/date-picker` entry from typing list.

* refactor(components): [time-picker] utilities

* Refine typing for utilities.
* Extract common props.

* chore: fix typing

* chore: fix typing

* chore: refine code

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-06-11 19:27:36 +08:00
Xc
9fc83271a3
style(components): [button] link button add focus-visible css (#8214) 2022-06-11 12:04:28 +08:00
qiang
d10b02b422
fix(components): [image] position styles error when used slots (#8109)
* fix(components): [image] position styles error when used slots

* feat(components): [image] hide image on load

* feat(components): [image] load emit
2022-06-09 10:23:58 +08:00
沐林森13
50efff225c
fix(components): [table] fix namespace in table's expand icon (#8162)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-06-09 02:08:37 +08:00
Jeremy
640842bbe0
refactor(components): [time-picker] constants (#8170)
* refactor(components): [time-picker] constants

* Relocate the constants and utils.

* chore: remove expression `instanceof`

* chore: refine code

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-06-08 16:20:45 +08:00
LIUCHAO
9a961425b5
fix(components): picker-panel not pop up when disabled/readonly (#8139)
closed #8139
2022-06-08 16:13:45 +08:00
gjfei
884b0d71b7
fix(components): [time-picker] filter invalid value (#8119) 2022-06-08 11:16:44 +08:00
류한경
470286097f
fix(components): [collapse-item] If disabled, no focus (#8081) 2022-06-08 09:33:09 +08:00
류한경
94808e8ec9
fix(components): [input] hide eye icon if no value (#8096) 2022-06-08 09:24:15 +08:00
류한경
4c34660c59
fix(components): [switch] tabindex property doesn't work (#8101) 2022-06-08 09:23:49 +08:00
류한경
53ace00e11
fix(components): [tag] awrong disable-transitions condition (#8161) 2022-06-08 09:23:02 +08:00
Jeremy
5b233da008
refactor(components): [time-picker] time-picker (#8160)
* refactor(components): [time-picker] time-picker

* Refactor `time-picker` to tsx.

* chore: refactor  to script setup

* chore: fix typing issue in `picker`

* chore: fix API exposing

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-06-08 09:17:23 +08:00
Hefty
6b6c5a4a87
fix(components): [form] catch validation error when changing rules (#8154) 2022-06-08 02:42:31 +08:00
Carter Li
8413f8ea31
refactor(components): use useResizeObserver (#8124) 2022-06-08 02:04:48 +08:00
renovate[bot]
697ac8c94b
fix(deps): update all non-major dependencies (#7847)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-06-07 17:36:24 +00:00
류한경
339f9680b3
refactor(components): [alert] delete unnecessary code (#8129) 2022-06-07 21:53:30 +08:00
qiang
740f829acd
fix(components): import dayjs by a more compatible way (#8144) 2022-06-07 21:53:05 +08:00
Jeremy
9f5aae64ea
fix(components): [select-v2] remove private API (#8145)
* fix(components): [select-v2] remove private API

* Refactor `select-menu` to `tsx`.
* Remove usage for `h` renderer
* Fix write operation for readonly computed.

* chore: make select-dropdown as tsx

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-06-07 17:23:12 +08:00
三咲智子
edaa6f6bc9
fix: vue app typing (#8137)
closes #8122
2022-06-07 13:44:57 +08:00
Faizal Andyka
b34ca0fb0c
refactor(components): [link] use JSX in Unit test (#8140) 2022-06-07 13:08:21 +08:00
Jeremy
80c6eebd12
refactor(components): [time-picker] basic-time-spinner (#8132)
* refactor(components): [time-picker] basic-time-spinner

* Refactor `basic-time-spinner` to script setup.

* refactor(components): [time-picker] basic-time-spinner

* Resolve typing issues in `basic-time-spinner`.
* Extract code from `basic-time-spinner`.

* chore: remove parallel

* chore: set node space size

* chore: remove parallel jobs

* chore: update pr-docs-build.yml

* chore: revert remove parallel

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-06-06 22:02:56 +08:00
Jeremy
beacaf6ce4
refactor(components): [time-picker] script setup (#8128)
* refactor(components): [time-picker] panel-time-range

* Refactor `panel-time-range` to script setup.

* refactor(components): [time-picker] panel-time-range

* Fix typing issues in `panel-time-range`.
* Extract common code to `use-time-panel`.

* refactor(components): [time-picker] panel-time-picker

* Replace duplicated logic with `use-time-panel`.

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-06-06 17:35:10 +08:00
qiang
f8547411e5
fix: the type extends error (#8106) 2022-06-06 15:53:33 +08:00
Jeremy
207baf89c4
refactor(components): [time-picker] panel-time-pick (#8115)
* Refactor `panel-time-pick` to script setup.

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-06-06 11:53:56 +08:00
Jeremy
364014a35a
refactor(components): [time-picker] props (#8108)
* Extract props to separate files.

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-06-06 09:05:41 +08:00
Jeremy
6cde29f559
refactor(components): [date-picker] basic-date-table (#8095)
* Refactor `basic-date-table` to script setup.

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-06-05 21:03:24 +08:00
Xc
68d858faa0
fix(components): [date-picker] circular dependency (#8093) 2022-06-05 00:38:06 +08:00
zhyipeng
2aa8716578
fix(components): [date-picker] fix style: range-editor padding (#8057) 2022-06-04 22:17:41 +08:00
三咲智子
1435581c0c
fix(build): tree shaking (#8088) 2022-06-04 14:12:38 +00:00
Jeremy
4662a37bbe
refactor(components): [date-picker] basic-month-table (#8053)
* Refactor `basic-month-table` to script setup.

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-06-04 21:40:52 +08:00