vant 4.0.0-rc.5 → 4.0.0-rc.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/es/calendar/Calendar.mjs +10 -3
  2. package/es/calendar/CalendarHeader.d.ts +2 -0
  3. package/es/calendar/CalendarHeader.mjs +5 -1
  4. package/es/cell/Cell.d.ts +17 -0
  5. package/es/cell/Cell.mjs +11 -4
  6. package/es/cell/index.d.ts +9 -0
  7. package/es/collapse-item/CollapseItem.d.ts +13 -0
  8. package/es/collapse-item/index.d.ts +9 -0
  9. package/es/coupon/index.css +1 -1
  10. package/es/coupon-list/index.css +1 -1
  11. package/es/field/Field.d.ts +13 -0
  12. package/es/field/index.d.ts +9 -0
  13. package/es/image-preview/ImagePreview.mjs +3 -1
  14. package/es/image-preview/ImagePreviewItem.mjs +7 -2
  15. package/es/image-preview/index.css +1 -1
  16. package/es/index.d.ts +1 -1
  17. package/es/index.mjs +1 -1
  18. package/es/swipe/Swipe.mjs +1 -1
  19. package/es/toast/Toast.d.ts +4 -1
  20. package/es/toast/Toast.mjs +2 -1
  21. package/es/toast/index.css +1 -1
  22. package/es/toast/index.d.ts +3 -1
  23. package/es/toast/types.d.ts +2 -0
  24. package/lib/calendar/Calendar.js +10 -3
  25. package/lib/calendar/CalendarHeader.d.ts +2 -0
  26. package/lib/calendar/CalendarHeader.js +5 -1
  27. package/lib/cell/Cell.d.ts +17 -0
  28. package/lib/cell/Cell.js +10 -3
  29. package/lib/cell/index.d.ts +9 -0
  30. package/lib/collapse-item/CollapseItem.d.ts +13 -0
  31. package/lib/collapse-item/index.d.ts +9 -0
  32. package/lib/coupon/index.css +1 -1
  33. package/lib/coupon-list/index.css +1 -1
  34. package/lib/field/Field.d.ts +13 -0
  35. package/lib/field/index.d.ts +9 -0
  36. package/lib/image-preview/ImagePreview.js +3 -1
  37. package/lib/image-preview/ImagePreviewItem.js +7 -2
  38. package/lib/image-preview/index.css +1 -1
  39. package/lib/index.css +1 -1
  40. package/lib/index.d.ts +1 -1
  41. package/lib/index.js +1 -1
  42. package/lib/swipe/Swipe.js +1 -1
  43. package/lib/toast/Toast.d.ts +4 -1
  44. package/lib/toast/Toast.js +2 -1
  45. package/lib/toast/index.css +1 -1
  46. package/lib/toast/index.d.ts +3 -1
  47. package/lib/toast/types.d.ts +2 -0
  48. package/lib/vant.cjs.js +39 -13
  49. package/lib/vant.es.js +39 -13
  50. package/lib/vant.js +39 -13
  51. package/lib/vant.min.js +1 -1
  52. package/lib/web-types.json +555 -541
  53. package/package.json +1 -1
  54. package/changelog.generated.md +0 -71
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vant",
3
- "version": "4.0.0-rc.5",
3
+ "version": "4.0.0-rc.6",
4
4
  "description": "Mobile UI Components built on Vue",
5
5
  "main": "lib/vant.cjs.js",
6
6
  "module": "es/index.mjs",
