From d7e661890301d02d07dae7abfc21cbd8a52fc9ab Mon Sep 17 00:00:00 2001 From: neverland Date: Mon, 20 Feb 2023 09:19:13 +0800 Subject: [PATCH] docs(changelog): vant@4.0.11 (#11597) --- .../vant/docs/markdown/changelog.en-US.md | 20 +++++++++++++++++++ .../vant/docs/markdown/changelog.zh-CN.md | 20 +++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/packages/vant/docs/markdown/changelog.en-US.md b/packages/vant/docs/markdown/changelog.en-US.md index 259adac91..d64084a1a 100644 --- a/packages/vant/docs/markdown/changelog.en-US.md +++ b/packages/vant/docs/markdown/changelog.en-US.md @@ -19,6 +19,26 @@ Vant follows [Semantic Versioning 2.0.0](https://semver.org/lang/zh-CN/). ## Details +### [v4.0.11](https://github.com/vant-ui/vant/compare/v4.0.10...v4.0.11) + +`2023-02-20` + +**Feature** + +- Add new [vant-nuxt](https://github.com/vant-ui/vant-nuxt) module for Nuxt [#11588](https://github.com/vant-ui/vant/issues/11588) +- BackTop: support css variable and prop of z-index [#11582](https://github.com/vant-ui/vant/issues/11582) +- Picker: expose option index to option slot [#11594](https://github.com/vant-ui/vant/issues/11594) +- @vant/use: support cleanup useEventListener [#11540](https://github.com/vant-ui/vant/issues/11540) + +**Bug Fixes** + +- PickerGroup: confirm event missing params [#11566](https://github.com/vant-ui/vant/issues/11566) +- PickerGroup: fix style of tab-line caused by v-show [#11547](https://github.com/vant-ui/vant/issues/11547) +- PickerGroup: fix slots not work [#11564](https://github.com/vant-ui/vant/issues/11564) +- Popover: fix the arrow position of `*-start/end` placements [#11584](https://github.com/vant-ui/vant/issues/11584) +- Popover: should update location after transition [#11568](https://github.com/vant-ui/vant/issues/11568) +- Space: Text is not defined in SSR [#11549](https://github.com/vant-ui/vant/issues/11549) + ### [v4.0.10](https://github.com/vant-ui/vant/compare/v4.0.9...v4.0.10) `2023-02-02` diff --git a/packages/vant/docs/markdown/changelog.zh-CN.md b/packages/vant/docs/markdown/changelog.zh-CN.md index e3896cb14..2dc555e9d 100644 --- a/packages/vant/docs/markdown/changelog.zh-CN.md +++ b/packages/vant/docs/markdown/changelog.zh-CN.md @@ -19,6 +19,26 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。 ## 更新内容 +### [v4.0.11](https://github.com/vant-ui/vant/compare/v4.0.10...v4.0.11) + +`2023-02-20` + +**Feature** + +- 新增 [vant-nuxt](https://github.com/vant-ui/vant-nuxt) 包,作为官方的 Nuxt Module [#11588](https://github.com/vant-ui/vant/issues/11588) +- BackTop: 新增 z-index 属性以及相关 CSS 变量 [#11582](https://github.com/vant-ui/vant/issues/11582) +- Picker: 支持在 option 插槽中获取选项的 index [#11594](https://github.com/vant-ui/vant/issues/11594) +- @vant/use: 支持注销 useEventListener [#11540](https://github.com/vant-ui/vant/issues/11540) + +**Bug Fixes** + +- PickerGroup: 修复 confirm 事件参数不正确的问题 [#11566](https://github.com/vant-ui/vant/issues/11566) +- PickerGroup: 修复 Tab 的下划线样式错误问题 [#11547](https://github.com/vant-ui/vant/issues/11547) +- PickerGroup: 修复部分插槽不可用的问题 [#11564](https://github.com/vant-ui/vant/issues/11564) +- Popover: 修复 placement 为 `*-start/end` 时箭头位置错误的问题 [#11584](https://github.com/vant-ui/vant/issues/11584) +- Popover: 修复动画会导致组件位置错误的问题 [#11568](https://github.com/vant-ui/vant/issues/11568) +- Space: 修复 SSR 时出现缺少 Text 报错的问题 [#11549](https://github.com/vant-ui/vant/issues/11549) + ### [v4.0.10](https://github.com/vant-ui/vant/compare/v4.0.9...v4.0.10) `2023-02-02`