From 2cfc6cce96c2f6d5eda5845e596cdf36373eccf0 Mon Sep 17 00:00:00 2001 From: tanjinzhou <415800467@qq.com> Date: Mon, 7 Jun 2021 15:39:57 +0800 Subject: [PATCH] release 2.2.0-beta.1 --- CHANGELOG.en-US.md | 29 +++++++++++++++++++++++++++++ CHANGELOG.zh-CN.md | 30 ++++++++++++++++++++++++++++++ antd-tools/gulpfile.js | 2 +- components/menu/style/index.less | 9 +++++++++ package.json | 6 +++--- v2-doc | 2 +- 6 files changed, 73 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index 79e725954..be3b2a802 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -10,6 +10,35 @@ --- +## 2.2.0-beta.1 + +`2021-06-17` + +- 🔥🔥🔥 Virtual Table independent library released https://www.npmjs.com/package/@surely-vue/table, this component is an independent library, the document example is not yet complete, it is a completely ts-developed component , There are good type hints, there are API documents on npm, those who are in a hurry can explore and use it, here is an online experience example, https://store.antdv.com/pro/preview/list/big- table-list +- 🔥🔥🔥 Refactored a large number of components, the source code is more readable, the performance is better, and the ts type is more comprehensive -Refactored components in this version Anchor, Alert, Avatar, Badge, BackTop, Col, Form, Layout, Menu, Space, Spin, Switch, Row, Result, Rate +- 🎉 Menu + + - Better performance [#3300](https://github.com/vueComponent/ant-design-vue/issues/3300) + - Fix the problem of incorrect highlighting [#4053](https://github.com/vueComponent/ant-design-vue/issues/4053) + - Fix console invalid warning [#4169](https://github.com/vueComponent/ant-design-vue/issues/4169) + - Easier to use, simpler to use single file recursion [#4133](https://github.com/vueComponent/ant-design-vue/issues/4133) + - 💄 icon icon needs to be passed through slot + +- Skeleton + + - 🌟 Support Skeleton.Avatar placeholder component. + - 🌟 Support Skeleton.Button placeholder component. + - 🌟 Support Skeleton.Input placeholder component. + +- 💄 Destructive update + + - The `a-menu-item` and `a-sub-menu` icons need to be passed through the slot, and the icon is not automatically obtained through the sub-node + - row gutter supports row-wrap, no need to use multiple rows to divide col + +- 🐞 Fix AutoComplete filterOptions not taking effect [#4170](https://github.com/vueComponent/ant-design-vue/issues/4170) +- 🐞 Fix Select automatic width invalidation problem [#4118](https://github.com/vueComponent/ant-design-vue/issues/4118) +- 🐞 Fix the lack of internationalized files in dist [#3684](https://github.com/vueComponent/ant-design-vue/issues/3684) + ## 2.1.6 `2021-05-13` diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md index edf00868a..e0a6e0231 100644 --- a/CHANGELOG.zh-CN.md +++ b/CHANGELOG.zh-CN.md @@ -10,6 +10,36 @@ --- +## 2.2.0-beta.1 + +`2021-06-17` + +- 🔥🔥🔥 虚拟 Table 独立库发布 https://www.npmjs.com/package/@surely-vue/table , 该组件是一个独立的库,目前文档示例尚未完善,他是一个完全 ts 开发的组件,有较好的类型提示,npm 上已有 API 文档,着急使用的的可以摸索着用起来了,这里有个在线体验示例,https://store.antdv.com/pro/preview/list/big-table-list +- 🔥🔥🔥 重构大量组件,源码更加易读,性能更优,ts 类型更加全面 + - 本版本重构组件 Anchor、Alert、Avatar、Badge、BackTop、Col、Form、Layout、Menu、Space、Spin、Switch、Row、Result、Rate +- 🎉 Menu + + - 性能更优 [#3300](https://github.com/vueComponent/ant-design-vue/issues/3300) + - 修复高亮不正确问题 [#4053](https://github.com/vueComponent/ant-design-vue/issues/4053) + - 修复控制台无效 warning [#4169](https://github.com/vueComponent/ant-design-vue/issues/4169) + - 更加易用,更加简单的使用单文件递归 [#4133](https://github.com/vueComponent/ant-design-vue/issues/4133) + - 💄 图标 icon 需要通过 slot 传递 + +- Skeleton + + - 🌟 支持 Skeleton.Avatar 占位组件。 + - 🌟 支持 Skeleton.Button 占位组件。 + - 🌟 支持 Skeleton.Input 占位组件。 + +- 💄 破坏性更新 + + - a-menu-item、a-sub-menu 图标需要通过 slot 传递,不在通过子节点自动获取图标 + - row gutter 支持 row-wrap, 无需使用多个 row 划分 col + +- 🐞 修复 AutoComplete filterOptions 不生效问题 [#4170](https://github.com/vueComponent/ant-design-vue/issues/4170) +- 🐞 修复 Select 自动宽度失效问题 [#4118](https://github.com/vueComponent/ant-design-vue/issues/4118) +- 🐞 修复 dist 缺少国际化文件问题 [#3684](https://github.com/vueComponent/ant-design-vue/issues/3684) + ## 2.1.6 `2021-05-13` diff --git a/antd-tools/gulpfile.js b/antd-tools/gulpfile.js index 3b4d8c6b1..b44d485f7 100644 --- a/antd-tools/gulpfile.js +++ b/antd-tools/gulpfile.js @@ -294,7 +294,7 @@ gulp.task( function publish(tagString, done) { let args = ['publish', '--with-antd-tools']; - args = args.concat(['--tag', 'next']); + // args = args.concat(['--tag', 'next']); if (tagString) { args = args.concat(['--tag', tagString]); } diff --git a/components/menu/style/index.less b/components/menu/style/index.less index 0815c9291..2a691763a 100644 --- a/components/menu/style/index.less +++ b/components/menu/style/index.less @@ -40,6 +40,15 @@ list-style: none; } + // Overflow ellipsis + &-overflow { + display: flex; + + &-item { + flex: none; + } + } + &-hidden, &-submenu-hidden { display: none; diff --git a/package.json b/package.json index cb6fef0a6..b02a3aeab 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ant-design-vue", - "version": "2.1.6", + "version": "2.2.0-beta.1", "title": "Ant Design Vue", "description": "An enterprise-class UI design language and Vue-based implementation", "keywords": [ @@ -89,7 +89,7 @@ "@typescript-eslint/parser": "^4.1.0", "@vue/babel-plugin-jsx": "^1.0.0", "@vue/cli-plugin-eslint": "^4.0.0", - "@vue/compiler-sfc": "3.0.10", + "@vue/compiler-sfc": "^3.0.9", "@vue/eslint-config-prettier": "^6.0.0", "@vue/eslint-config-typescript": "^7.0.0", "@vue/test-utils": "^2.0.0-0", @@ -179,7 +179,7 @@ "umi-mock-middleware": "^1.0.0", "umi-request": "^1.3.5", "url-loader": "^3.0.0", - "vue": "3.0.10", + "vue": "^3.0.9", "vue-antd-md-loader": "^1.2.1-beta.1", "vue-clipboard2": "0.3.1", "vue-draggable-resizable": "^2.1.0", diff --git a/v2-doc b/v2-doc index 001bf204e..8681454ee 160000 --- a/v2-doc +++ b/v2-doc @@ -1 +1 @@ -Subproject commit 001bf204ea9b389f1ab7ec1ce23cd6243db64251 +Subproject commit 8681454ee6b1a6a1a5ab4d3a98c90c37c0e32360