9222 Commits

Author SHA1 Message Date
neverland
3c6795ec51
fix(List): incorrect initial loading value (#11275) 2022-11-19 18:51:56 +08:00
neverland
eb0f535dac
fix(NumberKeyboard): should inherit attrs when using teleport (#11274) 2022-11-19 18:45:10 +08:00
neverland
14cf68be1e
fix(DropdownItem): should inherit attrs when using teleport (#11273)
* fix(DropdownItem): should inherit attrs when using teleport

* chore: update lock file

* chore: update snapshot
2022-11-19 17:24:56 +08:00
neverland
0472b10310
docs(BackTop): update demo and document (#11272) 2022-11-19 16:32:54 +08:00
neverland
e50966ecdf
feat(BackTop): allow to set position with other units (#11270) 2022-11-19 15:43:43 +08:00
neverland
5bbdb0f40c
fix(BackTop): failed to get element ref (#11269) 2022-11-19 11:14:03 +08:00
Gavin
5cf4322143
feat(BackTop): new component (#11236)
* feat(BackTop): new component

* perf(BackTop): perf BackTop component

* perf(BackTop): improve code

* perf: improve type
2022-11-19 10:14:39 +08:00
neverland
e19e982292
docs(changelog): 4.0.0-rc.7 (#11253) 2022-11-13 22:26:42 +08:00
chenjiahan
5a38c73b77 release: 4.0.0-rc.7 v4.0.0-rc.7 2022-11-13 22:21:16 +08:00
neverland
093db7b37e
feat(ImagePreview): add long-press event (#11252)
* feat(ImagePreview): add long-press event

* chore: upd

* chore: upd

* chore: upd
2022-11-13 11:42:26 +08:00
neverland
839bcd8928
docs: add unplugin-vue-components tip (#11251) 2022-11-13 10:46:49 +08:00
neverland
1f917e9a2a
fix(Picker): empty column will cause error (#11249) 2022-11-13 10:26:41 +08:00
neverland
83dcbe6f5f
fix(DatePicker): only throw error in development (#11248) 2022-11-13 09:22:48 +08:00
neverland
e6c6265e69
fix(Skeleton): incorrect export component name (#11247)
* fix(Skeleton): incorrect export component name

* chore: fix name
2022-11-13 09:21:05 +08:00
neverland
80270138e1
test: attach demo to body (#11246) 2022-11-12 18:20:03 +08:00
neverland
9b513311c2
docs(Popover): fix placement demo (#11245) 2022-11-12 13:23:44 +08:00
neverland
4e9c301012
feat(Popover): support uncontrolled mode (#11244) 2022-11-12 13:14:58 +08:00
若川
f071e48be2
fix(lazyload): lazy-image h is not a function (#11229)
in vue 3.x h is not function. this.$slots.default is  a function.

[vue 3.x refs render-function-api-change](https://github.com/vuejs/rfcs/blob/master/active-rfcs/0008-render-function-api-change.md)
[vue 3.x 文档 h 渲染函数](https://cn.vuejs.org/api/render-function.html#h)
2022-11-08 10:16:20 +08:00
neverland
842c92d3c9
perf(@vant/cli): generate smaller web-types.json (#11226) 2022-11-05 22:13:06 +08:00
neverland
8dcfb5c29a
fix(Skeleton): round prop not work for title (#11225) 2022-11-05 21:38:15 +08:00
哭你几哇
19cd0667e4
feat(skeleton-item): add skeleton-item component (#11173)
* feat(skeleton-item): add skeleton-item component

* docs(Skeleton): update docs

* feat(Skeleton): add skeleton title avatar paragraph image componets

* chore: add uncommit files

* test(Skeleton): fix skeleton test case failed

* feat(Skeleton-Image): add skeleton-image style

* test(Skeleton): fix failed test case

* docs(Skeleton): update skeleton docs

* fix(Skeleton): add skeleton image theme vars

* perf(Skeleton): use Icon componet in Skeleton image to reduce bundle size

* docs(Skeleton): update skeleton docs

* docs(Skeleton): fix wrong component name
2022-11-05 21:17:23 +08:00
neverland
3991f27a02
docs(changelog): @vant/cli@5.1.0 (#11224) 2022-11-05 20:42:44 +08:00
chenjiahan
7c1ce45db8 release: @vant/cli 5.1.0 2022-11-05 20:40:28 +08:00
neverland
fe07c10729
feat(cli): support vite.config.ts (#11223) 2022-11-05 20:39:51 +08:00
neverland
d9fe675af4
feat(cli): allow to custom server.port (#11222) 2022-11-05 20:03:58 +08:00
Gavin
cedbc089b4
fix(ActionSheet): fix that close is invalid without title (#11213) 2022-11-03 21:53:38 +08:00
Gavin
20f940d6a4
fix(Uploader): chooseFile is invalid when show-upload = false (#11218) 2022-11-03 21:49:16 +08:00
neverland
45f7adc701
docs: improve migration guide (#11196) 2022-10-30 20:40:10 +08:00
neverland
3faf04c02e
docs: add docs for builtin classes (#11195) 2022-10-30 20:17:36 +08:00
neverland
5d98d5a5d4
fix(Picker): correct v-model when emit confirm event (#11194) 2022-10-29 21:55:00 +08:00
EmberSpirit
73b4210118
docs(Form): fix form docs code (#11178) 2022-10-26 16:25:15 +08:00
neverland
22f832342a
docs(changelog): vant@4.0.0-rc.6 (#11169) 2022-10-23 23:07:31 +08:00
chenjiahan
59433115d9 release: 4.0.0-rc.6 v4.0.0-rc.6 2022-10-23 23:04:22 +08:00
neverland
6848550243
feat(Calendar): add params for subtitle slot (#11168)
* feat(Calendar): add params for subtitle slot

* chore: fix
2022-10-23 22:47:33 +08:00
neverland
859e5ee32c
fix(Swipe): failed to render when inside popup (#11162)
* fix(Swipe): failed to render when inside popup

* chore: upd
2022-10-22 22:58:42 +08:00
neverland
ff34eb73fd
chore: bump vite to v3.1.8 (#11161) 2022-10-22 22:25:41 +08:00
neverland
2c704dd0bf
chore: add nvmrc and engines of pnpm (#11157) 2022-10-21 09:15:04 +08:00
neverland
882bfb3924
docs(Toast): add word-break demo (#11156) 2022-10-20 22:33:37 +08:00
neverland
299b558439
fix(Coupon): incorrect field style (#11155) 2022-10-20 16:41:42 +08:00
Gavin
c6a6b5fe17
style(Coupon): fix the style of coupon checkbox (#11153) 2022-10-20 16:37:57 +08:00
Gavin
d2abde3fbd
docs(Field): fix field docs typo (#11152) 2022-10-20 10:20:44 +08:00
Gavin
c98f3e19c9
feat(Toast): add wordBreak prop (#11147) 2022-10-19 10:08:57 +08:00
neverland
2729ebff85
feat(Cell): add tag prop (#11139) 2022-10-16 10:32:57 +08:00
neverland
564d751fd8 docs(ImagePreview): improve document (#11137) 2022-10-15 23:01:50 +08:00
uniquker
1f77796bad feat(ImagePreview): add preview image slot (#11133) 2022-10-15 23:00:48 +08:00
neverland
e1d24caa98
docs(TreeSelect): make document consistent with demo (#11136) 2022-10-15 20:46:45 +08:00
neverland
922872522e
docs(changelog): vant@4.0.0-rc.5 (#11125) 2022-10-07 23:35:26 +08:00
chenjiahan
bbb6a6ef2a release: 4.0.0-rc.5 v4.0.0-rc.5 2022-10-07 23:32:35 +08:00
neverland
9c6b416bfb
test(DatePicker): migrate legacy test cases (#11123) 2022-10-07 23:24:03 +08:00
neverland
baa9c33dd4
fix(DatePicker): format value when exceed max date (#11122) 2022-10-07 23:04:56 +08:00