diff --git a/.stylelintrc b/.stylelintrc
index 1e5e8983f..74608186c 100644
--- a/.stylelintrc
+++ b/.stylelintrc
@@ -1,5 +1,6 @@
{
"extends": "stylelint-config-standard",
+ "ignoreFiles": "./components/**",
"rules": {
"comment-empty-line-before": null,
"declaration-empty-line-before": null,
diff --git a/LICENSE b/LICENSE
index 5d5bd95ea..5f0f8bf29 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,7 +1,7 @@
MIT License
-Copyright (c) 2017-present tangjinzhou
+Copyright (c) 2017-present vue-antd-ui
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -19,4 +19,28 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
\ No newline at end of file
+SOFTWARE.
+
+
+MIT LICENSE
+
+Copyright (c) 2015-present Alipay.com, https://www.alipay.com/
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/antd-tools/getWebpackConfig.js b/antd-tools/getWebpackConfig.js
index 6755c7809..1646f1034 100644
--- a/antd-tools/getWebpackConfig.js
+++ b/antd-tools/getWebpackConfig.js
@@ -153,7 +153,7 @@ module.exports = function (modules) {
new webpack.BannerPlugin(`
${distFileBaseName} v${pkg.version}
-Copyright 2017-present, tangjinzhou, Inc.
+Copyright 2017-present, vue-antd-ui, Inc.
All rights reserved.
`),
new webpack.ProgressPlugin((percentage, msg, addInfo) => {
diff --git a/components/index.js b/components/index.js
index eceafd26f..5419e5ea8 100644
--- a/components/index.js
+++ b/components/index.js
@@ -40,8 +40,9 @@ const InputGroup = Input.Group
const InputSearch = Input.Search
const InputTextArea = Input.TextArea
const Textarea = InputTextArea
+const TextArea = InputTextArea
-export { Input, InputGroup, InputSearch, InputTextArea, Textarea }
+export { Input, InputGroup, InputSearch, InputTextArea, Textarea, TextArea }
import Breadcrumb from './breadcrumb'
const BreadcrumbItem = Breadcrumb.Item
diff --git a/components/input/Group.jsx b/components/input/Group.jsx
index cd5f5d6cd..6364e4b78 100644
--- a/components/input/Group.jsx
+++ b/components/input/Group.jsx
@@ -1,4 +1,4 @@
-
+import { filterEmpty } from '../_util/props-util'
export default {
name: 'InputGruop',
props: {
@@ -29,7 +29,7 @@ export default {
render () {
return (
- {this.$slots.default}
+ {filterEmpty(this.$slots.default)}
)
},
diff --git a/components/input/demo/addon.vue b/components/input/demo/addon.md
similarity index 87%
rename from components/input/demo/addon.vue
rename to components/input/demo/addon.md
index d26edd1e3..4442adef5 100644
--- a/components/input/demo/addon.vue
+++ b/components/input/demo/addon.md
@@ -1,3 +1,14 @@
+
+#### 前置/后置标签
+用于配置一些固定组合。
+
+
+
+#### Pre / Post tab
+Using pre & post tabs example.
+
+
+```html
@@ -24,8 +35,4 @@
-
+```
diff --git a/components/input/demo/autosize-textarea.md b/components/input/demo/autosize-textarea.md
new file mode 100644
index 000000000..9332f75af
--- /dev/null
+++ b/components/input/demo/autosize-textarea.md
@@ -0,0 +1,20 @@
+
+#### 适应文本高度的文本域
+`autosize` 属性适用于 `textarea` 节点,并且只有高度会自动变化。另外 `autosize` 可以设定为一个对象,指定最小行数和最大行数。
+
+
+
+#### Autosizing the height to fit the content
+`autosize` prop for a `textarea` type of `Input` makes the height to automatically adjust based on the content.
+An options object can be provided to `autosize` to specify the minimum and maximum number of lines the textarea will automatically adjust.
+
+
+```html
+
+