From 667034322ed4e1c39fd014e83d8661a1ff891ee0 Mon Sep 17 00:00:00 2001 From: chenjiahan Date: Sun, 21 Aug 2022 11:30:21 +0800 Subject: [PATCH] docs(changelog): vant@3.6.0 --- .../vant/docs/markdown/changelog.en-US.md | 26 +++++++++++++++++++ .../vant/docs/markdown/changelog.zh-CN.md | 26 +++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/packages/vant/docs/markdown/changelog.en-US.md b/packages/vant/docs/markdown/changelog.en-US.md index 69c7a92b4..78d8f11cf 100644 --- a/packages/vant/docs/markdown/changelog.en-US.md +++ b/packages/vant/docs/markdown/changelog.en-US.md @@ -19,6 +19,32 @@ Vant follows [Semantic Versioning 2.0.0](https://semver.org/lang/zh-CN/). ## Details +### [v3.6.0](https://github.com/vant-ui/vant/compare/v3.5.3...v3.6.0) + +`2022-08-21` + +**New Component** + +- Add new component [Space](#/en-US/space), contributed by [@LadyChatterleyLover](https://github.com/LadyChatterleyLover) [#10857](https://github.com/vant-ui/vant/issues/10857) + +**Feature** + +- ConfigProvider: add z-index prop [#10915](https://github.com/vant-ui/vant/issues/10915) +- Form: add validateEmpty option of rule [#10913](https://github.com/vant-ui/vant/issues/10913) +- Popup: add role and tabindex for a11y [#10894](https://github.com/vant-ui/vant/issues/10894) +- TouchEmulator: support .mjs extension [#10888](https://github.com/vant-ui/vant/issues/10888) + +**Bug Fixes** + +- Fix incorrect tag name in WebStorm [#10946](https://github.com/vant-ui/vant/issues/10946) +- Badge: should hide string zero when using show-zero prop [#10921](https://github.com/vant-ui/vant/issues/10921) +- Calendar: content disappeared when hiding [#10910](https://github.com/vant-ui/vant/issues/10910) +- Calendar: reading getFullYear error in some cases [#10909](https://github.com/vant-ui/vant/issues/10909) +- Empty: generate unique id to avoid render issue [#10943](https://github.com/vant-ui/vant/issues/10943) +- Popover: can not scroll inside popup [#10949](https://github.com/vant-ui/vant/issues/10949) +- PullRefresh: fix passive event warning [#10938](https://github.com/vant-ui/vant/issues/10938) +- Search: --van-search-input-height var not work [#10911](https://github.com/vant-ui/vant/issues/10911) + ### [v3.5.4](https://github.com/vant-ui/vant/compare/v3.5.3...v3.5.4) `2022-08-06` diff --git a/packages/vant/docs/markdown/changelog.zh-CN.md b/packages/vant/docs/markdown/changelog.zh-CN.md index 938705d57..af38bd810 100644 --- a/packages/vant/docs/markdown/changelog.zh-CN.md +++ b/packages/vant/docs/markdown/changelog.zh-CN.md @@ -19,6 +19,32 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。 ## 更新内容 +### [v3.6.0](https://github.com/vant-ui/vant/compare/v3.5.3...v3.6.0) + +`2022-08-21` + +**New Component** + +- 新增 [Space 间距](#/zh-CN/space) 组件, 由 [@LadyChatterleyLover](https://github.com/LadyChatterleyLover) 贡献 [#10857](https://github.com/vant-ui/vant/issues/10857) + +**Feature** + +- ConfigProvider: 新增 z-index 属性,用于设置弹窗组件的 z-index [#10915](https://github.com/vant-ui/vant/issues/10915) +- Form: 新增 rule 的 validateEmpty 选项 [#10913](https://github.com/vant-ui/vant/issues/10913) +- Popup: 新增 role 和 tabindex,优化无障碍访问 [#10894](https://github.com/vant-ui/vant/issues/10894) +- TouchEmulator: 支持 .mjs 后缀 [#10888](https://github.com/vant-ui/vant/issues/10888) + +**Bug Fixes** + +- 修复在 WebStorm 下标签无法自动补全的问题 [#10946](https://github.com/vant-ui/vant/issues/10946) +- Badge: 修复使用 show-zero 时字符串 `'0'` 不生效的问题 [#10921](https://github.com/vant-ui/vant/issues/10921) +- Calendar: 修复关闭弹窗过程中内容白屏的问题 [#10910](https://github.com/vant-ui/vant/issues/10910) +- Calendar: 修复控制台出现读取 getFullYear 异常的问题 [#10909](https://github.com/vant-ui/vant/issues/10909) +- Empty: 修复在 Tab 下嵌套使用时渲染异常的问题 [#10943](https://github.com/vant-ui/vant/issues/10943) +- Popover: 修复在 Popup 下嵌套使用时无法滚动的问题 [#10949](https://github.com/vant-ui/vant/issues/10949) +- PullRefresh: 修复 Chrome 控制台出现 passive event warning 的问题 [#10938](https://github.com/vant-ui/vant/issues/10938) +- Search: 修复 --van-search-input-height 样式变量不生效的问题 [#10911](https://github.com/vant-ui/vant/issues/10911) + ### [v3.5.4](https://github.com/vant-ui/vant/compare/v3.5.3...v3.5.4) `2022-08-06`