Commit Graph

1062 Commits

Author SHA1 Message Date
류한경
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
류한경
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
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
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
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
Jeremy
074c94ff3b
fix(components): [time-picker] picker missing (#8082)
* Fix picker went missing when clear date.
* Add test for changes.

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-06-04 21:40:09 +08:00
류한경
ec498d38b5
refactor(components): [badge] remove unnecessary condition (#8073) 2022-06-04 15:30:31 +08:00
류한경
c62730071e
refactor(components): [tag] add event modifier (#8075) 2022-06-04 15:29:44 +08:00
류한경
a8897ebce9
fix(components): [timeline-item] props validation (#8083) 2022-06-04 15:29:12 +08:00
Giwayume
1758b12c7d
Fix/focus trap datepicker pick (#8085)
* fix(components): [focus-trap] escape while trapped

* fix(components): [date-picker] click to reopen while focused input

Co-authored-by: OpenGraphica <opengraphica@gmail.com>
2022-06-04 14:58:01 +08:00
三咲智子
b750aa87e7
fix(components): [upload] beforeUpload hook (#8079) 2022-06-04 10:50:17 +08:00
btea
25f037338d
fix(components): [loading] fix typo (#8074) 2022-06-04 10:03:54 +08:00
一昂
18891d79e9
test(components): [checkbox] add data type (#8077) 2022-06-03 22:41:26 +08:00
Xc
936a20d3a2
fix(components): [form] resetFields object error (#8067) 2022-06-03 12:08:45 +08:00
Jeremy
6e8ea0c44a
fix(components): [popper] contextual menu (#8054)
Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-06-03 09:03:03 +08:00
류한경
90702b591e
test(components): [card] correct shadow props (#8059) 2022-06-03 09:01:47 +08:00
류한경
f7d24cbc0b
refactor(components): [radio] separate hooks (#8065) 2022-06-03 08:59:39 +08:00
류한경
63cbc59e2a
test(components): [card] add optional chaining (#8058) 2022-06-03 01:40:44 +08:00
류한경
86ef8abbb7
refactor(components): [input-number] convert to a constant (#8066) 2022-06-03 01:39:00 +08:00
Jeremy
2b915c7457
refactor(components): [date-picker] basic-year-table (#8045)
* Refactor `basic-year-table` to script setup.

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-06-02 03:26:42 +00:00
msidolphin
742bc0d192
fix(components): [el-table] hide tooltip when table is scrolling (#8012) 2022-06-02 10:58:44 +08:00
LIUCHAO
e0821baa8d
test: add property "testData" on instance (#8037) 2022-06-02 02:54:54 +00:00
Jeremy
809923ceb1
refactor(components): [date-picker] panel-date-pick (#8043)
* Simplify code.

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-06-02 10:54:31 +08:00
류한경
cffae110ae
refactor(components): [avatar] use JSX in Unit test (#8021) 2022-06-01 17:32:23 +08:00
zz
b4a89eba0c
fix(components): [scrollbar] expose wrap ref (#8035) 2022-06-01 16:48:43 +08:00
opengraphica
6359538a45
fix(components): [focus-trap] popper input focus (#8025)
* fix(components): [focus-trap] fix reclaim focus for paused layer

* fix(components): [focus-trap] remove async
2022-06-01 15:05:36 +08:00
qiang
60cd22b890
feat(components): [image] support native lazy loading (#7968) 2022-06-01 13:21:05 +08:00
류한경
19aa8ca424
refactor(components): [layout] use JSX in Unit test (#8020) 2022-06-01 13:08:19 +08:00
Xc
40fb6b8303
refactor(components): [radio] use JSX in Unit test (#8019) 2022-06-01 13:08:01 +08:00
류한경
f6094a918e
refactor(components): [progress] use JSX in Unit test (#8022) 2022-06-01 13:05:32 +08:00
류한경
a9766220a6
refactor(components): [button] use JSX in Unit test (#8024) 2022-06-01 13:02:18 +08:00
Xc
4339802fed
fix(components): [select] input height is 2px more (#7958)
* fix(components): [select]  input height is 2px more

* fix(components): [select] inner input height

* fix(components): [select] inner input height
2022-05-31 23:41:36 +08:00
Jeremy
97eae00e65
refactor(components): [date-picker] panel-date-pick (#8011)
* refactor(components): [date-picker] panel-date-pick

* Enhance typing.

* chore: restore handle shortcut click

* chore: fix format

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-05-31 16:40:19 +08:00
opengraphica
cced377628
fix(components): [picker] Click to focus fires emit (#8001) 2022-05-31 10:04:45 +08:00
zz
54efcfbdfd
refactor(components): [scrollbar] switch to script-setup syntax (#7986) 2022-05-31 07:55:03 +08:00
zz
eb9d7c99a5
refactor(components): [scrollbar] use JSX in Unit test (#7987) 2022-05-31 05:42:28 +08:00
Jeremy
efd6c2b2a7
refactor(components): [date-picker] panel-date-pick (#7998)
- Refactor `defineComponent` to script `setup`.

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-05-30 21:22:03 +08:00
Jeremy
eb599f8f65
refactor(components): [date-picker] range picker (#7994)
- Encapsulate shared code to reduce duplication.

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-05-30 20:15:04 +08:00
Hefty
889a440a58
refactor(components): [row] switch to script-setup syntax (#7961)
* refactor(components):[row] switch to script-setup syntax

* refactor(components): [row] export const type
2022-05-30 16:35:18 +08:00
류한경
72bc196adf
refactor(components): [steps] validate values ​​and export values (#7947) 2022-05-30 11:57:41 +08:00
opengraphica
af732b124b
feat(components): [dropdown] a11y (#7946)
* feat(components): [dropdown] always use button trigger

* feat(components): [dropdown] a11y unit tests

* feat(components): [dropdown] pr comments
2022-05-30 11:51:25 +08:00
Hefty
57ac1e605e
refactor(components): [col] switch to script-setup syntax (#7971) 2022-05-30 11:14:58 +08:00
三咲智子
6e60279753
fix(image-viewer): typescript error (#7938) 2022-05-30 10:45:07 +08:00
zz
286786e348
refactor(components): [config-provider] use JSX in Unit test (#7980) 2022-05-30 10:36:10 +08:00
zz
ac31116c3b
refactor(components): [config-provider] export component instance type (#7979) 2022-05-30 10:33:49 +08:00
三咲智子
20317b9c02
fix(components): [collection] type error (#7940) 2022-05-30 10:27:16 +08:00
Xc
a9842c26c2
refactor(components): [popconfirm] use JSX in Unit test (#7969) 2022-05-30 09:39:31 +08:00
Xc
903c20335a
refactor(components): [popconfirm] export instance type (#7967) 2022-05-30 09:39:12 +08:00
Xc
25313f1075
refactor(components): [badge] use JSX in Unit test (#7972) 2022-05-30 09:38:54 +08:00
Xc
01e5225798
refactor(components): [alert] use JSX in Unit test (#7973) 2022-05-30 09:38:12 +08:00
opengraphica
652333e395
fix(components): [tree] remove form item context (#7956) 2022-05-30 09:15:45 +08:00
Jeremy
39e273fbdb
refactor(components): [date-picker] month range (#7948)
- Use composable `use-range-picker`.
- Remove duplicated code.

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-05-30 09:03:05 +08:00
qiang
21a1c24f58
fix(components): [table] the scrollbar not change (#7905) 2022-05-30 08:35:28 +08:00
三咲智子
3adb0f2077
refactor(component): improve code (#7959) 2022-05-29 09:42:31 +08:00
류한경
e757409852
refactor(components): [affix] props and emits validation (#7945)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-05-29 06:24:45 +08:00
banbri
07cae24985
fix(components): [date-picker] Make shortcuts reactive (#7698) 2022-05-28 20:14:43 +00:00
Xc
0c1ed4c133
refactor(components): [progress] switch to script-setup syntax (#7795) 2022-05-29 03:58:05 +08:00
zz
ffd83fda93
refactor(components): [input-number] switch to script-setup syntax (#7888) 2022-05-29 03:55:04 +08:00
류한경
ca658915dd
refactor(components): [collapse-transition] switch to script-setup syntax (#7953) 2022-05-29 03:51:06 +08:00
btea
0c2f5bc56f
refactor(components): [tooltip] transition use useNamespace (#7950) 2022-05-29 03:50:01 +08:00
류한경
6af6ce8e0c
refactor(components): [rate] props and emits validation (#7949) 2022-05-29 03:49:27 +08:00
iamkun
dd0f8bcf3c
refactor: add useMonthRangeHeader hook (#7936) 2022-05-28 13:04:36 +08:00
zz
cce4694eb8
refactor(components): [input-number] use JSX in Unit test (#7890) 2022-05-28 09:13:34 +08:00
JeremyWuuuuu
bea3b1e7d7
refactor(components): [date-picker] date-range (#7931) 2022-05-27 21:19:42 +08:00
JeremyWuuuuu
c28a26800a
refactor(components): [date-picker] basic cell (#7924)
- Refactor `h` function to `jsx`.
- Extract props out of `basic-cell-render`
2022-05-27 17:33:19 +08:00
JeremyWuuuuu
eb07d7c7ac
refactor(components): [time-picker] date-picker (#7923)
- Refactor date-picker with tsx.
- Move injection key to tokens bundle.
- Add entry for type `dates`.
- Update provide content for root picker.
2022-05-27 15:46:05 +08:00
JeremyWuuuuu
3c0496f1a8
refactor(components): [time-picker] setup migration (#7908)
* refactor(components): [time-picker] setup migration

- Migrate panel-month-range to setup

* chore: remove return expression

* chore: change Array.isArray to isArray

* chore: remove required parsedValue
2022-05-27 13:55:03 +08:00
Giwayume
b6049dab1c
fix(components): [focus-trap] respect focusout null relatedTarget (#7915)
* fix(components): [focus-trap] respect focusout null relatedTarget

* fix(components): [focus-trap] use right variable this time

Co-authored-by: OpenGraphica <opengraphica@gmail.com>
2022-05-27 12:15:03 +08:00
云游君
49ed2f6907
refactor(components): useNamespace for date-picker (#7911) 2022-05-27 11:45:04 +08:00
JeremyWuuuuu
4177e54964
refactor(components): [date-picker] extract props (#7899)
* refactor(components): [date-picker] extract props

- Extract props for panel-month-range

* chore: remove unused type
2022-05-26 15:12:17 +08:00
JeremyWuuuuu
ad262520cf
chore(components): [date-picker] extract props (#7895)
* Extract shared props for picker/range

* Restore parsedValue

* Update commit picker
2022-05-26 13:06:00 +08:00
zz
efdab3ba8b
refactor(components): [input-number] export component instance type (#7886)
* refactor(components): [input-number] export component instance type

* chore: fix props
2022-05-26 02:31:52 +00:00
류한경
ce54397999
refactor(components): [result] switch to script-setup syntax (#7891) 2022-05-26 07:54:38 +08:00
Anas Boudih
1069e9ff34
refactor(components): [time-select] switch to script-setup syntax (#7833)
* refactor(components): [time-select] switch to script-setup syntax

* fix(components): [time-select] fix typing

* fix(components): [time-select] fix props reviews

* fix(components): [time-select] fix props and build

Co-authored-by: metanas <matanas@pre-history.com>
2022-05-25 23:06:12 +08:00
JeremyWuuuuu
66a6d0dc70
chore(components): [date-picker] extract props (#7894)
- Extract props on basic-year-table
- Update the function signature of utils.castArray
2022-05-25 23:05:17 +08:00
JeremyWuuuuu
607819c54a
feat(components): [date-picker] extract props (#7893)
- Extract props from basic-month-table.
- Extract common props to shared.
2022-05-25 22:39:30 +08:00
JeremyWuuuuu
46174bc411
refactor(components): [date-picker] extract props (#7884)
- Extract props for basic-date-table.vue
2022-05-25 12:46:12 +08:00
三咲智子
cb3cfa06ad
chore: upgrade @vue/test-utils (#7877) 2022-05-25 12:05:50 +08:00
Zivvvv
ec8ac5e47b
fix(components): [date-picker] fix error when type="daterange" (#7858) 2022-05-25 11:41:12 +08:00
Xc
8ef2bf70e2
refactor(components): [checkbox-button] switch to script-setup syntax (#7827) 2022-05-24 16:51:19 +08:00
Xc
452f9fc4f9
refactor(components): [checkbox-group] switch to script-setup syntax (#7825)
* refactor(components): [checkbox-group] switch to script-setup syntax

* refactor(components): [checkbox-group] switch to script-setup syntax

* refactor(components): [checkbox-group] switch to script-setup syntax
2022-05-24 15:49:12 +08:00
qiang
0600f27af5
fix(components): [loading] namespace (#7857) 2022-05-24 15:25:46 +08:00
류한경
4ae21b0632
fix(components): [form] label-position props default value (#7838) 2022-05-24 14:01:52 +08:00
btea
769148b780
fix(components): [dialog] set destory-on-close drag position abnormal (#7822) 2022-05-24 13:44:10 +08:00
Xc
a1bc742f7f
fix(components): [input-number] enhanced precision (#7777)
* fix: input-number enhanced precision

* Update packages/components/input-number/src/input-number.vue

use explicit conversion

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>

* Update packages/components/input-number/src/input-number.vue

use explicit conversion

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>

* fix: input-number enhanced precision processing

* fix(input-number): enhanced precision

* fix(input-number): ebhanced precision

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-05-24 13:42:09 +08:00
JeremyWuuuuu
9105bd666b
fix(components): [radio-group] unique id (#7859) 2022-05-23 10:27:27 +00:00
0song
0e3ea58421
fix: correct the deprecated note for el-button (#7854)
fix: correct the deprecated note for el-button
2022-05-23 08:30:50 +00:00
FunkyZc
10a64b65ff
feat(Dialog): expose dialogContentRef (#7633) 2022-05-22 08:17:05 +08:00
qiang
06612ccca3
fix(components): [menu] the styles link error (#7820) 2022-05-21 12:14:13 +08:00
Xc
d56520e4be
fix(radio-group): restore name (#7810)
* fix(radio-group): restore name

* fix(radio-group): restore name
2022-05-20 21:16:16 +08:00
류한경
ac83f03894
refactor(components): [steps] switch to script-setup syntax (#7783)
* refactor(components): [steps] switch to script-setup syntax

improvement(components): [steps] props type

improvement(components): [steps] unnecessary type

* fix(comoponents): [steps] import error

* fix(comoponents): [steps] import error
2022-05-20 19:39:34 +08:00
류한경
1d417f4087
refactor(components): [step] switch to script-setup syntax (#7782)
* refactor(components): [step] switch to script-setup syntax

* improvement(components): [step] props type

* improvement(components): [step] unnecessary type
2022-05-20 18:14:07 +08:00
opengraphica
e1b88263e3
feat(components): [popper] focus trap and a11y (#7736)
* feat(components): [popper] fix focus traps

* feat(components): [popper] add focus trap tests

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-05-20 18:13:27 +08:00
msidolphin
6f04af6c39
feat(components): [table] ensure minimum-size doesn't follow the content (#7627)
* feat(components): [table] ensure minimum-size doesn't follow the content

* chore: add version tag
2022-05-20 17:57:21 +08:00
JeremyWuuuuu
c3486bcdce fix(components): [dialog/drawer] header slot
- Fix header slot rendering for both dialog and drawer.
- Change the deprecation for `title` slot to **3.0.0**.
2022-05-20 17:31:11 +08:00
Anas Boudih
e0a2544f70
refactor(components): [pagination/sizes] switch to script-setup syntax (#7749)
* refactor(components): [pagination/sizes] switch to script-setup syntax

* fix(components): [pagination/sizes] cast props to const

* fix(components): [pagination/sizes] remove prop default

Co-authored-by: metanas <matanas@pre-history.com>
2022-05-20 15:42:30 +08:00
Xc
d96470f9d2
refactor(components): [checkbox] switch to script-setup syntax (#7794)
* refactor: checkbox switch to script-setup syntax

* refactor: checkbox use useSizeProps and edit test
2022-05-20 15:35:02 +08:00
Carter Li
6cc11662a6
fix(components): [popper] provide formItemContext conditionally (#7790) 2022-05-20 12:01:19 +08:00
bqy_fe
488eaf5211
fix(components): [time-picker] can not hide panel when click frequently (#7779) 2022-05-20 08:26:12 +08:00
Anas Boudih
f245986996
refactor(components): [pagination/next] switch to script-setup syntax (#7748)
* refactor(components): [pagination/next] switch to script-setup syntax

* fix(components): [pagination/next] move emits

Co-authored-by: metanas <matanas@pre-history.com>
2022-05-19 22:21:09 +08:00
Anas Boudih
82484bab98
refactor(components): [pagination/prev] switch to script-setup syntax (#7745)
* refactor(components): [pagination/prev] switch to script-setup syntax

* fix(components): [pagination/prev] cast props to const

* fix(components): [pagination/prev] extract emits to utility file

* fix(components): [pagination/prev] remove prop default

Co-authored-by: metanas <matanas@pre-history.com>
2022-05-19 22:20:55 +08:00
云游君
eafb60f89f
fix(theme-chalk): [DatetimePicker] change inner to wrapper & use css var (#7703)
* fix(theme-chalk): [DatetimePicker] change inner to wrapper & use css var for width

* test: use wrapper to fix test
2022-05-19 13:57:15 +08:00
Anas Boudih
353b56e2c8
refactor(components): [pagination/total] switch to script-setup syntax (#7750)
* refactor(components): [pagination/total] switch to script-setup syntax

* fix(components): [pagination/total] cast props to const

Co-authored-by: metanas <matanas@pre-history.com>
2022-05-19 09:18:39 +08:00
Anas Boudih
37ac01d025
refactor(components): [pagination/jumper] switch to script-setup syntax (#7747)
Co-authored-by: metanas <matanas@pre-history.com>
2022-05-19 09:02:40 +08:00
Anas Boudih
66bf5c1280
refactor(components): [pagination/pager] switch to script-setup syntax (#7746)
* refactor(components): [pagination/pager] switch to script-setup syntax

* fix(components): [pagination/pager] cast props to const

Co-authored-by: metanas <matanas@pre-history.com>
2022-05-19 09:01:00 +08:00
JeremyWuuuuu
5bfa42cfed
feat(components): [button] restore type="text" (#7761) 2022-05-18 00:39:31 +08:00
Delyan Haralanov
c99592502f
test: remove deprecated done callback (#7741)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-05-17 20:32:52 +08:00
btea
a859adc9d5
refactor(components): [container] switch to script-setup syntax (#7725)
* refactor(components): [container] switch to script-setup syntax

* refactor: remove uncessary default
2022-05-17 14:25:34 +08:00
Xc
b0646b3767
refactor(components): [radio] switch to script-setup synatx (#7701)
* refactor: radio script setup

* refactor: radio script setup
2022-05-17 12:28:20 +08:00
btea
792265d56a
fix(components): [table-v2] don't spread headerClass (#7729) 2022-05-17 09:25:32 +08:00
Carter Li
2577b06328
feat(components): [input-number] add :value-on-clear and make it nullable (#7724) 2022-05-17 01:16:44 +08:00
Anas Boudih
9edd89c642
refactor(components): [collection] switch to script-setup syntax (#7710)
Co-authored-by: metanas <matanas@pre-history.com>
2022-05-16 22:33:46 +08:00
Anas Boudih
c77155b899
refactor(components): [timeline] switch to script-setup syntax (#7705)
Co-authored-by: metanas <matanas@pre-history.com>
2022-05-16 21:17:36 +08:00
류한경
9d6329cb99
refactor(components): [main] switch to script-setup syntax (#7707)
* refactor(components): [main] switch to script-setup syntax

* refactor(components): [main] switch to script-setup syntax
2022-05-16 21:11:59 +08:00
btea
60483d4100
fix(components): [cascader] disabled option can't trigger cancel checked (#7604) 2022-05-16 21:11:07 +08:00
lily-elephant
89b3239528
fix(components): date-picker add keydown events(#7506) (#7536)
* fix(components): date-picker add keyup events(#7506)

* Update picker.vue

feat(components): keyup变更为keydown

* Update picker.vue

fix(components): picker delete superfluous code

* Update picker.vue

fix(components): emit事件

* feat: date-picker & timer-picker add unit test

* feat: picker add unit test expected results

* Update time-picker.test.ts

feat: 去除lint error
2022-05-16 21:10:06 +08:00
JeremyWuuuuu
f3a8856c63
improvement(theme-chalk): visual enhancement (#7563)
* improvement(theme-chalk): visual enhancement

- Add visual enhancement for keyboard nagivation on form items.

* Fix linter issue

* Fix switch active text issue

* Fix bordered radio demo issue
2022-05-16 21:01:41 +08:00
云游君
7a45b88783
fix(components): [date-picker] date-table-cell namespace (#7684)
* fix(components): date-table-cell & scrollbar namespace

* fix(components): revert scroll className & add comment
2022-05-16 20:58:50 +08:00
류한경
6521dbb42a
fix(components): [upload] show close tip text (#7696) 2022-05-16 20:58:25 +08:00
류한경
6307bdd049
improvement(components) [divider] add separator role (#7678) 2022-05-14 14:41:18 +08:00
Xc
ad3d998752
feat(components): [button] add link api (#7652)
* feat: button add link type

* fix: code lint

* feat: button add link api

* docs: edit word

Co-authored-by: xiaochenchen <xiaochen.chen@igg.com>
2022-05-14 12:20:02 +08:00
三咲智子
21a7089ec5
refactor(build): use type unsafe (#7523)
* refactor(build): use type unsafe

* fix: windows
2022-05-13 16:55:10 +08:00
Carter Li
325f84d44f
feat(components): menu add more controllable styles (#7549)
1. add some css variables
2. support specifying level padding
3. small code refactor
4. deprecate `background-color` etc
2022-05-12 22:38:26 +08:00
Xc
c0681cf18f
fix: check-strictly bug (#7422) 2022-05-11 10:05:57 +08:00
Xc
07d934e29f
fix(components): [select] in form change size (#7599)
* fix: select in form change size

* fix: unuser
2022-05-11 08:21:52 +08:00
opengraphica
42ff59fc39
feat(components): [date-picker] work with modal focus trap; a11y controls and attributes (#7598)
* feat(components): [date-picker] a11y controls and attributes

* feat(components): [date-picker] keyboard controls for picker

* feat(components): [date-picker] unit test complete

* feat(components): [date-picker] remove immediate watch date
2022-05-10 21:51:17 +08:00
opengraphica
9c51dab123
feat(components): [dialog] a11y and focus trap on dialog components (#7550)
* feat(components): [dialog] a11y and focus trap on dialog components

* feat(components): [dialog] remove default browser focus style

* feat(components): [dialog] clean up async and comment
2022-05-10 17:58:18 +08:00
Hangyeong
4011e71395
fix(components): circle progress 0 percent transition effect (#7562) 2022-05-09 17:46:09 +08:00
云游君
f30b994d66
fix(components): select v2 remote method trigger reset value when blur (#7569) 2022-05-09 10:46:44 +08:00
张奎安
db091c4d0c
fix(component): cascader searching placeholder does not disappear (#7540) 2022-05-09 09:58:51 +08:00
Xc
c3d5106f6d
fix: tree-select nodeKey default selected (#7172) (#7181)
Fix the problem that nodeKey initialization is invalid
2022-05-09 09:36:53 +08:00
Jobin
a196b3a1e3
fix(components): [el-tree-v2]prop icon support Component. fix [#7517] (#7518)
* fix(components): [el-tree-v2]prop `icon` support Component. fix [#7517]

* fix(components): [el-tree-v2]prop `icon` support Component. fix [#7517]
2022-05-08 13:44:23 +08:00
JeremyWuuuuu
16abb4ca41
improvement(components): [virtual-table] (#7557)
- Add method `scrollToRow` to VirtualTable.
- Restore missing `cellProps` attribute.
- Add example for **Manual Scroll**.
- Add example for **Cross Hovering**.
- Update documentation accordingly.
2022-05-07 19:06:57 +08:00
JeremyWuuuuu
9b3a88811d
improvement(components): [virtual-table] (#7548)
- Add example for selection.
- Add example for inline editing.
2022-05-07 11:47:52 +08:00
JeremyWuuuuu
090706250b
feat(components): [auto-resizer] new component (#7541)
* feat(components): [auto-resizer] new component

- Add new component AutoResizer for skip passing width/height.
- Update documentation for AutoResizer.
- Update FAQs for TableV2.
- Update interfaces for TableV2.

* Fix linter error

* Fix linter issue
2022-05-07 09:47:32 +08:00
JeremyWuuuuu
52a528fde7
fix(components): [virtual-table] horizontal scroll (#7538) 2022-05-06 21:28:57 +08:00
三咲智子
d8775701d5
refactor(components): [popconfirm] refactor to script-setup (#7522)
* refactor(components): [popconfirm] refactor to script-setup

* refactor: improve ref
2022-05-06 20:16:23 +08:00
JeremyWuuuuu
9a88fb4e46
fix(components): [popper] appendToBody API deprecation (#7534)
* fix(components): [popper] appendToBody API deprecation

- Remove `appendToBody` for components still using it.

* Remove duplicated attribute
2022-05-06 18:41:50 +08:00
JeremyWuuuuu
5daf53e8e1
refactor(components)!: remove deprecated warning (#7528) 2022-05-06 13:19:01 +08:00
JeremyWuuuuu
119024eff0
fix(components): [popconfirm] text button type (#7526) 2022-05-06 13:17:35 +08:00