From b77ca0eed7fb3f5264ccf63ba677399147abda01 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Sun, 19 Dec 2021 09:49:04 +0800 Subject: [PATCH] release 3.0.0-alpha.16 --- CHANGELOG.en-US.md | 14 +++++++++ CHANGELOG.zh-CN.md | 14 +++++++++ .../__tests__/__snapshots__/demo.test.js.snap | 2 ++ components/input/demo/borderless.vue | 31 +++++++++++++++++++ components/input/demo/index.vue | 3 ++ components/input/index.en-US.md | 1 + components/input/index.zh-CN.md | 1 + components/table/demo/index.vue | 2 +- package.json | 2 +- 9 files changed, 68 insertions(+), 2 deletions(-) create mode 100644 components/input/demo/borderless.vue diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index 4cb914c0b..0100c5db8 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -10,6 +10,20 @@ --- +## 3.0.0-alpha.16 + +`2021-12-19` + +- 🌟 Refactored Input and added borderless configuration +- Table + - 🌟 Table customCell added column parameter [#5052](https://github.com/vueComponent/ant-design-vue/issues/5052) + - 🐞 Fix the console output error warning problem when turning Table pages [#5029](https://github.com/vueComponent/ant-design-vue/issues/5029) + - 🐞 Fix the problem that the pop-up box of the Table page turning component is hidden, and the pop-up box position is wrong [#5028](https://github.com/vueComponent/ant-design-vue/issues/5028) +- 🐞 Fix the issue that the global prefixCls of the Rate component does not take effect [#5026](https://github.com/vueComponent/ant-design-vue/issues/5026) +- 🐞 Fix Menu custom class not taking effect [#5038](https://github.com/vueComponent/ant-design-vue/issues/5038) +- 🐞 Fix the problem of printing warning when Carousel mobile device is touched [#5040](https://github.com/vueComponent/ant-design-vue/issues/5040) +- 🐞 Fix the problem that Select cannot be selected when customizing prefixCls [#5023](https://github.com/vueComponent/ant-design-vue/issues/5023) + ## 3.0.0-alpha.15 `2021-12-12` diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md index e5488b80a..c89ed928e 100644 --- a/CHANGELOG.zh-CN.md +++ b/CHANGELOG.zh-CN.md @@ -10,6 +10,20 @@ --- +## 3.0.0-alpha.16 + +`2021-12-19` + +- 🌟 重构 Input,新增无边框配置 +- Table + - 🌟 Table customCell 新增 column 参数[#5052](https://github.com/vueComponent/ant-design-vue/issues/5052) + - 🐞 修复 Table 翻页时,控制台输出错误 warning 问题 [#5029](https://github.com/vueComponent/ant-design-vue/issues/5029) + - 🐞 修复 Table 翻页组件弹出框隐藏时,弹框位置错误问题 [#5028](https://github.com/vueComponent/ant-design-vue/issues/5028) +- 🐞 修复 Rate 组件全局 prefixCls 未生效问题 [#5026](https://github.com/vueComponent/ant-design-vue/issues/5026) +- 🐞 修复 Menu 自定义 class 未生效问题 [#5038](https://github.com/vueComponent/ant-design-vue/issues/5038) +- 🐞 修复 Carousel 移动设备触摸时,打印 warning 问题 [#5040](https://github.com/vueComponent/ant-design-vue/issues/5040) +- 🐞 修复自定义 prefixCls 时,Select 无法选中问题 [#5023](https://github.com/vueComponent/ant-design-vue/issues/5023) + ## 3.0.0-alpha.15 `2021-12-12` diff --git a/components/input/__tests__/__snapshots__/demo.test.js.snap b/components/input/__tests__/__snapshots__/demo.test.js.snap index 983896987..9df98509e 100644 --- a/components/input/__tests__/__snapshots__/demo.test.js.snap +++ b/components/input/__tests__/__snapshots__/demo.test.js.snap @@ -30,6 +30,8 @@ exports[`renders ./components/input/demo/autosize-textarea.vue correctly 1`] = ` exports[`renders ./components/input/demo/basic.vue correctly 1`] = ``; +exports[`renders ./components/input/demo/borderless.vue correctly 1`] = ``; + exports[`renders ./components/input/demo/group.vue correctly 1`] = `


