180 Commits

Author SHA1 Message Date
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
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
aab3646972
test(ImagePreview): fix snapshot (#8443) 2021-04-01 10:32:34 +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
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
nemo-shen
4d17bced55
fix(ImagePreview): add test cases (#8282) 2021-03-06 20:09:21 +08:00
neverland
09e1eb5a0d
chore: optional chaining (#8283) 2021-03-05 11:05:27 +08:00
neverland
e50cd0c731
feat(ImagePreview): add overlay-style prop (#8276) 2021-03-04 20:18:51 +08:00
neverland
42d1e9430c
feat(ImagePreview): add transition prop (#8275) 2021-03-04 20:06:25 +08:00
neverland
1dc1b708f0
types: reduce any (#8256) 2021-03-03 17:46:00 +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
f4698ebf44
docs: demo ts (#8196) 2021-02-22 20:36:59 +08:00
neverland
d67031a98d
types(ImagePreview): use tsx (#8176) 2021-02-19 17:16: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
d2ab580f74
style: add var ext (#8063) 2021-02-02 20:31:14 +08:00
neverland
8ac3f43189
fix(Swipe): active may outrange when initialize (#8061) 2021-02-02 19:58:15 +08:00
desperado
1644fc1338
fix(ImagePreview): 修复图片显示异常 (#8060) 2021-02-02 19:44:02 +08:00
neverland
67d44a0fa5
docs: fix cdn link (#8023) 2021-01-27 10:25:07 +08:00
neverland
93298ec3b7
fix(Calendar): should not emit scale event when scale not changed (#7975)
* fix(Calendar): should not emit scale event when scale not changed

* chore: update
2021-01-23 16:28:36 +08:00
neverland
598fd4a464
feat(ImagePreview): reset scale after swiping (#7972) 2021-01-23 15:51:55 +08:00
neverland
95e45ab88a
fix(ImagePreview): scale event index is undefined (#7971) 2021-01-23 15:46:30 +08:00
neverland
fcb5c223ba
perf(ImagePreview): adjust default swipeDuration to 300ms (#7970) 2021-01-23 11:31:56 +08:00
chenjiahan
cb3219ab66 docs: prefer shorter demo 2021-01-20 21:00:36 +08:00
neverland
8f2b03ec18
docs: improve classname typing (#7927) 2021-01-16 19:52:36 +08:00
chenjiahan
51bc1cee8a docs: remove all v2 version tag 2021-01-10 19:08:09 +08:00
chenjiahan
0f7c088f9f fix(ImagePreview): close-on-popstate not work #7880 2021-01-10 18:59:24 +08:00
chenjiahan
a524b5284f test: update snapshots 2020-12-26 15:52:54 +08:00
chenjiahan
09858eb1d3 docs: improve demo translating 2020-12-11 10:07:07 +08:00
chenjiahan
e785f622bd docs: remove toRefs 2020-12-10 20:55:28 +08:00
chenjiahan
3d05e56195 docs(ImagePreview): use composition api 2020-12-09 14:48:44 +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
5298e597a6
docs(ImagePreview): fix swipeTo method (#7595) 2020-11-20 20:43:54 +08:00
neverland
a3b9e67d36
docs: fix grammar errors (#7594) 2020-11-20 20:39:40 +08:00
chenjiahan
062cd546a9 chore: rename composables folder 2020-11-16 11:41:46 +08:00
chenjiahan
9bd38cf446 test(ImagePreview): update test cases 2020-11-14 14:45:09 +08:00
chenjiahan
a1aed76a48 Merge branch '2.x' into dev 2020-11-14 14:36:14 +08:00
neverland
29dbd66c80
feat(ImagePreview): passing current index to index slot (#7552) 2020-11-14 08:56:46 +08:00