mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
docs(changelog): 2.6.0
This commit is contained in:
parent
a09ce0c955
commit
49cd33d1b8
@ -10,9 +10,14 @@ Vant follows [Semantic Versioning 2.0.0](https://semver.org/lang/zh-CN/).
|
|||||||
- Minor version:released every one to two months, including backwards compatible features.
|
- Minor version:released every one to two months, including backwards compatible features.
|
||||||
- Major version:including breaking changes and new features.
|
- Major version:including breaking changes and new features.
|
||||||
|
|
||||||
### [v2.6.0-beta.0](https://github.com/youzan/vant/compare/v2.5.9-beta.0...v2.6.0-beta.0)
|
### [v2.6.0](https://github.com/youzan/vant/compare/v2.5.9...v2.6.0)
|
||||||
|
|
||||||
`2020-04-02`
|
`2020-04-09`
|
||||||
|
|
||||||
|
**Feature**
|
||||||
|
|
||||||
|
- add Empty component [#6010](https://github.com/youzan/vant/issues/6010)
|
||||||
|
- add ShareSheet component [508076](https://github.com/youzan/vant/commit/5080761cfee10881bb3db771609800f3fcfb1af7)
|
||||||
|
|
||||||
**Feature**
|
**Feature**
|
||||||
|
|
||||||
@ -23,12 +28,15 @@ Vant follows [Semantic Versioning 2.0.0](https://semver.org/lang/zh-CN/).
|
|||||||
- SubmitBar: enable safe-area-inset-bottom by default [#5956](https://github.com/youzan/vant/issues/5956)
|
- SubmitBar: enable safe-area-inset-bottom by default [#5956](https://github.com/youzan/vant/issues/5956)
|
||||||
- GoodsAction: enable safe-area-inset-bottom by default [#5955](https://github.com/youzan/vant/issues/5955)
|
- GoodsAction: enable safe-area-inset-bottom by default [#5955](https://github.com/youzan/vant/issues/5955)
|
||||||
- Swipe: allow swipe multiple item at once [#5953](https://github.com/youzan/vant/issues/5953)
|
- Swipe: allow swipe multiple item at once [#5953](https://github.com/youzan/vant/issues/5953)
|
||||||
|
- Calendar: auto selected to max range [#5992](https://github.com/youzan/vant/issues/5992)
|
||||||
|
|
||||||
**Improvement**
|
**Improvement**
|
||||||
|
|
||||||
- NavBar: improve active feedback [#5949](https://github.com/youzan/vant/issues/5949)
|
- NavBar: improve active feedback [#5949](https://github.com/youzan/vant/issues/5949)
|
||||||
- Popup: improve leave animation timing function [#5954](https://github.com/youzan/vant/issues/5954)
|
- Popup: improve leave animation timing function [#5954](https://github.com/youzan/vant/issues/5954)
|
||||||
- Picker: improve scroll speed [#5951](https://github.com/youzan/vant/issues/5951)
|
- Picker: improve scroll speed [#5951](https://github.com/youzan/vant/issues/5951)
|
||||||
|
- Swipe: improve swipe threshold [#6003](https://github.com/youzan/vant/issues/6003)
|
||||||
|
- TreeSelect: update nav background color [#5991](https://github.com/youzan/vant/issues/5991)
|
||||||
|
|
||||||
**Bug Fixes**
|
**Bug Fixes**
|
||||||
|
|
||||||
|
@ -10,25 +10,35 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
|
|||||||
- 次版本号:每隔一至二个月发布,包含新特性和较大的功能更新,向下兼容。
|
- 次版本号:每隔一至二个月发布,包含新特性和较大的功能更新,向下兼容。
|
||||||
- 主版本号:发布时间不定,包含不兼容更新,预计下一个主版本会与 Vue 3.0 同期发布。
|
- 主版本号:发布时间不定,包含不兼容更新,预计下一个主版本会与 Vue 3.0 同期发布。
|
||||||
|
|
||||||
### [v2.6.0-beta.0](https://github.com/youzan/vant/compare/v2.5.9-beta.0...v2.6.0-beta.0)
|
### [v2.6.0](https://github.com/youzan/vant/compare/v2.6.0-beta.0...v2.6.0)
|
||||||
|
|
||||||
`2020-04-02`
|
`2020-04-09`
|
||||||
|
|
||||||
**Feature**
|
**Feature**
|
||||||
|
|
||||||
- Form: 新增 show-error 属性 [#5941](https://github.com/youzan/vant/issues/5941)
|
- 新增 ShareSheet 分享面板组件,用于进行分享操作 [508076](https://github.com/youzan/vant/commit/5080761cfee10881bb3db771609800f3fcfb1af7)
|
||||||
- Tabbar: 新增 placeholder 属性 [#5979](https://github.com/youzan/vant/issues/5979)
|
- 新增 Empty 空状态组件,作为空状态时的占位提示 [#6010](https://github.com/youzan/vant/issues/6010)
|
||||||
|
|
||||||
|
<img src="https://img.yzcdn.cn/vant/component-preview-2.6.png" style="width: 540px;">
|
||||||
|
|
||||||
|
**Feature**
|
||||||
|
|
||||||
|
- Form: 新增 show-error 属性,用于控制展示错误提示 [#5941](https://github.com/youzan/vant/issues/5941)
|
||||||
|
- Tabbar: 新增 placeholder 属性,用于在吸底时生成占位元素 [#5979](https://github.com/youzan/vant/issues/5979)
|
||||||
- Sku: 默认开启底部安全区适配 [#5960](https://github.com/youzan/vant/issues/5960)
|
- Sku: 默认开启底部安全区适配 [#5960](https://github.com/youzan/vant/issues/5960)
|
||||||
- SubmitBar: 默认开启底部安全区适配 [#5956](https://github.com/youzan/vant/issues/5956)
|
- SubmitBar: 默认开启底部安全区适配 [#5956](https://github.com/youzan/vant/issues/5956)
|
||||||
- GoodsAction: 默认开启底部安全区适配 [#5955](https://github.com/youzan/vant/issues/5955)
|
- GoodsAction: 默认开启底部安全区适配 [#5955](https://github.com/youzan/vant/issues/5955)
|
||||||
- Tabbar: 固定在底部时默认开启底部安全区适配 [#5968](https://github.com/youzan/vant/issues/5968)
|
- Tabbar: 固定在底部时默认开启底部安全区适配 [#5968](https://github.com/youzan/vant/issues/5968)
|
||||||
- Swipe: 允许一次滚动多页轮播 [#5953](https://github.com/youzan/vant/issues/5953)
|
- Swipe: 允许一次滚动多页轮播 [#5953](https://github.com/youzan/vant/issues/5953)
|
||||||
|
- Calendar: 设置 max-range 后,选择超出范围时会自动选择到最大范围 [#5992](https://github.com/youzan/vant/issues/5992)
|
||||||
|
|
||||||
**Improvement**
|
**Improvement**
|
||||||
|
|
||||||
- NavBar: 优化点击反馈效果 [#5949](https://github.com/youzan/vant/issues/5949)
|
- NavBar: 优化点击反馈效果 [#5949](https://github.com/youzan/vant/issues/5949)
|
||||||
- Popup: 优化退场动画效果 [#5954](https://github.com/youzan/vant/issues/5954)
|
- Popup: 优化退场动画效果 [#5954](https://github.com/youzan/vant/issues/5954)
|
||||||
- Picker: 优化惯性滑动速率 [#5951](https://github.com/youzan/vant/issues/5951)
|
- Picker: 优化惯性滑动速率 [#5951](https://github.com/youzan/vant/issues/5951)
|
||||||
|
- Swipe: 优化滚动手势体验,滑动较慢时会回弹到原位置 [#6003](https://github.com/youzan/vant/issues/6003)
|
||||||
|
- TreeSelect: 更新左侧栏背景色,增强区分度 [#5991](https://github.com/youzan/vant/issues/5991)
|
||||||
|
|
||||||
**Bug Fixes**
|
**Bug Fixes**
|
||||||
|
|
||||||
|
@ -99,12 +99,12 @@ The easiest way to use Vant is to include a CDN link in the html file, after whi
|
|||||||
<!-- import style -->
|
<!-- import style -->
|
||||||
<link
|
<link
|
||||||
rel="stylesheet"
|
rel="stylesheet"
|
||||||
href="https://cdn.jsdelivr.net/npm/vant@2.5/lib/index.css"
|
href="https://cdn.jsdelivr.net/npm/vant@2.6/lib/index.css"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<!-- import script -->
|
<!-- import script -->
|
||||||
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.min.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.min.js"></script>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/vant@2.5/lib/vant.min.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/vant@2.6/lib/vant.min.js"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Render the Button component
|
// Render the Button component
|
||||||
|
@ -116,12 +116,12 @@ Vue.use(Vant);
|
|||||||
<!-- 引入样式文件 -->
|
<!-- 引入样式文件 -->
|
||||||
<link
|
<link
|
||||||
rel="stylesheet"
|
rel="stylesheet"
|
||||||
href="https://cdn.jsdelivr.net/npm/vant@2.5/lib/index.css"
|
href="https://cdn.jsdelivr.net/npm/vant@2.6/lib/index.css"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<!-- 引入 Vue 和 Vant 的 JS 文件 -->
|
<!-- 引入 Vue 和 Vant 的 JS 文件 -->
|
||||||
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.min.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.min.js"></script>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/vant@2.5/lib/vant.min.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/vant@2.6/lib/vant.min.js"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// 在 #app 标签下渲染一个按钮组件
|
// 在 #app 标签下渲染一个按钮组件
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "vant",
|
"name": "vant",
|
||||||
"version": "2.6.0-beta.0",
|
"version": "2.6.0",
|
||||||
"description": "Mobile UI Components built on Vue",
|
"description": "Mobile UI Components built on Vue",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"module": "es/index.js",
|
"module": "es/index.js",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user