159 Commits

Author SHA1 Message Date
neverland
2a74d88c91
feat(ConfigProvider): add icon-prefix prop (#8986) 2021-07-06 17:24:22 +08:00
neverland
e0bfb44d3c
chore: rename range to clamp (#8903)
* chore: rename range to clamp

* chore: merge upstream
2021-06-21 16:20:03 +08:00
neverland
b9bca6a731
fix(Slider): format v-model with step correctly (#8893) 2021-06-19 11:24:05 +08:00
neverland
1c2d64be3e
types: add onClick event shim (#8665) 2021-05-07 09:30:34 +08:00
neverland
0a9f2102d1
chore: prefer using extend (#8531) 2021-04-15 09:39:20 +08:00
neverland
bd609e1df0
perf: add truthProp util (#8522)
* perf: add TruthyProp util

* chore: rename

* chore: upd
2021-04-14 10:26:21 +08:00
neverland
9deca34d1d
chore: remove object spead (#8514) 2021-04-12 20:57:24 +08:00
neverland
1217088d95
test: improve mock spy (#8483) 2021-04-09 09:53:25 +08:00
neverland
3214b1dd80
chore: remove isNaN util, re-organize validate utils (#8473) 2021-04-08 10:08:03 +08:00
neverland
9f93dd9d61
chore: remove dead code (#8472) 2021-04-08 10:00:52 +08:00
neverland
380f33a614
chore: fix circular dependency (#8452) 2021-04-02 15:54:41 +08:00
neverland
65185069bf
feat(CollapseItem): add readonly prop (#8445) 2021-04-01 20:41:56 +08:00
neverland
40a1b27c5d
fix(Popover): close-on-click-outside not work (#8352) 2021-03-15 20:05:45 +08:00
nemo-shen
d9c51b9070
fix(utils): 调整deepClone (#8340)
* fix(utils): 调整deepClone

解决deepClone没有对数组进行处理的问题

* style(utils): format

* fix(utils): 删除isDef判断

T声明应该应该传入null或者undefined

* fix(utils): add isDef

1. 考虑到可能会有参数同时存在oject和null两种可能性,重新增加isDef判断
2. 补全测试用例

Co-authored-by: nemo-shen <1034131477@qq.com>
2021-03-15 20:01:14 +08:00
neverland
e1bfb7b27d
feat(Coupon): add @coupon-corner-checkbox-icon-color var (#8323) 2021-03-12 09:43:31 +08:00
neverland
8bae9ca0ed
chore: export some types (#8309) 2021-03-08 17:14:55 +08:00
neverland
ae40d40c24
types: improve generated component typing (#8308) 2021-03-08 16:52:15 +08:00
neverland
e540876398
refactor: reorganize all components (#8303) 2021-03-08 11:50:37 +08:00
neverland
7aff50f9a4
types(Lazyload): add typing (#8296) 2021-03-07 10:37:22 +08:00
neverland
9fd71923f9
chore: using includes instead of indexOf (#8261) 2021-03-04 11:07:54 +08:00
neverland
2d8914c2c8
chore: add getZIndexStyle util (#8254) 2021-03-03 16:45:32 +08:00
neverland
314d6e2006
chore: remove unused isEmail validator (#8228) 2021-02-26 13:01:06 +08:00
neverland
70a598cf5a
chore: bump vue@3.0.6 and fix Date prop type (#8215) 2021-02-25 10:35:03 +08:00
neverland
1170262d72
test: fix index.spec.ts typing (#8201) 2021-02-23 19:43:29 +08:00
neverland
f0f89f1c4c
chore: demo spec uses ts (#8197) 2021-02-22 20:53:07 +08:00
neverland
4c0120a183
types(Uploader): use tsx (#8192) 2021-02-21 17:04:56 +08:00
neverland
906f01cc8e
types(Tabs): use tsx (#8187) 2021-02-20 17:49:34 +08:00
neverland
7daca89102
types(DatetimePicker): use tsx (#8181) 2021-02-19 20:21:42 +08:00
neverland
8696f4ee70
types(utils): pick type (#8179) 2021-02-19 19:38:47 +08:00
neverland
8cbf153073
fix(Form): may scroll to incorrect field after submitted (#8159) 2021-02-14 19:34:36 +08:00
neverland
4cb974ab02
types: ComponentInstance (#8154) 2021-02-14 17:07:26 +08:00
neverland
08e928111b
types: using unknown instead of any (#8152)
* types: using unknown instead of any

* chore: UnknownProp
2021-02-14 12:37:02 +08:00
neverland
7355b610e1
types(Picker): use tsx (#8137) 2021-02-12 12:07:22 +08:00
chenjiahan
d38e4a6aa8 types: fix translate typing 2020-12-13 12:29:30 +08:00
chenjiahan
e026d2d83f breaking change(Stepper): rename async-change to before-change 2020-12-09 17:12:58 +08:00
chenjiahan
dea44580df chore: add useTranslate 2020-12-06 16:55:16 +08:00
chenjiahan
28afc8a521 Merge branch '2.x' into dev 2020-12-01 10:12:54 +08:00
chenjiahan
65a5ed8553 style(Circle): add @circle-layer-color less var 2020-11-30 23:00:32 +08:00
chenjiahan
1a6cf64f54 style(Circle): add @circle-color less var 2020-11-30 23:00:32 +08:00
chenjiahan
bb18310f1b docs: uniform color 2020-11-30 23:00:32 +08:00
chenjiahan
75c296f0a8 test: update test cases of utils 2020-11-28 18:42:38 +08:00
chenjiahan
062cd546a9 chore: rename composables folder 2020-11-16 11:41:46 +08:00
neverland
66204dfcf1
fix(Sticky): not work in some cases (#7561) 2020-11-15 15:14:13 +08:00
chenjiahan
1805f21308 Merge branch '2.x' into dev 2020-11-04 20:06:59 +08:00
neverland
ebd78a9d02
feat(Sticky): offset-top support vh unit (#7498) 2020-11-04 19:39:52 +08:00
chenjiahan
f2b6f3d4d1 chore: rename all legacy test cases 2020-10-13 16:56:11 +08:00
chenjiahan
5370eaafce chore(PullRefresh): use tsx 2020-10-10 18:00:22 +08:00
chenjiahan
bfdc6f6b4e types(utils): isHidden ref param maybe undefined 2020-10-09 20:33:41 +08:00
chenjiahan
c8a00f3ad3 chore: move useCountdown to @vant/use 2020-10-06 10:03:08 +08:00
chenjiahan
839b8654ee feat(Badge): max support string type 2020-10-02 17:05:08 +08:00