1339 Commits

Author SHA1 Message Date
nemo-shen
ee0e485eef
test(Button): add unit test (#4603)
* fix: test init

* test(Button): add unit test

* fix(test): remove unused code

* test(build): remove demo/test dir when compile

* fix(Button): remove duplicate demo

* test(Button): adjust component.json
2021-11-10 15:54:37 +08:00
wubinsheng
104691e18f
fix(Toast): fix classname 'vant-toast-text' (#4587)
toast组件不存在icon的type值,但wxml中使用了该值做判断
2021-11-06 15:27:54 +08:00
nemo-shen
3345bca8b8
fix(Tab): fix style error with card of type (#4582) 2021-10-28 09:44:57 +08:00
nemo-shen
5ac2e5dde7
feat(Toast): support html of type (#4581) 2021-10-28 09:43:54 +08:00
nemo-shen
b5ca0bdd44
feat(DropdownMenu): add custom-class (#4583) 2021-10-28 09:43:01 +08:00
nemo-shen
47c66d38e3
feat(Field): add always-embed prop (#4571) 2021-10-20 09:30:42 +08:00
nemo-shen
1ab6abfc19
fix(Calendar): select min effective range (#4569)
* fix(Calendar): select min effective range

* fix(Calendar): fix prefer-destructuring
2021-10-20 09:30:20 +08:00
nemo-shen
1860ddfcb1
fix(Collapse): animate invalid on multi clicks (#4567) 2021-10-18 14:12:14 +08:00
neverland
7f3614997e
feat(DropdownMenu): add --dropdown-menu-box-shadow css var (#4565) 2021-10-16 19:57:33 +08:00
nemo-shen
7cbf287438
fix(Tab): swipe multi index with double refers (#4539)
* fix(Tab): swipe multi index with double refers

* fix(Tab): adjust swiping
2021-09-30 10:22:50 +08:00
Zhiqi Lin
71e2e11fde
feat(Calendar): add readonly prop (#4529)
* feat(Calendar): add readonly prop

* feat(Calendar): add comma after the new prop

* revise codes based on review opinions

* fix: 调整判断顺序

Co-authored-by: nemo-shen <kienshin626@gmail.com>
2021-09-29 16:13:09 +08:00
nemo-shen
91f44798a5
fix(Slider): fix click invalid with vertical props (#4532)
* fix(Slider): fix click invalid with vertical props

* fix: adjust demo
2021-09-28 09:48:10 +08:00
chenjiahan
231f65b1a2 docs: fix site build failure 2021-09-27 14:02:56 +08:00
nemo-shen
0adf121519
docs(Calendar): update Day Object (#4524)
* docs(Calendar): update Day Object

* docs(Tab): prettier
2021-09-27 11:25:48 +08:00
nemo-shen
56ecd55e12
fix(Tab): fix init position incorrect (#4521)
* fix(Tab): fix init position incorrect

* style(Tab): prettier
2021-09-26 15:05:55 +08:00
neverland
0e60dc1a7e
fix(Slider): remove theme mixin (#4520) 2021-09-25 10:39:39 +08:00
Fansy
5be718e195
docs: add show props (#4518) 2021-09-25 10:30:51 +08:00
nemo-shen
04d3d9b80d
feat(Slider): add vertical prop (#4486)
* feat(Slider): add vertical prop

* fix: adjust

* Update README.md

Co-authored-by: neverland <chenjiahan@youzan.com>
Co-authored-by: neverland <chenjiahan@buaa.edu.cn>
2021-09-23 17:33:27 +08:00
neverland
1a7889590f
perf: remove CSS variables polyfill (#4487)
* perf: remove CSS variables polyfill

* style: fix missing calc value

* perf: reduce some useless css vars
2021-09-23 17:31:28 +08:00
nemo-shen
3afe10c0f9
fix(VantComponent): remove optionalTypes (#4501)
* fix(VantComponent): remove optionalTypes

* fix: reset project.config.json
2021-09-18 10:02:06 +08:00
neverland
e3c07e52f9
chore: merge two prettier config (#4491) 2021-09-15 15:46:27 +08:00
neverland
8629da1b75
fix(Calendar): confirmDisabledText default value (#4490) 2021-09-15 15:38:21 +08:00
Fansy
ee166756c1
fix: fix docs error (#4489)
* docs: fix docs error

* docs: fix `Slider - action-text` type error
2021-09-15 14:15:34 +08:00
nemo-shen
df2f297541
fix(page-scroll): fix isDef (#4488) 2021-09-15 09:48:08 +08:00
nemo-shen
058a00ed33
fix(Calendar): remove duration 0 (#4474) 2021-09-10 11:06:58 +08:00
nemo-shen
e2e0a2bcb1
refactor(VantComponent): remove null type (#4476) 2021-09-10 11:06:32 +08:00
nemo-shen
687c7c10f9
refactor(Progress): remove null type (#4475) 2021-09-10 11:06:06 +08:00
nemo-shen
7cfe300ed8 docs(Search): update doc 2021-09-07 13:57:19 +08:00
nemo-shen
3e42951387 Merge remote-tracking branch 'upstream/dev' into feature/search_clear-trigger_0906 2021-09-07 13:57:02 +08:00
nemo-shen
b5ab3bee64
feat(Search): add clear-icon prop (#4463)
* feat(Search): add clear-icon prop

* docs(Search): update doc
2021-09-07 10:07:24 +08:00
nemo-shen
cc0df907e7
feat(Field): add clear-trigger prop (#4461)
* feat(Field): add clear-trigger prop

* docs(Field): update doc

* fix(Field): adjust code
2021-09-07 10:06:22 +08:00
nemo-shen
583581fbee
docs(IndexBar): add Q&A (#4459)
* docs(IndexBar): add Q&A

* docs(IndexBar): update doc
2021-09-07 10:05:43 +08:00
nemo-shen
f2e52128c6
docs(packages): format doc (#4464)
* docs(packages): format doc

* docs(packages): update doc
2021-09-07 10:05:14 +08:00
nemo-shen
2c02069808
feat(Slider): add range props (#4442)
* feat(Slider): add range props

for support double slider button

* fix(Slider): 优化代码

* fix(Slider): 优化代码

* fix(Slider): 优化代码

* docs(Slider): update doc
2021-09-06 19:52:44 +08:00
nemo-shen
69cdf45958
fix(page-scroll): check getCurrentPage is def (#4458) 2021-09-06 19:49:54 +08:00
nemo-shen
0d1f370059 docs(Search): update doc 2021-09-06 19:34:33 +08:00
nemo-shen
9e17b13164 feat(Search): add clear-trigger prop 2021-09-06 19:31:15 +08:00
nemo-shen
35647969f5
fix(Sticky): Cannot read property 'top' of null (#4433)
* fix(Sticky): Cannot read property 'top' of null

* retry build

* fix: build

* fix: retry

* fix(Sticky): return if root is null

* fix(Calendar): wrapper Date type

- to fixed build failed

* fix(Sticky): use isDef
2021-08-27 11:48:23 +08:00
nemo-shen
0b3c36fdc6
Merge pull request #4333 from Suzuku/hotfix/calendar_0708
fix: 修改min-date和max-date的传值校验  problem #4258
2021-08-26 13:57:04 +08:00
nemo-shen
ca9ffd8269
fix(Canlendar): fix default-date invalid (#4430)
* fix(Canlendar): fix default-date invalid

* fix(Calendar): update doc
2021-08-26 10:20:18 +08:00
nemo-shen
0b273fc037
feat(Popup): add lock-scroll prop (#4384) 2021-08-25 15:23:57 +08:00
neverland
cb3018b26a
fix(Stepper): incorrect minus/plus slots (#4427) 2021-08-25 10:05:09 +08:00
drylint
56ac6e1cc4
perf(radio): label 的 margin-left 改为 padding-left,增大可点击区域,增强用户体验 (#4165) 2021-08-23 11:26:25 +08:00
agoni1212
ae42260a43
docs(Calendar): update doc (#4409) 2021-08-18 13:56:44 +08:00
chenjiahan
8c408e2303 fix(ShareSheet): overlayStyle type should be String 2021-08-18 11:37:21 +08:00
chenjiahan
6dd42a0473 fix(Field): template url should be relative path 2021-08-18 11:05:13 +08:00
chenjiahan
7f7cf62ee0 fix(Calendar): template url should be relative path 2021-08-18 11:04:59 +08:00
ascodelife
41457c899b
feat(Circle): using setTimeout instead of setInterval (#4401) 2021-08-18 10:47:44 +08:00
nemo-shen
e07f9f9581
feat(Calendar): add click-subtitle event (#4385)
* feat(Calendar): add click-subtitle event

* docs(Calendar): updateOC
2021-08-18 10:44:29 +08:00
neverland
bcf7c9c131
fix(Picker): template url should be relative path (#4408) 2021-08-18 10:25:35 +08:00