Commit Graph

958 Commits

Author SHA1 Message Date
류한경
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