@@ -1,71 +0,0 @@
1
- ### [v4.0.0-rc.5](https://github.com/vant-ui/vant/compare/v4.0.0-rc.4...v4.0.0-rc.5)
2
-
3
- `2022-10-07`
4
-
5
- **Bug Fixes**
6
-
7
- - cli: duplicate vue in first dev [#11120](https://github.com/vant-ui/vant/issues/11120)
8
- - DatePicker: format value when exceed max date [#11122](https://github.com/vant-ui/vant/issues/11122)
9
- - Field: icon position when label align is top [#11112](https://github.com/vant-ui/vant/issues/11112)
10
- - Tabs: incorrect nav scroll animation in some cases [#11116](https://github.com/vant-ui/vant/issues/11116)
11
- - Tabs: scroll position when using nav-bottom slot [#11115](https://github.com/vant-ui/vant/issues/11115)
12
-
13
- **Document**
14
-
15
- - add faq of uni-app [#11114](https://github.com/vant-ui/vant/issues/11114)
16
- - changelog: @vant/cli 5.0.1 [#11118](https://github.com/vant-ui/vant/issues/11118)
17
- - changelog: vant@4.0.0-rc.4 [#11088](https://github.com/vant-ui/vant/issues/11088)
18
- - Field: add label-align demo [#11121](https://github.com/vant-ui/vant/issues/11121)
19
- - fix website redirect [#11097](https://github.com/vant-ui/vant/issues/11097)
20
- - Navbar: update clickable description [#11110](https://github.com/vant-ui/vant/issues/11110)
21
-
22
- **Feature**
23
-
24
- - add label-position:top for field and form [#11102](https://github.com/vant-ui/vant/issues/11102)
25
- - cli: bump jest v29 [#11117](https://github.com/vant-ui/vant/issues/11117)
26
- - cli: using @vant/cli v5 in template [#11119](https://github.com/vant-ui/vant/issues/11119)
27
- - Loading: add icon slot [#11109](https://github.com/vant-ui/vant/issues/11109)
28
- - nav-bar: add clickable prop to nav-bar component [#11048](https://github.com/vant-ui/vant/issues/11048)
29
- - Stepper: add auto-fixed prop [#11071](https://github.com/vant-ui/vant/issues/11071)
30
-
31
- **perf**
32
-
33
- - cli: code split documents [#11111](https://github.com/vant-ui/vant/issues/11111)
34
-
35
- **release**
36
-
37
- - @vant/cli 5.0.1 [843c16](https://github.com/vant-ui/vant/commit/843c167376eee77c763b705a18052ac2ac28692a)
38
- - @vant/cli 5.0.2 [d49c1f](https://github.com/vant-ui/vant/commit/d49c1fb94aeb0167cba56092d29c63ad3c1c9358)
39
- ### [v4.0.0-rc.4](https://github.com/vant-ui/vant/compare/v4.0.0-rc.3...v4.0.0-rc.4)
40
-
41
- `2022-09-25`
42
-
43
- **Bug Fixes**
44
-
45
- - cli: downgrade vite version to fix the website [#11087](https://github.com/vant-ui/vant/issues/11087)
46
- - cli: should remove light theme class in dark mode [#11039](https://github.com/vant-ui/vant/issues/11039)
47
- - Tabs: incorrect scroll position in some cases [#11085](https://github.com/vant-ui/vant/issues/11085)
48
- - Tabs: incorrect scroll position when inited [#11059](https://github.com/vant-ui/vant/issues/11059)
49
-
50
- **Document**
51
-
52
- - Cascader: update field-names type [#11052](https://github.com/vant-ui/vant/issues/11052)
53
- - changelog: vant@4.0.0-rc.3 [#11038](https://github.com/vant-ui/vant/issues/11038)
54
- - improve dark theme guide [#11040](https://github.com/vant-ui/vant/issues/11040)
55
- - PickerGroup: fix TimePicker link error [#11053](https://github.com/vant-ui/vant/issues/11053)
56
- - update links [#11041](https://github.com/vant-ui/vant/issues/11041)
57
-
58
- **Feature**
59
-
60
- - Field: add message param to 'end-validate' method [#11080](https://github.com/vant-ui/vant/issues/11080)
61
-
62
- **perf**
63
-
64
- - improve the type of setTimeout [#11069](https://github.com/vant-ui/vant/issues/11069)
65
- - move @vant/icons to dev dependencies [#11075](https://github.com/vant-ui/vant/issues/11075)
66
-
67
- **release**
68
-
69
- - @vant/cli 5.0.0-beta.0 [#11082](https://github.com/vant-ui/vant/issues/11082)
70
- - 4.0.0-rc.4 [6d2705](https://github.com/vant-ui/vant/commit/6d2705f578190d2af76419e50bb8dd2f4f084ed9)
71
- - vant@1.4.3 [#11076](https://github.com/vant-ui/vant/issues/11076)