From f26a39a9f3011e3f8c2dab01f8e33e55596a4060 Mon Sep 17 00:00:00 2001 From: neverland Date: Sat, 24 Jun 2023 10:48:43 +0800 Subject: [PATCH] docs(changelog): vant@4.6.0 (#12021) --- .../vant/docs/markdown/changelog.en-US.md | 22 +++++++++++++++++++ .../vant/docs/markdown/changelog.zh-CN.md | 22 +++++++++++++++++++ packages/vant/src/floating-bubble/README.md | 2 +- .../vant/src/floating-bubble/README.zh-CN.md | 2 +- packages/vant/src/rate/README.md | 2 +- packages/vant/src/rate/README.zh-CN.md | 2 +- packages/vant/src/rolling-text/README.md | 2 +- .../vant/src/rolling-text/README.zh-CN.md | 2 +- 8 files changed, 50 insertions(+), 6 deletions(-) diff --git a/packages/vant/docs/markdown/changelog.en-US.md b/packages/vant/docs/markdown/changelog.en-US.md index 9bae720cb..2b5f51271 100644 --- a/packages/vant/docs/markdown/changelog.en-US.md +++ b/packages/vant/docs/markdown/changelog.en-US.md @@ -19,6 +19,28 @@ Vant follows [Semantic Versioning 2.0.0](https://semver.org/lang/zh-CN/). ## Details +### [v4.6.0](https://github.com/vant-ui/vant/compare/v4.5.0...v4.6.0) + +`2023-06-24` + +**New Component** + +- add new FloatingBubble component, contributed by [@zhousg](https://github.com/zhousg) ❤️ [#11880](https://github.com/vant-ui/vant/issues/11880) +- add new RollingText component, contributed by [@cunzaizhuyi](https://github.com/cunzaizhuyi) ❤️ [#11911](https://github.com/vant-ui/vant/issues/11911) + +**Feature** + +- Rate: add clearable prop [#11969](https://github.com/vant-ui/vant/issues/11969) + +**Bug Fixes** + +- DropdownMenu: fix missing exported type [#11979](https://github.com/vant-ui/vant/issues/11979) +- Field: should not set `for` attr to label when using input slot [#11966](https://github.com/vant-ui/vant/issues/11966) +- FloatingPanel: fix missing floatingPanelProps export [#11978](https://github.com/vant-ui/vant/issues/11978) +- FloatingPanel: remove passive event warning [#11992](https://github.com/vant-ui/vant/issues/11992) +- Picker: optimize the animation effect of sliding multiple columns simultaneously [#11945](https://github.com/vant-ui/vant/issues/11945) +- Rate: should change value when half icon is touchmoved [#12002](https://github.com/vant-ui/vant/issues/12002) + ### [v4.5.0](https://github.com/vant-ui/vant/compare/v4.4.1...v4.5.0) `2023-06-11` diff --git a/packages/vant/docs/markdown/changelog.zh-CN.md b/packages/vant/docs/markdown/changelog.zh-CN.md index 0c1390b19..982305daf 100644 --- a/packages/vant/docs/markdown/changelog.zh-CN.md +++ b/packages/vant/docs/markdown/changelog.zh-CN.md @@ -19,6 +19,28 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。 ## 更新内容 +### [v4.6.0](https://github.com/vant-ui/vant/compare/v4.5.0...v4.6.0) + +`2023-06-24` + +**New Component** + +- 新增 FloatingBubble 组件,由 [@zhousg](https://github.com/zhousg) 贡献 ❤️ [#11880](https://github.com/vant-ui/vant/issues/11880) +- 新增 RollingText 组件,由 [@cunzaizhuyi](https://github.com/cunzaizhuyi) 贡献 ❤️ [#11911](https://github.com/vant-ui/vant/issues/11911) + +**Feature** + +- Rate: 新增 clearable 属性 [#11969](https://github.com/vant-ui/vant/issues/11969) + +**Bug Fixes** + +- DropdownMenu: 修复缺少类型导出的问题 [#11979](https://github.com/vant-ui/vant/issues/11979) +- Field: 修复使用 input 插槽时设置了多余的 label `for` 属性的问题 [#11966](https://github.com/vant-ui/vant/issues/11966) +- FloatingPanel: 修复缺少 floatingPanelProps 类型导出的问题 [#11978](https://github.com/vant-ui/vant/issues/11978) +- FloatingPanel: 修复 passive event warning [#11992](https://github.com/vant-ui/vant/issues/11992) +- Picker: 修复多列同时滚动时的问题 [#11945](https://github.com/vant-ui/vant/issues/11945) +- Rate: 修复半星拖动时断触的问题 [#12002](https://github.com/vant-ui/vant/issues/12002) + ### [v4.5.0](https://github.com/vant-ui/vant/compare/v4.4.1...v4.5.0) `2023-06-11` diff --git a/packages/vant/src/floating-bubble/README.md b/packages/vant/src/floating-bubble/README.md index 99f0da2ce..a8316c54a 100644 --- a/packages/vant/src/floating-bubble/README.md +++ b/packages/vant/src/floating-bubble/README.md @@ -2,7 +2,7 @@ ### Intro -Clickable bubbles that hover around the edge of the page. +Clickable bubbles that hover around the edge of the page. Please upgrade `vant` to >= v4.6.0 before using this component. ### Install diff --git a/packages/vant/src/floating-bubble/README.zh-CN.md b/packages/vant/src/floating-bubble/README.zh-CN.md index a5efd1ada..37df455ed 100644 --- a/packages/vant/src/floating-bubble/README.zh-CN.md +++ b/packages/vant/src/floating-bubble/README.zh-CN.md @@ -2,7 +2,7 @@ ### 介绍 -悬浮在页面边缘的可点击气泡。 +悬浮在页面边缘的可点击气泡。请升级 `vant` 到 >= 4.6.0 版本来使用该组件。 ### 引入 diff --git a/packages/vant/src/rate/README.md b/packages/vant/src/rate/README.md index 219aa36bb..cd31d6829 100644 --- a/packages/vant/src/rate/README.md +++ b/packages/vant/src/rate/README.md @@ -152,7 +152,7 @@ export default { | void-icon | Void icon | _string_ | `star-o` | | icon-prefix | Icon className prefix | _string_ | `van-icon` | | allow-half | Whether to allow half star | _boolean_ | `false` | -| clearable | Whether to allow clear when click again | _boolean_ | `false` | +| clearable `v4.6.0` | Whether to allow clear when click again | _boolean_ | `false` | | readonly | Whether to be readonly | _boolean_ | `false` | | disabled | Whether to disable rate | _boolean_ | `false` | | touchable | Whether to allow select rate by touch gesture | _boolean_ | `true` | diff --git a/packages/vant/src/rate/README.zh-CN.md b/packages/vant/src/rate/README.zh-CN.md index 35732138e..06981aad4 100644 --- a/packages/vant/src/rate/README.zh-CN.md +++ b/packages/vant/src/rate/README.zh-CN.md @@ -170,7 +170,7 @@ export default { | void-icon | 未选中时的图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/zh-CN/icon#props) | _string_ | `star-o` | | icon-prefix | 图标类名前缀,等同于 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props) | _string_ | `van-icon` | | allow-half | 是否允许半选 | _boolean_ | `false` | -| clearable | 是否允许再次点击后清除 | _boolean_ | `false` | +| clearable `v4.6.0` | 是否允许再次点击后清除 | _boolean_ | `false` | | readonly | 是否为只读状态,只读状态下无法修改评分 | _boolean_ | `false` | | disabled | 是否禁用评分 | _boolean_ | `false` | | touchable | 是否可以通过滑动手势选择评分 | _boolean_ | `true` | diff --git a/packages/vant/src/rolling-text/README.md b/packages/vant/src/rolling-text/README.md index 0e56ff619..c6a8075a7 100644 --- a/packages/vant/src/rolling-text/README.md +++ b/packages/vant/src/rolling-text/README.md @@ -2,7 +2,7 @@ ### Introduction -Rolling text animation, which can roll numbers and other types of text. +Rolling text animation, which can roll numbers and other types of text. Please upgrade `vant` to >= v4.6.0 before using this component. ### Install diff --git a/packages/vant/src/rolling-text/README.zh-CN.md b/packages/vant/src/rolling-text/README.zh-CN.md index 8975bbd5b..6b20f4342 100644 --- a/packages/vant/src/rolling-text/README.zh-CN.md +++ b/packages/vant/src/rolling-text/README.zh-CN.md @@ -2,7 +2,7 @@ ### 介绍 -文本翻滚动效,可以翻滚数字和其他类型文本。 +文本翻滚动效,可以翻滚数字和其他类型文本。请升级 `vant` 到 >= 4.6.0 版本来使用该组件。 ### 引入