@@ -46,14 +46,14 @@
diff --git a/components/badge/demo/link.md b/components/badge/demo/link.md
index f42d8f2d3..efb8c3ae6 100644
--- a/components/badge/demo/link.md
+++ b/components/badge/demo/link.md
@@ -10,11 +10,10 @@
```html
-
-
-
-
- Link something
-
+
+
+
+
+
```
diff --git a/components/badge/demo/no-wrapper.md b/components/badge/demo/no-wrapper.md
index 20c6de821..0f8735328 100644
--- a/components/badge/demo/no-wrapper.md
+++ b/components/badge/demo/no-wrapper.md
@@ -12,9 +12,9 @@ Used in standalone when children is empty.
```html
```
diff --git a/components/badge/demo/overflow.md b/components/badge/demo/overflow.md
index bb219a884..0a23162b9 100644
--- a/components/badge/demo/overflow.md
+++ b/components/badge/demo/overflow.md
@@ -10,17 +10,19 @@
```html
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
```
diff --git a/components/badge/index.en_US.md b/components/badge/index.en_US.md
index 3d363982a..bc2adf5e0 100644
--- a/components/badge/index.en_US.md
+++ b/components/badge/index.en_US.md
@@ -1,21 +1,22 @@
## API
-```vue
-
+````html
+
-```
+````
-```vue
-
-```
+```html
+
+````
| Property | Description | Type | Default |
| -------- | ----------- | ---- | ------- |
-| count | Number to show in badge | number\|ReactNode | |
+| count | Number to show in badge | number\|string | |
| dot | Whether to display a red dot instead of `count` | boolean | `false` |
| offset | set offset of the badge dot, like [x, y] | [number, number] | - |
| overflowCount | Max count to show | number | 99 |
| showZero | Whether to show badge when `count` is zero | boolean | `false` |
| status | Set Badge as a status dot | `success` \| `processing` \| `default` \| `error` \| `warning` | `''` |
| text | If `status` is set, `text` sets the display text of the status `dot` | string | `''` |
+| numberStyle | sets the display style of the status `dot` | object | '' |
diff --git a/components/badge/index.zh-CN.md b/components/badge/index.zh-CN.md
index 05b9c3ef3..ef80e4898 100644
--- a/components/badge/index.zh-CN.md
+++ b/components/badge/index.zh-CN.md
@@ -1,22 +1,23 @@
## API
-```vue
-
+````html
+
-```
+````
-```vue
-
-```
+```html
+
+````
| 参数 | 说明 | 类型 | 默认值 |
| --- | --- | --- | --- |
-| count | 展示的数字,大于 overflowCount 时显示为 `${overflowCount}+`,为 0 时隐藏 | number|ReactNode | |
+| count | 展示的数字,大于 overflowCount 时显示为 `${overflowCount}+`,为 0 时隐藏 | number\|string | |
| dot | 不展示数字,只有一个小红点 | boolean | false |
| offset | 设置状态点的位置偏移,格式为 [x, y] | [number, number] | - |
| overflowCount | 展示封顶的数字值 | number | 99 |
| showZero | 当数值为 0 时,是否展示 Badge | boolean | false |
| status | 设置 Badge 为状态点 | Enum{ 'success', 'processing, 'default', 'error', 'warning' } | '' |
| text | 在设置了 `status` 的前提下有效,设置状态点的文本 | string | '' |
+| numberStyle | 设置状态点的样式 | object | '' |
diff --git a/components/breadcrumb/demo/basic.vue b/components/breadcrumb/demo/basic.vue
deleted file mode 100644
index c2fd827c7..000000000
--- a/components/breadcrumb/demo/basic.vue
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
-
-
-
diff --git a/components/breadcrumb/demo/index.vue b/components/breadcrumb/demo/index.vue
index 3b285427d..61e91449a 100644
--- a/components/breadcrumb/demo/index.vue
+++ b/components/breadcrumb/demo/index.vue
@@ -27,7 +27,7 @@
}
export default {
- render() {
+ render () {
return (
@@ -40,6 +40,6 @@
)
- }
+ },
}
diff --git a/components/breadcrumb/demo/separator.vue b/components/breadcrumb/demo/separator.vue
deleted file mode 100644
index 87323cbc4..000000000
--- a/components/breadcrumb/demo/separator.vue
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
-
-## 自定义分隔符
-
-
- Home
- Application Center
- Application List
- An Application
-
-
-
-
-
diff --git a/components/breadcrumb/demo/withIcon.vue b/components/breadcrumb/demo/withIcon.vue
deleted file mode 100644
index f83d665e9..000000000
--- a/components/breadcrumb/demo/withIcon.vue
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-## 带有图标
-
-
-
-
-
-
-
- Application List
-
-
- Application
-
-
-
-
-
-
diff --git a/components/breadcrumb/index.zh-CN.md b/components/breadcrumb/index.zh-CN.md
index 259b4aaef..649557606 100644
--- a/components/breadcrumb/index.zh-CN.md
+++ b/components/breadcrumb/index.zh-CN.md
@@ -5,15 +5,13 @@
| itemRender | 自定义链接函数,和 react-router 配置使用 | (route, params, routes, paths) => ReactNode | | - |
| params | 路由的参数 | object | | - |
| routes | router 的路由栈信息 | object\[] | | - |
-| separator | 分隔符自定义 | string\|ReactNode | | '/' |
-
-> 2.0 之后,`linkRender` 和 `nameRender` 被移除,请使用 `itemRender` 来代替。
+| separator | 分隔符自定义 | string\|slot | | '/' |
### 和 browserHistory 配合
和 vue-router 一起使用时,默认生成的 url 路径是带有 `#` 的,如果和 browserHistory 一起使用的话,你可以使用 `itemRender` 属性定义面包屑链接。
-```vue
+````html
import { Link } from 'react-router';
const routes = [{
@@ -32,4 +30,4 @@ function itemRender(route, params, routes, paths) {
}
return ;
-```
+````
diff --git a/components/card/index.en-US.md b/components/card/index.en-US.md
index 1868ff91a..d7271a6c2 100644
--- a/components/card/index.en-US.md
+++ b/components/card/index.en-US.md
@@ -1,20 +1,17 @@
-[^_^]:
- this is a ReactVersion for card. waiting to be transformed
-
## API
### Card
| Property | Description | Type | Default |
| -------- | ----------- | ---- | ------- |
-| actions | The action list, shows at the bottom of the Card. | Array | - |
+| actions | The action list, shows at the bottom of the Card. | slot | - |
| bodyStyle | Inline style to apply to the card content | object | - |
| bordered | Toggles rendering of the border around the card | boolean | `true` |
| cover | Card cover | ReactNode | - |
| extra | Content to render in the top-right corner of the card | string\|ReactNode | - |
| hoverable | Lift up when hovering card | boolean | false |
| loading | Shows a loading indicator while the contents of the card are being fetched | boolean | false |
-| tabList | List of TabPane's head. | Array<{key: string, tab: ReactNode}> | - |
+| tabList | List of TabPane's head. | Array<{key: string, tab: ReactNode}> | - |
| title | Card title | string\|ReactNode | - |
| type | Card style type, can be set to `inner` or not set | string | - |
| onTabChange | Callback when tab is switched | (key) => void | - |
diff --git a/components/card/index.zh-CN.md b/components/card/index.zh-CN.md
index 55d671fe9..35bf37488 100644
--- a/components/card/index.zh-CN.md
+++ b/components/card/index.zh-CN.md
@@ -1,21 +1,18 @@
-[^_^]:
- this is a ReactVersion for card. waiting to be transformed
-
## API
### Card
| 参数 | 说明 | 类型 | 默认值 |
| --- | --- | --- | --- |
-| actions | 卡片操作组,位置在卡片底部 | Array | - |
+| actions | 卡片操作组,位置在卡片底部 |slot | - |
| bodyStyle | 内容区域自定义样式 | object | - |
| bordered | 是否有边框 | boolean | true |
| cover | 卡片封面 | ReactNode | - |
-| extra | 卡片右上角的操作区域 | string\|template | - |
+| extra | 卡片右上角的操作区域 | string\|slot | - |
| hoverable | 鼠标移过时可浮起 | boolean | false |
| loading | 当卡片内容还在加载中时,可以用 loading 展示一个占位 | boolean | false |
-| tabList | 页签标题列表 | Array<{key: string, tab: ReactNode}> | - |
+| tabList | 页签标题列表 | Array<{key: string, tab: ReactNode}> | - |
| title | 卡片标题 | string\|ReactNode | - |
| type | 卡片类型,可设置为 `inner` 或 不设置 | string | - |
| onTabChange | 页签切换的回调 | (key) => void | - |
diff --git a/components/checkbox/demo/basic.md b/components/checkbox/demo/basic.md
index 13ec5a74b..4a4948e6e 100644
--- a/components/checkbox/demo/basic.md
+++ b/components/checkbox/demo/basic.md
@@ -10,21 +10,15 @@ Basic usage of checkbox
```html
-
+ Checkbox
```
diff --git a/components/checkbox/demo/basic.vue b/components/checkbox/demo/basic.vue
deleted file mode 100644
index f360e66ef..000000000
--- a/components/checkbox/demo/basic.vue
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
-
-
diff --git a/components/checkbox/demo/check-all.md b/components/checkbox/demo/check-all.md
index eef1f555d..bac267a36 100644
--- a/components/checkbox/demo/check-all.md
+++ b/components/checkbox/demo/check-all.md
@@ -4,7 +4,7 @@
-#### Check all
+#### Check all
The `indeterminate` property can help you to achieve a 'check all' effect.
@@ -25,7 +25,6 @@ The `indeterminate` property can help you to achieve a 'check all' effect.
diff --git a/components/checkbox/demo/check-all.vue b/components/checkbox/demo/check-all.vue
deleted file mode 100644
index b1a3f09d3..000000000
--- a/components/checkbox/demo/check-all.vue
+++ /dev/null
@@ -1,47 +0,0 @@
-
-
diff --git a/components/checkbox/demo/controller.md b/components/checkbox/demo/controller.md
index 9642ef665..310916efd 100644
--- a/components/checkbox/demo/controller.md
+++ b/components/checkbox/demo/controller.md
@@ -40,7 +40,6 @@ Communicated with other components