Commit Graph

915 Commits

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