mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-11-29 18:48:32 +08:00
release 3.0.0-alpha.1
This commit is contained in:
parent
8323952cfd
commit
b78ccde9d9
@ -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`
|
||||
|
@ -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`
|
||||
|
@ -8,6 +8,8 @@ require('colorful').isatty = true;
|
||||
const gulp = require('gulp');
|
||||
const program = require('commander');
|
||||
|
||||
program.option('-c --npm-tag <type>', 'add --npm-tag=xxx');
|
||||
|
||||
program.on('--help', () => {
|
||||
console.log(' Usage:'.to.bold.blue.color);
|
||||
console.log();
|
||||
|
@ -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 |
|
||||
| --- | --- | --- | --- | --- |
|
||||
|
@ -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 | |
|
||||
|
||||
## 方法
|
||||
## 事件
|
||||
|
||||
| 名称 | 描述 | 类型 | 默认值 | 版本 |
|
||||
| ------------------ | ------------------------------------ | ----------------- | ------ | ---- |
|
||||
|
@ -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": [
|
||||
|
Loading…
Reference in New Issue
Block a user