Commit Graph

885 Commits

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