7511 Commits

Author SHA1 Message Date
zoy-l
2c43e68aff
fix: eslint .tsx file failed (#8358) 2021-03-16 09:46:50 +08:00
neverland
d9ed5b9fb0
chore(Tabbar): improve isUnfit (#8356) 2021-03-15 20:35:14 +08:00
neverland
b119d4ad41
feat(Popover): add duration prop (#8355) 2021-03-15 20:23:02 +08:00
neverland
c452926cd1
feat(Popover): add overlay-style prop (#8354) 2021-03-15 20:20:41 +08:00
neverland
536f2fad38
feat(Popover): add overlay-class prop (#8353)
* feat(Popover): add overlay-class prop

* chore: upd
2021-03-15 20:17:29 +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
a7fb5f732e
feat(Popover): add close-on-click-overlay prop (#8351) 2021-03-15 19:56:53 +08:00
chenjiahan
a835955859 chore: release @vant/cli@3.7.0-beta.1 2021-03-15 17:54:15 +08:00
chenjiahan
c5131e8810 chore: release @vant/markdown-loader@3.1.0-beta.1 2021-03-15 17:53:15 +08:00
郑昊川
b2062d48aa
fix(vant-markdown-loader): 修复 demo 组件和其他组件重名导致的渲染异常 (#8348) 2021-03-15 17:49:35 +08:00
郑昊川
919a9976b1
feat(cli): pc 组件预览支持 i18n (#8346) 2021-03-15 16:58:00 +08:00
chenjiahan
be27bd6907 chore: release @vant/cli@3.7.0-beta.0 2021-03-15 11:58:00 +08:00
chenjiahan
b0a0e8be4a chore: release @vant/markdown-loader@3.1.0-beta.0 2021-03-15 11:57:15 +08:00
neverland
72b9f8de88
Merge pull request #8343 from HaoChuan9421/dev
vant-cli 支持 PC 组件预览
2021-03-15 11:55:06 +08:00
郑昊川
f69926a5ce
docs(vant-cli): typo 2021-03-15 11:20:06 +08:00
HaoChuan9421
b2e15f99e4 Merge branch 'feature/pc-doc-mode' into dev 2021-03-15 10:15:21 +08:00
HaoChuan9421
507c99aa6b perf(vant-cli): 文档渲染组件增加 v-once 2021-03-15 01:36:18 +08:00
HaoChuan9421
bb4c178d4d docs(vant-cli): 更新关于桌面组件的文档 2021-03-15 01:26:32 +08:00
HaoChuan9421
7ec1da7dc3 feat(vant-cli): 支持一次性在全部页面隐藏手机模拟器 2021-03-15 01:25:31 +08:00
HaoChuan9421
3a900cdb7b feat(vant-cli): 支持通过 vant.config.js 配置是否显示页面右侧的手机模拟器 2021-03-15 00:24:13 +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
neverland
6877dabe6a
feat(Tag): close event param (#8337) 2021-03-14 11:30:04 +08:00
neverland
1e3791a8a3
docs(ShareSheet): add open、close event (#8336) 2021-03-14 11:24:54 +08:00
neverland
2961384530
feat(ShareSheet): add cancel slot (#8335) 2021-03-14 11:24:48 +08:00
neverland
c424d6efcd
feat(Cascader): add close-icon prop (#8334) 2021-03-14 11:20:08 +08:00
neverland
393d7cb7af
feat(ActionSheet): add cancel slot (#8333) 2021-03-14 11:14:55 +08:00
neverland
ceebc22e63
types: extract prop types (#8332) 2021-03-14 10:58:08 +08:00
neverland
6e026e18c3
fix(Swipe): incorrect item width after scaled (#8330) 2021-03-13 18:19:42 +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
HaoChuan9421
336727556e feat(vant-markdown-loader): rEADME 中引入 demo 组件时支持设置 playground 属性 2021-03-12 18:01:24 +08:00
HaoChuan9421
c2ac641ec1 feat(vant-cli): 增加用于 demo 组件展示的 playground 组件 2021-03-12 17:58:53 +08:00
HaoChuan9421
f1d72cb016 feat(vant-cli): 为 README 文件增加 vue-loader 以支持预览 demo 文件 2021-03-12 10:42:58 +08:00
HaoChuan9421
a913f5bd36 feat(vant-markdown-loader): 增强 README,支持通过声明的方式引入 demo 并直接预览 2021-03-12 10:40:41 +08:00
neverland
e1bfb7b27d
feat(Coupon): add @coupon-corner-checkbox-icon-color var (#8323) 2021-03-12 09:43:31 +08:00
neverland
27a52949fa
feat(ContactList): add @contact-list-item-radio-icon-color var (#8322) 2021-03-11 21:15:55 +08:00
HaoChuan9421
c0b10e4374 feat(vant-cli): 支持在 vant-cli 的 desktop 页中使用组件库中的组件 2021-03-11 19:49:46 +08:00
nemo-shen
dcd5f08b3b
test(Uploader): add test cases (#8318)
* test(Uploader): add test cases

* test(Uploader): add test cases

* test(Uploader): add test cases

* test(Uploader): 修复类型错误

Co-authored-by: nemo-shen <1034131477@qq.com>
2021-03-10 11:25:16 +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
7571c904ec docs: add viewport units guide (#8313)
* docs: add viewport units guide

* docs: update tips
2021-03-09 10:51:50 +08:00
chenjiahan
b526bfeee9 docs(changelog): 3.0.9 2021-03-08 17:37:31 +08:00
chenjiahan
9dc1815b66 chore: release 3.0.9 v3.0.9 2021-03-08 17:33:31 +08:00
chenjiahan
6122a0c2df docs(cli): changelog 3.6.1 2021-03-08 17:22:17 +08:00
chenjiahan
40a76ddcf0 chore: release @vant/cli@3.6.1 2021-03-08 17:20:47 +08:00
neverland
110af6f1f4
docs: revert cdn URL (#8310) 2021-03-08 17:19:56 +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
Lindy
0c740b6962
feat(AddressList): add tag slots (#8292) 2021-03-08 16:50:12 +08:00