Merge branch 'dev' into next

This commit is contained in:
chenjiahan
2020-08-07 06:33:04 +08:00
84 changed files with 898 additions and 345 deletions

View File

@@ -10,6 +10,74 @@ Vant follows [Semantic Versioning 2.0.0](https://semver.org/lang/zh-CN/).
- Minor versionreleased every one to two months, including backwards compatible features.
- Major versionincluding breaking changes and new features.
### [v2.10.0-beta.5](https://github.com/youzan/vant/compare/v2.10.0-beta.4...v2.10.0-beta.5)
`2020-08-06`
**style**
- NumberKeyboard: adjust padding bottom [#6938](https://github.com/youzan/vant/issues/6938)
**Bug Fixes**
- AddressEdit: render error in some cases [#6942](https://github.com/youzan/vant/issues/6942)
- Dialog: incorrect padding with round-button theme [#6936](https://github.com/youzan/vant/issues/6936)
- Info: number vertical align center [#6952](https://github.com/youzan/vant/issues/6952)
- NumberKeyboard: incorrect key height on legacy safari [#6937](https://github.com/youzan/vant/issues/6937)
- Picker: When item.defaultIndex is 0, this.defaultIndex will be used [#6948](https://github.com/youzan/vant/issues/6948)
- Sku: header image shrink [#6949](https://github.com/youzan/vant/issues/6949)
### [v2.10.0-beta.4](https://github.com/youzan/vant/compare/v2.10.0-beta.3...v2.10.0-beta.4)
`2020-08-04`
- Revert "fix(Icon): incorrect image icon height when loading (#6858)" [#6858](https://github.com/youzan/vant/issues/6858)
### [v2.10.0-beta.3](https://github.com/youzan/vant/compare/v2.10.0-beta.2...v2.10.0-beta.3)
`2020-08-04`
**style**
- Dialog: fix round-button theme [#6934](https://github.com/youzan/vant/issues/6934)
### [v2.10.0-beta.2](https://github.com/youzan/vant/compare/v2.10.0-beta.1...v2.10.0-beta.2)
`2020-08-03`
**Feature**
- Dialog: add new prop theme [#6921](https://github.com/youzan/vant/issues/6921)
- Icon: add back-top icon [#6931](https://github.com/youzan/vant/issues/6931)
**style**
- Image: adjust icon color to @gray-4 [729cca](https://github.com/youzan/vant/commit/729cca61a978ba243cf442143ae85d2abb464de0)
- Tab: disable ellipsis when scrollable [bc0e45](https://github.com/youzan/vant/commit/bc0e45687a76f49355efa7fb2403184746575012)
**Bug Fixes**
- Calendar: should only scroll calendar body when inited [#6926](https://github.com/youzan/vant/issues/6926)
### [v2.10.0-beta.1](https://github.com/youzan/vant/compare/v2.9.4...v2.10.0-beta.1)
`2020-07-31`
**Feature**
- Icon: add photo-fail icon [#6883](https://github.com/youzan/vant/issues/6883)
- DropdownMenu: add @dropdown-menu-box-shadow var [6d0c54](https://github.com/youzan/vant/commit/6d0c54e8f4e9c1c9982778df8a36c7ac3fc2f905)
**style**
- CouponCell: insert a space after currency [#6888](https://github.com/youzan/vant/issues/6888)
- Image: update loading icon and error icon [#6890](https://github.com/youzan/vant/issues/6890)
- NumberKeyboard: adjust key height to 28px [#6899](https://github.com/youzan/vant/issues/6899)
- Sku: improve price align [#6911](https://github.com/youzan/vant/issues/6911)
- Tab: remove default border [69ac60](https://github.com/youzan/vant/commit/69ac602bc21b445fb88783303d00bd65e4dc5ae2)
- Tab: adjust padding in complete mode [90e678](https://github.com/youzan/vant/commit/90e678756aecddee2beb522e38017c68f616b387)
- Tab: update nav padding [8027f4](https://github.com/youzan/vant/commit/8027f46f3ff33b200cf022e5f9a2693293a1bb16)
### [v2.10.0-beta.0](https://github.com/youzan/vant/compare/v2.9.4-beta.0...v2.10.0-beta.0)
`2020-07-25`
@@ -44,6 +112,20 @@ Vant follows [Semantic Versioning 2.0.0](https://semver.org/lang/zh-CN/).
- Icon: incorrect image icon height when loading [#6858](https://github.com/youzan/vant/issues/6858)
- ImagePreview: fit orientationchange [#6825](https://github.com/youzan/vant/issues/6825)
### [v2.9.4](https://github.com/youzan/vant/compare/v2.9.3...v2.9.4)
`2020-07-29`
**Feature**
- ShareSheet: add className option [#6886](https://github.com/youzan/vant/issues/6886)
- Sku: modify default min year of sku date picker [#6879](https://github.com/youzan/vant/issues/6879)
**Bug Fixes**
- Popup: incorrect lock scroll in some cases [#6892](https://github.com/youzan/vant/issues/6892)
- Stepper: double tap to scroll in safari [#6882](https://github.com/youzan/vant/issues/6882)
### [v2.9.3](https://github.com/youzan/vant/compare/v2.9.2...v2.9.3)
`2020-07-19`

View File

@@ -10,6 +10,74 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
- 次版本号:每隔一至二个月发布,包含新特性和较大的功能更新,向下兼容。
- 主版本号:发布时间不定,包含不兼容更新,预计下一个主版本会与 Vue 3.0 同期发布。
### [v2.10.0-beta.5](https://github.com/youzan/vant/compare/v2.10.0-beta.4...v2.10.0-beta.5)
`2020-08-06`
**style**
- NumberKeyboard: 减少底部留白大小 [#6938](https://github.com/youzan/vant/issues/6938)
- Dialog: 优化使用 round-button 主题时的内边距 [#6936](https://github.com/youzan/vant/issues/6936)
**Bug Fixes**
- AddressEdit: 修复个别情况下按钮渲染错误的问题 [#6942](https://github.com/youzan/vant/issues/6942)
- Info: 修复 badge 的数字在 iOS 上不居中的问题 [#6952](https://github.com/youzan/vant/issues/6952)
- NumberKeyboard: 修复在低版本 safari 上按键高度错误的问题 [#6937](https://github.com/youzan/vant/issues/6937)
- Picker: 修复 defaultIndex 在个别情况下取值逻辑错误的问题 [#6948](https://github.com/youzan/vant/issues/6948)
- Sku: 修复价格较长时顶部图片的宽度被压缩的问题 [#6949](https://github.com/youzan/vant/issues/6949)
### [v2.10.0-beta.4](https://github.com/youzan/vant/compare/v2.10.0-beta.3...v2.10.0-beta.4)
`2020-08-04`
- 回滚 "fix(Icon): 修复图片图标加载过程中高度异常的问题 (#6858)" [#6858](https://github.com/youzan/vant/issues/6858)
### [v2.10.0-beta.3](https://github.com/youzan/vant/compare/v2.10.0-beta.2...v2.10.0-beta.3)
`2020-08-04`
**style**
- Dialog: 修复 round-theme 弹窗样式错误的问题 [#6934](https://github.com/youzan/vant/issues/6934)
### [v2.10.0-beta.2](https://github.com/youzan/vant/compare/v2.10.0-beta.1...v2.10.0-beta.2)
`2020-08-03`
**Feature**
- Dialog: 新增 theme 属性,用于展示圆角按钮风格的弹窗 [#6921](https://github.com/youzan/vant/issues/6921)
- Icon: 新增 back-top 图标 [#6931](https://github.com/youzan/vant/issues/6931)
**style**
- Dialog: 确认按钮的默认颜色调整为红色 [#6921](https://github.com/youzan/vant/issues/6921)
- Image: 加载图标和错误图标的颜色调整为 @gray-4 [729cca](https://github.com/youzan/vant/commit/729cca61a978ba243cf442143ae85d2abb464de0)
- Tab: 在横向滚动模式下默认不截断标题的文字 [bc0e45](https://github.com/youzan/vant/commit/bc0e45687a76f49355efa7fb2403184746575012)
**Bug Fixes**
- Calendar: 修复初始化日历时页面滚动条位置错误的问题 [#6926](https://github.com/youzan/vant/issues/6926)
### [v2.10.0-beta.1](https://github.com/youzan/vant/compare/v2.9.4...v2.10.0-beta.1)
`2020-07-31`
**Feature**
- Icon: 新增 photo-fail 图标 [#6883](https://github.com/youzan/vant/issues/6883)
- DropdownMenu: 新增 @dropdown-menu-box-shadow 变量 [6d0c54](https://github.com/youzan/vant/commit/6d0c54e8f4e9c1c9982778df8a36c7ac3fc2f905)
**style**
- Tab: 移除默认边框 [69ac60](https://github.com/youzan/vant/commit/69ac602bc21b445fb88783303d00bd65e4dc5ae2)
- Tab: 优化标签间距 [90e678](https://github.com/youzan/vant/commit/90e678756aecddee2beb522e38017c68f616b387) [8027f4](https://github.com/youzan/vant/commit/8027f46f3ff33b200cf022e5f9a2693293a1bb16)
- Image: 更新加载图标和错误图标 [#6890](https://github.com/youzan/vant/issues/6890)
- CouponCell: 优化金额与符号的间隔 [#6888](https://github.com/youzan/vant/issues/6888)
- Sku: 优化价格符号位置,与下方文案对齐 [#6911](https://github.com/youzan/vant/issues/6911)
- NumberKeyboard: 调整按键高度为 28px增加底部空白区域 [#6899](https://github.com/youzan/vant/issues/6899)
### [v2.10.0-beta.0](https://github.com/youzan/vant/compare/v2.9.4-beta.0...v2.10.0-beta.0)
`2020-07-25`
@@ -44,6 +112,20 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
- Icon: 修复图片图标加载过程中高度异常的问题 [#6858](https://github.com/youzan/vant/issues/6858)
- ImagePreview: 修复 iOS 下旋转屏幕时布局错误的问题 [#6825](https://github.com/youzan/vant/issues/6825)
### [v2.9.4](https://github.com/youzan/vant/compare/v2.9.3...v2.9.4)
`2020-07-29`
**Feature**
- ShareSheet: 新增 className 选项,用于自定义选项的类名 [#6886](https://github.com/youzan/vant/issues/6886)
- Sku: 优化日期选择范围 [#6879](https://github.com/youzan/vant/issues/6879)
**Bug Fixes**
- Popup: 修复在个别情况下滚动锁定无法解除的问题 [#6892](https://github.com/youzan/vant/issues/6892)
- Stepper: 修复在 safari 上快速点击按钮时会导致页面滚动的问题 [#6882](https://github.com/youzan/vant/issues/6882)
### [v2.9.3](https://github.com/youzan/vant/compare/v2.9.2...v2.9.3)
`2020-07-19`