diff --git a/docs/markdown/changelog.en-US.md b/docs/markdown/changelog.en-US.md index b57b2487d..32b886705 100644 --- a/docs/markdown/changelog.en-US.md +++ b/docs/markdown/changelog.en-US.md @@ -1,5 +1,20 @@ # Changelog +### [v2.5.9-beta.0](https://github.com/youzan/vant/compare/v2.5.8...v2.5.9-beta.0) + +`2020-03-28` + +**Feature** + +- AddressEdit: add click-area event [#5939](https://github.com/youzan/vant/issues/5939) +- NavBar: add placeholder prop [#5938](https://github.com/youzan/vant/issues/5938) +- Steps: add click-step event [#5937](https://github.com/youzan/vant/issues/5937) + +**Bug Fixes** + +- NumberKeyboard: show-delete-key prop not work [#5935](https://github.com/youzan/vant/issues/5935) +- Toast: incorrect height in legacy devices [#5931](https://github.com/youzan/vant/issues/5931) + ### [v2.5.8](https://github.com/youzan/vant/compare/v2.5.7...v2.5.8) `2020-03-27` diff --git a/docs/markdown/changelog.zh-CN.md b/docs/markdown/changelog.zh-CN.md index 8675825e9..98e572838 100644 --- a/docs/markdown/changelog.zh-CN.md +++ b/docs/markdown/changelog.zh-CN.md @@ -10,6 +10,21 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。 - 次版本号:每隔一至二个月发布,包含新特性和较大的功能更新,向下兼容。 - 主版本号:发布时间不定,包含不兼容更新,预计下一个主版本会与 Vue 3.0 同期发布。 +### [v2.5.9-beta.0](https://github.com/youzan/vant/compare/v2.5.8...v2.5.9-beta.0) + +`2020-03-28` + +**Feature** + +- AddressEdit: 新增 click-area 事件 [#5939](https://github.com/youzan/vant/issues/5939) +- NavBar: 新增 placeholder 属性 [#5938](https://github.com/youzan/vant/issues/5938) +- Steps: 新增 click-step 事件 [#5937](https://github.com/youzan/vant/issues/5937) + +**Bug Fixes** + +- NumberKeyboard: 修复 show-delete-key 属性不生效的问题 [#5935](https://github.com/youzan/vant/issues/5935) +- Toast: 修复在部分机型上高度错误的问题 [#5931](https://github.com/youzan/vant/issues/5931) + ### [v2.5.8](https://github.com/youzan/vant/compare/v2.5.7...v2.5.8) `2020-03-27` diff --git a/src/nav-bar/README.md b/src/nav-bar/README.md index 2dbbb06e6..2fe034368 100644 --- a/src/nav-bar/README.md +++ b/src/nav-bar/README.md @@ -61,7 +61,7 @@ export default { | left-arrow | Whether to show left arrow | *boolean* | `false` | | border | Whether to show bottom border | *boolean* | `true` | | fixed | Whether to fixed top | *boolean* | `false` | -| placeholder `v2.6.0` | Whether to generage a placeholder element when fixed | *boolean* | `false` | +| placeholder `v2.5.9` | Whether to generage a placeholder element when fixed | *boolean* | `false` | | z-index | Z-index | *number \| string* | `1` | ### Slots diff --git a/src/nav-bar/README.zh-CN.md b/src/nav-bar/README.zh-CN.md index 2a129b318..a102de717 100644 --- a/src/nav-bar/README.zh-CN.md +++ b/src/nav-bar/README.zh-CN.md @@ -63,7 +63,7 @@ export default { | left-arrow | 是否显示左侧箭头 | *boolean* | `false` | | border | 是否显示下边框 | *boolean* | `true` | | fixed | 是否固定在顶部 | *boolean* | `false` | -| placeholder `v2.6.0` | 固定在顶部时,是否在标签位置生成一个等高的占位元素 | *boolean* | `false` | +| placeholder `v2.5.9` | 固定在顶部时,是否在标签位置生成一个等高的占位元素 | *boolean* | `false` | | z-index | 元素 z-index | *number \| string* | `1` | ### Slots diff --git a/src/number-keyboard/README.md b/src/number-keyboard/README.md index d0173e5a0..d2552a6c7 100644 --- a/src/number-keyboard/README.md +++ b/src/number-keyboard/README.md @@ -145,7 +145,7 @@ Use `title` prop to set keyboard title | extra-key | Content of bottom left key | *string* | `''` | | close-button-text | Close button text | *string* | `-` | | delete-button-text | Delete button text | *string* | `delete` | -| show-delete-key `v2.6.0` | Whether to show delete button | *boolean* | `true` | +| show-delete-key `v2.5.9` | Whether to show delete button | *boolean* | `true` | | hide-on-click-outside | Whether to hide keyboard when click outside | *boolean* | `true` | | safe-area-inset-bottom | Whether to enable bottom safe area adaptation | *boolean* | `true` | diff --git a/src/number-keyboard/README.zh-CN.md b/src/number-keyboard/README.zh-CN.md index e01d6d27b..b544acdb4 100644 --- a/src/number-keyboard/README.zh-CN.md +++ b/src/number-keyboard/README.zh-CN.md @@ -151,7 +151,7 @@ export default { | extra-key | 左下角按键内容 | *string* | `''` | | close-button-text | 关闭按钮文字,空则不展示 | *string* | `-` | | delete-button-text | 删除按钮文字 | *string* | `删除` | -| show-delete-key `v2.6.0` | 是否展示删除按钮 | *boolean* | `true` | +| show-delete-key `v2.5.9` | 是否展示删除按钮 | *boolean* | `true` | | hide-on-click-outside | 点击外部时是否收起键盘 | *boolean* | `true` | | safe-area-inset-bottom | 是否开启[底部安全区适配](#/zh-CN/quickstart#di-bu-an-quan-qu-gua-pei) | *boolean* | `true` | diff --git a/src/steps/README.md b/src/steps/README.md index e126db654..130f373b8 100644 --- a/src/steps/README.md +++ b/src/steps/README.md @@ -90,4 +90,4 @@ export default { | Event | Description | Arguments | |------|------|------| -| click-step `v2.6.0` | Triggered when a step's title or icon is clicked | *index: number* | +| click-step `v2.5.9` | Triggered when a step's title or icon is clicked | *index: number* | diff --git a/src/steps/README.zh-CN.md b/src/steps/README.zh-CN.md index d67c9e00b..d6306a277 100644 --- a/src/steps/README.zh-CN.md +++ b/src/steps/README.zh-CN.md @@ -96,4 +96,4 @@ export default { | 事件名 | 说明 | 回调参数 | |------|------|------| -| click-step `v2.6.0` | 点击步骤的标题或图标时触发 | *index: number* | +| click-step `v2.5.9` | 点击步骤的标题或图标时触发 | *index: number* | diff --git a/src/swipe/README.md b/src/swipe/README.md index 1785f78cc..ab99f81f5 100644 --- a/src/swipe/README.md +++ b/src/swipe/README.md @@ -170,7 +170,7 @@ export default { | vertical | Whether to be vertical Scrolling | *boolean* | `false` | | touchable | Whether to allow swipe by touch gesture | *boolean* | `true` | | stop-propagation `v2.1.0` | Whether to stop touchmove event propagation | *boolean* | `false` | -| lazy-render `v2.6.0` | Whether to enable lazy render | *boolean* | `false` | +| lazy-render `v2.5.8` | Whether to enable lazy render | *boolean* | `false` | | indicator-color | Indicator color | *string* | `#1989fa` | ### Swipe Events diff --git a/src/swipe/README.zh-CN.md b/src/swipe/README.zh-CN.md index a933f516c..fcc3f380a 100644 --- a/src/swipe/README.zh-CN.md +++ b/src/swipe/README.zh-CN.md @@ -176,7 +176,7 @@ export default { | vertical | 是否为纵向滚动 | *boolean* | `false` | | touchable | 是否可以通过手势滑动 | *boolean* | `true` | | stop-propagation `v2.2.13` | 是否阻止滑动事件冒泡 | *boolean* | `true` | -| lazy-render `v2.6.0` | 是否延迟渲染未展示的轮播 | *boolean* | `false` | +| lazy-render `v2.5.8` | 是否延迟渲染未展示的轮播 | *boolean* | `false` | | indicator-color | 指示器颜色 | *string* | `#1989fa` | ### Swipe Events