From 1ba9f6de4f282dfc1aa1bce02f3328bd5a5aa7fd Mon Sep 17 00:00:00 2001 From: neverland Date: Sun, 5 Mar 2023 19:56:34 +0800 Subject: [PATCH] docs(changelog): vant@4.1.0 (#11643) --- .../vant/docs/markdown/changelog.en-US.md | 19 +++++++++++++++++++ .../vant/docs/markdown/changelog.zh-CN.md | 19 +++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/packages/vant/docs/markdown/changelog.en-US.md b/packages/vant/docs/markdown/changelog.en-US.md index d64084a1a..d18c47e75 100644 --- a/packages/vant/docs/markdown/changelog.en-US.md +++ b/packages/vant/docs/markdown/changelog.en-US.md @@ -19,6 +19,25 @@ Vant follows [Semantic Versioning 2.0.0](https://semver.org/lang/zh-CN/). ## Details +### [v4.1.0](https://github.com/vant-ui/vant/compare/v4.0.11...v4.1.0) + +`2023-03-05` + +**New Component** + +- add new TextEllipsis component [#11593](https://github.com/vant-ui/vant/issues/11593) + +**Feature** + +- Swipe: add index param to drag-start/drag-end event [#11632](https://github.com/vant-ui/vant/issues/11632) +- TreeSelect: add nav-text slot [#11602](https://github.com/vant-ui/vant/issues/11602) [#11641](https://github.com/vant-ui/vant/issues/11641) + +**Bug Fixes** + +- DropdownMenu: fix dropdown-item position when expanded by default [#11640](https://github.com/vant-ui/vant/issues/11640) +- Field: fix label-align top not work when set label-width [#11611](https://github.com/vant-ui/vant/issues/11611) +- Locale: improve Ukrainian translation [#11629](https://github.com/vant-ui/vant/issues/11629) + ### [v4.0.11](https://github.com/vant-ui/vant/compare/v4.0.10...v4.0.11) `2023-02-20` diff --git a/packages/vant/docs/markdown/changelog.zh-CN.md b/packages/vant/docs/markdown/changelog.zh-CN.md index 2dc555e9d..9586f8809 100644 --- a/packages/vant/docs/markdown/changelog.zh-CN.md +++ b/packages/vant/docs/markdown/changelog.zh-CN.md @@ -19,6 +19,25 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。 ## 更新内容 +### [v4.1.0](https://github.com/vant-ui/vant/compare/v4.0.11...v4.1.0) + +`2023-03-05` + +**New Component** + +- 新增 TextEllipsis 文本省略组件 [#11593](https://github.com/vant-ui/vant/issues/11593) + +**Feature** + +- Swipe: 新增 drag-start/drag-end 事件的 index 参数 [#11632](https://github.com/vant-ui/vant/issues/11632) +- TreeSelect: 新增 nav-text 插槽 [#11602](https://github.com/vant-ui/vant/issues/11602) [#11641](https://github.com/vant-ui/vant/issues/11641) + +**Bug Fixes** + +- DropdownMenu: 修复使用 toggle 方法打开时位置错误的问题 [#11640](https://github.com/vant-ui/vant/issues/11640) +- Field: 修复设置 label-width 后 label-position 不生效的问题 [#11611](https://github.com/vant-ui/vant/issues/11611) +- Locale: 修复乌克兰语翻译问题 [#11629](https://github.com/vant-ui/vant/issues/11629) + ### [v4.0.11](https://github.com/vant-ui/vant/compare/v4.0.10...v4.0.11) `2023-02-20`