147 Commits

Author SHA1 Message Date
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
dengrongyao
56429ad4e1 docs: 调整组件介绍文档 2021-04-08 09:57:55 +08:00
dengrongyao
55afff0e9c docs: Adjust punctuation 2021-04-08 09:57:55 +08:00
dengrongyao
2210f8240d docs: Supplement English intro 2021-04-08 09:57:55 +08:00
neverland
62eda87c99
chore: split function call (#8424) 2021-03-29 17:47:24 +08:00
neverland
f7706fb179
docs: add component registration link (#8378) 2021-03-18 11:23:49 +08:00
neverland
b3146b9108
style: decentralized less var (#8369)
* style: decentralized less var

* chore: remove emtpy var file
2021-03-17 16:14:18 +08:00
neverland
ca9ec7e1bd
fix(Toast): icon-size prop should affect loading icon (#8339) 2021-03-14 11:52:28 +08:00
neverland
7a14991b16
feat(Toast): add iconSize option (#8338) 2021-03-14 11:44:43 +08:00
nemo-shen
c5ac2b62aa
test(Toast): add test cases (#8324)
* test(Toast): add test cases

* test(Toast): add test cases

Co-authored-by: nemo-shen <1034131477@qq.com>
2021-03-13 17:44:12 +08:00
neverland
1381070a12
chore: prefer named exports (#8315)
* chore: prefer named exports

* chore: fix import
2021-03-09 15:39:26 +08:00
neverland
5d5ff1da4a
chore: function components support named exports (#8314) 2021-03-09 11:18:58 +08:00
neverland
110af6f1f4
docs: revert cdn URL (#8310) 2021-03-08 17:19:56 +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
1dc1b708f0
types: reduce any (#8256) 2021-03-03 17:46:00 +08:00
neverland
202edb24c7
chore: improve multiple watch source (#8253) 2021-03-03 16:32:38 +08:00
chenjiahan
6e5329cbe0 chore: rename variables and comments 2021-03-02 17:55:22 +08:00
chenjiahan
a0addef294 chore: prefer arrow function shorthand 2021-03-02 17:45:12 +08:00
neverland
e6eb703207
chore(Toast): fix missing overlay prop (#8236) 2021-02-27 20:56:21 +08:00
neverland
1dbe9c54eb
chore: bump @vant/cli@3.5.1 (#8221) 2021-02-26 10:24:53 +08:00
neverland
c054164ba6
fix(Toast): ssr error (#8214) 2021-02-25 10:13:36 +08:00
neverland
2168382917
test: improve test cases typing (#8202) 2021-02-23 20:54:28 +08:00
neverland
f0f89f1c4c
chore: demo spec uses ts (#8197) 2021-02-22 20:53:07 +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
chenjiahan
e2e0f66fe6 types: test cases typing 2021-02-11 13:04:00 +08:00
neverland
0b68d3a141
types: improve ref typing (#8124)
* types: improve ref typing

* types: message
2021-02-10 20:57:24 +08:00
neverland
89b65077d3
types(Dialog): dialog fn use ts (#8114) 2021-02-09 21:03:11 +08:00
neverland
02669ad025
types(Toast): add Toast method typing (#8095) 2021-02-07 10:24:20 +08:00
neverland
45cbd17b1e
types(Toast): use tsx (#8091) 2021-02-05 11:55:55 +08:00
neverland
d2ab580f74
style: add var ext (#8063) 2021-02-02 20:31:14 +08:00
neverland
0f3610bafe
fix(Toast): closeOnClickOverlay not work (#8044)
* fix(Toast): closeOnClickOverlay not work

* fix: demo
2021-01-31 16:11:49 +08:00
neverland
67d44a0fa5
docs: fix cdn link (#8023) 2021-01-27 10:25:07 +08:00
neverland
8f2b03ec18
docs: improve classname typing (#7927) 2021-01-16 19:52:36 +08:00
neverland
f8fb4fa96d
feat(Toast): add overlayClass option (#7925) 2021-01-16 19:42:06 +08:00
chenjiahan
c553551578 feat(Toast): add overlayStyle option #7898 2021-01-14 21:13:04 +08:00
chenjiahan
06f8c19660 docs(Toast): use setup 2020-12-15 15:24:49 +08:00
chenjiahan
43a7047326 docs: fix table 2020-12-14 17:07:58 +08:00
chenjiahan
d5b64a9538 chore(Toast): remove todo 2020-11-30 22:05:28 +08:00
chenjiahan
ea44d636ba test: demo snapshot uses enUS 2020-11-25 22:39:06 +08:00
chenjiahan
8ce14496f5 Merge branch '2.x' into dev 2020-11-22 16:06:24 +08:00
neverland
862adcd8eb
docs: display all less variables (#7604) 2020-11-22 16:02:46 +08:00
chenjiahan
9acac4c2b1 test: update all snapshots 2020-11-21 22:27:11 +08:00
chenjiahan
f34d828f25 Merge branch '2.x' into dev 2020-11-21 18:47:31 +08:00
neverland
a3b9e67d36
docs: fix grammar errors (#7594) 2020-11-20 20:39:40 +08:00
chenjiahan
0017c352b0 test(Toast): should allow to toggle lockClick class 2020-11-12 11:35:26 +08:00
chenjiahan
24c4896a11 test: enable all demo snapshots 2020-11-08 20:30:51 +08:00
chenjiahan
1805f21308 Merge branch '2.x' into dev 2020-11-04 20:06:59 +08:00