From b78ccde9d9a324ad9cee47aba8bf3d508e0b6fdd Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Thu, 7 Oct 2021 22:13:56 +0800 Subject: [PATCH] release 3.0.0-alpha.1 --- CHANGELOG.en-US.md | 17 +++++++++++++++++ CHANGELOG.zh-CN.md | 17 +++++++++++++++++ antd-tools/cli/run.js | 2 ++ components/drawer/index.en-US.md | 4 ++-- components/drawer/index.zh-CN.md | 4 ++-- package.json | 2 +- 6 files changed, 41 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index 7b1d3fc36..8ec2f949d 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -10,6 +10,23 @@ --- +## 3.0.0-alpha.1 + +`2021-10-07` + +- 🌟 Refactor `Tabs` [#4732](https://github.com/vueComponent/ant-design-vue/issues/4732) + - Removed `prevClick`, `nextClick` events, and use `tabScroll` event instead + - Obsolete the `tabBarExtraContent` slot, replace it with the rightExtra slot, and add the `leftExtra` slot + - Added `addIcon`, `closeIcon`, `moreIcon` slots +- 🌟 Refactor `Card`, discard the tabList slots configuration, and use the customTab slot for unified configuration [#4732](https://github.com/vueComponent/ant-design-vue/issues/4732) +- 🌟 Refactor `Drawer` + - Added `autofocus` `contentWrapperStyle` `footerStyle` `headerStyle` `push` `size` `forceRender` and other attributes + - Added `closeIcon` `extra` `footer` and other slots + - Deprecated `afterVisibleChange` property, use event with the same name instead +- 🐞 Fix the problem that `Table` pagination does not respond to changes [1add0d](https://github.com/vueComponent/ant-design-vue/commit/1add0d251cd35aa2c55404f7a60f1531425490c1) +- 🐞 Fix `notification` style misalignment problem [#4703](https://github.com/vueComponent/ant-design-vue/issues/4703) +- 🐞 Fix the selection, dragging and other abnormalities caused by `Tree` fieldsName [#4726](https://github.com/vueComponent/ant-design-vue/issues/4726) + ## 3.0.0-alpha.0 `2021-09-24` diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md index 21b83aa92..9737086c5 100644 --- a/CHANGELOG.zh-CN.md +++ b/CHANGELOG.zh-CN.md @@ -10,6 +10,23 @@ --- +## 3.0.0-alpha.1 + +`2021-10-07` + +- 🌟 重构 `Tabs` [#4732](https://github.com/vueComponent/ant-design-vue/issues/4732) + - 移除 `prevClick`、`nextClick` 事件,使用 `tabScroll` 事件替代 + - 废弃 `tabBarExtraContent` 插槽,使用 rightExtra 插槽替换,同时新增 `leftExtra` 插槽 + - 新增 `addIcon`、`closeIcon`、`moreIcon` 插槽 +- 🌟 重构 `Card`,废弃 tabList slots 配置,使用 customTab 插槽统一配置 [#4732](https://github.com/vueComponent/ant-design-vue/issues/4732) +- 🌟 重构 `Drawer` + - 新增 `autofocus` `contentWrapperStyle` `footerStyle` `headerStyle` `push` `size` `forceRender` 等属性 + - 新增 `closeIcon` `extra` `footer` 等插槽 + - 废弃 `afterVisibleChange` 属性,使用同名事件替代 +- 🐞 修复 `Table` pagination 没有响应式变化问题 [1add0d](https://github.com/vueComponent/ant-design-vue/commit/1add0d251cd35aa2c55404f7a60f1531425490c1) +- 🐞 修复 `notification` 样式错位问题 [#4703](https://github.com/vueComponent/ant-design-vue/issues/4703) +- 🐞 修复 `Tree` fieldsName 导致的选中、拖拽等异常 [#4726](https://github.com/vueComponent/ant-design-vue/issues/4726) + ## 3.0.0-alpha.0 `2021-09-24` diff --git a/antd-tools/cli/run.js b/antd-tools/cli/run.js index 4f51d1d44..b60b54bb0 100644 --- a/antd-tools/cli/run.js +++ b/antd-tools/cli/run.js @@ -8,6 +8,8 @@ require('colorful').isatty = true; const gulp = require('gulp'); const program = require('commander'); +program.option('-c --npm-tag ', 'add --npm-tag=xxx'); + program.on('--help', () => { console.log(' Usage:'.to.bold.blue.color); console.log(); diff --git a/components/drawer/index.en-US.md b/components/drawer/index.en-US.md index acd01e060..695beefb1 100644 --- a/components/drawer/index.en-US.md +++ b/components/drawer/index.en-US.md @@ -19,7 +19,7 @@ A Drawer is a panel that is typically overlaid on top of a page and slides in fr | Props | Description | Type | Default | Version | | --- | --- | --- | --- | --- | -| autoFocus | Whether Drawer should get focused after open | boolean | true | 3.0.0 | +| autofocus | Whether Drawer should get focused after open | boolean | true | 3.0.0 | | bodyStyle | Style of the drawer content part | CSSProperties | - | | | class | The class name of the container of the Drawer dialog | string | - | | | closable | Whether a close (x) button is visible on top right of the Drawer dialog or not | boolean | true | | @@ -47,7 +47,7 @@ A Drawer is a panel that is typically overlaid on top of a page and slides in fr | width | Width of the Drawer dialog | string \| number | 378 | | | zIndex | The `z-index` of the Drawer | Number | 1000 | | -## Methods +## Events | Name | Description | Type | Default | Version | | --- | --- | --- | --- | --- | diff --git a/components/drawer/index.zh-CN.md b/components/drawer/index.zh-CN.md index e58b80d20..80e2fb97d 100644 --- a/components/drawer/index.zh-CN.md +++ b/components/drawer/index.zh-CN.md @@ -19,7 +19,7 @@ cover: https://gw.alipayobjects.com/zos/alicdn/7z8NJQhFb/Drawer.svg | 参数 | 说明 | 类型 | 默认值 | 版本 | | --- | --- | --- | --- | --- | -| autoFocus | 抽屉展开后是否将焦点切换至其 Dom 节点 | boolean | true | 3.0.0 | +| autofocus | 抽屉展开后是否将焦点切换至其 Dom 节点 | boolean | true | 3.0.0 | | bodyStyle | 可用于设置 Drawer 内容部分的样式 | CSSProperties | - | | | class | 对话框外层容器的类名 | string | - | | | closable | 是否显示右上角的关闭按钮 | boolean | true | | @@ -47,7 +47,7 @@ cover: https://gw.alipayobjects.com/zos/alicdn/7z8NJQhFb/Drawer.svg | width | 宽度 | string \| number | 378 | | | zIndex | 设置 Drawer 的 `z-index` | Number | 1000 | | -## 方法 +## 事件 | 名称 | 描述 | 类型 | 默认值 | 版本 | | ------------------ | ------------------------------------ | ----------------- | ------ | ---- | diff --git a/package.json b/package.json index 85ba0a8f0..f7c8ed881 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ant-design-vue", - "version": "3.0.0-alpha.0", + "version": "3.0.0-alpha.1", "title": "Ant Design Vue", "description": "An enterprise-class UI design language and Vue-based implementation", "keywords": [