Zhejiang diff --git a/components/input/demo/borderless.vue b/components/input/demo/borderless.vue new file mode 100644 index 000000000..2ddc80bb4 --- /dev/null +++ b/components/input/demo/borderless.vue @@ -0,0 +1,31 @@ + +--- +order: 0 +title: + zh-CN: 无边框 + en-US: Borderless +--- + +## zh-CN + +没有边框。 + +## en-US + +No border. + + + + diff --git a/components/input/demo/index.vue b/components/input/demo/index.vue index ec540f2e9..b382d4713 100644 --- a/components/input/demo/index.vue +++ b/components/input/demo/index.vue @@ -13,6 +13,7 @@ + @@ -30,6 +31,7 @@ import PasswordInput from './password-input.vue'; import ShowCount from './show-count.vue'; import Addon from './addon.vue'; import Tooltip from './tooltip.vue'; +import borderlessVue from './borderless.vue'; import CN from '../index.zh-CN.md'; import US from '../index.en-US.md'; import { defineComponent } from 'vue'; @@ -51,6 +53,7 @@ export default defineComponent({ AllowClear, PasswordInput, ShowCount, + borderlessVue, }, }); diff --git a/components/input/index.en-US.md b/components/input/index.en-US.md index c8974b689..925b32f84 100644 --- a/components/input/index.en-US.md +++ b/components/input/index.en-US.md @@ -21,6 +21,7 @@ A basic widget for getting the user input is a text field. Keyboard and mouse ca | addonAfter | The label text displayed after (on the right side of) the input field. | string\|slot | | | | addonBefore | The label text displayed before (on the left side of) the input field. | string\|slot | | | | defaultValue | The initial input content | string | | | +| bordered | Whether has border style | boolean | true | 4.5.0 | | disabled | Whether the input is disabled. | boolean | false | | | id | The ID for input | string | | | | maxlength | max length | number | | 1.5.0 | diff --git a/components/input/index.zh-CN.md b/components/input/index.zh-CN.md index c47dfbaeb..fa15aebe9 100644 --- a/components/input/index.zh-CN.md +++ b/components/input/index.zh-CN.md @@ -21,6 +21,7 @@ cover: https://gw.alipayobjects.com/zos/alicdn/xS9YEJhfe/Input.svg | --- | --- | --- | --- | --- | | addonAfter | 带标签的 input,设置后置标签 | string\|slot | | | | addonBefore | 带标签的 input,设置前置标签 | string\|slot | | | +| bordered | 是否有边框 | boolean | true | 3.0 | | defaultValue | 输入框默认内容 | string | | | | disabled | 是否禁用状态,默认为 false | boolean | false | | | id | 输入框的 id | string | | | diff --git a/components/table/demo/index.vue b/components/table/demo/index.vue index 7b12f362e..6947b1613 100644 --- a/components/table/demo/index.vue +++ b/components/table/demo/index.vue @@ -63,7 +63,7 @@ import ResizableColumn from './resizable-column.vue'; import bigData from './big-data.vue'; import CN from '../index.zh-CN.md'; import US from '../index.en-US.md'; -import { defineComponent } from '@vue/runtime-core'; +import { defineComponent } from 'vue'; export default defineComponent({ CN, diff --git a/package.json b/package.json index dd50cf261..4d22488b5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ant-design-vue", - "version": "3.0.0-alpha.15", + "version": "3.0.0-alpha.16", "title": "Ant Design Vue", "description": "An enterprise-class UI design language and Vue-based implementation", "keywords": [