diff --git a/components/popover/demo/arrow-point-at-center.md b/components/popover/demo/arrow-point-at-center.md
new file mode 100644
index 000000000..c9adf17bf
--- /dev/null
+++ b/components/popover/demo/arrow-point-at-center.md
@@ -0,0 +1,32 @@
+
+#### 箭头指向
+设置了 `arrowPointAtCenter` 后,箭头将指向目标元素的中心。
+
+
+
+#### Arrow pointing
+The arrow points to the center of the target element, which set `arrowPointAtCenter`.
+
+
+```html
+
+
+
+
+ Content
+ Content
+
+ Title
+ Align edge / 边缘对齐
+
+
+
+ Content
+ Content
+
+ Title
+ Arrow points to center / 箭头指向中心
+
+
+
+```
diff --git a/components/popover/demo/arrow-point-at-center.vue b/components/popover/demo/arrow-point-at-center.vue
deleted file mode 100644
index a05855424..000000000
--- a/components/popover/demo/arrow-point-at-center.vue
+++ /dev/null
@@ -1,34 +0,0 @@
-
-
-
-## 箭头指向
-设置了 `arrowPointAtCenter` 后,箭头将指向目标元素的中心。
-
-
-
- Content
- Content
-
- Title
- Align edge / 边缘对齐
-
-
-
- Content
- Content
-
- Title
- Arrow points to center / 箭头指向中心
-
-
-
-
-
diff --git a/components/popover/demo/basic.vue b/components/popover/demo/basic.md
similarity index 54%
rename from components/popover/demo/basic.vue
rename to components/popover/demo/basic.md
index 991b33d11..3acb7485e 100644
--- a/components/popover/demo/basic.vue
+++ b/components/popover/demo/basic.md
@@ -1,25 +1,21 @@
-
-
-
-## 基本
+
+#### 基本
最简单的用法,浮层的大小由内容区域决定。
-
-
+
+
+
+#### Basic
+The most basic example. The size of the floating layer depends on the contents region.
+
+
+```html
+
+
Content
Content
Hover me
-
-
+
-
-
+```
diff --git a/components/popover/demo/control.vue b/components/popover/demo/control.md
similarity index 61%
rename from components/popover/demo/control.vue
rename to components/popover/demo/control.md
index 52ab814d5..14a5e0aaa 100644
--- a/components/popover/demo/control.vue
+++ b/components/popover/demo/control.md
@@ -1,22 +1,26 @@
+
+#### 从浮层内关闭
+使用 `visible` 属性控制浮层显示。
+
+
+
+#### Controlling the close of the dialog
+Use `visible` prop to control the display of the card.
+
+
+```html
-
-
- ## 从浮层内关闭
- 使用 `visible` 属性控制浮层显示。
-
-
Close
Click me
-
-
+
+```
diff --git a/components/popover/demo/index.vue b/components/popover/demo/index.vue
index 67db0aa33..18201bdbc 100644
--- a/components/popover/demo/index.vue
+++ b/components/popover/demo/index.vue
@@ -1,34 +1,57 @@
-
-
-
Basic
-
-
ArrowCenter
-
-
Control
-
-
Placement
-
-
TriggerType
-
-
-
diff --git a/components/popover/demo/placement.vue b/components/popover/demo/placement.md
similarity index 80%
rename from components/popover/demo/placement.vue
rename to components/popover/demo/placement.md
index e1a8ef95a..bb69f2770 100644
--- a/components/popover/demo/placement.vue
+++ b/components/popover/demo/placement.md
@@ -1,11 +1,18 @@
+
+#### 位置
+位置有十二个方向。
+
+
+
+#### Placement
+There are 12 `placement` options available.
+
+
+```html
-
-## 位置
-位置有 12 个方向。
-
-
+
Content
Content
@@ -14,8 +21,8 @@
Title
TL
-
-
+
+
Content
Content
@@ -24,8 +31,8 @@
Title
Top
-
-
+
+
Content
Content
@@ -34,10 +41,10 @@
Title
TR
-
+
-
+
Content
Content
@@ -46,8 +53,8 @@
Title
LT
-
-
+
+
Content
Content
@@ -56,8 +63,8 @@
Title
Left
-
-
+
+
Content
Content
@@ -66,10 +73,10 @@
Title
LB
-
+
-
+
Content
Content
@@ -78,8 +85,8 @@
Title
RT
-
-
+
+
Content
Content
@@ -88,8 +95,8 @@
Title
Right
-
-
+
+
Content
Content
@@ -98,10 +105,10 @@
Title
RB
-
+
-
+
Content
Content
@@ -110,8 +117,8 @@
Title
BL
-
-
+
+
Content
Content
@@ -120,8 +127,8 @@
Title
Bottom
-
-
+
+
Content
Content
@@ -130,23 +137,18 @@
Title
BR
-
+
+```
diff --git a/components/popover/demo/triggerType.vue b/components/popover/demo/triggerType.md
similarity index 60%
rename from components/popover/demo/triggerType.vue
rename to components/popover/demo/triggerType.md
index a466cbccb..ab36d00ca 100644
--- a/components/popover/demo/triggerType.vue
+++ b/components/popover/demo/triggerType.md
@@ -1,39 +1,37 @@
+
+#### 三种触发方式
+鼠标移入、聚集、点击。
+
+
+
+#### Three ways to trigger
+Mouse to click, focus and move in.
+
+
+```html
-
-## 三种触发方式
-鼠标移入、聚集、点击。
-
-
+
Content
Content
Hover me
-
-
+
+
Content
Content
Focus me
-
-
+
+
Content
Content
Click me
-
+
-
-
+```
diff --git a/components/popover/index.en-US.md b/components/popover/index.en-US.md
new file mode 100644
index 000000000..8084fd299
--- /dev/null
+++ b/components/popover/index.en-US.md
@@ -0,0 +1,13 @@
+
+## API
+
+| Param | Description | Type | Default value |
+| ----- | ----------- | ---- | ------------- |
+| content | Content of the card | string\|slot\|vNode | - |
+| title | Title of the card | string\|slot\VNode | - |
+
+Consult [Tooltip's documentation](/ant-design/components/tooltip/#API) to find more APIs.
+
+## Note
+
+Please ensure that the child node of `Popover` accepts `onMouseenter`, `onMouseleave`, `onFocus`, `onClick` events.
diff --git a/components/popover/index.zh-CN.md b/components/popover/index.zh-CN.md
index 6bcd9d244..f601980c0 100644
--- a/components/popover/index.zh-CN.md
+++ b/components/popover/index.zh-CN.md
@@ -1,26 +1,12 @@
----
-category: Components
-subtitle: 气泡卡片
-type: Data Display
-title: Popover
----
-
-点击/鼠标移入元素,弹出气泡式的卡片浮层。
-
-## 何时使用
-
-当目标元素有进一步的描述和相关操作时,可以收纳到卡片中,根据用户的操作行为进行展现。
-
-和 `Tooltip` 的区别是,用户可以对浮层上的元素进行操作,因此它可以承载更复杂的内容,比如链接或按钮等。
## API
| 参数 | 说明 | 类型 | 默认值 |
| --- | --- | --- | --- |
-| content | 卡片内容 | string\|function\|slot | 无 |
-| title | 卡片标题 | string\|function\|slot | 无 |
+| content | 卡片内容 | string\|slot\|VNode | 无 |
+| title | 卡片标题 | string\|slot\|VNode | 无 |
-更多属性请参考 [Tooltip](#/cn/components/tooltip/API)。
+更多属性请参考 [Tooltip](/ant-design/components/tooltip-cn/#API)。
## 注意
diff --git a/components/select/index.jsx b/components/select/index.jsx
index 0036f2230..26b779062 100644
--- a/components/select/index.jsx
+++ b/components/select/index.jsx
@@ -30,15 +30,16 @@ const AbstractSelectProps = {
showArrow: PropTypes.bool,
}
const Value = PropTypes.shape({
- key: String,
+ key: PropTypes.string,
}).loose
const SelectValue = PropTypes.oneOfType([
PropTypes.string,
-
+ PropTypes.number,
PropTypes.arrayOf(PropTypes.oneOfType([
Value,
- String,
+ PropTypes.string,
+ PropTypes.number,
])),
Value,
])
diff --git a/components/tree/demo/dynamic.md b/components/tree/demo/dynamic.md
index 3de04d242..8be0c648e 100644
--- a/components/tree/demo/dynamic.md
+++ b/components/tree/demo/dynamic.md
@@ -41,7 +41,7 @@ export default {
]
this.treeData = [...this.treeData]
resolve()
- }, 100)
+ }, 1000)
})
},
},
diff --git a/package.json b/package.json
index 3bf6f61a8..f88517b5a 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "vue-antd-ui",
- "version": "0.2.1",
+ "version": "0.3.1",
"title": "Ant Design Vue",
"description": "An enterprise-class UI design language and Vue-based implementation",
"keywords": [
diff --git a/site/components/layout.vue b/site/components/layout.vue
index 293906841..e49e118db 100644
--- a/site/components/layout.vue
+++ b/site/components/layout.vue
@@ -154,7 +154,7 @@ export default {